MAVIS ๐Ÿ”ฅ: Mathematical Visual Instruction Tuning

December 5, 2024 ยท View on GitHub

MathQA Mathematical Reasoning Multi-Modal

Official repository for the paper "MAVIS: Mathematical Visual Instruction Tuning".

[๐Ÿ“– Paper] [๐Ÿค— MAVIS-Instruct-Geometry] [๐Ÿค— MAVIS-Instruct-Function] [๐Ÿ† Leaderboard]

๐ŸŒŸ Our model is mainly evaluation on MathVerse, a comprehensive visual mathematical benchmark for MLLMs

๐Ÿ’ฅ News

๐Ÿ“Œ ToDo

  • Coming soon: dataset and models

๐Ÿ‘€ About MAVIS

We identify three key areas within Multi-modal Large Language Models (MLLMs) for visual math problem-solving that need to be improved: visual encoding of math diagrams, diagram-language alignment, and mathematical reasoning skills.

In this paper, we propose MAVIS, the first MAthematical VISual instruction tuning paradigm for MLLMs, including two newly curated datasets, a mathematical vision encoder, and a mathematical MLLM:

  • MAVIS-Caption: 588K high-quality caption-diagram pairs, spanning geometry and function


  • MAVIS-Instruct: 834K instruction-tuning data with CoT rationales in a text-lite version


  • Math-CLIP: a vision encoder specifically for understanding mathematical diagrams within MLLMs


  • MAVIS-7B: an MLLM with a three-stage training paradigm achiving leading performance on MathVerse benchmark


๐Ÿ’ช Get Started

Coming in a week!

Data Usage

The temporal data version is released in Google Drive.

We will soon release the final data with much higher-quality.

Training

Inference

:white_check_mark: Citation

If you find MAVIS useful for your research and applications, please kindly cite using this BibTeX:

@misc{zhang2024mavismathematicalvisualinstruction,
      title={MAVIS: Mathematical Visual Instruction Tuning}, 
      author={Renrui Zhang and Xinyu Wei and Dongzhi Jiang and Yichi Zhang and Ziyu Guo and Chengzhuo Tong and Jiaming Liu and Aojun Zhou and Bin Wei and Shanghang Zhang and Peng Gao and Hongsheng Li},
      year={2024},
      eprint={2407.08739},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2407.08739}, 
}

Explore our additional research on Vision-Language Large Models, focusing on multi-modal LLMs and mathematical reasoning: