Abstract
Selecting only the "highest quality" data for Large Language Model (LLM) pre-training often backfires because top-tier samples tend to be highly redundant, crushing the diversity a model needs to generalize. This paper introduces ODiS (Orthogonal Diversity-Aware Selection), a method that uses Principal Component Analysis (PCA) to break down data quality into independent, "orthogonal" dimensions, allowing researchers to select the best data from multiple distinct categories without sacrificing variety.
The Redundancy Trap in Data Selection
In the world of LLMs, the mantra has shifted from "more data" to "better data." However, a counter-intuitive phenomenon has emerged: the non-monotonicity of data selection. Simply put, if you rank a massive dataset by a single quality score and train only on the "top" 10%, the resulting model often performs worse than one trained on a broader, lower-scoring sample.
This happens because standard scoring methods (like perplexity or heuristic-based filters) suffer from score-based bias. High-quality data points often cluster together in the feature space—they might all be very formal or all be textbook-style explanations. By picking only the "best," researchers accidentally filter out the diversity needed to handle different tasks and linguistic nuances.
As shown in the visualization above, top-scored data in a single dimension is "homogeneous." As the selection range expands, the data "spreads out" in the embedding space, explaining why broader sampling often helps models—it serves as a proxy for diversity.
The ODiS Framework
The authors propose the Orthogonal Diversity-Aware Selection (ODiS) algorithm to solve this challenge. The pipeline consists of four main stages:
- Multi-Dimensional Evaluation: A reference dataset is evaluated across 11 dimensions (e.g., coherence, depth, accuracy) using the GPT API.
- Dimension Decomposition (PCA): Since raw scores are often correlated, ODiS applies Principal Component Analysis (PCA) to derive a set of orthogonal (independent) principal components (PCs). This ensures each PC captures a unique aspect of quality.
- Scalable Scoring: To handle billions of tokens, the authors train RoBERTa-based regressors for each PC, allowing efficient scoring of massive datasets like Nemotron-CC.
- Orthogonal Selection: Top-scoring data is selected from each orthogonal dimension. Because these dimensions are decorrelated, the overlap between subsets is minimal (less than 2%), ensuring a training set that is both high-quality and highly diverse.
Key Results and Performance
Models trained on 100B tokens selected by ODiS consistently outperformed baselines like DSIR and standard Perplexity (PPL) filtering. ODiS showed a ~3-point marginal improvement in average accuracy over random selection and excelled particularly in acquisition of general knowledge and factual reasoning.
One of the most striking findings was that the top-tier data in the first principal component (Knowledge/Difficulty) had almost zero overlap with the top-tier data in other PCs. This confirms that PCA successfully separated distinct "flavors" of high-quality data, allowing the model to "cover more ground" with fewer tokens.
Conclusion
ODiS demonstrates that orthogonality is the key to diversity. By selecting the "best" from independent dimensions, researchers can avoid the redundancy trap and achieve superior model performance with smaller, more efficient datasets. Future work will explore more complex decomposition techniques like Sparse Autoencoders to further refine the balance between quality and diversity at larger model scales.
Summary updated