arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.01369cs.LGcs.AIcs.CLstat.ML
收藏

通过可扩展逆强化学习模仿语言

Imitating Language via Scalable Inverse Reinforcement Learning

Google DeepMind(谷歌DeepMind);Cohere(科here)
Markus Wulfmeier, Michael Bloesch, Nino Vieillard, Arun Ahuja, Jorg Bornschein, Sandy Huang, Artem Sokolov, Matt Barnes, Guillaume Desjardins, Alex Bewley, Sara… 展开作者

Markus Wulfmeier, Michael Bloesch, Nino Vieillard, Arun Ahuja, Jorg Bornschein, Sandy Huang, Artem Sokolov, Matt Barnes, Guillaume Desjardins, Alex Bewley, Sarah Maria Elisabeth Bechtle, Jost Tobias Springenberg, Nikola Momchev, Olivier Bachem, Matthieu Geist, Martin Riedmiller

AI总结:

该研究从逆强化学习视角出发研究语言模仿,将逆软Q学习重构为带时间差分正则化的MLE扩展,验证了其在监督微调中兼顾性能与多样性的优势,为大模型后训练提供更鲁棒的奖励方案。

摘要:

大多数语言模型的训练都建立在模仿学习的基础上,涵盖预训练、监督微调,还会影响基于人类反馈的强化学习(RLHF)的初始条件。用于下一词元预测的最大似然估计(MLE)凭借简单性和可扩展性,成为了主流范式。然而,更广泛的模仿学习领域能够更有效地利用自回归生成背后的序列结构。我们重点从逆强化学习(IRL)的视角研究模仿问题,即提取奖励并直接优化序列而非单个词元的似然,并评估其对大语言模型微调的益处。我们提供了一个新视角,将逆软Q学习重新表述为带时间差分正则化的MLE扩展。这在MLE和IRL之间建立了有理论依据的关联,并且能够在监督微调(SFT)场景下权衡新增复杂度与生成性能及多样性的提升。我们发现基于IRL的模仿具有明显优势,尤其是在最大化任务性能的同时保留多样性,这使得即使没有在线数据生成,IRL在固定SFT数据集上也是一种强有力的替代方案。我们对IRL提取的奖励函数的分析进一步表明,通过更紧密地整合监督式和基于偏好的大语言模型后训练,能够获得更鲁棒的奖励函数。

英文摘要:

The majority of language model training builds on imitation learning. It covers pretraining, supervised fine-tuning, and affects the starting conditions for reinforcement learning from human feedback (RLHF). The simplicity and scalability of maximum likelihood estimation (MLE) for next token prediction led to its role as predominant paradigm. However, the broader field of imitation learning can more effectively utilize the sequential structure underlying autoregressive generation. We focus on investigating the inverse reinforcement learning (IRL) perspective to imitation, extracting rewards and directly optimizing sequences instead of individual token likelihoods and evaluate its benefits for fine-tuning large language models. We provide a new angle, reformulating inverse soft-Q-learning as a temporal difference regularized extension of MLE. This creates a principled connection between MLE and IRL and allows trading off added complexity with increased performance and diversity of generations in the supervised fine-tuning (SFT) setting. We find clear advantages for IRL-based imitation, in particular for retaining diversity while maximizing task performance, rendering IRL a strong alternative on fixed SFT datasets even without online data generation. Our analysis of IRL-extracted reward functions further indicates benefits for more robust reward functions via tighter integration of supervised and preference-based LLM post-training.

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

↑