LESSER: Post-Training Data Selection with Output-Layer Gradients
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 intract
Reading in Plain English mode — toggle below to switch
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 intract
This paper introduces LESSER, a method for efficient post-training data selection that significantly reduces computational costs for large language models. By leveraging output-layer gradients, ML engineers can optimize data selection for fine-tuning without the prohibitive expense of full-parameter gradients, leading to more efficient model development and deployment.