Numerical Pruning for Efficient Autoregressive Models
Transformers have emerged as the leading architecture in deep learning, proving to be versatile and highly effective across diverse domains beyond language and image processing. However, their impressive performance often incurs high computational costs due to their substantial model size. This paper focuses on compressing decoder-only transformer-based autoregressive models through structural weight pruning to improve the model efficiency while preserving performance for both language and image generation tasks. Specifically, we propose a training-free pruning method that calculates a numerical score with Newton's method for the Attention and MLP modules, respectively. Besides, we further propose another compensation algorithm to recover the pruned model for better performance. To verify the effectiveness of our method, we provide both theoretical support and extensive experiments. Our experiments show that our method achieves state-of-the-art performance with reduced memory usage and faster generation speeds on GPUs.
Authors
- Jiuxiang Gu (ORCID: https://orcid.org/0000-0002-3437-5084)
- Ryan A. Rossi (ORCID: https://orcid.org/0000-0001-9758-0635)
- Bo Chen (ORCID: https://orcid.org/0000-0001-9246-7641)
- Jing Liu (ORCID: https://orcid.org/0000-0002-3588-2969)
- Xipeng Shen (ORCID: https://orcid.org/0000-0003-3599-8010)
- Yanzhi Wang (ORCID: https://orcid.org/0000-0002-7025-2751)
- Xiang Chen (ORCID: https://orcid.org/0000-0002-5045-9253)
- Tong Yu (ORCID: https://orcid.org/0000-0002-5991-2050)
- Yufa Zhou (ORCID: https://orcid.org/0000-0001-9027-1792)
- Ruiyi Zhang (ORCID: https://orcid.org/0000-0002-4776-6762)
- T. Sun (ORCID: https://orcid.org/0000-0002-9281-9325)
- Yufan Zhou (ORCID: https://orcid.org/0000-0002-8385-433X)
- Zhao Song
- Hao Tan (ORCID: https://orcid.org/0000-0002-9755-9040)
- Pu Zhao
Institutions
- Adobe Systems (United States) (US)
- Middle Tennessee State University (US)
- Australian Regenerative Medicine Institute (AU)
- California University of Pennsylvania (US)
- Monash University (AU)
- Universidad del Noreste (MX)
- University of California, Berkeley (US)
Publication Details
- Journal
- Proceedings of the AAAI Conference on Artificial Intelligence
- Published
- 2025-04-11
- DOI
- https://doi.org/10.1609/aaai.v39i19.34249
- Citations
- 4
- Primary Topic
- Matrix Theory and Algorithms
- Type
- article
- Field-Weighted Citation Impact
- 8.72