# Poster 30686

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

> 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.

Hi everyone, today I'm excited to share our recent work, RSPAS, a radio activation sparsity for efficient large-end model inference. This work is also credited to my collaborators from the University of Texas at Austin and META. Our bottleneck for current efficient large -end model inference is the memory I.O. of a large amount of parameter counts. Current model size is extremely large and can scale up to hundreds of billions of parameters.
as our parameters. One effective way to alleviate such cost is sparsity with different granularities. Matter can be characterized like front end structure to semi -structure and then structure sparsity. While on structure sparsity shows best accuracy, it's hardware support is very complicated and not real soft. For structure sparsity, it's hardware friendly yet worse performance. All such sparsity works in a data-independent way.
In contrast, backdivided sparse state that is state -dependent structure sparsity that demonstrate great potential for both hardware support and strong performance.
However, current activation-spast method have several challenges: its feasibility for a downrange-based model is not real achieved, and some methods rely on extra predictor to identify important channels before computation, which is difficult and performance will be highly affected by such by the accuracy of such predictors. So achieving spast levels are also highly limited of these methods.
In this work, our goal is to develop a Chinese-free activation sparsity approach that can be feasible for non-relevant-based models and are affected by the difficulty of predicting activation channels and also be capable of achieving higher sparsity levels. To begin with, our first investigation is about the importance of non-sparse components. With the LLAMA 7B models, we first apply a multi-hop radio function on the hidden activation.
activations of the MLP blocks that can softly modify the hidden representations. Specifically, we've split the non-sparse components into a few intervals and transferred the values into several discrete values while the sparse part is unchanged. We then increase the number of the non-sparse intervals to see how it affects the performance in which we find that accuracy can be significantly enhanced.
test while only using two interfaces rather than one. For each interface, the corresponding output components can be written as an input-dependent bias term. This experiment suggests that non-sparse components of activations are highly redundant and can be approximated with simple biases, implying its lower structures.
We then conduct a closer look analysis about the importance of each channels and singular value components to the final outputs. Let me consider simple linear layers here with input activation X and weight W. The output is Y. We can then apply a SVD decomposition to the weight and reorganize the equation in this form.
We have the S is defined to represent the importance of the singular value i and the input channel j. We visualize the whole S matrix and the sort both horizontal and vertical access. The results show that only a small portion contribute to the output while the green box stands for the top K input channels and the yellow box represents top K singular values.
Building on this, we introduce a Sparse4All framework which contains an offline SPD component to get the low rank format of the weight matrix, and during inference we will split the input channel in two parts. The Sparse part will only activate the Sparse computations, and the non-Sparse part will be computed by a low rank weight. Then we combine these two components together to get the final output.
According to the importance matrix, a sparse is can effectively capture the most critical part for the output activations. Compared with other methods like vanilla activation sparsity that is actually cut the importance matrix from the vertical way while the lower active position cut the matrix from the horizontal ways.
So to evaluate our method, we first showed that Sparse can match full performance with 40 to 50% sparsity while other methods fail. And we such reduce memory I.O. as Sparse brings 40% M10 speed up during generations and is also compatible with quantization. Thank you.
