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

基于内容不变梯度归因的鲁棒大语言模型数据选择

Robust LLM Data Selection via Content-Invariant Gradient Attribution

Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学)

Jia Gu, Liang Pang, Huawei Shen

AI总结:

针对现有LLM数据选择的梯度归因方法存在的表面形式偏差问题,提出CIGA框架,通过识别稳定层并融合归因信号与语义表示,实现更稳定高效的LLM指令微调数据选择。

摘要:

基于梯度的数据归因已成为大语言模型(LLM)指令微调中高质量数据选择的重要工具,它通过训练样本对模型优化的影响来估计样本贡献。然而,我们发现现有全局梯度归因方法存在表面形式偏差:即使底层内容不变,措辞或格式等语义无关细节的微小变化也会产生高度不一致的归因分数。为解决该问题,我们提出内容不变梯度归因(CIGA),这是一种用于指令数据选择的鲁棒框架。CIGA首先识别梯度对归因有影响且在语义保留的表面形式扰动下稳定的层,从而减少梯度特征中的格式噪声;随后动态融合这些归因信号与输入的语义表示,结合优化层面的影响与内容层面的信息。在多个基准上的大量实验表明,CIGA在表面形式扰动下能产生更稳定的排名,同时保留下游能力并提升平均性能,还降低了归因成本,为LLM指令微调提供了一种鲁棒且高效的数据选择方法。

英文摘要:

Gradient-based data attribution has become an important tool for high-quality data selection in the instruction fine-tuning of large language models (LLMs), as it estimates the contribution of training examples through their influence on model optimization. However, we find that existing global gradient attribution methods suffer from surface-form bias: minor changes to semantically irrelevant details, such as wording or formatting, can produce highly inconsistent attribution scores even when the underlying content remains unchanged. To address this issue, we propose Content-Invariant Gradient Attribution (CIGA), a robust framework for instruction data selection. CIGA first identifies layers whose gradients are both influential for attribution and stable under semantics-preserving surface-form perturbations, thereby reducing formatting noise in gradient features. It then dynamically fuses these attribution signals with semantic representations of the input, combining optimization-level influence with content-level information. Extensive experiments across multiple benchmarks show that CIGA produces more stable rankings under surface-form perturbations while preserving downstream capabilities and improving average performance. CIGA also reduces attribution cost, offering a robust and efficient approach to data selection for LLM instruction tuning.

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

↑