MathFusion: Enhancing Mathematical Problem-solving of LLM through Instruction Fusion
Qizhi Pei, Lijun Wu, Zhuoshi Pan, Yu Li, Honglin Lin, Chenlin Ming, Xin Gao, Conghui He, Rui Yan
Abstract
Large Language Models (LLMs) have shown impressive progress in mathematical reasoning. While data augmentation is promising to enhance mathematical problem-solving ability, current approaches are predominantly limited to instance-level modifications-such as rephrasing or generating syntactic variations-which fail to capture and leverage the intrinsic relational structures inherent in mathematical knowledge. Inspired by human learning processes, where mathematical proficiency develops through systematic exposure to interconnected concepts, we introduce MathFusion, a novel framework that enhances mathematical reasoning through cross-problem instruction synthesis. MathFusion implements this through three fusion strategies: (1) sequential fusion, which chains related problems to model solution dependencies; (2) parallel fusion, which combines analogous problems to reinforce conceptual understanding; and (3) conditional fusion, which creates context-aware selective problems to enhance reasoning flexibility. By applying these strategies, we generate a new dataset, MathFusionQA, followed by fine-tuning models (DeepSeekMath-7B, Mistral-7B, Llama3-8B) on it. Experimental results demonstrate that MathFusion achieves substantial improvements in mathematical reasoning while maintaining high data efficiency, boosting performance by 18.0 points in accuracy across diverse benchmarks while requiring only 45K additional synthetic instructions, representing a substantial improvement over traditional single-instruction approaches. Our datasets, models, and code are publicly available at https://github.com/QizhiPei/mathfusion.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
12 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- ConPress: Learning Efficient Reasoning from Multi-Question Contextual Pressure cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- RL on Incorrect Synthetic Data Scales the Efficiency of LLM Math Reasoning by Eight-Fold cites MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models
- MathScale: Scaling Instruction Tuning for Mathematical Reasoning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- MathScale: Scaling Instruction Tuning for Mathematical Reasoning cites MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models
- Mind the Gap: Bridging Thought Leap for Improved Chain-of-Thought Tuning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Mind the Gap: Bridging Thought Leap for Improved Chain-of-Thought Tuning cites MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models
- SIGMA: Refining Large Language Model Reasoning via Sibling-Guided Monte Carlo Augmentation cites MathScale: Scaling Instruction Tuning for Mathematical Reasoning
- SIGMA: Refining Large Language Model Reasoning via Sibling-Guided Monte Carlo Augmentation cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- SIGMA: Refining Large Language Model Reasoning via Sibling-Guided Monte Carlo Augmentation cites MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models
- Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model Reasoning cites MathScale: Scaling Instruction Tuning for Mathematical Reasoning
- Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model Reasoning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model Reasoning cites MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models
- Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model Reasoning cites Towards Reasoning in Large Language Models: A Survey
- SwS: Self-aware Weakness-driven Problem Synthesis in Reinforcement Learning for LLM Reasoning cites MathScale: Scaling Instruction Tuning for Mathematical Reasoning
- SwS: Self-aware Weakness-driven Problem Synthesis in Reinforcement Learning for LLM Reasoning cites MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models
- MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
- Towards Reasoning in Large Language Models: A Survey cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Cited by top-tier papers12
- SwS: Self-aware Weakness-driven Problem Synthesis in Reinforcement Learning for LLM ReasoningXiao Liang, Zhong-Zhi Li, Yeyun Gong, Yang Wang et al.NeurIPS 2025 · 41 citations
- Scaling Code-Assisted Chain-of-Thoughts and Instructions for Model ReasoningHonglin Lin, Qizhi Pei, Zhuoshi Pan, Yu Li et al.NeurIPS 2025 · 12 citations
- SIGMA: Refining Large Language Model Reasoning via Sibling-Guided Monte Carlo AugmentationYanwei Ren, Haotian Zhang, Fuxiang Wu, Jiayan Qiu et al.NeurIPS 2025 · 5 citations
- ConPress: Learning Efficient Reasoning from Multi-Question Contextual PressureJie Deng, Shining Liang, Jun Li, Hongzhi Li et al.ICML 2026 · 3 citations
- Mind the Gap: Bridging Thought Leap for Improved Chain-of-Thought TuningHaolei Xu, Yuchen Yan, Yongliang Shen, Wenqi Zhang et al.NeurIPS 2025 · 2 citations
Builds on18
- Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
- MetaMath: Bootstrap Your Own Mathematical Questions for Large Language ModelsLonghui Yu, Weisen Jiang, Han Shi, Jincheng Yu et al.ICLR 2024 · 637 citations
- Towards Reasoning in Large Language Models: A SurveyJie Huang, Kevin Chen-Chuan ChangACL Findings 2023 · 428 citations
- MathScale: Scaling Instruction Tuning for Mathematical ReasoningZhengyang Tang, Xingxing Zhang, Benyou Wang, Furu WeiICML 2024 · 163 citations
- RL on Incorrect Synthetic Data Scales the Efficiency of LLM Math Reasoning by Eight-FoldAmrith Setlur, Saurabh Garg, Xinyang Geng, Naman Garg et al.NeurIPS 2024 · 143 citations
Related papers
- Neuro-Symbolic Data Generation for Math ReasoningZenan Li, Zhi Zhou, Yuan Yao, Xian Zhang et al.NeurIPS 2024 · 35 citations
- MuggleMath: Assessing the Impact of Query and Response Augmentation on Math ReasoningChengpeng Li, Zheng Yuan, Hongyi Yuan, Guanting Dong et al.ACL 2024 · 4 citations
- MathFimer: Enhancing Mathematical Reasoning by Expanding Reasoning Steps through Fill-in-the-Middle TaskYuchen Yan, Yongliang Shen, Yang Liu, Jin Jiang et al.ICLR 2026 · 5 citations
- Beyond Rejection Sampling: Trajectory Fusion for Scaling Mathematical ReasoningJie Deng, Hanshuang Tong, Jun Li, Shining Liang et al.ACL Findings 2026
- MathMixup: Boosting LLM Mathematical Reasoning with Difficulty-Controllable Data Synthesis and Curriculum LearningXuchen Li, Jing Chen, Xuzhao Li, Hao Liang et al.ACL Findings 2026
