Influence-Preserving Proxies for Gradient-Based Data Selection in LLM Fine-tuning
Organizations: University of Illinois Urbana-Champaign
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.
Figures & tables
| Dataset | Task | # Shots | Metric | ||
|---|---|---|---|---|---|
| TyDiQA | Multilingual QA | 1,713 | 9 | 1 | Exact Match |
| MMLU | Multiple choice | 18,721 | 285 | 5 | Accuracy |
| BBH | Reasoning | 920 | 81 | 3 | Accuracy |
| Target Model | Proxy Model | #Params | MMLU | BBH | TyDiQA | Avg. |
|---|---|---|---|---|---|---|
| Llama3.2-3B | Llama3.2-3B | 3B | 56.28 | 47.78 | 43.10 | 49.05 |
| Llama3.2-1B | 1B | 55.89 | 47.31 | 38.84 | 47.35 | |
| IProX , | 2.5B | 56.77 | 49.16 | 40.98 | 48.97 | |
| IProX , | 1.8B | 56.35 | 47.69 | 39.77 | 47.94 | |
| IProX , | 1.3B | 56.28 | 47.31 | 39.04 | 47.54 | |
| Gemma3-4B | Gemma3-4B | 4B | 59.67 | 47.68 | 28.14 | 45.16 |
| Llama3.2-3B | Gemma3-4B | |||||||
|---|---|---|---|---|---|---|---|---|
| Task | Layer Extraction | Influence Scorer | IProX | Layer Extraction | Influence Scorer | IProX | ||
| MMLU | 56.44 | 56.42 | 56.77 | 0.33 | 59.30 | 59.49 | 59.36 | -0.13 |
| BBH | 46.85 | 46.57 | 49.16 | 2.31 | 48.79 | 47.87 | 49.63 | 0.84 |
| TyDiQA | 35.18 | 34.11 | 40.98 | 5.80 | 26.91 | 26.91 | 32.19 | 5.28 |
| Avg. | 46.16 | 45.70 | 48.97 | 2.81 | 45.00 | 44.76 | 47.06 | 1.99 |
| Llama3.2-3B | Gemma3-4B | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Task | IProX | IProX | ||||||||
| Llama3.2-3B | Llama3.2-1B | Gemma3-4B | Gemma3-1B | |||||||
| MMLU | 56.31 | 56.10 | 56.09 | 55.96 | 56.52 | 59.50 | 59.18 | 59.37 | 59.57 | 59.34 |
| BBH | 48.43 | 46.20 | 48.24 | 47.96 | 47.31 | 49.54 | 45.09 | 48.98 | 48.52 | 48.15 |
| TyDiQA | 41.88 | 38.13 | 44.35 | 41.57 | 39.05 | 32.48 | 30.01 | 34.18 | 33.94 | 28.44 |
| Avg. | 48.87 | 46.81 | 49.56 | 48.50 | 47.63 | 47.17 | 44.76 | 47.51 | 47.34 | 45.31 |
| Model | Stage 1 | Stage 2 | Infl. Calc. |
|---|---|---|---|
| Llama3.2-3B | – | – | 90 mins |
| Llama3.2-1B | – | – | 40 mins |
| IProX | 2 mins | 3–5 mins | 38–44 mins |
| Proxy Model | MMLU | BBH | TyDiQA | |||
|---|---|---|---|---|---|---|
| SA | 1-NND | SA | 1-NND | SA | 1-NND | |
| Llama3.2-1B | 29.01 | 13.91 | 20.94 | 13.29 | 18.61 | 13.13 |
| IProX , | 33.39 | 14.04 | 21.78 | 15.67 | 24.59 | 15.26 |
| IProX , | 33.14 | 14.31 | 21.32 | 15.45 | 20.59 | 16.17 |
| IProX , | 32.19 | 16.07 | 21.32 | 15.63 | 19.72 | 15.82 |
| Probe Size | MMLU | BBH | TyDiQA | Avg. |
|---|---|---|---|---|
| 56.12 | 46.85 | 37.71 | 46.89 | |
| Default | 56.28 | 47.31 | 39.04 | 47.54 |
| 56.26 | 47.41 | 39.89 | 47.85 | |
| 56.41 | 47.50 | 38.76 | 47.55 |
| Diversity Setting | MMLU | BBH | TyDiQA | Avg. |
|---|---|---|---|---|
| Default (Random) | 56.28 | 47.31 | 39.04 | 47.54 |
| 10% redundancy | 56.28 | 47.22 | 38.76 | 47.42 |
| 20% redundancy | 56.15 | 46.76 | 38.40 | 47.10 |
| 30% redundancy | 56.12 | 45.65 | 37.67 | 46.48 |
| Model | MMLU | BBH | TyDiQA |
|---|---|---|---|
| IProX , | 56.77 | 49.16 | 40.98 |
| w/o KL anchoring | 56.52 | 48.88 | 40.85 |
| w/o alignment | 56.41 | 48.51 | 39.33 |
| IProX , | 56.35 | 47.69 | 39.77 |
| w/o KL anchoring | 56.19 | 47.59 | 39.04 |
| w/o alignment | 56.08 | 47.03 | 36.43 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Qwen3-4B | Qwen2-7B | |||||||
|---|---|---|---|---|---|---|---|---|
| Task | Layer Extraction | Influence Scorer | IProX | Layer Extraction | Influence Scorer | IProX | ||
| MMLU | 69.86 | 69.60 | 70.15 | 0.29 | 70.31 | 70.28 | 70.41 | 0.10 |
| BBH | 74.25 | 74.90 | 75.18 | 0.28 | 59.63 | 59.17 | 60.93 | 1.30 |
| TyDiQA | 46.78 | 46.52 | 50.63 | 3.85 | 44.15 | 45.72 | 53.56 | 7.84 |
| Avg. | 63.63 | 63.67 | 65.32 | 1.47 | 58.03 | 58.39 | 61.63 | 3.08 |
| 1% Data | 20% Data | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Task | IProX | IProX | ||||||||
| Llama3.2-3B | Llama3.2-1B | Llama3.2-3B | Llama3.2-1B | |||||||
| MMLU | 56.43 | 56.13 | 56.52 | 56.22 | 56.23 | 55.77 | 55.15 | 56.36 | 55.18 | 55.66 |
| BBH | 46.85 | 46.67 | 48.33 | 47.31 | 47.41 | 47.13 | 45.83 | 47.47 | 46.20 | 46.11 |
| TyDiQA | 34.37 | 32.39 | 36.79 | 35.27 | 33.32 | 40.73 | 36.55 | 38.20 | 37.49 | 36.63 |
| Avg. | 45.88 | 45.06 | 47.21 | 46.27 | 45.65 | 47.88 | 45.84 | 47.34 | 46.29 | 46.13 |
| Target Model | Proxy Model | MMLU | BBH | TyDiQA | Avg. |
|---|---|---|---|---|---|
| Llama3.2-3B | IProX , | 56.77 | 49.16 | 40.98 | 48.97 |
| w/o IPSVD | 56.42 (-0.35) | 46.94 (-2.22) | 36.53 (-4.45) | 46.63 (-2.34) | |
| IProX , | 56.35 | 47.69 | 39.77 | 47.94 | |
| w/o IPSVD | 56.11 (-0.24) | 46.30 (-1.39) | 34.50 (-5.27) | 45.64 (-2.30) | |
| IProX , | 56.28 | 47.31 | 39.04 | 47.54 | |
| w/o IPSVD | 55.97 (-0.31) | 46.11 (-1.20) | 32.73 (-6.31) | 44.94 (-2.60) |
| Candidate Training Data | Proxy Model | MMLU | BBH | TyDiQA | Avg. |
|---|---|---|---|---|---|
| CoT | Llama3.2-3B | 56.53 | 48.61 | 47.90 | 51.01 |
| Llama3.2-1B | 56.17 | 47.31 | 42.67 | 48.72 | |
| IProX, | 56.96 | 48.80 | 48.72 | 51.49 | |
| IProX, | 56.48 | 48.06 | 46.73 | 50.42 | |
| IProX, | 56.26 | 47.60 | 43.18 | 49.01 | |
| BioInstruct | Llama3.2-3B | 56.61 | 47.22 | 38.96 | 47.60 |
| Target Model | Method | MMLU | BBH | TyDiQA | Avg. |
|---|---|---|---|---|---|
| Llama3.2-3B | IProX | 56.17 (+0.20) | 46.57 (+0.64) | 37.26 (+5.25) | 46.67 (+2.03) |
| Layer Extraction | 55.97 | 45.93 | 32.01 | 44.64 | |
| Qwen2-7B | IProX | 70.25 (+0.21) | 60.00 (+0.56) | 48.67 (+6.02) | 59.64 (+2.26) |
| Layer Extraction | 70.04 | 59.44 | 42.65 | 57.38 |
| Target Model | Configuration | MMLU | BBH | TyDiQA | Avg. |
|---|---|---|---|---|---|
| Llama3.2-3B | IProX, | 56.02 | 46.85 | 37.83 | 46.90 |
| IProX, | 56.28 | 47.31 | 39.04 | 47.54 | |
| IProX, | 56.12 | 47.04 | 36.61 | 46.59 | |
| IProX, | 56.05 | 46.48 | 36.54 | 46.36 |
Training Data Selection
Training data selection studies how to choose, filter, weight, or schedule examples to improve learning while reducing data and compute costs.
See all 184 papers