通过动态调整数据量让大模型在多任务上表现更均衡
IDEAL: Data Equilibrium Adaptation for Multi-Capability Language Model Alignment
- 基于梯度优化数据分布,自动调节不同领域数据比例
- 多任务评测得分提升约7%,优于均匀分配策略
- 适合需要平衡多能力表现的模型微调场景
大规模语言模型通过在多样化指令数据集上进行监督微调(SFT)取得了优异性能。当同时训练多个能力时,混合数据集的构成——由不同领域数据量决定——直接影响最终模型表现。尽管许多研究关注通过数据筛选提升数据质量,但很少探索混合数据集中各领域数据量与模型涌现能力之间的复杂关系。在高质量多领域数据可用的前提下,理解各领域数据对模型整体能力的影响,对于准备SFT数据和训练出跨领域表现均衡的模型至关重要。本文提出IDEAL框架,一种创新的数据均衡适应方法,旨在有效优化混合SFT数据集中不同领域数据的规模,从而提升模型在多能力上的对齐与性能。IDEAL采用基于梯度的方法,迭代地精炼训练数据分布,根据各领域数据对下游任务表现的影响,动态调整其训练占比。通过这一自适应机制,IDEAL确保数据构成的平衡性,使模型在多种任务中实现稳健泛化和一致的能力表现。在多个能力上的实验表明,IDEAL优于传统的均匀数据分配策略,在多任务评估中综合得分提升约7%。
原文摘要 · Abstract (English)
Large Language Models (LLMs) have achieved impressive performance through Supervised Fine-tuning (SFT) on diverse instructional datasets. When training on multiple capabilities simultaneously, the mixture training dataset, governed by volumes of data from different domains, is a critical factor that directly impacts the final model's performance. Unlike many studies that focus on enhancing the quality of training datasets through data selection methods, few works explore the intricate relationship between the compositional quantity of mixture training datasets and the emergent capabilities of LLMs. Given the availability of a high-quality multi-domain training dataset, understanding the impact of data from each domain on the model's overall capabilities is crucial for preparing SFT data and training a well-balanced model that performs effectively across diverse domains. In this work, we introduce IDEAL, an innovative data equilibrium adaptation framework designed to effectively optimize volumes of data from different domains within mixture SFT datasets, thereby enhancing the model's alignment and performance across multiple capabilities. IDEAL employs a gradient-based approach to iteratively refine the training data distribution, dynamically adjusting the volumes of domain-specific data based on their impact on downstream task performance. By leveraging this adaptive mechanism, IDEAL ensures a balanced dataset composition, enabling the model to achieve robust generalization and consistent proficiency across diverse tasks. Experiments across different capabilities demonstrate that IDEAL outperforms conventional uniform data allocation strategies, achieving a comprehensive improvement of approximately 7% in multi-task evaluation scores.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。