A Compass for Useful Data: Online Data Selection via Alignment-Gated Fisher Geometry

Jingwen Zhang, Jianrui Shi, Zheng Wang, Wanfang Chen, Yaping Wang, Kaixuan ZhangNeurIPS 2026

TL;DR

When fine-tuning large language models on a budget, standard data-selection tricks look for examples that confuse the model—those with high loss or massive gradients. This paper flips the script: instead of acting like a spotlight on conspicuous examples, it builds a compass that points toward parameter updates actually worth taking. By selecting small batches of data whose updates are informative, aligned with the descent direction, and non-redundant, their method trains on just 10% of the data and beats training on the entire dataset.

What Problem Does This Paper Address?

Fine-tuning LLMs is expensive, so we often want to cherry-pick a small subset of training data on the fly—a process called online data selection. Because the model changes at every step, what counts as "useful" data is a moving target.

Traditionally, online selectors evaluate how strongly the current model reacts to a data point—picking samples with high loss, high uncertainty, or large gradient norms. Here is the catch: a massive gradient doesn't necessarily change the model's actual predictive behavior in a meaningful way, and worse, an outlier or noisy example might shove the model uphill, actively harming optimization. Furthermore, if you just grab the top-$B$ highest-scoring samples to form a training batch, they might all push the parameters in the exact same direction, wasting your budget on redundant updates.

Methods

The authors reframe data selection from scoring model responses to evaluating induced parameter updates, unfolding in three clean geometric steps:

  1. Measure True Movement (Fisher Information Gain): Raw parameter space is deceptive; a huge step in Euclidean coordinates might barely alter the model's output probabilities. The authors measure movement using the Fisher information matrix, which defines the local geometry of predictive distributions (via KL divergence). Using a lightweight local Gaussian approximation (and a cheap diagonal Fisher estimate in practice), they compute how much a sample's gradient genuinely shifts the model's beliefs: $I_i = g_i^\top \widetilde{F}_t^{-1} g_i$.
  2. Check the Direction (Descent Alignment Gate): Movement isn't progress if you're walking backward. They check whether a candidate's update agrees with a reference descent direction (the average gradient of the candidate pool) inside that same Fisher geometry. Passing the information score through a soft gate $\phi(A_i)$ suppresses harmful updates, yielding a "compass score" $s_i = \phi(A_i)\log(1 + I_i)$.
Figure 1: Overview of Alignment-Gated Fisher Geometry. Candidates are evaluated by the parameter updates they induce in the model’s local Fisher geometry. The Fisher-whitened information Ii measures update magnitude, while the descent alignment Ai measures agreement with a reference descent direction. The compass score si = ϕ(Ai) log(1 + Ii) prioritizes informative, descent-aligned candidates and suppresses low-information or misaligned ones.
  1. Build Diverse Batches (Gated Fisher Volume - GFV): To build a batch of size $B$, they lift the individual compass scores into a calibrated log-determinant objective. Geometrically, the determinant measures the volume spanned by the chosen update vectors in Fisher-whitened space (projected to 8 dimensions to keep the high-dimensional kernel from becoming trivially diagonal). If two samples point the same way, the volume barely grows; if they are orthogonal, their value accumulates. Because this objective is monotone submodular, a fast greedy algorithm finds a near-optimal batch.

Datasets

  • Training: No new benchmarks are introduced. The authors assemble an ~80K-example instruction-tuning mix from five public datasets covering general instructions, coding, and math: Alpaca, CodeAlpaca, a curated ShareGPT dataset, MATH, and GSM8K.
  • Evaluation: Models (LLaMA3.1-8B and Qwen3-8B fine-tuned with LoRA) are tested on MMLU (general knowledge), GSM8K (math reasoning), and HumanEval (code generation).

