Skip to content

When the Budget Shrinks, Ranking Training Examples Stops Working

THE ARGUMENT

Once the budget is tight, which training examples you pick matters more than how many; scoring candidates one by one wastes a small quota on overlapping information, so selection has to account for how examples interact.

On this page

The training lead at a company that builds a customer-service model has one more run to plan. He has a large pool of question-and-answer data collected over several years, a small handful of examples from a new business line, and enough machine time for exactly one more training run. The decision due this week is simple to state: which examples from that pool go into this run. The habit in his team is to score every old example on its own, ask how closely it resembles the new business, sort the scores from high to low, and train on the top slice. He is about to do just that. The flaw is not in the scoring but in the sorting-and-taking: the highest-scoring examples tend to say the same thing, so the quota fills up with near-copies while the cases nobody covered never enter at all. The tighter the budget, the more visible this becomes. Paper [1] goes after exactly that step.

The Default: Score Every Example and Take the Top Slice

Name the terms first. Instruction tuning means fine-tuning a general model on question-and-answer pairs so it follows instructions better. Targeted data selection is the subproblem inside that step: given a large heterogeneous training pool and a small target set that says which capability is wanted, pick a compact subset that maximizes downstream performance [1]. Point-wise scoring is the old habit: each candidate is scored independently against the target, with no look at the others, then you sort and take the top-k, meaning the k highest scorers. That is exactly what Xiao Chen's team does.

The criticism in [1] lands on a premise that is easy to miss: point-wise scoring assumes candidates are independent, and plainly they are not. The abstract says it directly: this point-wise strategy ignores inter-example interactions, and at tight budgets the selected subset is dominated by near-redundant points that waste capacity on overlapping information. The scoring step is not wrong. The mistake is admitting a pile of examples that each look like the target, which amounts to buying the same information several times over.

A harder fact sits behind this. Directly finding the optimal subset is NP-hard, a class of problems where the exact optimum is out of reach once the set is large, so nobody enumerates in practice and everyone uses an approximation. The paper surveys several existing routes: quality-based methods that filter by instruction-following difficulty or model-judged complexity, distributional approaches that match the subset to a reference distribution, and LESS, which combines LoRA-compressed gradients with Adam-adjusted influence scoring and, the paper says, matches full-dataset performance with 5% of the data. These hold up at generous budgets. Squeeze the quota far enough and doing best one by one and doing best together come apart [1].

A Tight Budget Makes Top-K Picks Redundant

Here is the plain version. Assemble a team of five to answer five different kinds of questions, score each person on how much they resemble a sample question, take the top five, and you will likely get five people good at the same kind while four kinds go unstaffed. The smaller the quota, the more damage that collision does. Paper [1] states the consequence as a direction: the benefit of diversity-aware selection becomes increasingly pronounced as the data budget decreases. The full text also gives per-budget numbers on MMLU (Table 3): the QSGS–LESS gap widens from 0.9 points at a 5% budget to 2.2 at 1% and 2.7 at 0.5% (QSGS 51.1 / 48.5 / 47.9, LESS 50.2 / 46.3 / 45.2); from 5% down to 0.5%, LESS drops 5.0 points while QSGS drops only 3.2, and QSGS at 0.5% already beats LESS at 1% [1].

QSGS stands for Query-based Submodular functions with Gradient-guided Synthesis. The paper uses it to rewrite targeted selection as a problem with a pairwise penalty [1]. Set three approaches side by side and the only real difference is whether the picker looks at the others while choosing.

ApproachHow a candidate is scoredDoes picking look at the others?What happens on a tight budget
Point-wise top-kEach example compared with the target onceNo, candidates are independentTop scorers cluster on one thing and the quota fills with overlap
QSGS graph cutRelevance adds, similarity to chosen peers subtractsYes, pairwise similarity is computedQuota is freed for directions not yet covered
Gradient-guided synthesisFind under-covered target directions, then make examplesIt looks at the gap, not at candidatesFills cases that do not exist in the pool at all

