paper-with-me

Papers

CodePlot-CoT: Mathematical Visual Reasoning by Thinking with Code-Driven Images

2025-10-13 · Chengqi Duan, Kaiyue Sun, Rongyao Fang, Manyuan Zhang, Yan Feng, Ying Luo, Yufang Liu, Ke Wang, Peng Pei, Xunliang Cai, Hongsheng Li, Yi Ma, Xihui Liu arxiv

Recent advances in Large Language Models (LLMs) and Vision Language Models (VLMs) have shown significant progress in mathematical reasoning, yet they still face a critical bottleneck with problems requiring visual assistance, such as drawing auxiliary lines or plotting functions to solve the problems. Most LLMs and VLMs are constrained to text-only reasoning chains, while multimodal unified models that can generate interleaved text and images lack the necessary precision and controllability for such tasks. To address this, we propose CodePlot-CoT, a code-driven Chain-of-Thought paradigm for "thinking with images" in mathematics. Our approach leverages the VLM to generate text reasoning as well as executable plotting code, which is then rendered into images as "visual thought", to solve mathematical problems. To achieve this, we first construct Math-VR, the first large-scale, bilingual dataset and benchmark for Mathematics problems with Visual Reasoning, comprising 178K samples. Second, to create high-quality training data, we develop a state-of-the-art image-to-code converter specialized for parsing complex mathematical figures into codes. Finally, using these training data, we train the CodePlot-CoT model for solving mathematical problems. Experimental results show that our model achieves up to 21% increase over base model on our new benchmark, fully validating the efficacy of our proposed code-driven reasoning paradigm. Our work opens a new direction for multimodal mathematical reasoning and provides the community with the first large-scale dataset, comprehensive benchmark, and strong approach for such problems. To facilitate future research, we make our datasets, code, and pretrained models publicly available at https://github.com/HKU-MMLab/Math-VR-CodePlot-CoT.

📄 PDF Abstract BibTeX arXiv:2510.11718

Code (0)

등록된 구현이 없습니다.

Tasks

Mathematical ReasoningVisual Reasoning

Similar Papers 제목 키워드 기반

AtomThink: A Slow Thinking Framework for Multimodal Mathematical Reasoning

2024-11-18 · Kun Xiang, Zhili Liu, Zihao Jiang, Yunshuang Nie 외

In this paper, we address the challenging task of multimodal mathematical reasoning by incorporating the ability of ``slow thinking" into multimodal large language models (MLLMs). Contrary to existing methods that rely o…

Mathematical Reasoning

GeoMathCode: Understanding Interleaved Math-Code Reasoning for Geometry Problem Solving

2026-05-25 · Yingji Zhang, Yong Dai, André Freitas arxiv

Mathematical reasoning is a hallmark of human intelligence, requiring logical deduction, symbolic manipulation, and abstract thinking. Recent multimodal large language models (MLLMs) have demonstrated strong performance …

Mathematical ReasoningCode Generation

DeepEyes: Incentivizing "Thinking with Images" via Reinforcement Learning

2025-05-20 · Ziwei Zheng, Michael Yang, Jack Hong, Chenxiao Zhao 외

Large Vision-Language Models (VLMs) have shown strong capabilities in multimodal understanding and reasoning, yet they are primarily constrained by text-based reasoning processes. However, achieving seamless integration …

HallucinationMathematical ReasoningMultimodal Reasoningreinforcement-learning+2

Thinking with Drafting: Optical Decompression via Logical Reconstruction

2026-02-12 · Jingxuan Wei, Honghao He, Caijun Jia, Siyuan Li 외 arxiv

Existing multimodal large language models have achieved high-fidelity visual perception and exploratory visual generation. However, a precision paradox persists in complex reasoning tasks: optical perception systems tran…

Visual Reasoning

Reinforcement Learning for Latent-Space Thinking in LLMs

2025-11-26 · Enes Özeren, Matthias Aßenmacher arxiv

Chain-of-Thought (CoT) reasoning typically utilizes the discrete language space for thinking, which is inherently inefficient, as many generated tokens only enforce linguistic rules that are not required for reasoning. T…

Reinforcement LearningMathematical Reasoning