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

PORT:基于推理轨迹的偏好优化

PORT: Preference Optimization on Reasoning Traces

Technology Innovation Institute(技术创新研究院);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)

Salem Lahlou, Abdalgader Abubaker, Hakim Hacid

AI总结:

本文提出PORT方法,通过在思维链步骤上应用偏好优化,并利用弱LLM提示和数字损坏生成被拒绝答案,在不增加标注的情况下显著提升模型的数学推理及跨任务泛化能力。

摘要:

偏好优化方法已被成功应用于不仅改善大语言模型(LLMs)与人类价值观的对齐,还用于特定自然语言任务,如摘要和风格化续写。本文提出在思维链(Chain-of-Thought)步骤上使用偏好优化方法,以提升语言模型的数学推理性能。虽然被选择的答案是从包含推理轨迹的数据集中获得的,我们提出了两种互补的方案来生成被拒绝的答案:弱LLM提示和数字损坏。我们的方法在Falcon2-11B和Mistral-7B上提高了GSM8K和AQuA-RAT数学推理基准的准确率。此外,提升的能力可迁移到非数学任务,包括ARC基准和符号推理挑战。例如,我们的方法在GSM8K和AQuA基准上分别可实现最高8.47%和18.73%的相对准确率提升,且无需任何额外标注。本研究表明,通往更强语言推理能力的路径在于投入资源创建高质量的推理轨迹数据集。

英文摘要:

Preference optimization methods have been successfully applied to improve not only the alignment of large language models (LLMs) with human values, but also specific natural language tasks such as summarization and stylistic continuations. This paper proposes using preference optimization methods on Chain-of-Thought steps in order to improve the mathematical reasoning performances of language models. While the chosen answers are obtained from datasets that include reasoning traces, we propose two complementary schemes for generating rejected answers: weak LLM prompting, and digit corruption. Our approach leads to increased accuracy on the GSM8K and AQuA-RAT mathematical reasoning benchmarks for Falcon2-11B and Mistral-7B. Additionally, the improved abilities transfer to non-mathematical tasks, including the ARC benchmark and symbolic reasoning challenges. For example, our method can lead to up to relative 8.47% and 18.73% increases in accuracy on the GSM8K and AQuA benchmarks respectively, without any extra annotations. This work suggests that the path towards better language reasoning abilities goes through spending resources on creating high-quality datasets of reasoning traces.

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

↑