arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.00398cs.CL
收藏

基于偏好锚定的 token 级指导用于语言模型微调

Preference-grounded Token-level Guidance for Language Model Fine-tuning

The University of Texas at Austin(德克萨斯大学奥斯汀分校);Salesforce Research(Salesforce研究院)

Shentao Yang, Shujian Zhang, Congying Xia, Yihao Feng, Caiming Xiong, Mingyuan Zhou

AI总结:

针对序列级偏好与 token 级训练的粒度不匹配,本文提出交替学习 token 级指导并据此微调 LM 的框架,在离散 prompt 生成和文本摘要任务上取得有竞争力的结果。

摘要:

使语言模型(LM)与偏好保持一致是自然语言生成中的一个重要问题。一个关键挑战在于,偏好通常在序列层面给出,而 LM 的训练与生成都发生在 token 层面。因此,偏好与 LM 训练损失之间存在粒度不匹配,这可能使学习问题复杂化。本文中,我们通过开发一种交替训练过程来解决这一问题:在将序列级偏好锚定为 token 级训练指导,以及利用所学指导改进 LM 之间迭代。对于指导学习,我们设计了一个框架,将模仿学习中的成对偏好学习扩展到可变长度 LM 生成,以及多个生成结果之间偏好的利用。对于 LM 训练,我们根据监督数据的数量,提出了两个利用所学指导的极简学习目标。实验中,我们的方法在两个不同的代表性 LM 任务——离散 prompt 生成和文本摘要——上表现出具有竞争力的性能。

英文摘要:

Aligning language models (LMs) with preferences is an important problem in natural language generation. A key challenge is that preferences are typically provided at the sequence level while LM training and generation both occur at the token level. There is, therefore, a granularity mismatch between the preference and the LM training losses, which may complicate the learning problem. In this paper, we address this issue by developing an alternate training process, where we iterate between grounding the sequence-level preference into token-level training guidance, and improving the LM with the learned guidance. For guidance learning, we design a framework that extends the pairwise-preference learning in imitation learning to both variable-length LM generation and the utilization of the preference among multiple generations. For LM training, based on the amount of supervised data, we present two minimalist learning objectives that utilize the learned guidance. In experiments, our method performs competitively on two distinct representative LM tasks -- discrete-prompt generation and text summarization.

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

↑