Abstract
EfficientLLM introduces pruning-aware pretraining (PAP), a novel approach that integrates structural pruning directly into the pretraining phase of Large Language Models (LLMs). By iteratively removing parameters based on saliency-driven metrics and allowing the model to adapt its remaining weights during training, PAP produces sub-billion parameter models that significantly outperform state-of-the-art human-designed tiny LLMs like Llama 3.2-1B and MobileLLM. This method enables tiny models to "inherit" intelligence from larger ancestors, effectively breaking traditional scaling law limitations for edge-scale deployment.
Introduction
The demand for "edge" deployment—running models locally on smartphones or IoT devices—is driven by privacy, latency, and cost concerns. However, creating high-performing tiny models (sub-1B parameters) remains a challenge. Current strategies typically involve either training a small model from scratch, which often fails to reach the "intelligence emergence" of larger models, or post-training pruning, which frequently leads to performance collapse due to limited calibration data. EfficientLLM addresses this "performance gap" by making pruning a core, data-driven component of the pretraining process.
Methodology: Pruning-Aware Pretraining (PAP)
The core innovation of EfficientLLM is the treatment of pruning as a continuous optimization problem during the training loop. The method employs a bi-level optimization strategy that alternates between standard gradient descent for weight updates and structural pruning to remove redundant parameters.
Structural Pruning and Saliency
To remain architecture-agnostic, the authors define three fundamental pruning groups:
- Type I: Per-head pruning in Self-Attention.
- Type II: Per-channel pruning in Feed-Forward Networks (FFN).
- Type III: Per-channel pruning in the Transformer "stem" (embeddings and heads).
The model utilizes Taylor expansion (first and second-order gradients) to calculate the "saliency" or importance of each group. It automatically drops the least important parts, effectively searching for an optimal architecture—such as deciding between a deep-and-thin or short-and-wide configuration—based on the data.
Experimental Setup
The models were trained on a massive, high-quality data mixture totaling over 280B tokens, including FineWeb-Edu, Cosmopedia v2, Python-Edu, and OpenWebMath. Evaluation spanned standard common sense reasoning benchmarks (ARC, BoolQ, HellaSwag, OBQA, PIQA, WinoGrande) and world knowledge (MMLU). Instruction tuning was performed using the Alpaca dataset to evaluate command-following capabilities.
Key Results and Insights
EfficientLLM demonstrates that pruning metrics, such as the Hessian approximation, become significantly more accurate when scaled with pretraining-sized data. This prevents the performance "cliff" typically seen in post-training methods.
Performance Benchmarks
- Superior Accuracy: EfficientLLM-1.1B achieved an average score of 60.75% on common sense benchmarks, outperforming Llama 3.2-1B (56.69%) and TinyLlama-1.1B (53.51%).
- Inherited Intelligence: Pruning a 1.7B model down to 1.1B yields a smarter model than training a 1.1B model from scratch, as the sub-model inherits optimized feature representations.
- Data Efficiency: EfficientLLM-469M (trained on 50B tokens) outperformed SmolLM-360M (trained on 600B tokens), proving that a "pruned-down" model is more token-efficient than a "trained-up" one.
Conclusion and Future Work
EfficientLLM sets new benchmarks for edge-scale models by demonstrating that machine-designed architectures discovered through PAP can exceed human-designed ones. While currently focused on the sub-1B parameter range, future work will explore scaling this method to 7B+ ancestor models and improving performance on high-level reasoning tasks such as complex coding and mathematics. Although PAP requires higher initial compute to start with a larger ancestor, the resulting models offer unprecedented efficiency for local deployment.
Summary updated