Reconstruct the Pruned Model without Any Retraining
Pingjie Wang, Ziqing Fan, Shengchao Hu, Zhe Chen, Yanfeng Wang, Yu Wang
TL;DR
The paper tackles the practicality bottleneck of retraining-based pruning for large language models by proposing LIAR, a retraining-free, generalizable distortion-reconstruction framework. LIAR reframes pruning distortion as a reconstruction problem and uses LS-estimated transformation matrices $\mathbf{Q}^{\ell}$ and $\mathbf{P}^{\ell}$ to linearly interpolate preserved weights and biases, yielding updated outputs that closely match the unpruned model. Empirically, LIAR preserves up to 98% of BERT-BASE accuracy with 50% pruning and delivers top performance for LLaMA models within minutes, while demonstrating strong generalization across pruning modules and criteria and requiring only a small calibration dataset. This approach enables efficient, hardware-friendly pruning suitable for encoder- and decoder-based transformers, offering a practical path to deployment of compressed LLMs without retraining.
Abstract
Structured pruning is a promising hardware-friendly compression technique for large language models (LLMs), which is expected to be retraining-free to avoid the enormous retraining cost. This retraining-free paradigm involves (1) pruning criteria to define the architecture and (2) distortion reconstruction to restore performance. However, existing methods often emphasize pruning criteria while using reconstruction techniques that are specific to certain modules or criteria, resulting in limited generalizability. To address this, we introduce the Linear Interpolation-based Adaptive Reconstruction (LIAR) framework, which is both efficient and effective. LIAR does not require back-propagation or retraining and is compatible with various pruning criteria and modules. By applying linear interpolation to the preserved weights, LIAR minimizes reconstruction error and effectively reconstructs the pruned output. Our evaluations on benchmarks such as GLUE, SQuAD, WikiText, and common sense reasoning show that LIAR enables a BERT model to maintain 98% accuracy even after removing 50% of its parameters and achieves top performance for LLaMA in just a few minutes.
