ControlMath:可控数据生成促进数学通用模型
ControlMath: Controllable Data Generation Promotes Math Generalist Models
AI总结:
提出ControlMath迭代方法,通过方程生成器与两个LLM智能体生成多样化数学应用题,构建19万规模的ControlMathQA数据集,有效提升了模型在特定领域内外的数学泛化能力。
摘要:
利用大型语言模型(LLMs)进行数据增强在数学推理方面取得了令人鼓舞的结果。然而,这些方法在问题多样性方面面临限制,可能将它们局限于领域内/分布内的数据生成。为此,我们提出了ControlMath,这是一种包含一个方程生成器模块和两个基于LLM的智能体的迭代方法。该模块创建多样化的方程,Problem-Crafter智能体随后将其转化为数学应用题。Reverse-Agent遵循“少即是多”原则过滤并选择高质量数据,用更少的数据点取得更好的结果。这种方法能够生成多样化的数学问题,不局限于特定领域或分布。最终,我们收集了ControlMathQA,其中包含19万个数学应用题。大量结果证明,将我们的数据集与GSM8K等领域内数据集结合,有助于提升模型的数学泛化能力,从而在特定领域内外的性能均得到改善。
英文摘要:
Utilizing large language models (LLMs) for data augmentation has yielded encouraging results in mathematical reasoning. However, these approaches face constraints in problem diversity, potentially restricting them to in-domain/distribution data generation. To this end, we propose ControlMath, an iterative method involving an equation-generator module and two LLM-based agents. The module creates diverse equations, which the Problem-Crafter agent then transforms into math word problems. The Reverse-Agent filters and selects high-quality data, adhering to the "less is more" principle, achieving better results with fewer data points. This approach enables the generation of diverse math problems, not limited to specific domains or distributions. As a result, we collect ControlMathQA, which involves 190k math word problems. Extensive results prove that combining our dataset with in-domain datasets like GSM8K can help improve the model's mathematical ability to generalize, leading to improved performances both within and beyond specific domains.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。