Beyond neural scaling laws: beating power law scaling via data pruning

Ben Sorscher, Robert Geirhos, Shashank Shekhar, Surya Ganguli, Ari Morcos

Abstract

Recent progress in deep learning has been largely driven by the scaling hypothesis, which suggests that increasing dataset size, model parameters, and compute leads to predictable improvements in performance. However, these improvements typically follow a power law, characterized by diminishing returns that make further gains increasingly expensive. This paper investigates whether this power law is an inherent limitation of learning or a consequence of training on redundant, randomly sampled data. By combining theoretical analysis of a student-teacher perceptron model with empirical studies on modern architectures, the authors demonstrate that intelligent data pruning can break the power law barrier, potentially achieving exponential scaling and significantly reducing the resource requirements of state-of-the-art AI.

Introduction

The empirical observation of "scaling laws" has become a cornerstone of modern AI development. These laws dictate that test error typically falls as a power law of the dataset size ($Error \propto DatasetSize^{-\alpha}$). In practice, this means that to achieve a marginal improvement in accuracy, one must often provide an order of magnitude more data and compute. This trajectory is increasingly viewed as unsustainable from both economic and environmental perspectives.

This research challenges the inevitability of power law scaling. The authors hypothesize that the slow rate of improvement is a symptom of training on uncurated, randomly selected data. They propose that by using sophisticated pruning metrics to select only the most informative examples, the relationship between data and performance can be fundamentally transformed.

Theoretical Framework: The Student-Teacher Perceptron

To understand the mechanics of data pruning, the researchers utilized tools from statistical mechanics, specifically the "replica method," to analyze a high-dimensional student-teacher perceptron model. This theoretical setup allowed them to derive exact equations for test error behavior when a model is trained on a subset of data selected by a pruning metric.

The Easy-to-Hard Transition

A pivotal insight from this theoretical analysis is that the optimal pruning strategy is not static; it depends on the volume of data available:

  1. Data-Scarce Regime: When the total amount of available data is small, the most effective strategy is to keep "easy" examples (those with a large margin). These examples help the model establish the basic structure of the task and the general direction of the decision boundary.
  2. Data-Abundant Regime: Once the model has sufficient data to grasp the basics, easy examples become redundant. In this regime, the strategy should shift toward keeping "hard" examples (those with a small margin) to refine the decision boundary and improve precision.

Theoretical results suggest that if a high-quality pruning metric is used and the strategy shifts appropriately from easy to hard, the Pareto frontier of test error can decay exponentially rather than following a power law.

Algorithmic Innovation: Self-Supervised Pruning

While many pruning metrics require labels (such as EL2N scores or memorization scores), the authors introduced a new, self-supervised prototype metric. This metric operates by performing k-means clustering in the embedding space of a self-supervised model (e.g., SWaV). Images are then ranked based on their distance to these cluster centroids:

  • Prototypical examples (close to centroids) are considered "easy."
  • Atypical examples (far from centroids) are considered "hard."

This approach is particularly significant because it allows for the pruning of massive, unlabeled datasets before the costly process of human annotation begins.

Empirical Results

The researchers validated their theoretical predictions using ResNets and Vision Transformers (ViTs) across several benchmarks, including CIFAR-10, SVHN, and ImageNet-1K.

  • ImageNet Efficiency: On the ImageNet-1K benchmark, the authors demonstrated that they could discard 20% of the training data using their metric without any degradation in final model performance.
  • Transfer Learning: The benefits of pruning were even more pronounced in transfer learning scenarios. When fine-tuning a pre-trained ViT on CIFAR-10, the authors found that training on just the top 10% of the most informative data (as identified by their metric) matched the performance of training on the full 100% dataset.
  • Theory-Practice Alignment: The empirical error curves for ResNets on CIFAR and SVHN showed a remarkable alignment with the theoretical "easy-to-hard" transition predicted by the perceptron model, confirming that the strategy shift is essential for beating power law scaling.

Discussion and Future Directions

Despite the promise of exponential scaling, the authors note several practical challenges. The effectiveness of pruning is highly dependent on the quality of the pruning metric. Current metrics are not yet "perfect," meaning that as the dataset is pruned further, the error eventually reverts to a power law, albeit with a much better constant.

Furthermore, pruning can introduce or exacerbate class imbalances. To mitigate this, the researchers implemented a class-balancing manifold to ensure that pruning did not inadvertently remove all examples from specific categories. This suggests that "fair" and balanced pruning is a critical area for future research.

Ultimately, this work advocates for a shift in the community's focus. Rather than solely pursuing "foundation models" trained on increasingly massive, uncurated datasets, there is a significant opportunity to develop "foundation datasets"—carefully curated, high-signal subsets that provide a more efficient path to high-performance AI.

Summary updated

BibTeX
@inproceedings{sorscher2022beyond,
  author = {Ben Sorscher and Robert Geirhos and Shashank Shekhar and Surya Ganguli and Ari Morcos},
  title = {{Beyond neural scaling laws: beating power law scaling via data pruning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
}
Figure