NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Towards Scalable Data Diversification for Language Model Pretraining via Leverage Score Sampling

Zailin Ma, Quzhe Huang, Yujun Li, Congyuan Rao, Yaodong Yang

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: LLM Reasoning, Memory & RAG › Autoregressive Reasoning and Decoding · Type: new method · Keywords: data diversification, leverage score sampling, language model pretraining, determinantal volume, Vendi score, scalable data selection

Areas: Evaluation & Benchmarks › Model Capability Diagnostics › Model Routing

Summary

Leverage Score Sampling (Lev) provides a scalable way to diversify language model pretraining data by maximizing determinantal volume via leverage scores, achieving up to 65× speedup and improving diversity and downstream performance.

Explained to a 5-year-old

When we teach a computer program to read and write like a person, we need lots of stories. Some stories are very good, but using only the best ones makes the program forget about other kinds of stories. We want the program to learn from many different kinds of stories without taking too long. So we pick new stories that add variety, like adding different colors to a picture, which helps the program work better on many tasks. This way the program becomes smarter and more balanced.

Explained to a 5-year-old, longer

When we make a big computer brain that can talk and write, we give it lots of reading material. Some reading material is super useful, like school books or questions and answers, but if we only use those, the brain starts to think like a teacher and forgets about other kinds of information. We want the brain to know many subjects, like science, art, jokes, and even code, so it can help us in lots of different ways. Picking the best reading alone is like only eating carrots and missing out on pizza. So we look for a way to choose new reading that adds variety, like mixing different puzzle pieces to make a complete picture. The new method looks at how different pieces spread out and picks the ones that make the picture most varied. This helps the brain learn faster because it doesn't need to redo a lot of calculations. It also keeps the brain balanced, so it doesn't become too good at one thing and too weak at another. By using this variety method, the brain can understand more languages, write better code, and answer questions more accurately. It also works well when we don't have clear rules for what good reading looks like, like for programming code. The result is a smarter, more versatile computer brain that can handle many tasks without needing huge amounts of extra work.

For a technical reader

The paper presents an iterative sampling scheme that maximizes the determinantal volume of embedded data using leverage scores, eliminating the need for repeated covariance matrix recomputation. This yields a scalable diversity criterion that can be applied to large corpora such as CommonCrawl and StarCoderData. Empirical results show up to 65× speedup, a 9.2% improvement in Vendi diversity, and performance gains of up to 1.31% on downstream tasks compared to existing baselines.

Problem

Data selection for language model pretraining must balance quality and diversity, but quality filtering often leads to diversity collapse, while diversity-focused methods are computationally expensive. This creates a tension between scalable, diverse data selection and maintaining high quality.

Method

The approach iteratively selects samples that maximize the determinantal volume of the embedded data using leverage scores, avoiding repeated covariance matrix recomputation. This yields a computationally efficient criterion that can be applied at scale. The selection is performed without explicit quality metrics, focusing on diversity expansion.

Results

Lev achieves up to 65× speedup and raises Vendi diversity score by 9.2% over DiSF, improves downstream accuracy by up to 1.31% on seven tasks, and reduces bits-per-byte by 3.08% on StarCoderData compared to DiSF.

Contributions

The paper introduces a scalable diversity selection criterion based on leverage scores that avoids costly matrix recomputation, and demonstrates its effectiveness on web and code corpora, revealing quality filtering collapse in code domains.

Practical relevance

The work enables more efficient and diverse data curation for large language models, leading to better performance and broader coverage of domains.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction