LESSER: Post-Training Data Selection with Output-Layer Gradients
Lyuxin David Zhang, Eric Wong, Surbhi Goel, Anton Xue
Key points
From the paper's conclusion- We implement this as LESSER, a drop-in wrapper for selection methods that reduces the feature-extraction FLOP cost by $9.7\times$ for SFT and $3.0\times$ for RL benchmarks, while tracking full-gradient performance on downstream tasks.
Abstract
The choice of post-training data for large language models substantially affects downstream performance. Gradient-based data selection is a popular approach that ranks training data by how well their gradients align with those of a small validation set. However, ranking with full-parameter gradients requires an expensive backward pass on every sample, making computation intractable for large candidate pools. This raises a natural question: can we approximate full-gradient features at a fraction of the cost? Conveniently, we find that output-layer gradients suffice for effective data selection, yet require only the cheaper forward pass. We implement this as LESSER, a drop-in wrapper for selection methods that reduces the feature-extraction FLOP cost by $9.7\times$ for SFT and $3.0\times$ for RL benchmarks, while tracking full-gradient performance on downstream tasks. Empirically, we find that even when output-layer and full gradients rank individual samples differently, they select batches with aligned gradients.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- DAiSy: Online Data Selection by Adaptive Utility Estimation for LLM PretrainingarXiv · 2026
- OptiSelect: How does the Optimizer Shape Data Curriculum?arXiv · 2026
- Overcoming Prior Barriers: Supervised Fine-Tuning under Long-Tail DistributionarXiv · 2026
- Follow the Features: SAE Feature-Guided Data-Efficient Instruction-Tuning of Large Language ModelsarXiv · 2026
- Scalable, Transferable Meta-network for Data Selection Requires a Different Loss (and Why the Obvious Choice is Problematic)arXiv · 2026
- Sample-Adaptive Zeroth-Order Post-TrainingarXiv · 2026