arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.16178cs.LGcs.AI
收藏

通过动态双层优化进行大语言模型数据选择与利用

LLM Data Selection and Utilization via Dynamic Bi-level Optimization

School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);The Key Laboratory of Cognition and Decision Intelligence for Complex Systems, Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所认知与决策智能复杂系统重点实验室);Huawei Noah’s Ark Lab(华为诺亚实验室);College of Intelligence and Computing, Tianjin University(天津大学智能与计算学院);Nanyang Technological University(南洋理工大学)

Yang Yu, Kai Han, Hang Zhou, Yehui Tang, Kaiqi Huang, Yunhe Wang, Dacheng Tao

AI总结:

本文提出数据加权模型DWM,通过双层优化动态调整批次内数据权重,以提升LLM训练效率,并揭示训练过程中的数据偏好演变规律。

摘要:

虽然大规模训练数据是开发高性能大语言模型(LLM)的基础,但策略性地选择高质量数据已成为提高训练效率和降低计算成本的关键方法。当前的数据选择方法主要依赖静态的、与训练无关的标准,未能考虑模型训练与数据之间的动态交互。在本文中,我们提出了一种新的数据加权模型(Data Weighting Model,DWM),用于在每个批次内调整所选数据的权重,从而在LLM训练过程中实现动态数据利用。具体而言,为了更好地捕捉被训练模型的动态数据偏好,我们实现了一个双层优化框架来更新加权模型。我们的实验表明,DWM能够提升使用随机选择数据训练的模型性能,并且学习到的加权模型可以迁移到其他数据选择方法和不同规模的模型上,以增强其效果。此外,我们进一步分析了模型的数据偏好在训练过程中如何演变,为模型在训练期间的数据偏好提供了新的见解。

英文摘要:

While large-scale training data is fundamental for developing capable large language models (LLMs), strategically selecting high-quality data has emerged as a critical approach to enhance training efficiency and reduce computational costs. Current data selection methodologies predominantly rely on static, training-agnostic criteria, failing to account for the dynamic model training and data interactions. In this paper, we propose a new Data Weighting Model (DWM) to adjust the weight of selected data within each batch to achieve a dynamic data utilization during LLM training. Specially, to better capture the dynamic data preference of the trained model, a bi-level optimization framework is implemented to update the weighting model. Our experiments demonstrate that DWM enhances the performance of models trained with randomly-selected data, and the learned weighting model can be transferred to enhance other data selection methods and models of different sizes. Moreover, we further analyze how a model's data preferences evolve throughout training, providing new insights into the data preference of the model during training.

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

↑