TensorX
返回文献探索

Paper · arXiv 2408.07089

InfinityMATH: A Scalable Instruction Tuning Dataset in Programmatic Mathematical Reasoning

Bo-Wen Zhang, Yan Yan, Lin Li, Guang Liu

14 upvotesAugust 9, 2024arXiv 预印本
AI 摘要

InfinityMATH is a scalable dataset for programmatic mathematical reasoning that decouples numbers from problems, enhancing model performance and robustness across benchmarks.

Chain-of-ThoughtsProgram-of-Thoughtsmathematical reasoninginstruction tuning datasetslarge-scale dataset creationdata synthesisdecouplingnumber-independent programsfine-tuningLlama2CodeLlamain-domain benchmarksout-of-domain benchmarksGSM8K+MATH+

Abstract

Recent advancements in Chain-of-Thoughts (CoT) and Program-of-Thoughts (PoT) methods have greatly enhanced language models' mathematical reasoning capabilities, facilitating their integration into instruction tuning datasets with LLMs. However, existing methods for large-scale dataset creation require substantial seed data and high computational costs for data synthesis, posing significant challenges for scalability. We introduce InfinityMATH, a scalable instruction tuning dataset for programmatic mathematical reasoning. The construction pipeline emphasizes decoupling numbers from mathematical problems to synthesize number-independent programs, enabling efficient and flexible scaling while minimizing dependency on specific numerical values. Fine-tuning experiments with open-source language and code models, such as Llama2 and CodeLlama, demonstrate the practical benefits of InfinityMATH. These fine-tuned models, showed significant relative improvements on both in-domain and out-of-domain benchmarks, ranging from 184.7% to 514.3% on average. Additionally, these models exhibited high robustness on the GSM8K+ and MATH+ benchmarks, which are enhanced version of test sets with simply the number variations. InfinityMATH ensures that models are more versatile and effective across a broader range of mathematical problems. The data is available at https://huggingface.co/datasets/flagopen/InfinityMATH.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
InfinityMATH: A Scalable Instruction Tuning Dataset in Programmatic Mathematical Reasoning | TensorX