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.
CLOVER: Cross-Layer Orthogonal Vectors Pruning and Fine-Tuning
Institute for Artificial Intelligence, Peking University(北京大学人工智能研究院);State Key Laboratory of General Artificial Intelligence, Peking University(北京大学通用人工智能国家重点实验室)
Theoretical Analysis of Contrastive Learning under Imbalanced Data: From Training Dynamics to a Pruning Solution
New Jersey Institute of Technology(新泽西理工学院);Cornell University(康奈尔大学);University of Louisiana at Lafayette(路易斯安那大学拉法叶分校);Rensselaer Polytechnic Insitute(伦斯勒理工学院)
Streaming-dLLM: Accelerating Diffusion LLMs via Suffix Pruning and Dynamic Decoding
School of information(信息学院);Electronics, Beijing Institute of Technology, Beijing(电子学院,北京理工大学,北京);Department of Computer Science, City University of Hong Kong, Hong Kong(计算机科学系,香港城市大学,香港);School of Computer Science, Wuhan University, Wuhan(计算机科学学院,武汉大学,武汉);School of Economics(经济学院);Management, Communication University of China, Beijing(管理学院,中国传媒大学,北京);School of Science(科学学院);Engineering, The Chinese University of Hong Kong (Shenzhen), Shenzhen(工程学院,香港中文大学(深圳),深圳)