mlsanityData to 14 Oct 2026

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

arXiv 2510.11718 ↗First posted 13 Oct 2025cs.CV cs.AIcited by 23

On the map: LLM reasoning → Multimodal reasoning

also in 1 more
Abstract (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.

Key facts. Cited by 23 papers in the map (data through 14 Oct 2026). Placed in Multimodal reasoning, one of 17 directions in LLM reasoning. Builds on 33 of its 38 references that are in the map. First posted on arXiv 13 Oct 2025.

Builds on

33 of 38 references.

Closest ancestors · 20

Same direction, newest first

  1. 2025InternVL3.5: Advancing Open-Source Multimodal Models in Versatility, Reasoning, and Efficiency25 Aug
  2. 2025Zebra-CoT: A Dataset for Interleaved Vision Language Reasoning22 Jul
  3. 2025MINT-CoT: Enabling Interleaved Visual Tokens in Mathematical Chain-of-Thought Reasoning5 Jun
  4. 2025Thinking with Generated Images28 May
  5. 2025GoT-R1: Unleashing Reasoning Capability of MLLM for Visual Generation with Reinforcement Learning22 May
  6. 2025VLM-R3: Region Recognition, Reasoning, and Refinement for Enhanced Multimodal Chain-of-Thought22 May
  7. 2025MathCoder-VL: Bridging Vision and Code for Enhanced Multimodal Mathematical Reasoning15 May
  8. 2025VisuoThink: Empowering LVLM Reasoning with Multimodal Tree Search12 Apr
  9. 2025GoT: Unleashing Reasoning Capability of Multimodal Large Language Model for Visual Generation and Editing13 Mar
  10. 2025CMMCoT: Enhancing Complex Multi-Image Comprehension via Multi-Modal Chain-of-Thought and Memory Augmentation7 Mar
  11. 2025MV-MATH: Evaluating Multimodal Math Reasoning in Multi-Visual Contexts28 Feb
  12. 2025Imagine while Reasoning in Space: Multimodal Visualization-of-Thought13 Jan
8 more
  1. 2025Retrieval-Based Interleaved Visual Chain-of-Thought in Real-World Driving Scenarios8 Jan
  2. 2024MAVIS: Mathematical Visual Instruction Tuning with an Automatic Data Engine11 Jul
  3. 2024Math-LLaVA: Bootstrapping Mathematical Reasoning for Multimodal Large Language Models25 Jun
  4. 2024Visual Sketchpad: Sketching as a Visual Chain of Thought for Multimodal Language Models13 Jun
  5. 2024Visual CoT: Advancing Multi-Modal Language Models with a Comprehensive Dataset and Benchmark for Chain-of-Thought Reasoning25 Mar
  6. 2024Measuring Multimodal Mathematical Reasoning with MATH-Vision Dataset22 Feb
  7. 2023MathVista: Evaluating Mathematical Reasoning of Foundation Models in Visual Contexts3 Oct
  8. 2023ViperGPT: Visual Inference via Python Execution for Reasoning14 Mar

Other references · 13

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
  2. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
  3. 2025Qwen2.5-VL Technical Reportcited by 5,587
  4. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
  5. 2025Gemma 3 Technical Reportcited by 1,824
  6. 2025Emerging Properties in Unified Multimodal Pretrainingcited by 897
  7. 2022PAL: Program-aided Language Modelscited by 652
  8. 2024MathVerse: Does Your Multi-modal LLM Truly See the Diagrams in Visual Math Problems?cited by 586
  9. 2023G-LLaVA: Solving Geometric Problem with Multi-Modal Large Language Modelcited by 210
  10. 2023Solving Challenging Math Word Problems Using GPT-4 Code Interpreter with Code-based Self-Verificationcited by 166
  11. 2023MathCoder: Seamless Code Integration in LLMs for Enhanced Mathematical Reasoningcited by 156
  12. 2025Kwai Keye-VL 1.5 Technical Reportcited by 73
1 more
  1. 2025Janus-Pro-R1: Advancing Collaborative Visual Comprehension and Generation via Reinforcement Learningcited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 6; 2026: 17.

23 papers.

Sort:

By area:

  1. 2025Qwen3-VL Technical Reportcited by 2,793
  2. 2025OneThinker: All-in-one Reasoning Model for Image and Videocited by 56
  3. 2025Thinking-while-Generating: Interleaving Textual Reasoning throughout Visual Generationcited by 18
  4. 2026Counterfactual Credit Policy Optimization for Multi-Agent Collaborationcited by 10
  5. 2026CamReasoner: Reinforcing Camera Movement Understanding via Structured Spatial Reasoningcited by 9
  6. 2025VisReason: A Large-Scale Dataset for Visual Chain-of-Thought Reasoningcited by 7
  7. 2025GGBench: A Geometric Generative Reasoning Benchmark for Unified Multimodal Modelscited by 6
  8. 2026Beyond NL2Code: A Structured Survey of Multimodal Code Intelligencecited by 6
  9. 2025GeoBench: Rethinking Multimodal Geometric Problem-Solving via Hierarchical Evaluationcited by 4
  10. 2026Unveiling Fine-Grained Visual Traces: Evaluating Multimodal Interleaved Reasoning Chains in Multimodal STEM Taskscited by 4
  11. 2026Vision2Code: A Multi-Domain Benchmark for Evaluating Image-to-Code Generationcited by 4
  12. 2026Agent Explorative Policy Optimization for Multimodal Agentic Reasoningcited by 4
11 more
  1. 2026OpenVLThinkerV2: A Generalist Multimodal Reasoning Model for Multi-domain Visual Taskscited by 2
  2. 2026UniClawBench: A Universal Benchmark for Proactive Agents on Real-World Taskscited by 2
  3. 2026Geo-Code: A Code Framework for Reverse Code Generation from Geometric Images Based on Two-Stage Multi-Agent Evolutioncited by 1
  4. 2026ESC: Emotional Self-Correction for Reliable Vision-Language Modelscited by 1
  5. 2026MultiTalk: Scaling Full-Duplex Speech Models to Long, Multi-Party, Bilingual Conversationcited by 1
  6. 2026Efficient Reinforcement for Visual-Textual Thinking with Discrete Diffusion Modelcited by 0
  7. 2026Model Guides You How to Draw: Adaptive Visual Gating for Unified Multimodal Reasoningcited by 0
  8. 2026MetaReason: Precise Interleaved Multimodal Reasoning via Editing Meta Information for Solving Geometry Problemscited by 0
  9. 2026Aphanta: Diagnosing Task-Aligned Image-Edited Intermediates for Multimodal Reasoningcited by 0
  10. 2026Learning Where Outcomes Change:Credit-Addressable Reasoning for Multimodal Geometrycited by 0
  11. 2026Multimodal Thinking with Renderable Programscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025MathCanvas: Intrinsic Visual Chain-of-Thought for Multimodal Mathematical Reasoning
  2. 2026Math-Vision Diagrams: A Comprehensive Benchmark for Evaluating LLM Mathematical Diagram Generation Capabilities
  3. 2026VisTIRA: Closing the Image-Text Modality Gap in Visual Math Reasoning via Structured Tool Integration
  4. 2025Can Vision-Language Models Solve Visual Math Equations?
  5. 2025GSM8K-V: Can Vision Language Models Solve Grade School Math Word Problems in Visual Contexts
  6. 2025Simple Vision-Language Math Reasoning via Rendered Text
  7. 2025Benchmarking Multimodal Mathematical Reasoning with Explicit Visual Dependency
  8. 2025MathSight: A Benchmark Exploring Have Vision-Language Models Really Seen in University-Level Mathematical Reasoning?