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

超越相似性:一种用于指令微调数据选择的基于梯度的图方法

Beyond Similarity: A Gradient-based Graph Method for Instruction Tuning Data Selection

Research Center for Social Computing and Information Retrieval, Harbin Institute of Technology(哈尔滨工业大学社会计算与信息检索研究中心);Beijing Academy of Artificial Intelligence(北京人工智能研究院);Du Xiaoman Technology (Beijing) Co., Ltd.(度小满科技(北京)有限公司)

Yang Zhao, Li Du, Xiao Ding, Yangou Ouyang, Hepeng Wang, Kai Xiong, Jinglong Gao, Zhouhao Sun, Dongliang Xu, Yang Qing, Dongchen Li, Bing Qin, Ting Liu

AI总结:

针对领域指令数据选择忽视指令联合分布的问题,本文提出 G2IS,利用基于梯度的指令图和梯度游走算法建模指令依赖,从而在低资源领域适应中显著提升训练效率与性能。

摘要:

大型语言模型(LLM)凭借其通过指令微调实现泛化的卓越能力,已在多个行业展现出巨大潜力。然而,领域特定数据的有限可得性显著制约了它们在专门任务上的表现。现有方法主要侧重于从通用数据集中选择与目标领域相似的训练数据,却往往未能考虑指令的联合分布,从而导致学习效率低下和知识迁移效果不佳。为应对这些挑战,我们提出 G2IS(Gradient-based Graph Instruction Selection,基于梯度的图指令选择),这是一种新颖方法,通过构建混合的基于梯度的指令图来捕捉指令之间的联合分布和相互依赖关系。通过考虑指令间关系,G2IS 提升了领域适应效率。此外,我们提出一种梯度游走算法以优化数据选择过程,同时提高训练效果与效率。实验表明,G2IS 在多种领域适应任务上优于传统方法,带来显著性能提升,尤其在复杂、数据稀缺的场景中表现突出。这些结果凸显了 G2IS 在推动大型领域特定模型发展方面的潜力。

英文摘要:

Large language models (LLMs) have shown great potential across various industries due to their remarkable ability to generalize through instruction tuning. However, the limited availability of domain-specific data significantly hampers their performance on specialized tasks. While existing methods primarily focus on selecting training data from general datasets that are similar to the target domain, they often fail to consider the joint distribution of instructions, resulting in inefficient learning and suboptimal knowledge transfer. To address these challenges, we introduce G2IS (Gradient-based Graph Instruction Selection), a novel method that constructs a mixed gradient-based instruction graph to capture the joint distribution and interdependencies between instructions. By accounting for the relationships between instructions, G2IS improves domain adaptation efficiency. Additionally, we propose a gradient walk algorithm to refine the data selection process, enhancing both training effectiveness and efficiency. Our experiments demonstrate that G2IS outperforms traditional methods across various domain adaptation tasks, yielding significant performance gains, particularly in complex, data-scarce scenarios. These results underscore the potential of G2IS in advancing the development of large, domain-specific models.

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

↑