arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.02078cs.AIcs.CLcs.LG
收藏

利用偏好树推进大语言模型推理通才的发展

Advancing LLM Reasoning Generalists with Preference Trees

Tsinghua University(清华大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Northeastern University(东北大学);Renmin University of China(中国人民大学);BUPT(北京邮电大学);Tencent(腾讯)

Lifan Yuan, Ganqu Cui, Hanbin Wang, Ning Ding, Xingyao Wang, Jia Deng, Boji Shan, Huimin Chen, Ruobing Xie, Yankai Lin, Zhenghao Liu, Bowen Zhou, Hao Peng, Zhiyuan Liu, Maosong Sun

AI总结:

本文提出Eurus系列推理优化大模型及UltraInteract偏好树数据集,通过改进奖励建模在多项推理基准上超越GPT-3.5 Turbo和现有开源模型。

摘要:

我们介绍了Eurus,这是一套针对推理进行优化的大语言模型(LLMs)。Eurus模型基于Mistral-7B和CodeLlama-70B进行微调,在涵盖数学、代码生成和逻辑推理问题的多种基准测试上取得了开源模型中的最先进结果。值得注意的是,Eurus-70B在覆盖五项任务的12项测试综合基准评估中,在推理方面超越了GPT-3.5 Turbo,并在LeetCode上达到33.3%的pass@1准确率,在TheoremQA上达到32.6%的准确率,这两个具有挑战性的基准上大幅超越现有开源模型,领先幅度超过13.3%。Eurus的强劲表现主要归功于UltraInteract,这是我们新构建的大规模、高质量对齐数据集,专为复杂推理任务而设计。UltraInteract既可用于监督微调,也可用于偏好学习。对于每条指令,它包含一个偏好树,由以下部分组成:(1)以统一格式呈现的具有多样化规划策略的推理链,(2)与环境及批评反馈的多轮交互轨迹,以及(3)用于促进偏好学习的成对数据。UltraInteract使我们能够对推理任务的偏好学习进行深入探索。我们的研究表明,与在一般对话中的有效性相比,一些成熟的偏好学习算法可能不太适合推理任务。受此启发,我们推导出一个新颖的奖励建模目标,该目标与UltraInteract相结合,产生了一个强大的奖励模型。

英文摘要:

We introduce Eurus, a suite of large language models (LLMs) optimized for reasoning. Finetuned from Mistral-7B and CodeLlama-70B, Eurus models achieve state-of-the-art results among open-source models on a diverse set of benchmarks covering mathematics, code generation, and logical reasoning problems. Notably, Eurus-70B beats GPT-3.5 Turbo in reasoning through a comprehensive benchmarking across 12 tests covering five tasks, and achieves a 33.3% pass@1 accuracy on LeetCode and 32.6% on TheoremQA, two challenging benchmarks, substantially outperforming existing open-source models by margins more than 13.3%. The strong performance of Eurus can be primarily attributed to UltraInteract, our newly-curated large-scale, high-quality alignment dataset specifically designed for complex reasoning tasks. UltraInteract can be used in both supervised fine-tuning and preference learning. For each instruction, it includes a preference tree consisting of (1) reasoning chains with diverse planning strategies in a unified format, (2) multi-turn interaction trajectories with the environment and the critique, and (3) pairwise data to facilitate preference learning. UltraInteract allows us to conduct an in-depth exploration of preference learning for reasoning tasks. Our investigation reveals that some well-established preference learning algorithms may be less suitable for reasoning tasks compared to their effectiveness in general conversations. Inspired by this, we derive a novel reward modeling objective which, together with UltraInteract, leads to a strong reward model.

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

↑