# Poster 29365

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

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

Hello everyone, I'm Qi, and I'm here to present our new research ProPruning. We propose a novel framework for online dynamic structure pruning of LLMs applying a batch-wise manner. LLMs contain billions of parameters and require substantial computations. Structure pruning is a promising hardware -friendly approach to reduce computational consumptions and accelerate inference.
Recent advanced works rely exclusively on the calibration dataset, which may introduce biases, and they cannot handle emergent outlier properties for different batches. We propose pro-pruning to solve the above concerns, to reduce the biases brought by calibration dataset, we propose probing.
Poisson patch will select key samples and tokens by residual importance and run them through a few model layers ahead. By doing so, we can update important intermediate state information to guide pruning decisions. We apply dynamic pruning for different batches to handle the emergent outlier issue. Furthermore, our method does not require additional neural...
Networks modules for fine tuning. It proposed history-informed pruning with important scale fusion to strategically combine the probing stage with historical stage. Here we showed overall design of our method. First, PP selects key samples and tokens.
Then, PP deploys this probe to run a few model layers ahead. Afterwards, PP integrates the probing states with historical states and uses the integrated states to calculate the pruning matrix and prune weight channels. Finally, PP performs full inference on the remaining weights. To generate a probe, we identify key samples and tokens by measuring residual importance.
which is the L2 norm of the input hidden state across specific dimensions. Once identified, these key samples and tokens are selected from layer-normalized hidden states. It's important to note that PP can handle varying batch size and sequence lengths. The probe then runs intermediate transformation.
When you find the full batch probing as the upper bound of probing, in full batch probing we use all the input hidden states in the current batch as our probe. Our aim for PP is to select pruning channels similar to those chosen by full batch probing.
We want to bring the intuition here why does probing work. We believe there are two reasons. First, not all samples and tokens contribute equally to the model's output. Second, large magnitude outliers in LM significantly influence the model's behavior. Above two properties allow the probe to capture essential intermediate hidden state information.
After we obtain the probing states, we combine it with historical states based on their relative importance. This integration can alleviate inappropriate pruning decisions. We ensure that each state's contribution is dynamically adjusted according to its importance. Then we use this integrated state to calculate the pruning metric. Details can be found in our paper. BP attends significantly lower perplexities and higher reasoning task accuracy.
Also, we show that FullBatch probing is indeed the upper bound and PP achieves comparable results. We also observe that a great overlap of pooling channels between PP and FullBatch probing correlates with enhanced model performance and probe quality. We also show that a small probe can yield performance improvements by varying probe size. We show that inference speeds of PP are comparable to those of other structure pooling baselines.
In conclusion, PPE is a novel online dynamic pruning framework that enables tailored dynamic pruning for different batches, and PPE only relies on the original model structure and hidden states without requiring additional neural network modules for fine-tuning. Thank you.
