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

TS-Align:一种用于大语言模型可扩展迭代微调的师生协同框架

TS-Align: A Teacher-Student Collaborative Framework for Scalable Iterative Finetuning of Large Language Models

National University of Singapore(新加坡国立大学);Tencent AI Lab(腾讯AI实验室);Peking University(北京大学);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))

Chen Zhang, Chengguang Tang, Dading Chong, Ke Shi, Guohua Tang, Feng Jiang, Haizhou Li

AI总结:

TS-Align框架通过师生协同自动挖掘成对反馈数据,实现大语言模型的可扩展迭代对齐,最终策略模型在七个数据集上平均胜率达69.7%,并将教师排序能力蒸馏为小型有效奖励模型。

摘要:

当前对齐大语言模型(LLMs)的主流方法严重依赖人类偏好数据,尤其是当模型需要定期更新时。LLMs迭代对齐的标准流程涉及为每次更新收集新的人类反馈。然而,数据收集过程成本高昂且难以扩展。为了解决这一问题,我们提出了“TS-Align”框架,该框架利用从其输出中自动挖掘的成对反馈数据来微调策略模型。这一自动挖掘过程通过大规模教师模型与小规模学生模型之间的协同高效完成。在我们提出的师生协同框架内,策略微调过程可以利用在线策略生成(on-policy generations)迭代重复进行。通过大量实验,我们证明最终对齐的策略模型优于基础策略模型,在七个对话或指令遵循数据集上平均胜率达到69.7%。此外,我们表明教师模型的排序能力通过我们的流程被有效地蒸馏到学生模型中,从而得到一个规模小但有效的奖励模型,用于策略模型对齐。

英文摘要:

Mainstream approaches to aligning large language models (LLMs) heavily rely on human preference data, particularly when models require periodic updates. The standard process for iterative alignment of LLMs involves collecting new human feedback for each update. However, the data collection process is costly and challenging to scale. To address this issue, we introduce the "TS-Align" framework, which fine-tunes a policy model using pairwise feedback data automatically mined from its outputs. This automatic mining process is efficiently accomplished through the collaboration between a large-scale teacher model and a small-scale student model. The policy fine-tuning process can be iteratively repeated using on-policy generations within our proposed teacher-student collaborative framework. Through extensive experiments, we demonstrate that our final aligned policy outperforms the base policy model with an average win rate of 69.7% across seven conversational or instruction-following datasets. Furthermore, we show that the ranking capability of the teacher is effectively distilled into the student through our pipeline, resulting in a small-scale yet effective reward model for policy model alignment.

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

↑