Key Insights and Ideas

  • Natural gradients for selection, not optimization: Classical optimization uses Fisher geometry (natural gradients) to decide how to move parameters. Using it one step earlier—to decide which data-induced movements to admit into standard training—is a sharp conceptual shift.
  • High information without alignment is a trap: Visualizing candidates during training reveals a clear "danger zone" of high-information, poorly aligned samples. Standard selectors love these conspicuous points, whereas the alignment gate drops them and rescues quieter, strongly aligned examples.
  • Less data can beat all the data: Full datasets contain conflicting gradients and redundant examples. Filtering for aligned, high-volume updates actively cleans up the optimization trajectory rather than just approximating full training.
Selection geometry diagnostics showing how the gate filters out misaligned high-information samples (a) and how GFV spreads batch updates across orthogonal directions, slashing cosine similarity (b-d).

Key Results

Under a strict 10% data selection budget, Ours-GFV outperforms six recent online selection baselines (including GREATS, UDS, GIST, and SPICE) and beats 100% full-data training across every single benchmark:

  • Stronger accuracy: On LLaMA3.1-8B, GFV hits a 50.85 average score (+2.29 over Full training), including a +4.32 jump on GSM8K. On Qwen3-8B, it reaches 80.44 (+2.37 over Full), with a +4.88 boost on HumanEval.
  • Slashing batch redundancy: Compared to simply picking the top-$B$ gated samples, GFV drops average pairwise squared cosine similarity among selected updates from 0.46 to 0.10, spreading updates across complementary directions.
  • Low runtime overhead: Despite computing per-sample gradients and greedy log-determinants, GFV takes 1.56x the wall-clock time of Full training—making it the fastest among all criterion-based selection baselines tested.

Limitations and Future Work

While the main text does not include a dedicated limitations section, several practical trade-offs are apparent in the methodology:

  • Approximation stack: To run online at LLM scale, the exact theory relies on heavy approximations: a diagonal Fisher matrix, LoRA-restricted parameter spaces, pool-averaged reference gradients, and low-dimensional gradient projections to prevent high-dimensional kernel degeneracy.
  • Compute vs. Full training: At 1.56x the wall-clock time of full-data training on the tested setup, GFV wins on sample quality and beats rival selectors on speed, though practitioners purely seeking wall-clock speedups over raw training would need to weigh per-sample gradient costs.
  • Future directions: Not discussed in the paper.

Summary updated

Abstract

Online data selection is typically driven by per-sample scores such as loss, uncertainty, or gradient norm, which measure how strongly the model reacts to a candidate but not what parameter update the candidate would induce. What an online learner should select is therefore not the most striking example, but the one whose update is most worth taking. To make this concrete, we score a candidate by the movement induced by its update, using a Fisher-whitened information gain that evaluates the update in the loss geometry rather than by raw gradient size. Movement, however, is not yet progress, so we pass this score through a \emph{Descent Alignment Gate}, a soft factor that retains it only when the induced update agrees with the descent direction. This yields a sample-level score favoring updates that are both informative and descent-aligned. To make the criterion compatible with training, we extend it from samples to batches, where selected updates should not only score well individually but also complement one another. We capture this with the \emph{Gated Fisher Volume}, a log-determinant batch objective that reduces to the per-sample score on a singleton, grows with the volume spanned by the chosen updates in the Fisher geometry, and admits a greedy algorithm with a constant-factor approximation guarantee. Across supervised fine-tuning benchmarks, our selector consistently outperforms online selection baselines under matched training budgets. More broadly, the framework reframes data selection itself: rather than a spotlight on conspicuous examples, it acts as a compass toward updates worth taking.
BibTeX
@inproceedings{zhang2026compass,
  author = {Jingwen Zhang and Jianrui Shi and Zheng Wang and Wanfang Chen and Yaping Wang and Kaixuan Zhang},
  title = {{A Compass for Useful Data: Online Data Selection via Alignment-Gated Fisher Geometry}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=1Sqambi1v4},
}
Figure