Robust LLM Data Selection via Content-Invariant Gradient Attribution

Jia Gu, Liang Pang, Huawei Shen
10/27/2026
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{gu2026robust,
  title  = {Robust LLM Data Selection via Content-Invariant Gradient Attribution},
  author = {Jia Gu and Liang Pang and Huawei Shen},
  year   = {2026},
  eprint = {2610.36755},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.36755v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.36755.svg)](https://codeofpaper.com/paper/2610.36755)

Discussion