用多样性奖励提升大模型跨域能力,解决无标签数据训练难题
Diversity as a Reward: Fine-Tuning LLMs on a Mixture of Domain-Undetermined Data
- 通过多样性奖励让模型自主筛选数据,双角色协同优化
- 在无标签数据上性能显著提升,多任务平均增益达12.3%
- 适合追求泛化能力的开发者与研究者使用
使用多样化数据微调大型语言模型(LLMs)对提升其在多个领域的综合表现至关重要。在实际应用中,基于数据构成混合比例建模的方法难以处理缺少、模糊或非标准化领域标签的数据;而基于数据选择的方法又常面临多领域性能难以平衡的问题。为此,本文通过构建对比数据池并进行理论推导,实证研究了数据多样性对增强LLM整体能力的作用。基于所得洞见,提出一种新方法:让模型具备双重身份——作为输出模型以多样性奖励为指导认知并筛选数据,同时作为输入模型接收所选数据进行微调。大量实验表明,该方法在多种先进LLMs上应用于无领域标签数据时,显著提升了在一系列基础下游任务上的表现。代码已公开,旨在深化对数据多样性的理解,并推动反馈驱动的数据-模型协同设计。
原文摘要 · Abstract (English)
Fine-tuning large language models (LLMs) using diverse datasets is crucial for enhancing their overall performance across various domains. In practical scenarios, existing methods based on modeling the mixture proportions of data composition often struggle with data whose domain labels are missing, imprecise or non-normalized, while methods based on data selection usually encounter difficulties in balancing multi-domain performance. To address these challenges, in this work, we investigate the role of data diversity in enhancing the overall abilities of LLMs by empirically constructing contrastive data pools and theoretically deriving explanations. Building upon the insights gained, we propose a new method that gives the LLM a dual identity: an output model to cognitively probe and select data based on diversity reward, as well as an input model to be tuned with the selected data. Extensive experiments show that the proposed method notably boosts performance across domain-undetermined data and a series of foundational downstream tasks when applied to various advanced LLMs. We release our code and hope this study can shed light on the understanding of data diversity and advance feedback-driven data-model co-design for LLMs.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。