arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.05845cs.CLcs.AI
收藏

反转那个数字!算术学习中的解码顺序问题

Reverse That Number! Decoding Order Matters in Arithmetic Learning

Tsinghua University(清华大学);Renmin University of China(中国人民大学)

Daniel Zhang-Li, Nianyi Lin, Jifan Yu, Zheyuan Zhang, Zijun Yao, Xiaokang Zhang, Lei Hou, Jing Zhang, Juanzi Li

AI总结:

针对大语言模型算术学习依赖传统逐步序列方法的问题,本研究提出优先从最低有效位输出并结合逐步推导的新策略,在降低训练token量至原有三分之一的同时提升了算术准确率,且公开了代码与数据集。

摘要:

预训练领域的最新进展表明,现代大语言模型(LLMs)具备有效学习算术运算的能力。然而,尽管学界已认识到数字顺序在算术计算中的重要性,当前方法仍主要依赖逐步骤的序列式方法来教授LLMs算术,最终得出的结论是,要获得更优性能需要精细化的逐步推导。与这一传统路径不同,本研究提出了一种新策略,该策略不仅重新审视数字顺序,优先从最低有效位开始输出,还结合了逐步推导方法以大幅降低复杂度。我们已开展了全面的实验并应用该方法。结果显示,与此前的最优(SOTA)方法相比,我们的方法准确率实现了整体提升,且训练所需的token量仅为常规方法的三分之一。为便于复现和进一步研究,我们已将代码和数据集公开发布于https://anonymous.4open.science/r/RAIT-9FB7/。

英文摘要:

Recent advancements in pretraining have demonstrated that modern Large Language Models (LLMs) possess the capability to effectively learn arithmetic operations. However, despite acknowledging the significance of digit order in arithmetic computation, current methodologies predominantly rely on sequential, step-by-step approaches for teaching LLMs arithmetic, resulting in a conclusion where obtaining better performance involves fine-grained step-by-step. Diverging from this conventional path, our work introduces a novel strategy that not only reevaluates the digit order by prioritizing output from the least significant digit but also incorporates a step-by-step methodology to substantially reduce complexity. We have developed and applied this method in a comprehensive set of experiments. Compared to the previous state-of-the-art (SOTA) method, our findings reveal an overall improvement of in accuracy while requiring only a third of the tokens typically used during training. For the purpose of facilitating replication and further research, we have made our code and dataset publicly available at \url{https://anonymous.4open.science/r/RAIT-9FB7/}.

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

↑