arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.13536cs.CL
收藏

MetaRuleGPT:基于简单规则训练的语言模型递归数值推理

MetaRuleGPT: Recursive Numerical Reasoning of Language Models Trained with Simple Rules

Zhejiang University(浙江大学)

Kejie Chen, Lin Wang, Qinghai Zhang, Renjun Xu

AI总结:

针对大语言模型数学推理底层逻辑不足的问题,提出基于Transformer的MetaRuleGPT,通过在含基本、复合和迭代规则的抽象数据集上预训练,学习组合规则以执行精确计算与逻辑运算,显著提升了模型的数值推理能力。

摘要:

近期研究强调了大语言模型在数学推理中的局限性,特别是其无法捕捉底层逻辑。受元学习启发,我们提出模型不仅应获取特定任务知识,还应掌握可迁移的问题解决技能。我们引入了MetaRuleGPT,这是一种新颖的基于Transformer的架构,通过学习和组合不同规则来执行精确的数值计算和复杂的逻辑运算。与传统训练集大量由原始实例数据组成不同,MetaRuleGPT在少得多的抽象数据集上进行预训练,这些数据集包含用于数学推理的基本、复合和迭代规则。大量实验结果表明,MetaRuleGPT能模仿人类遵循规则的能力,分解复杂性,并为复杂数学问题迭代推导出准确结果。这些发现证明了规则学习在增强语言模型数值推理能力方面的潜力。

英文摘要:

Recent studies have highlighted the limitations of large language models in mathematical reasoning, particularly their inability to capture the underlying logic. Inspired by meta-learning, we propose that models should acquire not only task-specific knowledge but also transferable problem-solving skills. We introduce MetaRuleGPT, a novel Transformer-based architecture that performs precise numerical calculations and complex logical operations by learning and combining different rules. In contrast with traditional training sets, which are heavily composed of massive raw instance data, MetaRuleGPT is pre-trained on much less abstract datasets containing basic, compound, and iterative rules for mathematical reasoning. Extensive experimental results demonstrate MetaRuleGPT can mimic human's rule-following capabilities, break down complexity, and iteratively derive accurate results for complex mathematical problems. These findings prove the potential of rule learning to enhance the numerical reasoning abilities of language models.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