The third row is an extra move the paper adds, and it deserves its own note. Some coverage gaps cannot be closed by any selection from existing data, because examples of that kind are simply absent from the pool. So the authors add gradient-guided synthesis, which first identifies under-covered target directions and then generates new examples [1]. It targets cases that cannot be selected, not cases that were selected badly, and the two should not be conflated.

What the Graph-Cut Objective and Synthesis Each Contribute

Define the words. Submodular names a property where each extra item you add brings less new value than the one before, which is why a greedy, one-at-a-time pick is defensible. A graph cut treats candidates as nodes and pairwise similarity as edges, then picks a set that stays close to the target while spreading out; that small chosen set is a coreset, meant to stand in for the big pool. A gradient is the direction a model would change on one example, compressed here into a short numeric fingerprint, and the influence score derived from it measures how much a candidate helps the target tasks. The QSGS objective puts two things in one formula: a modular relevance term pulls selected examples toward the target task, and a pairwise dispersion penalty suppresses intra-subset redundancy, using the same formulation across different selection budgets [1].

To make gradients tractable the paper uses two tools. LoRA freezes the pretrained weights and adds a small low-rank adapter, cutting trainable parameters to less than 2% of the full model; random projection multiplies by a fixed random matrix to shorten each gradient into a d-dimensional vector [1]. Early-stage checkpoints before convergence get larger weights, on the grounds that they carry more informative gradient features. The paper lists these as a four-step pipeline, in order.

  • Compute gradient features: warmup training uses a randomly selected 5% of the pool for T = 4 epochs and produces 4 LoRA checkpoints, from which a compact gradient datastore is built;
  • Compute influence: build the influence score matrix S with one row per candidate and one column per target example, each cell recording how much that candidate contributes to that target;
  • Run graph-cut selection: a relevance term pulls the subset toward the target while a pairwise penalty pushes near-duplicates apart, yielding a diverse yet task-aligned coreset;
  • Close the gap: generate K_syn = 100 candidate examples per under-covered subtask and select up to 10 synthetic examples in total.

The paper [1] writes this as a nonmonotone submodular maximization problem under a cardinality constraint, which means you may pick only a fixed number of examples and the quota is rigid. It then says randomized algorithms provide constant-factor approximation guarantees for this class of problems, but the implementation actually adopts the deterministic greedy procedure of Algorithm 1, taking the best available item at each step and never reshuffling, because it is simple, efficient, and empirically stable for their setting. The authors explicitly state that they do not claim the theoretical 1/e approximation guarantee applies to Algorithm 1. The distinction matters: the paper states only that randomized algorithms give constant-factor guarantees for this problem class, and explicitly declines to attach the 1/e guarantee to its own deterministic greedy implementation [1]; it does not prove a 1/e bound for Algorithm 1.

The ablation gives concrete credit: on Llama-2-7B / MMLU at a 0.5% budget, swapping top-k for the graph-cut objective lifts accuracy from 45.9 to 47.4 and accounts for most of the gain, with gradient-guided synthesis adding a further increment [1]. For cost, Appendix A reports a wall-clock breakdown of the whole pipeline: warmup LoRA training about 304 GPU hours, gradient feature construction about 48 GPU hours, data construction (graph cut plus synthesis) under one GPU hour, and final fine-tuning about 32 GPU hours [1]. The abstract's selection overhead below 0.1% of total pipeline cost refers to that sub-one-hour data-construction stage as a share of this one pipeline — a measured proportion in a specific experiment, not a cost ceiling that holds for every implementation. The larger point is the upfront cost: those 350-plus GPU hours of warmup and gradient features dominate, and the paper notes they are one-time; once the gradient features are stored, data construction can be rerun in under an hour for different target sets, budgets, or trade-off parameters without redoing any GPU-heavy computation [1].

What the Numbers Say and What They Do Not

