arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.03004cs.CLcs.MA
收藏

CLUES:通过训练动态为大型语言模型进行协作式高质量数据选择

CLUES: Collaborative High-Quality Data Selection for LLMs via Training Dynamics

University of Cambridge, UK(剑桥大学);Imperial College London, UK(伦敦帝国学院);Samsung AI Center Cambridge(三星AI中心(剑桥));Flower Labs(Flower实验室);AIWaves

Wanru Zhao, Hongxiang Fan, Shell Xu Hu, Wangchunshu Zhou, Bofan Chen, Nicholas D. Lane

AI总结:

本文提出CLUES方法,利用训练动态影响从私有数据孤岛中协作选择高质量数据,通过梯度内积迹度量质量,并在医学、多语言和金融领域验证其优于现有数据选择方法。

摘要:

近期研究强调了数据质量在扩展大型语言模型(LLMs)中的重要性。然而,在数据孤岛之间不允许直接共享的协作环境中,自动化数据质量控制面临独特挑战。为解决这一问题,本文提出了一种基于数据对LLMs训练动态影响概念的新型数据质量控制技术,即高质量数据更可能与锚定数据集具有相似的训练动态。随后,我们利用训练动态的影响,从不同的私有领域中选择高质量数据,并在服务器端通过模型合并或联邦学习以协作训练方式进行集中式模型更新。对于数据质量指标,我们计算每个样本相对于私有数据和锚定数据集的梯度,并使用累积内积的迹作为数据质量的度量。此外,我们开发了一种针对具有异构领域数据的协作环境量身定制的质量控制评估方法。实验表明,在医学、多语言和金融场景下的不同私有领域数据集上,使用我们方法选择的高质量数据进行LLMs协作微调,通常能优于其他数据选择方法。我们的代码已发布在github.com/Ryan0v0/CLUES。

英文摘要:

Recent research has highlighted the importance of data quality in scaling large language models (LLMs). However, automated data quality control faces unique challenges in collaborative settings where sharing is not allowed directly between data silos. To tackle this issue, this paper proposes a novel data quality control technique based on the notion of data influence on the training dynamics of LLMs, that high quality data are more likely to have similar training dynamics to the anchor dataset. We then leverage the influence of the training dynamics to select high-quality data from different private domains, with centralized model updates on the server side in a collaborative training fashion by either model merging or federated learning. As for the data quality indicator, we compute the per-sample gradients with respect to the private data and the anchor dataset, and use the trace of the accumulated inner products as a measurement of data quality. In addition, we develop a quality control evaluation tailored for collaborative settings with heterogeneous domain data. Experiments show that training on the high-quality data selected by our method can often outperform other data selection methods for collaborative fine-tuning of LLMs, across diverse private domain datasets, in medical, multilingual and financial settings. Our code is released at github.com/Ryan0v0/CLUES.

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

↑