The Journey Matters: Average Parameter Count over Pre-training Unifies Sparse and Dense Scaling Laws

Tian Jin, Ahmed Imtiaz Humayun, Utku Evci, Suvinay Subramanian, Amir Yazdanbakhsh, Dan Alistarh, Gintare Karolina Dziugaite

Introduction

Large Language Models (LLMs) are notoriously compute-intensive during both training and inference. While neural network pruning—removing unnecessary connections—is a common technique for model compression, it is typically applied post-training. Sparse pre-training, which involves pruning during the training process, offers theoretical efficiency but has historically lacked a rigorous "scaling law" to predict performance.

Researchers have now discovered that the performance of sparsely pre-trained LLMs follows the same mathematical scaling laws as dense models, provided the metric used is the average parameter count ($\bar{N}$) across the entire training process. This insight allows for the optimization of pruning schedules to produce efficient, high-quality models that are significantly smaller at inference time.

Methods: Tracking the Training Journey

The study involved training over 80 configurations of LLaMA-2-based models, ranging from 58M to 1.14B parameters. The researchers employed Iterative Magnitude Pruning (IMP), structured into three phases:

  1. Dense Phase: Initial training of the full model.
  2. Pruning Phase: Gradual removal of weights with the smallest magnitudes.
  3. Recovery Phase: Final training of the sparse model to regain accuracy.

The critical innovation is the introduction of the Average Parameter Count ($\bar{N}$). Rather than focusing on the final parameter count, $\bar{N}$ represents the mean number of active parameters across every training step. By plugging $\bar{N}$ into the classic Chinchilla scaling law formula, the researchers successfully unified sparse and dense training paradigms.

Active parameter count trajectories for various target sparsity levels (20% to 80%) compared to dense baselines.

Key Insights: The 25/75 Rule

The most significant finding is that the "journey" matters more than the destination: the average sparsity during training, not the final level, dictates model quality. If a sparse model and a dense model share the same average parameter count and training data volume, they achieve nearly identical loss.

Through extensive sweeps, the authors identified a "Goldilocks zone" for pruning schedules: starting the pruning process at 25% of the total compute budget and concluding by 75% (leaving the final 25% for recovery) consistently yielded optimal results. This approach decouples model quality from inference cost, allowing a model to "learn" like a large model during its early phases while remaining sparse and efficient for deployment.

Key Results and Evaluation

Models were trained on the 'en' partition of the C4 (Colossal Clean Crawled Corpus) dataset and evaluated on standard benchmarks including PIQA, ARC, Lambada, and Winogrande.

  • Unified Scaling Law: The modified Chinchilla law using $\bar{N}$ accurately predicted evaluation loss across all tested sparsity levels (0% to 80%) and model sizes.
  • Lossless Compression: At 80% sparsity, the researchers achieved a 2x lossless compression rate, where the sparse model performed as well as a dense model twice its final size.
  • Downstream Parity: At the 1.14B parameter scale, a 50% sparse model showed nearly identical performance to its average-matched dense counterpart across standard benchmarks (e.g., a geometric mean accuracy of 42.42% vs 42.45%).

Limitations and Future Work

Despite these theoretical gains, a "hardware gap" remains. Current GPUs and TPUs are optimized for dense matrix operations; thus, the unstructured sparsity used in this study does not yet translate to a 1:1 wall-clock speedup. Additionally, while the 1.14B parameter scale is significant, further research is needed to confirm if these laws hold for "frontier" models at the trillion-parameter scale. Future work may also explore whether more sophisticated pruning algorithms affect the scaling constants.

Summary updated

BibTeX
@inproceedings{jin2025journey,
  author = {Tian Jin and Ahmed Imtiaz Humayun and Utku Evci and Suvinay Subramanian and Amir Yazdanbakhsh and Dan Alistarh and Gintare Karolina Dziugaite},
  title = {{The Journey Matters: Average Parameter Count over Pre-training Unifies Sparse and Dense Scaling Laws}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=ud8FtE1N4N},
}
Figure