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

Montessori-Instruct:生成针对学生学习量身定制的高影响力训练数据

Montessori-Instruct: Generate Influential Training Data Tailored for Student Learning

School of Software, Tsinghua University(清华大学软件学院);Language Technologies Institute, Carnegie Mellon University(卡内基梅隆大学语言技术研究所)

Xiaochuan Li, Zichun Yu, Chenyan Xiong

AI总结:

本文提出 Montessori-Instruct 框架,利用局部数据影响力刻画学生学习偏好,并通过 DPO 训练教师模型生成定制化合成数据,在 Alpaca Eval 和 MT-Bench 上显著超越标准合成方法及 GPT-4o。

摘要:

合成数据已被广泛用于训练大语言模型,但其生成特性不可避免地引入噪声、非信息性和误导性的学习信号。在本文中,我们提出 Montessori-Instruct,一种新颖的数据合成框架,使教师语言模型的数据合成能力面向学生语言模型的学习过程进行定制。具体而言,我们利用合成训练数据点对学生的局部数据影响力来刻画学生的学习偏好。然后,我们使用直接偏好优化(Direct Preference Optimization,DPO)训练教师模型,以生成针对学生学习偏好量身定制的合成数据。在 Alpaca Eval 和 MT-Bench 上使用 Llama3-8B-Instruct(教师)和 Llama3-8B(学生)进行的实验表明,Montessori-Instruct 相对标准合成方法分别显著提升了 18.35% 和 46.24%。我们的方法还优于由更强的教师模型 GPT-4o 合成的数据。进一步分析证实了教师学习生成更高影响力训练数据对学生学习改进的益处、局部数据影响力在准确衡量学生偏好方面的优势,以及 Montessori-Instruct 在不同学生模型上的鲁棒性。我们的代码和数据已在 https://github.com/cxcscmu/Montessori-Instruct 开源。

英文摘要:

Synthetic data has been widely used to train large language models, but their generative nature inevitably introduces noisy, non-informative, and misleading learning signals. In this paper, we propose Montessori-Instruct, a novel data synthesis framework that tailors the data synthesis ability of the teacher language model toward the student language model's learning process. Specifically, we utilize local data influence of synthetic training data points on students to characterize students' learning preferences. Then, we train the teacher model with Direct Preference Optimization (DPO) to generate synthetic data tailored toward student learning preferences. Experiments with Llama3-8B-Instruct (teacher) and Llama3-8B (student) on Alpaca Eval and MT-Bench demonstrate that Montessori-Instruct significantly outperforms standard synthesis methods by 18.35\% and 46.24\% relatively. Our method also beats data synthesized by a stronger teacher model, GPT-4o. Further analysis confirms the benefits of teacher's learning to generate more influential training data in the student's improved learning, the advantages of local data influence in accurately measuring student preferences, and the robustness of Montessori-Instruct across different student models. Our code and data are open-sourced at https://github.com/cxcscmu/Montessori-Instruct.

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

↑