MultiPruner: Balanced Structure Removal in Foundation Models

J. Pablo Muñoz, Jinjie Yuan, Nilesh JainarXiv 2025 · OpenReview

Abstract

Recently, state-of-the-art approaches for pruning large pre-trained models (LPMs) have demonstrated that the training-free removal of non-critical residual blocks in Transformers is viable for reducing model size, achieving results that outperform previous training-free pruning approaches. Motivated by these findings, we extend BlockPruner (Zhong et al., 2024) and propose MultiPruner, a pruning approach that surpasses recent training-free pruning methods by adopting a multidimensional, iterative, fine-grained pruning strategy. In MultiPruner, multidimensional pruning reinstates the structural balance in block-pruned models by sequentially compressing along three dimensions: i) residual blocks, ii) channels of multilayer perceptrons (MLP), and iii) attention heads. This solution enhances zero-shot accuracy on downstream tasks compared to other techniques while improving model compression ratios, producing compressed models with fewer computing and memory requirements. Extensive experiments demonstrate the advantages of the proposed method across various large pre-trained models.

Introduction

Deploying large language models (LLMs) remains a significant challenge due to their immense parameter counts and associated memory and computational demands. While pruning offers a path to efficiency, many current "training-free" methods focus exclusively on the depth dimension—removing entire Transformer blocks. This depth-only approach often results in a structural imbalance, creating models that are "skinny but wide." Such architectures deviate from the balanced proportions of the original foundation models, often leading to a performance plateau where further layer removal causes catastrophic accuracy drops.

MultiPruner addresses this by introducing a multidimensional pruning strategy that targets both depth (residual blocks) and width (MLP channels and attention heads), restoring architectural balance and maintaining performance at higher compression ratios.

Methodology: The MultiPruner Framework

MultiPruner employs a three-stage, sequential, coarse-to-fine pruning strategy to systematically reduce model size while preserving structural integrity.

Overview of the MultiPruner three-stage pruning pipeline, showing sequential block, MLP channel, and attention head pruning.

Sequential Pruning Stages

  1. Stage 1: Block Pruning (Depth): The algorithm identifies and removes the least critical "minimal residual blocks"—either the self-attention or MLP component of a layer—based on their impact on model perplexity.
  2. Stage 2: MLP Channel Pruning (Width): Following depth reduction, the framework prunes groups of channels within the MLP modules.
  3. Stage 3: Attention Head Pruning (Width): Finally, individual attention heads are pruned.

Key Innovations

  • Sequential Order: Empirical results show that pruning sequentially (Blocks $\rightarrow$ MLP $\rightarrow$ Heads) significantly outperforms parallel pruning strategies.
  • Weight Reordering: To facilitate structured width pruning, weights are reordered using an L1-norm metric. This pushes less important channels and heads to the matrix periphery, allowing for clean slicing without complex indexing.
  • Evolutionary Search: For optimal results, MultiPruner can utilize a genetic algorithm (NSGA-II) to find the Pareto-optimal balance between depth and width pruning for a specific target compression ratio.

Experimental Results

The researchers evaluated MultiPruner across multiple model families, including Llama 2/3, Qwen, and Baichuan 2, using the Alpaca dataset for calibration.

Performance and Accuracy

MultiPruner consistently outperformed depth-only baselines like BlockPruner. For Llama2-7B at a ~22% pruning ratio, MultiPruner achieved an average zero-shot score of 62.83, compared to 60.17 for BlockPruner. It also maintained lower perplexity (9.33 vs. 11.51) at similar compression levels.

Hardware Efficiency

Because MultiPruner performs structured pruning, the resulting models consist of standard, smaller matrices. This leads to immediate inference speedups on general-purpose hardware. On an Intel Xeon Platinum 8480+ processor, a 22% pruned Llama2-7B model demonstrated a 1.32x speedup in the prefill stage and a 1.28x speedup in the decode stage.

Discussion and Insights

The core success of MultiPruner lies in the "Balance Hypothesis": width pruning can reinstate the structural balance lost during initial depth pruning. By making the model both shallower and narrower, the subnetwork remains closer to a functional foundation model design.

The study also highlighted varying sensitivities among components. Attention heads were found to be extremely sensitive; pruning more than ~5-15% can lead to significant perplexity spikes. In contrast, MLP channels proved more robust. The coarse-to-fine approach—pruning large blocks first and then fine-tuning with channel and head removal—allows for a more precise final architecture.

Conclusion

MultiPruner demonstrates that a multidimensional, balanced approach to pruning is superior to simple layer removal. By targeting both depth and width, it achieves better compression-performance trade-offs and provides tangible hardware speedups without requiring expensive retraining. Future work may explore finer-grained search spaces and integration with quantization techniques to push the boundaries of model compression further.

Summary updated

BibTeX
@misc{munoz2025multipruner,
  author = {J. Pablo Muñoz and Jinjie Yuan and Nilesh Jain},
  title = {{MultiPruner: Balanced Structure Removal in Foundation Models}},
  year = {2025},
  eprint = {2501.09949},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.09949},
}
Figure