The tool-use Large Language Models (LLMs) that integrate with external Python interpreters have significantly enhanced mathematical reasoning capabilities for open-source LLMs, while tool-free methods chose another track: augmenting math reasoning data. However, a great method to integrate the above two research paths and combine their advantages remains to be explored. In this work, we firstly include new math questions via multi-perspective data augmenting methods and then synthesize code-nested solutions to them. The open LLMs (i.e., Llama-2) are finetuned on the augmented dataset to get the resulting models, MuMath-Code ($μ$-Math-Code). During the inference phase, our MuMath-Code generates code and interacts with the external python interpreter to get the execution results. Therefore, MuMath-Code leverages the advantages of both the external tool and data augmentation. To fully leverage the advantages of our augmented data, we propose a two-stage training strategy: In Stage-1, we finetune Llama-2 on pure CoT data to get an intermediate model, which then is trained on the code-nested data in Stage-2 to get the resulting MuMath-Code. Our MuMath-Code-7B achieves 83.8 on GSM8K and 52.4 on MATH, while MuMath-Code-70B model achieves new state-of-the-art performance among open methods -- achieving 90.7% on GSM8K and 55.1% on MATH. Extensive experiments validate the combination of tool use and data augmentation, as well as our two-stage training strategy. We release the proposed dataset along with the associated code for public use.
PersonaMath: Boosting Mathematical Reasoning via Persona-Driven Data Augmentation
Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);University of Chinese Academy of Sciences(中国科学院大学);Shenzhen University of Advanced Technology(深圳理工大学);South China University of Technology(华南理工大学);Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);Zhejiang University(浙江大学);Shenzhen MSU-BIT University(深圳北理莫斯科大学);UNSW Sydney(新南威尔士大学悉尼分校)
MuggleMath: Assessing the Impact of Query and Response Augmentation on Math Reasoning
Alibaba Group(阿里巴巴集团);University of Science and Technology of China(中国科学技术大学);Institute of Dataspace, Hefei Comprehensive National Science Center(合肥综合性国家科学中心天枢研究院)
A Survey on Large Language Models for Mathematical Reasoning
National Key Laboratory for Novel Software Technology(国家新型软件技术重点实验室);School of Artificial Intelligence(人工智能学院);Nanyang Technological University(南洋理工大学);Skywork AI Singapore(Skywork AI新加坡);The Chinese University of Hong Kong Shenzhen(香港中文大学(深圳))
Masked Thought: Simply Masking Partial Reasoning Steps Can Improve Mathematical Reasoning Learning of Language Models
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);Alibaba Group(阿里巴巴集团);Computational Bioscience Research Center, KAUST(阿卜杜拉国王科技大学计算生物科学研究中心)
MathFusion: Enhancing Mathematical Problem-solving of LLM through Instruction Fusion
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学北京校区人工智能学院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Tsinghua University(清华大学);Shanghai Jiao Tong University(上海交通大学);Engineering Research Center of Next-Generation Intelligent Search and Recommendation, MOE(教育部下一代智能搜索与推荐工程技术研究中心);School of Artificial Intelligence, Wuhan University(武汉大学人工智能学院)
MultiLingPoT: Enhancing Mathematical Reasoning with Multilingual Program Fine-tuning
Fudan University(复旦大学);MYbank, Ant Group(蚂蚁集团MYbank);School of Computer Science, Fudan University(复旦大学计算机学院);School of Data Science, Fudan University(复旦大学数据科学学院)
RV-Syn: Rational and Verifiable Mathematical Reasoning Data Synthesis based on Structured Function Library
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学人工智能学院);Ant Group(蚂蚁集团);Beijing Key Laboratory of Research on Large Models and Intelligent Governance(北京大型模型与智能治理重点实验室)
ReverseMath: Answer Inversion for Scalable and Verifiable Mathematical Problem Generation
Center for Information and Language Processing(信息与语言处理中心);LMU Munich(慕尼黑大学);Munich Center for Machine Learning (MCML)(慕尼黑机器学习中心 (MCML));Saarland University(萨尔兰州大学)
Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);School of Cyber Security, University of Chinese Academy of Sciences(中国科学院大学网络空间安全学院);Baidu Inc.(百度公司);Tencent Inc.(腾讯公司)
MechMath Agent Team: LLM Driven Agents for Mathematical Research
State Key Laboratory of Mathematical Sciences, Academy of Mathematics and Systems Science, CAS(中国科学院数学与系统科学研究院数学科学国家重点实验室);School of Mathematical Sciences, University of Chinese Academy of Sciences(中国科学院大学数学科学学院);School of Advanced Interdisciplinary Sciences, University of Chinese Academy of Sciences(中国科学院大学高等研究院)
Position: LLMs Must Use Functor-Based and RAG-Driven Bias Mitigation for Fairness
Knight Foundation School of Computing and Information Sciences(骑士基金会计算与信息科学学院);Florida International University(佛罗里达国际大学);College of Engineering(工程学院);University of South Florida(佛罗里达州立大学)
LEMMA: Learning from Errors for MatheMatical Advancement in LLMs
Tsinghua University(清华大学);Shanghai AI Laboratory(上海人工智能实验室);Renmin University of China(中国人民大学);University of Science and Technology of China(中国科学技术大学);Shanghai Jiao Tong University(上海交通大学)
ControlMath: Controllable Data Generation Promotes Math Generalist Models
Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Hong Kong University of Science and Technology(香港科技大学);Microsoft(微软公司);China Telecom Cloud Computing Research Institute(中国电信云计算研究院)
CLORE: Content-Level Optimization for Reasoning Efficiency
Carnegie Mellon University(卡内基梅隆大学);Northwestern University(西北大学);University of North Carolina, Chapel Hill(北卡罗来纳大学教堂山分校);University of Pittsburgh(匹兹堡大学)
DataGen: Unified Synthetic Dataset Generation via Large Language Models
University of Notre Dame(诺丁汉大学);Huazhong University of Science and Technology(华中科技大学);MBZUAI;University of Washington(华盛顿大学);Peking University(北京大学);University of Maryland, College Park(马里兰大学学院市分校);University of Wisconsin–Madison(威斯康星大学麦迪逊分校);Microsoft Research(微软研究院);Lehigh University(莱斯大学)
BrailleLLM: Braille Instruction Tuning with Large Language Models for Braille Domain Tasks
Zhejiang Key Laboratory of Accessible Perception and Intelligent Systems, Zhejiang University(浙江无障碍感知与智能系统重点实验室,浙江大学);Alibaba Group(阿里巴巴集团);Worcester Polytechnic Institute(沃斯特理工学院);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and DataSecurity(杭州高新技术区(滨江)区块链与数据安全研究院)
Herald: A Natural Language Annotated Lean 4 Dataset
Peking University(北京大学);National University of Singapore(新加坡国立大学);Beijing International Center for Mathematical Research(北京国际数学研究中心);Center for Machine Learning Research, Peking University(北京大学机器学习研究中心)
CDS: Knowledge Component-Driven Data Synthesis Guided by Cognitive Diagnosis Theory
College of Computer Science and Artificial Intelligence, Fudan University(复旦大学计算机科学与人工智能学院);Shanghai Institute of Artificial Intelligence for Education, East China Normal University(华东师范大学教育人工智能研究所);School of Data Science, Fudan University(复旦大学数据科学学院);Huawei Noah’s Ark Lab(华为诺亚实验室)
Harder Is Better: Boosting Mathematical Reasoning via Difficulty-Aware GRPO and Multi-Aspect Question Reformulation
Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学人工智能学院);AMAP, Alibaba Group(阿里集团AMAP);Xiamen University(厦门大学);Dalian University of Technology(大连理工大学)
We-Math: Does Your Large Multimodal Model Achieve Human-like Mathematical Reasoning?
Beijing University of Posts and Telecommunications(北京邮电大学);Wechat(腾讯微信);Tencent Inc.(腾讯公司);Huazhong University of Science and Technology(华中科技大学);Beijing Institute of Technology(北京理工大学)
Automatic Generation of Headlines for Online Math Questions
Wangxuan Institute of Computer Technology, Peking University(北京大学王选计算机研究所);The Pennsylvania State University(宾夕法尼亚州立大学);School of Data and Computer Science, Sun Yat-sen University(中山大学数据科学与计算机学院)