Abstract
Supervised fine-tuning (SFT) is crucial for aligning Large Language Models (LLMs) with human instructions. The primary goal during SFT is to select a small yet representative subset of training data from the larger pool, such that fine-tuning with this subset achieves results comparable to or even exceeding those obtained using the entire dataset. However, most existing data selection techniques are designed for small-scale data pools, which fail to meet the demands of real-world SFT scenarios. In this paper, we replicated several self-scoring methods—those that do not rely on external model assistance—on two million-scale datasets, and found that nearly all methods struggled to significantly outperform random selection when dealing with such large-scale data pools. Moreover, our comparisons suggest that, during SFT, diversity in data selection is more critical than simply focusing on high-quality data. We also analyzed the limitations of several current approaches, explaining why they perform poorly on large-scale datasets and why they are unsuitable for such contexts. Finally, we found that filtering data by token length offers a stable and efficient method for improving results. This approach, particularly when training on long-text data, proves highly beneficial for relatively weaker base models, such as Llama3.
Introduction
Supervised Fine-Tuning (SFT) is the standard process for aligning pre-trained LLMs with human instructions. As training on millions of examples is computationally prohibitive, researchers employ data selection strategies to identify high-quality subsets. However, most existing techniques—such as those based on gradient similarity or model uncertainty—were developed on small datasets (10k to 50k samples). This research addresses a critical gap: do these sophisticated selection strategies remain effective when the data pool scales to millions of examples? The findings suggest that at the million-scale, many current selection tools are largely ineffective compared to simpler alternatives.
Methodology
The study evaluated several self-scoring methods (where the model evaluates its own training data) on two million-scale datasets: OpenHermes 2.5 (1M+ synthetic instructions) and WildChat-1M (1M real-world user interactions). The methods were categorized into:
- Quality-based Selections: Methods like IFD (Instruction-Following Difficulty), LESS (gradient-based influence), and SelectIT (uncertainty-based) aimed at finding the most informative samples.
- Diversity-based Selections: Methods like DiverseEvol (iterative K-Center sampling) and ZIP (compression-based) aimed at broad topic coverage.
The "Scale Wall" and the Importance of Diversity
A key discovery is the "Scale Wall": as dataset size grows, the performance of "smart" methods often degrades relative to random selection. Figure 1 illustrates this phenomenon, showing how methods that appear effective at smaller scales (10K-300K) often fail to maintain their advantage—or even perform worse than baselines—at the 1M scale.
The authors found that focusing exclusively on "high-quality" or "hard" samples often leads to redundancy. When quality-based methods were forced to be more diverse (e.g., using K-means clustering to group data before selection), performance improved significantly. This indicates that at scale, the spatial distribution of data (diversity) is more critical than the individual scores of samples.
Results and Discussion
Statistical significance tests revealed that nearly all sophisticated methods failed to consistently outperform five rounds of random selection. As shown in Table 6, random baselines are remarkably competitive across various benchmarks like BBH, GSM8K, and MMLU.
One of the most surprising findings was the effectiveness of token-length filtering. Simply selecting longer, more detailed instructions proved to be a highly stable and efficient strategy. On the WildChat dataset, selecting data by token length for Llama 3-8B achieved an average score of 55.51, actually outperforming the model trained on the entire dataset (54.58) while using only a fraction of the data.
Conclusion
In the era of million-scale SFT, complex data selection algorithms often fail to justify their high computational costs. Random selection and simple heuristics like token-length filtering offer robust, efficient alternatives. While token length is not a universal solution, it highlights the need for selection methods that prioritize substance and diversity over narrow definitions of "difficulty." Future work should focus on efficient ways to balance these factors without the massive overhead of current iterative sampling methods.
Summary updated