The evaluation rests on three benchmarks and three model families, and they need naming rather than a vague count. The benchmarks are MMLU, BBH, and TydiQA, where TydiQA is a multilingual extractive QA dataset covering 9 typologically diverse languages; the model families are Llama-2, Llama-3, and Mistral, with Mistral-7B called out by size [1]. For Llama 3 training the set is extended to a combination of 17 datasets, and all experiments run on NVIDIA RTX A6000 GPUs. These are the experimental settings listed in Section 4.1 of the paper [1].

The main arena is an extreme 0.5% data budget, the default the paper reports: about 1,350 out of 270,000 examples, with K approximately 1,350. The two are consistent: 270,000 × 0.5% = 1,350 [1]. A scaling study also evaluates 1%, 2%, and 5% budgets (Section 4.1), and Table 3 gives per-budget MMLU scores for 5%, 1%, and 0.5%. For comparison, LESS matches full-dataset performance with 5% of the data, and the caption of Figure 1 says QSGS achieves full-set performance on all three benchmarks using only 0.5% of the data, keeping 90% less data than the SOTA method [1]. That caption is a summary statement, not a per-model, per-benchmark difference; the per-cell numbers are in Tables 1 and 3 [1].

The direction has to stay tied to the abstract. At a 0.5% budget, QSGS matches or exceeds full-data performance on Mistral-7B, outperforms the strongest baseline across all benchmarks, and yields increasing gains as the budget shrinks; it consistently outperforms LESS across the evaluated settings, notably matching full-data MMLU performance [1]. The full text does give per-cell scores (means over three seeds). Here is the Mistral-7B row of Table 1: MMLU full 60.4 / LESS 58.8 / QSGS 60.4, TydiQA 57.7 / 55.3 / 57.5, BBH 53.0 / 52.4 / 53.2 — QSGS stays within 0.2 points of full data on each, which is what Section 4.2 means by matching or approaching full-set performance [1]. On Llama-2-7B, QSGS at 47.9 / 52.3 / 40.1 is still below full data at 51.6 / 54.0 / 43.2, so matching full data holds for the stronger Mistral-7B base, not as a general claim [1]. Section 4.2 also gives one checkable summary: QSGS improves over LESS by 1.6% on average across the nine model–benchmark combinations, closing roughly half the gap between LESS and the full-data baseline [1].

Where This Method Stops

Stated plainly, this method has a narrow home: a large heterogeneous training pool, a small target set that specifies a capability, and a quota that cannot grow [1]. It answers which few examples to pick. It does not answer whether full-data training could do better, and it does not answer what to learn when there is no target set at all. The following limits are either stated by the paper or readable from the full text.

  • Conclusions are tied to this panel: three benchmarks MMLU, BBH, TydiQA and three model families Llama-2, Llama-3, Mistral, so a new task or family needs a rerun rather than an extrapolation;
  • Gradient features carry an upfront cost: warmup training, LoRA checkpoints, and a gradient datastore come first; Appendix A gives absolute figures — about 304 GPU hours of warmup, 48 GPU hours of gradient features, under one GPU hour for selection plus synthesis, and about 32 GPU hours of fine-tuning — and notes the upfront stages can be amortized across target sets [1];
  • Synthesis closes gaps, it does not manufacture truth: at most 10 synthetic examples enter training, and the paper never says synthetic data can replace real coverage without limit;
  • The guarantee does not reach the implementation: Algorithm 1 is deterministic greedy, and the paper explicitly declines the 1/e approximation guarantee for it;
  • Tight-budget results do not extend to generous budgets: a growing advantage as data shrinks is not evidence of leadership at 100% of the data, and the paper reports no QSGS-versus-LESS comparison at 100% of the data [1].

One line to close. This applies when you have a large heterogeneous pool, a small target set that names the capability, and a fixed number of examples you may pick. If you have no target set, or the real question is whether the result survives a different model and task, it has no answer; defining the target capability and filling in the baselines is more useful than swapping in a fancier selection function [1].

References

  1. Query-based Submodular Data Selection for Efficient Instruction Tuning

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…