# Poster 28105

- Kind: Poster
- Talk page and recording: https://iclr.cc/virtual/2025/poster/28105

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

I am Jiang Xuenlong from South China University of Technology, and I am delighted to present our work Beyond Linear Approximations, a novel pruning approach for attention matrix. This is joint work with my wonderful collaborators, Yingyu Liang from the University of Hong Kong and University of Wisconsin -Madison.
Zhenmei Shi from University of Wisconsin-Madison, Zhao Song from the Siemens Institute at UC Berkeley, and Yufa Zhou from University of Pennsylvania, we are honored to share this research here.
Large language models have significantly grown in size. For example, LAMA 3.1 now have 405 billion parameters, while powerful, their huge size creates significant deployment challenges, especially for edge devices. Pruning, setting less important parameters to zero, has become a crucial strategy to reduce memory and computational limitations.
Traditional pruning techniques focus on linear layers optimizing linear reconstructions. However, the attention mechanism in transformers involves the non-linear softmax function. Linear methods fail to effectively handle this crucial non-linearity, causing poor approximation of attention layers.
To overcome these limitations, we propose the first ever direct softmax-based pruning method. We specially prune the actual softmax attention matrix, providing rigorous theoretical convergence guarantees. Empirically, we demonstrate that our approach significantly outperform existing linear pruning baselines.
Formerly, our problem setup involves a calibration matrix X, query and key matrices WQ and WK, and a pruning mask M. We introduce a specialized loss function balancing attention matrix reconstruction accuracy with sparsity, effectively capturing the nonlinear attention structure.
Our primary theoretical results establish convergence guarantees for gradient descent on this nonlinear pruning loss. We define clear condition under which our method probably converges to an optimal pruning solution, ensuring both theoretical soundness and practical stability.
Technically, we leveraging the proxy PL inequality, a powerful tool for analyzing non-convex optimization under condition of Lipschitz continuity and PL inequality satisfaction, our approach achieves guaranteed convergence.
Specially, we prove two key conditions. First, our loss gradient is Lipschitz continuous. Second, our loss satisfies the required PLN equality condition.
Empirically, we evaluated our methods performance using synthetic Gaussian datasets. Our approach consistently outperformed popular linear pooling methods, for example, Wanda and sparse GPT, across various hyperparameters. Our method achieved significantly lower relative errors, clearly demonstrating superior reconstruction.
accuracy. We further validated our approach using real -world language modeling tasks on the LAMA 3.2 1B model using the CIFAR dataset. Our pruning method consistently delivered lower paper elasticity, which means a superior performance than WANDA and Sparse GPT in diverse pruning settings.
Thank you very much.
