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

语言模型中的自我改进:锐化机制

Self-Improvement in Language Models: The Sharpening Mechanism

Microsoft(微软公司)

Audrey Huang, Adam Block, Dylan J. Foster, Dhruv Rohatgi, Cyril Zhang, Max Simchowitz, Jordan T. Ash, Akshay Krishnamurthy

AI总结:

本文提出“锐化”框架解释语言模型自我改进,证明SFT方法在覆盖充分时极小极大最优,而RLHF可通过在线探索摆脱覆盖限制,并经实验验证。

摘要:

语言建模领域的近期工作提出了自我改进的可能性,即语言模型评估并精炼自身生成内容,从而在没有外部反馈的情况下取得更高性能。这种自我改进不可能创造出模型中尚未包含的信息,那么我们为什么应期待它带来能力提升?我们通过一个称为“锐化”的视角,对自我改进的能力给出了新的理解。受如下观察启发:语言模型通常更擅长验证响应质量,而不是生成正确响应;我们将自我改进形式化为在训练后阶段使用模型自身作为验证器,以便把模型“锐化”为一个将高质量序列赋予大概率质量的模型,从而分摊生成良好序列所需的昂贵推理时计算。我们首先引入一个新的锐化统计框架,其中学习者旨在通过样本访问来锐化预训练基础策略,并建立基本极限。随后,我们分析基于SFT和RLHF的两类自然的自我改进算法族。我们发现:(i)当初始模型具有充分覆盖时,基于SFT的方法是极小极大最优的;但(ii)基于RLHF的方法能够利用在线探索优于基于SFT的自我改进,从而绕过覆盖需求。最后,我们通过推理时实验和平摊实验对锐化机制进行实证验证。我们将这些发现视为迈向基础性理解的起点,以指导自我改进算法的设计与评估。

英文摘要:

Recent work in language modeling has raised the possibility of self-improvement, where a language models evaluates and refines its own generations to achieve higher performance without external feedback. It is impossible for this self-improvement to create information that is not already in the model, so why should we expect that this will lead to improved capabilities? We offer a new perspective on the capabilities of self-improvement through a lens we refer to as sharpening. Motivated by the observation that language models are often better at verifying response quality than they are at generating correct responses, we formalize self-improvement as using the model itself as a verifier during post-training in order to ``sharpen'' the model to one placing large mass on high-quality sequences, thereby amortizing the expensive inference-time computation of generating good sequences. We begin by introducing a new statistical framework for sharpening in which the learner aims to sharpen a pre-trained base policy via sample access, and establish fundamental limits. Then we analyze two natural families of self-improvement algorithms based on SFT and RLHF. We find that (i) the SFT-based approach is minimax optimal whenever the initial model has sufficient coverage, but (ii) the RLHF-based approach can improve over SFT-based self-improvement by leveraging online exploration, bypassing the need for coverage. Finally, we empirically validate the sharpening mechanism via inference-time and amortization experiments. We view these findings as a starting point toward a foundational understanding that can guide the design and evaluation of self-improvement algorithms.

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

↑