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

将 System 2 蒸馏到 System 1

Distilling System 2 into System 1

Meta FAIR

Ping Yu, Jing Xu, Jason Weston, Ilia Kulikov

AI总结:

本文研究自监督方法将System 2技术的中间推理蒸馏到System 1中,使LLM无需生成中间token即可提升性能并降低推理成本。

摘要:

大型语言模型(LLMs)可以在推理期间花费额外计算来生成中间思考,这有助于产生更好的最终响应。自 Chain-of-Thought(Wei et al., 2022)以来,已经提出了许多这样的 System 2 技术,例如 Rephrase and Respond(Deng et al., 2023a)、System 2 Attention(Weston and Sukhbaatar, 2023)和 Branch-Solve-Merge(Saha et al., 2023)。在这项工作中,我们研究了自监督方法,以将 System 2 技术产生的更高质量输出“编译”(蒸馏)回 LLM 生成中,而无需中间推理 token 序列,因为这种推理已被蒸馏到 System 1 中。我们表明,几种这样的技术可以被成功蒸馏,与原始 System 1 性能相比产生了更好的结果,并且与 System 2 相比具有更低的推理成本。我们假设,这种 System 2 蒸馏将是未来持续学习 AI 系统的重要特征,使它们能够将 System 2 能力集中在它们尚不能很好完成的推理任务上。

英文摘要:

Large language models (LLMs) can spend extra compute during inference to generate intermediate thoughts, which helps to produce better final responses. Since Chain-of-Thought (Wei et al., 2022), many such System 2 techniques have been proposed such as Rephrase and Respond (Deng et al., 2023a), System 2 Attention (Weston and Sukhbaatar, 2023) and Branch-Solve-Merge (Saha et al., 2023). In this work we investigate self-supervised methods to ``compile'' (distill) higher quality outputs from System 2 techniques back into LLM generations without intermediate reasoning token sequences, as this reasoning has been distilled into System 1. We show that several such techniques can be successfully distilled, resulting in improved results compared to the original System 1 performance, and with less inference cost than System 2. We posit that such System 2 distillation will be an important feature of future continually learning AI systems, enabling them to focus System 2 capabilities on the reasoning tasks that they cannot yet do well.

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

↑