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

大型语言模型联邦指令微调中的数据质量控制

Data Quality Control in Federated Instruction-tuning of Large Language Models

Shanghai Jiao Tong University(上海交通大学);University of Cambridge(剑桥大学);Shanghai AI Laboratory(上海人工智能实验室)

Yaxin Du, Rui Ye, Fengting Yuchi, Wanru Zhao, Jingjing Qu, Yanfeng Wang, Siheng Chen

AI总结:

针对联邦指令微调中数据质量难以控制的问题,提出FedDQC框架,通过指令-响应对齐指标和从易到难的分层训练,显著提升混合质量数据上的模型性能。

摘要:

联邦学习(FL)通过利用大规模分布式数据,实现了大型语言模型(LLM)的隐私保护协作指令微调。然而,FL的去中心化特性加剧了数据质量挑战,因为本地客户端缺乏全局可见性,无法在训练前过滤噪声或低质量样本。为解决这一问题,我们提出了FedDQC,一种具有动态数据质量控制的新型联邦指令微调框架。我们的方法引入了两项关键创新。首先,我们提出了指令-响应对齐(IRA),一种高效的客户端侧质量评估指标,仅需低成本推理。我们验证了更高IRA数据对应更相关且更易学习的问答对。其次,模仿人类从易到难的知识获取过程,我们设计了一种质量感知的分层联邦训练框架,其中LLM以协作方式从高IRA数据逐步微调到低IRA数据。该框架还支持在每个层级进行自适应数据质量评估,从而在整个训练过程中实现动态调整。在合成和真实数据集上的大量实验表明,我们的方法显著提升了联邦学习中混合质量数据上的LLM性能。

英文摘要:

Federated Learning (FL) enables privacy-preserving collaborative instruction tuning of large language models (LLMs) by leveraging massively distributed data. However, the decentralized nature of FL exacerbates data quality challenges, as local clients lack global visibility to filter noisy or low-quality samples before training. To resolve this issue, we propose FedDQC, a novel federated instruction tuning framework with dynamic data quality control. Our approach introduces two key innovations. First, we propose instruction-response alignment (IRA), an efficient client-side metric for quality evaluation requiring only low-cost inference. We validate that higher-IRA data corresponds to more relevant and easier-to-learn question-answer pairs. Second, mirroring the human easy-to-hard knowledge acquisition process, we design a quality-aware hierarchical FL training framework, where the LLM is progressively fine-tuned from high- to low-IRA data in a collaborative manner. The framework also supports adaptive data quality assessment at each hierarchy, enabling dynamic adjustments throughout the training process. Extensive experiments on synthetic and real-world datasets show that our method significantly improves LLM performance on mixed-quality data in FL.

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

↑