A Diversity Diet for a Healthier Model: A Case Study of French ModernBERT
summary
The gist
The gist Diversity-driven sampling allows in some tasks to gain 10 points relative to randomly-sampled pre-training data of commensurate size, and a model pretrained for 483h on a diversity-driven
In short
The study investigates using diversity-driven sampling to reduce ModernBERT's pre-training dataset size while maintaining or improving performance on French tasks. By comparing diversity sampling against random sampling, the research shows that diversity can yield up to 10 points higher performance in some scenarios, achieving comparable results with significantly smaller datasets and reduced training time.
Key concepts
- Diversity
- In NLP, diversity measures how varied the vocabulary or data is. The paper uses entropy to quantify this variety; higher entropy means more diverse data. The goal is to sample a smaller dataset that still captures this high level of lexical variation.
- ModernBERT
- ModernBERT is a state-of-the-art transformer model known for using very large pre-training datasets. The research focuses on how the size of this training data impacts performance, specifically testing if diversity can make smaller datasets competitive with much larger ones.
- Diversity-Driven Sampling
- This is a sampling algorithm designed to select data points based on their lexical diversity rather than just random selection. The paper tests a gradient descent-based approach which was found to be highly effective at selecting smaller, yet more representative, datasets compared to traditional local sampling methods.
Terminology used across episodes
This episode discusses
- A Diversity Diet for a Healthier Model: A Case Study of French ModernBERT · Paper Radio
- A survey of diversity quantification in natural language processing: The why, what, where and how · Paper Radio
- Scaling Laws for Neural Language Models
- GLU Variants Improve Transformer
The paper
A Diversity Diet for a Healthier Model: A Case Study of French ModernBERT · Read on arXiv
Louis Estève, Christophe Servan, Thomas Lavergne, Agata Savary
Université Paris-Saclay · CNRS
Diversity has been gaining interest in the NLP community in recent years. At the same time, state-of-the-art transformer models such as ModernBERT use very large pre-training datasets, which are driven by size rather than by diversity. This summons to investigate the impact of diversity on pre-training. We do so in this study, with the express intent of reducing pre-training dataset size, while retaining at least comparable performance. We compare diversity-driven sampling algorithms, and we use the best one to pre-train several ModernBERT models on French with a fixed compute budget. We fine-tune and evaluate them on a variety of French benchmarks. We compare them with models pre-trained on randomly sampled data of commensurate size, with the same compute budget. We find that both random and diversity-driven sampling may reduce the pre-training dataset by up to 94% and the pre-training time by up to 73% while maintaining performance. Moreover, in some tasks, the inherent quality of models, estimated via head-only fine-tuning, is up to 10 points higher with diversity sampling than with random sampling.
DOI: 10.18653/v1/2026.findings-acl.1707
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: We're looking at the paper: "A Diversity Diet for a Healthier Model".
Jane: Here's the gist of the paper. The gist Diversity-driven sampling allows in some tasks to gain 10 points relative to randomly-sampled pre-training data of commensurate size, and a model pretrained for 483h on a diversity-driven dataset of 150M tokens can yield a commensurate performance to a model pre-trained for 1,775h on a randomly-driven dataset of 2.4B tokens The paper investigates the impact of diversity on ModernBERT pre-training datasets with the intent of reducing pre-training dataset size while retaining at least comparable performance.
Tom: The research question is whether diversity-driven sampling can prevent the overgrowth of pre-training datasets while preserving or increasing performance<ref:2602.22014#pg3>.
Jane: The hypotheses tested are H1, stating that a small dataset with lexical diversity substantially higher than at random can be sampled efficiently from a large dataset<ref:2602.22014#pg3>, and H2, stating that a model trained on a small lexically diverse dataset can be competitive to or outperform one trained on a very large dataset<ref:2602.22014#pg3>.
Tom: Diversity Quantification and Sampling Algorithms Diversity in NLP is measured using entropy (Shannon and Weaver, 1949), as there is no consensus on the measurement of diversity<ref:2602.22014#pg3>.
Paper summary: Jane: So, wrapping up this discussion on "A Diversity Diet for a Healthier Model: A Case Study of French ModernBERT," it seems the main message is that using diversity-driven sampling can substantially cut down the pre-training dataset size while keeping performance comparable.
Tom: The study shows that for specific tasks, like when using head-only fine-tuning, they reached performance levels equivalent to an encoder pre-trained on about four hundred million random tokens with only one hundred fifty million diversity tokens.
Lu: They also found that the training time was about a fourth as much as the TOPLINE model in their experiment, which is a big win when you consider the computational resources required for these models.
Meng: The implication is that we can potentially build more efficient and resource-light pre-training pipelines by being smarter about how we select data for our models.
Lalam: I'm quite sure that the work demonstrates diversity-driven sampling as a viable way to achieve this reduction in dataset size while retaining performance on the tested benchmarks.
Jane: Ultimately, this paper suggests that the variety in pre-training data isn't just noise; it can actually be a factor in achieving better model quality on specific applications.
Conclusion: Tom: So, we're wrapping up on "A Diversity Diet for a Healthier Model: A Case Study of French ModernBERT." The main thing here is that they found a way to shrink the pre-training data while keeping the model performance pretty good.
Jane: I guess the core question they were asking was whether you can train something smaller but still effective, right? They tested this on French ModernBERT.
Lu: They compared diversity-driven sampling against just picking random data of a similar size. The result showed that diversity sampling can be much more efficient than random selection in some cases.
Meng: From an engineering side, they’re saying you can get comparable results with way less training time and fewer tokens used for pre-training. That’s good when you’re thinking about how much compute this stuff eats up.
Lalam: I agree that it's efficient for the dataset size, but they also found that in certain tasks, like head-only fine-tuning, diversity sampling actually gave a performance boost—up to ten points higher than the random sampling baseline.
Tom: Ten points is significant when you’re talking about model quality. It’s not just about fitting the same accuracy; it seems to be about getting a better underlying model structure.
Jane: So, if we think about what this means for people using these models, it suggests we don't always need the absolute biggest data to build a really useful AI.
Lu: It points toward the idea that variety in your data might actually help your model learn more robust representations for specific things.
Meng: If this works reliably across different benchmarks and tasks, then we could seriously start thinking about how much less raw text we need to feed into these large language models before they hit production.
Tom: It’s a lot of data reduction, but the performance trade-off seems manageable when you use that diversity approach.
Jane: Exactly. The authors are showing us that quality in the data matters more than just sheer volume for certain applications.
Lu: And they did flag one thing, though, which is important: they noted a potential correlation between lexical diversity and other linguistic things like syntax or semantics. So it's not always just about the words being different.
Meng: That means we can't assume that just adding random noise helps; the specific *type* of variety matters.
Tom: So, if you want to save compute while keeping performance high, look at how you sample your pre-training data diversity.
Jane: Yeah, and this paper is a great example of how focusing on the right kind of data can lead to smarter AI models.
More episodes
- 2607.08595-Federated Deep Learning for Privacy-Preserving Cardiovascular Disease Risk Prediction
- 2607.17671-GeneSpeak-FP: Target and Compound Retrieval from Observed Cell-Level Perturbation Signatures
- 2208.07395-Reproduction and Replication of an Adversarial Stylometry Experiment
- 2412.12731-SentiQNF: A Novel Approach to Sentiment Analysis Using Quantum Algorithms and Neuro-Fuzzy Systems
- 2507.20858-A survey of diversity quantification in natural language processing: The why, what, where and how
- 2510.01719-What MLLMs Learn about When they Learn about Multimodal Reasoning
- 2601.15809-SteerEval: Inference-time Interventions Strengthen Multilingual Generalization in Neural Summarization Metrics
- 2602.01331-A-MapReduce: Executing Wide Search via Agentic MapReduce
- 2602.12921-When Words Don't Mean What They Say: Figurative Understanding in Bengali Idioms
- 2602.16639-AREG: Adversarial Resource Extraction Game for Evaluating Persuasion and Resistance in Large Language Models