Influence-Preserving Proxies for Gradient-Based Data Selection in LLM Fine-tuning

Sirui Chen, Yunzhe Qi, M. Ai, Yifan Sun, Ruizhong Qiu, Jiaru Zou, Jingrui He

Abstract

Supervised fine-tuning (SFT) relies critically on selecting training data that most benefits a model's downstream performance. Gradient-based data selection methods such as TracIn and Influence Functions leverage influence to identify useful samples, but their computational cost scales poorly, making them impractical for multi-billion-parameter large language models (LLMs). A common alternative is to use off-the-shelf smaller models as proxies, but they remain suboptimal since their learning dynamics are unclear, their sizes cannot be flexibly adjusted, and they cannot be further aligned with the target model in terms of gradient-based influence estimation. To address these challenges, we introduce Iprox, a two-stage framework that derives influence-preserving proxies directly from the target model. It first applies a low-rank compression stage to preserve influence information of the target model, and then an aligning stage to align both model gradients and logits, thereby constructing proxies that flexibly control computational cost while retaining the target model's influence. Experimental results across diverse LLM families and evaluation tasks show that Iprox consistently outperforms off-the-shelf proxies and baseline methods. On Qwen3-4B, a 1.5B proxy constructed with Iprox achieves stronger performance than the larger 1.7B off-the-shelf proxy. Notably, on Llama3.2, Iprox achieves better performance than baselines while reducing computational cost by more than half relative to the full 3B model. These results show that Iprox provides effective influence-preserving proxies, making gradient-based data selection more scalable for LLMs.

The Challenge of Scalable Data Selection

In the context of Supervised Fine-Tuning (SFT), data quality is often more critical than quantity; irrelevant or noisy samples can actively degrade performance. Gradient-based data selection methods, such as TracIn and Influence Functions, are designed to identify the most beneficial samples by calculating their influence on the model's learning. However, these methods are computationally intensive, requiring significant memory and processing power for multi-billion parameter models.

A common workaround involves using smaller "off-the-shelf" models as proxies (e.g., using a 1B model to select data for an 8B model). Unfortunately, these proxies often possess different learning dynamics than the target model, selecting data that may benefit the proxy but not the target.

The IPROX Framework

To bridge this gap, we introduce IPROX, a two-stage framework designed to build proxy models mathematically aligned with a target model's influence patterns.

  1. Stage 1: Influence-Preserving SVD (IPSVD): Traditional Singular Value Decomposition (SVD) focuses on minimizing weight reconstruction error. In contrast, IPSVD utilizes "second-moment" matrices of inputs and gradients to reweight the model's weights during compression. This ensures the proxy retains the specific components critical for influence calculation.
  2. Stage 2: Gradient and Logit Alignment: The proxy is further refined to mimic the target model through Internal Alignment (matching gradients in a low-rank space) and External Anchoring (using KL divergence to ensure output consistency).
The IPROX framework: Stage 1 (IPSVD) for influence-preserving initialization and Stage 2 for internal and external alignment.

Key Insights and Results

Experimental evaluations across Llama 3.2, Gemma 3, and Qwen families demonstrate that IPROX consistently selects higher-quality data than standard off-the-shelf proxies.

Alignment Over Size

A significant finding is that a smaller, well-aligned proxy can outperform a larger, unaligned one. For instance, a 1.5B IPROX proxy selected more effective data for a Qwen3-4B model than a standard 1.7B off-the-shelf Qwen proxy. This suggests that the alignment of learning dynamics is more important for data selection than raw parameter count.

Performance and Efficiency

IPROX consistently achieves superior results across benchmarks like MMLU, BBH, and TyDiQA. Beyond accuracy, the framework offers massive efficiency gains. For Llama 3.2-3B, IPROX reduced the total computational overhead of data selection by more than 50% compared to using the full model.

Performance comparison of IPROX against off-the-shelf proxies across various LLM families and benchmarks.

Limitations and Future Work

While IPROX represents a significant step forward, it faces certain constraints. Model quality tends to drop sharply if the proxy is compressed to less than 10% of the original model's rank. Additionally, because the proxy is constructed layer-by-layer, approximation errors can accumulate in extremely deep models. Future work will explore the application of IPROX to "online" data selection during the training process and methods to compress embedding layers and LM heads, which currently remain fixed.

Summary updated

BibTeX
@inproceedings{chen2026influence,
  author = {Sirui Chen and Yunzhe Qi and M. Ai and Yifan Sun and Ruizhong Qiu and Jiaru Zou and Jingrui He},
  title = {{Influence-Preserving Proxies for Gradient-Based Data Selection in LLM Fine-tuning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=PDNpRLxDlI},
}
Figure