arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2412.20372cs.CLcs.AI
收藏

LLM2:让大语言模型发挥系统2推理能力

LLM2: Let Large Language Models Harness System 2 Reasoning

The Chinese University of Hong Kong(香港中文大学);Tsinghua University(清华大学)

Cheng Yang, Chufan Shi, Siheng Li, Bo Shui, Yujiu Yang, Wai Lam

AI总结:

本文提出LLM2框架,结合大语言模型(系统1)与基于过程的验证器(系统2),通过过程监督提升数学推理准确率,在GSM8K上使Llama3-1B准确率提升7.5个百分点,并与自一致性结合进一步大幅提升。

摘要:

大语言模型(LLMs)在众多任务中展现出令人印象深刻的能力,但偶尔也会产生不理想的输出。我们认为这些局限性根源于LLMs的基础自回归架构,该架构本质上缺乏区分理想与非理想输出的机制。受人类认知双过程理论的启发,我们引入了LLM2,一个新颖的框架,它将一个LLM(系统1)与一个基于过程的验证器(系统2)相结合。在LLM2中,LLM负责生成合理的候选结果,而验证器提供及时的过程性反馈,以区分理想与非理想的输出。验证器通过我们提出的令牌质量探索策略生成的合成过程监督数据,使用成对比较损失进行训练。在数学推理基准上的实证结果证实了LLM2的有效性,例如在GSM8K上,Llama3-1B的准确率从50.3提升到57.8(+7.5)。此外,当与自一致性结合时,LLM2取得了进一步的改进,将major@20准确率从56.2提升到70.2(+14.0)。

英文摘要:

Large language models (LLMs) have exhibited impressive capabilities across a myriad of tasks, yet they occasionally yield undesirable outputs. We posit that these limitations are rooted in the foundational autoregressive architecture of LLMs, which inherently lacks mechanisms for differentiating between desirable and undesirable results. Drawing inspiration from the dual-process theory of human cognition, we introduce LLM2, a novel framework that combines an LLM (System 1) with a process-based verifier (System 2). Within LLM2, the LLM is responsible for generating plausible candidates, while the verifier provides timely process-based feedback to distinguish desirable and undesirable outputs. The verifier is trained with a pairwise comparison loss on synthetic process-supervision data generated through our token quality exploration strategy. Empirical results on mathematical reasoning benchmarks substantiate the efficacy of LLM2, exemplified by an accuracy enhancement from 50.3 to 57.8 (+7.5) for Llama3-1B on GSM8K. Furthermore, when combined with self-consistency, LLM2 achieves additional improvements, boosting major@20 accuracy from 56.2 to 70.2 (+14.0).

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

↑