Online batch selection lowers the cost of fine-tuning large language models (LLMs) by replacing each candidate batch with a smaller informative subset. Existing selectors typically depend on a held-out validation or proxy set, or else rely on Euclidean facility-location objectives over unpreconditioned gradients whose diameter-shifted similarities are distorted by heavy-tailed gradient norms and cross-layer anisotropy. We introduce PRISM (Preconditioned Ray-Isotropic Submodular Matching), a validation-free online batch selector that aligns candidate gradients in a factored second-moment metric and casts subset construction as conic facility location over positive ray projections. Computing the required pairwise geometry through factored preconditioned ghost inner products avoids materializing per-example parameter gradients, while the conic objective remains normalized, nonnegative, and monotone submodular---guaranteeing a (1−1/e) greedy approximation whose additive error scales with total batch gradient energy rather than the worst-case outlier diameter. Assigning each candidate to its best-aligned selected ray induces closed-form radial projection weights that automatically shrink orthogonal or noisy examples toward zero. We derive a nonconvex convergence bound showing that optimization error is governed directly by the conic representation cost. Across four LLM fine-tuning configurations spanning 1.5B to 8B parameters, PRISM outperforms full-batch training, Euclidean facility location, and zeroth-order selectors, and rivals or surpasses validation-guided baselines without held-out data.
Figures & tables
Figure 1: Heavy-tailed norms distort Euclidean facility location, while conic matching suppresses outliers. (a) Per-example gradient norms on Tulu-2 (Llama-3.1-8B) exhibit a heavy tail: the worst-case Euclidean diameter mt sits far above the batch RMS scale Et/b . (b) Because Euclidean similarity mt−∥gi−gj∥ rewards covering isolated large-norm points, Euclidean-FL spends 28.4% of its greedy slots on outliers at ρ=1/2 , whereas Prism cuts outlier slots to 3.7% . (c) Across selection ratios ρ , Prism achieves the lowest normalized gradient reconstruction error.
Figure 2: Overview of Prism . I. Forward activations xi and backward signals θi are rescaled by factored second-moment statistics Dx1/2,Dθ1/2 to form the preconditioned b×b Gram matrix Kt via ghost inner products with zero per-example gradient materialization. II. Pairwise entries induce nonnegative conic ray similarities sijcone , defining a monotone submodular objective Ftcone maximized greedily (or via stochastic greedy). III. Each candidate projects onto its closest ray to yield closed-form radial weights γt,j (automatically shrinking orthogonal outliers to αi=0 ), followed by a single weighted backward pass on St .
Method
Ext.
Qwen2.5-1.5B
Llama-3.1-8B
Mistral-7B
Qwen2.5-7B
Win
Data
MMLU PPL ( ↓ )
BBH EM ( ↑ )
TyDiQA F1 ( ↑ )
GSM8K Acc ( ↑ )
vs. Reg.
Regular (full b )
No
5.84±0.41
54.2±0.7
0.518±0.011
74.6±0.6
—
Random (half k )
No
6.42±0.53
51.8±0.9
0.489±0.014
71.9±0.8
0/4
GREATS ( Wang et al., 2024 )
5 val.
4.62±0.18
56.4±0.5
0.654±0.008
76.8±0.5
4/4
OPUS ( Wang et al., 2026d )
5 proxy
4.79±0.21
56.9±0.6
0.584±0.009
77.1±0.4
4/4
Filter-then-Weight ( Wang et al., 2026a )
5 proxy
4.95±0.24
56.1±0.6
0.597±0.010
76.5±0.5
4/4
Table 1: Main results across four LLM fine-tuning configurations (mean ± std over 3 seeds; MMLU averages 2 subjects × 3 seeds, n=6 ). Selectors keep k=8 of b=16 candidates; Regular trains on all 16 . Best per column in bold . Without held-out validation data, Prism beats all validation-free baselines on every task and leads overall on BBH and GSM8K.
Figure 3: Mechanism analysis of Prism . (a) Under 20% corrupted responses on LESS/Mistral-7B, Euclidean-FL over-selects corrupted points ( 24.8% ), whereas Prism suppresses them to 4.1% via zeroed radial projections. (b) Paired test perplexity gap ( PPLZO−PPLPRISM ) across 6 subject–seed runs on Qwen2.5-1.5B/MMLU: exact conic geometry outperforms ZeroOrder in 29/30 nonzero checkpoints. (c) Rank correlation of ghost Gram entries against exact Adam-preconditioned inner products across transformer modules.
Figure 4: Efficiency, scaling, and budget sensitivity. (a) Scoring + selection time on Qwen2.5-3B (A100): naive gradients OOM past b=24 , while Prism and Prism -SG scale to b=64 . (b) Step time ( b=16,k=8 ): Prism is 13.5% and 10.3% faster than GREATS. (c) GSM8K scaling (1.5B–8B). (d) BBH EM vs. selection ratio ρ=k/b .
Variant
BBH
TyDiQA
Rel. Err.
EM ( ↑ )
F1 ( ↑ )
( ↓ )
Prism (full)
57.6
0.631
0.54
w/o Radial weights ( ∣Cj∣ )
56.4
0.614
0.69
w/o Factored metric ( M=I )
56.1
0.611
0.73
w/o Conic sim. ( mt−dij )
55.8
0.608
0.78
Euclidean-FL (raw, ∣Cj∣ )
55.3
0.602
0.85
Table 2: Component ablations on Llama-3.1-8B (BBH) and Mistral-7B (TyDiQA), with relative gradient error ∥g^t−gt∥M/∥gt∥M .
Appendix figures & tables8 assets
Supplementary material from the paper’s appendix.
Appendix
Method
Grad Mem
Metric
Sel. Time
Naive GradMatch
O(bp)
O(1)
O(kbp)
Euclidean-FL
O(bLd)
O(1)
O(b2d+kb2)
ZeroOrder (ZO)
O(b)
O(1)
O(bdp+kb2)
Prism
O(bLd)
O(∑ℓdℓ)
O(b2d+kb2)
Prism -SG
O(bLd)
O(∑ℓdℓ)
O(b2d+b2logε1)
Appendix
Table 3: Per-step memory and complexity ( p : parameters, d : width, L : sequence length, dp : ZO projection dim, b : pool, k : subset).
Hyperparameter
Value
LoRA rank r / alpha α
8 / 16
LoRA target modules
q, k, v, o, gate, up, down
Candidate pool b / selected k
16 / 8 ( ρ=0.5 )
Factored metric EMA β2,ϵ
0.999 , 10−8
Conic stabilizer δ
10−12
Optimizer
AdamW ( β1=0.9 , wd =0.0 )
Appendix
Table 4: Default training and Prism hyperparameters across configurations.
Method
MMLU PPL ( ↓ )
MMLU Acc (% ↑ )
Regular
5.84±0.41
49.8±0.9
Random
6.42±0.53
48.1±1.1
GREATS
4.62±0.18
52.4±0.5
OPUS
4.79±0.21
51.9±0.6
Euclidean-FL
5.61±0.36
50.5±0.7
ZeroOrder
5.92±0.44
49.4±0.8
Appendix
Table 5: Complementary MMLU metrics on Qwen2.5-1.5B (mean ± std over 2 subjects × 3 seeds, n=6 ).
Method
300 steps (Cold-Start)
1,000 steps (Extended)
R-1
R-2
R-L
R-1
R-2
R-L
Regular
0.214
0.072
0.163
0.341
0.132
0.274
GREATS
0.172
0.054
0.131
0.369
0.149
0.298
OPUS
0.189
0.061
0.144
0.367
0.147
0.295
Euclidean-FL
0.131
0.039
0.098
0.358
0.141
0.288
ZeroOrder
0.084
0.022
0.063
0.352
0.138
0.283
Appendix
Table 6: SAMSum ROUGE-1/2/L on Qwen3-8B-Base at 300 steps (unseen template cold-start) vs. 1,000 steps.
Configuration
Runs
vs. ZO
vs. Eucl.-FL
Qwen2.5-1.5B / MMLU
6
6 / 6
6 / 6
Llama-3.1-8B / BBH
3
3 / 3
3 / 3
Mistral-7B / TyDiQA
3
3 / 3
2 / 3
Qwen2.5-7B / GSM8K
3
3 / 3
3 / 3
Qwen3-8B / SAMSum (1k)
3
3 / 3
3 / 3
Total
18
18 / 18
17 / 18
Appendix
Table 7: Matched seed-level win rates of Prism over ZeroOrder and Euclidean-FL.
Method
Ext.
BBH EM ( ↑ )
GSM8K Acc ( ↑ )
CoLM ( Nguyen et al., 2025 )
No
55.4±0.6
76.0±0.5
UDS ( Zou et al., 2025a )
No
56.3±0.5
76.7±0.4
SLAP ( Zou et al., 2026 )
No
56.6±0.5
77.0±0.5
BLADE ( Wang et al., 2026b )
Ref.
57.1±0.4
77.4±0.4
Prism
No
57.6±0.4
77.9±0.4
Appendix
Table 8: Comparison against recent 2025–2026 baselines on Llama-3.1-8B (BBH) and Qwen2.5-7B (GSM8K).
Method
0%
20%
40%
Δ0→40
Regular
74.6
71.2
66.8
−7.8
Euclidean-FL
75.8
73.1
70.4
−5.4
ZeroOrder
75.1
72.3
69.1
−6.0
GREATS (val.)
76.8
75.4
74.4
−2.4
Prism
77.9
76.9
76.0
−1.9
Appendix
Table 9: GSM8K accuracy (%) on Qwen2.5-7B under injected response corruption (0%, 20%, 40%).
Figure 5: Extended-horizon trajectories. (a) Extending Qwen2.5-1.5B / MMLU from 1,000 to 3,000 steps preserves the method ordering while Regular begins overfitting. (b) Extending Mistral-7B / TyDiQA to 3,000 steps narrows early gaps as optimization saturates, with Prism remaining the top validation-free selector. (c) Extending Qwen3-8B-Base / SAMSum from 300 to 1,000 steps resolves the cold-start deficit: Prism overtakes Regular around step 700 and finishes highest at 0.376 ROUGE-1.
Department of Computer Science and Engineering, Indian Institute of Technology Bombay · Microsoft Research India · Centre for Machine Intelligence and Data Science, Indian Institute of Technology Bombay +1