AI
Smarter training beats bigger datasets: diversity sampling shrinks language model pre-training by 94%
Researchers show that carefully selected, diverse training data outperforms random sampling when building efficient language models, slashing dataset size without sacrificing performance.
A research study challenges the assumption that bigger is always better when training transformer-based language models. The work focuses on whether strategic selection of training data—prioritizing diversity over sheer volume—can produce competitive models while consuming far fewer resources.
The study's approach#
The researchers built multiple French-language versions of ModernBERT, a state-of-the-art transformer architecture, using a fixed compute budget. Rather than drawing samples randomly from massive pre-training datasets, they applied different diversity-driven sampling algorithms to select which examples would be included. They then compared models trained this way against baselines trained on randomly selected data of the same size.
Key findings#
The results demonstrate substantial efficiency gains:
- Pre-training datasets shrank by as much as 94% with no meaningful loss in downstream task performance
- Training time dropped by up to 73%
- On certain tasks, models trained with diversity sampling showed model quality metrics up to 10 points higher than those trained on random samples, as measured through head-only fine-tuning
Why this matters#
This research suggests that the NLP community's current bias toward maximizing dataset size may be misguided. Diversity-driven sampling—selecting examples that cover a broader range of linguistic patterns and phenomena—appears to teach models more efficiently than simply feeding them more raw data. The findings hold potential implications for making language model development more computationally sustainable and cost-effective, particularly for non-English languages where the largest datasets may not be readily available.
The work was evaluated on a range of French language benchmarks to ensure results generalize across different task types.

