MultiMath: Bridging Visual and Mathematical Reasoning for Large Language Models

Shuai Peng, Di Fu, Liangcai Gao, Xiuqin Zhong, Hongguang Fu +1 more
8/30/2024
cs.CLcs.AI

Official code: pengshuai-rin/MultiMath (33 stars, Apache-2.0, last commit 2025-01-22).

Abstract

The rapid development of large language models (LLMs) has spurred extensive research into their domain-specific capabilities, particularly mathematical reasoning. However, most open-source LLMs focus solely on mathematical reasoning, neglecting the integration with visual injection, despite the fact that many mathematical tasks rely on visual inputs such as geometric diagrams, charts, and function plots. To fill this gap, we introduce \textbf{MultiMath-7B}, a multimodal large language model that bridges the gap between math and vision. \textbf{MultiMath-7B} is trained through a four-stage process, focusing on vision-language alignment, visual and math instruction-tuning, and process-supervised reinforcement learning. We also construct a novel, diverse and comprehensive multimodal mathematical dataset, \textbf{MultiMath-300K}, which spans K-12 levels with image captions and step-wise solutions. MultiMath-7B achieves state-of-the-art (SOTA) performance among open-source models on existing multimodal mathematical benchmarks and also excels on text-only mathematical benchmarks. Our model and dataset are available at {\textcolor{blue}{\url{https://github.com/pengshuai-rin/MultiMath}}}.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

MultiMath: Bridging Visual and Mathematical Reasoning for Large Language Models

331Shell, PythonAug 30, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{peng2024multimath,
  title  = {MultiMath: Bridging Visual and Mathematical Reasoning for Large Language Models},
  author = {Shuai Peng and Di Fu and Liangcai Gao and Xiuqin Zhong and Hongguang Fu and Zhi Tang},
  year   = {2024},
  eprint = {2409.00147},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.00147v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.00147.svg)](https://codeofpaper.com/paper/2409.00147)

Discussion