具有记忆的语言模型对齐的渐近性质 The Asymptotics of Language Model Alignment with Memory 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-01
⬇️ 10 次下载
👁️ 预览文献
💡 AI 中文简介
语言模型对齐旨在调整模型使其输出更符合人类偏好。常用方法有两种:KL约束强化学习(需知道模型分布且计算昂贵)和best-of-n采样(只需从模型采样)。已有研究证明,当输出序列为独立同分布时,两种方法产生的分布渐近接近。但实际模型输出有记忆性,本文将其推广到马尔可夫序列,并完整刻画了有限长度(特别是m=1)时两种方法KL散度为零的条件,回答了Yang等人的开放问题。
领域自然语言处理 / 语言模型对齐理论
适合谁读需要一定专业背景(概率论、信息论、强化学习基础)
核心贡献1. 将两种对齐方法分布渐近接近的结果从独立同分布序列推广到马尔可夫序列;2. 完整刻画了有限长度(尤其m=1)时KL散度为零的模型分布与奖励函数条件,解决了Yang等人提出的开放问题。
关键数据暂无显著硬数据
推荐理由如果你关心语言模型对齐的理论基础,尤其是实际场景中序列依赖性的影响,这篇论文给出了严谨的渐近分析和完整刻画,值得一读。
关键词["语言模型对齐", "渐近分析", "马尔可夫链", "KL散度", "best-of-n", "强化学习"]

原文摘要

查看英文原文摘要

Language model (LM) alignment broadly aims to perturb a given LM $Q$ into an aligned LM $q$ such that i) the outputs produced by $q$ and $Q$ are 'close' in probability, ii) $q$ has a higher expected reward than $Q$. Two common techniques for LM alignment are: KL-constrained RL, which requires knowledge of the LM distribution and is computationally expensive, and the best-of-$n$ algorithm, which requires only sampling from the LM. The work of Yang et al. established asymptotic closeness between the distributions produced by the two alignment methods for an $m$--length i.i.d. token sequence output by the LM, in the limit as $m$ increases to infinity. However, the i.i.d. assumption is not representative of practical LMs, whose output sequences often have memory. In this paper, we extend the asymptotic closeness result to the case when the $m$--length token sequence outputted by the LM is Markovian. Further, for finite-length output sequences -- particularly, when $m=1$ -- we provide a complete characterization of LM distributions and reward functions for which the KL-divergence between the distributions produced by the two alignment methods is zero -- a question first posed in Yang et al.