DISP-LLM: Dimension-Independent Structural Pruning for Large Language Models

Large Language Models (LLMs) have achieved remarkable success in various natural language processing tasks, including language modeling, understanding, and generation. However, the increased memory and computational costs associated with these models pose significant challenges for deployment on resource-limited devices. Structural pruning has emerged as a promising solution to reduce the costs of LLMs without requiring post-processing steps. Prior structural pruning methods either follow the dependence of structures at the cost of limiting flexibility, or introduce non-trivial additional parameters by incorporating different projection matrices. In this work, we propose a novel approach that relaxes the constraint imposed by regular structural pruning methods and eliminates the structural dependence along the embedding dimension. Our dimension-independent structural pruning method offers several benefits. Firstly, our method enables different blocks to utilize different subsets of the feature maps. Secondly, by removing structural dependence, we facilitate each block to possess varying widths along its input and output dimensions, thereby significantly enhancing the flexibility of structural pruning. We evaluate our method on various LLMs, including OPT, LLaMA, LLaMA-2, Phi-1.5, and Phi-2. Experimental results demonstrate that our approach outperforms other state-of-the-art methods, showing for the first time that structural pruning can achieve an accuracy similar to semi-structural pruning.

Paper

Similar papers

Peer review

Reviewer BGu55/10 · confidence 4/52024-07-11

Summary

This paper concerns about the dimension dependence of hidden states across different layers. It have been argued that previous studies with dimension dependence would be inefficient due to additional parameters or architectural constraints. This work breaks the dimension dependence by introducing indexing operations to previous methods. Although simple, the proposed method is shown to be more effective than baselines due to permitted asymmetry across layers.

Strengths

1. It is for the first time highlighted that the dimension dependence may affect the performance of pruning. 2. The proposed method to alleviate the dimension dependence is rather simple and effective.

Weaknesses

1. Although the proposed method allows asymmetric dimensions in module weights across layers, it also requires the dimensions of hidden states from different layers maintain the same as that of the non-pruned model. This would restrict the use in scenarios where the dimension of the output hidden states is critically important (e.g., embedding for retrieval). 2. The introduced indexing operation could be very time-consuming. Unexpectedly, the latency introduced by the indexing may outweight the latency reduced by pruning. And it is not discussed whether the pruned model is faster than the non-pruned one. I would recommend including such experiments in proper positions.

Questions

N/A

Rating

5

Confidence

4

Soundness

4

Presentation

4

Contribution

3

Limitations

Yes

Reviewer AWnP5/10 · confidence 4/52024-07-12

Summary

DISP-LLM introduces dimension-independent structural pruning for LLMs, breaking structural dependencies to allow flexible pruning across layers and dimensions. It uses a hypernetwork for pruning decisions and claims superior performance over existing methods on various LLMs without weight updates or additional parameters.

Strengths

- Novel approach to structural pruning in LLMs - Comprehensive evaluation across multiple LLM architectures - Theoretical foundation provided - Achieves good performance without weight updates or extra parameters

Weaknesses

- Limited novelty beyond combining existing concepts - Inconsistent performance gains across models/tasks - Insufficient ablation studies and hyperparameter sensitivity analysis - Lack of detailed computational efficiency comparisons - Inadequate error analysis and failure case exploration - Overstated claims based on limited experiments - Insufficient discussion of pruning ratio vs. performance trade-offs

Questions

- How sensitive is DISP-LLM to hypernetwork architecture and hyperparameters? - Can you provide detailed computational cost comparisons with baselines? - How does it perform on fine-tuning tasks? - Have you explored progressive pruning approaches?

Rating

5

Confidence

4

Soundness

3

Presentation

2

Contribution

3

Limitations

Yes

Reviewer 6CTn6/10 · confidence 3/52024-07-13

Summary

This paper proposes a novel structural pruning method for LLMs, primarily based on SliceGPT. It characterised in (i) removing structural dependence by facilitating each block to possess varying widths along its input and output dimensions (ii) no need for introducing addition paramaters like sliceGPT. The empirical studies show that it demonstrates superior performance compared to state-of-the-art structural pruning techniques for LLMs across a range of models, including OPT, LLaMA, LLaMA-2, Phi-1.5, and Phi-2.

Strengths

1. This paper is easy-to-read and topic is very important to efficient Machine Learning. 2. The proposed method balances the task performance and efficient, which are both beneficial to its practical and wide application. 3. The empirical results show its promising in model compressing across four models.

Weaknesses

1. More comprehensive literature review about model compressing, like sparse mechanism. 2. Any case study for qualitative analysis to the pruned model? It is possible to conduct some interpretability analysis showing where the difference between sliceGPT and the proposed method along with a specific input example.

Questions

1. When training with the pruning objectives all the layers are fine-tuned or only selected layers? 2. Any insights from Figure 6, different model width as layer changes. If the observations aligned with existing research results?

Rating

6

Confidence

3

Soundness

3

Presentation

3

Contribution

3

Limitations

Pay attention to the generated sequence after model prune because the prediction changes are unpredictable.

Reviewer FhgQ6/10 · confidence 3/52024-07-13

Summary

Structural pruning is a method to prune the weights of large language models (LLMs) while keeping their original performance as much as possible it can. However, structural pruning has limitations caused by depending on the structure, like the residual connection of LLMs. In this work, the authors propose a new pruning method, dimension-independent structural pruning for LLMs (DISP-LLM), that can ignore structural dependence in pruning. This characteristic of DISP-LLM makes it possible to prune their weights more flexibly and provides new pruning ways using different feature maps between blocks and varying pruning dimensions of the input and output of the block. However, just pruning the dimensions and ignoring residual connections causes inconsistency between the input and output of a block. To solve this problem, the authors apply transformation matrices to each residual connection to absorb these discrepancies. Furthermore, pruned indices are optimized through training. Experimental results on the language modeling dataset WikiText-2 and the zero-shot task datasets PIQA, WinoGrande, HellaSwag, ARC-e, and ARC-c show that DISP-LLM tends to outperform conventional approaches in pruning LLMs, OPT, LLaMA, LLaMA-2, Phi-1.5, and Phi-2.

Strengths

- The proposed dimension-independent structural pruning for LLMs (DISP-LLM) can drastically prune dimensions due to its flexibility. - Adding transformation matrices to each residual connection to maintain input and output consistency in each transformer is novel - In DISP-LLM, pruned dimensions can be optimized through training. - Experiments are comprehensive and cover various kinds of LLMs. - DISP-LLM can achieve comparable or better perplexities to conventional pruning approaches that require updating the original weights by training. - In many cases, DISP-LLM outperforms conventional pruning approaches in zero-shot tasks even though some of them update the original weights by training. - The authors report the actual costs for pruning models and show the cost efficiency of DISP-LLM.

Weaknesses

- Even though DISP-LLM does not update the original weights of LLMs, training is required. - DISP-LLM requires hyper-tuning for $\lambda$.

Questions

- How did you decide to set $\lambda$ to 6? - How are the performances sensible to the changes of $\lambda$? - As you state in the paper, DISP-LLM is as efficient as LoRA. If so, can applying LoRA weights only to the kept dimensions be a baseline?

Rating

6

Confidence

3

Soundness

3

Presentation

3

Contribution

3

Limitations

DISP-LLM requires training and hyper-parameter tuning for $\lambda$ that controls mixing ratios of losses.

Authorsrebuttal2024-08-12

We want to thank Reivewer FhgQ for giving us the chance for further clarification. We list the comparison of our method, quantization, and QLoRA in the table below: Methods | W Update? | Reduce Weight Precision | Reduce #Parameters | Goal ---|---|---|---|--- DISP-LLM | No | No | Yes | Compression Quantization | Depends | Yes | No | Compression QLoRA | Yes | Yes | No | Fine-tuning As a pruning method, DISP-LLM is orthogonal to Quantization or QLoRA methods as shown in the table, meaning it can be combined with quantization to further reduce model size. Firstly, we can combine our method and Quantization by applying DISP-LLM on top of a quantized model to reduce the training costs as stated in the response to **W1**. Additionally, once a model has been compressed using DISP-LLM, QLoRA can be employed to fine-tune the model with minimal resources. Besides the aforementioned contents, we believe that the search space in the dimensional independent setting offers new insights for designing a compact large language model that is not captured by QLoRA or quantization.

Reviewer 6CTn2024-08-10

Thank you for your clarification and the case study you provided—it was very helpful! I find the observations in Figure 6 particularly interesting, especially how both the earlier and later layers are changing significantly. A similar study referenced in [1] also presents insights on layer-wise monosemanticity, which I hope might offer some additional inspiration. Encourage or Inhibit Monosemanticity? Revisit Monosemanticity from a Feature Decorrelation Perspective

Authorsrebuttal2024-08-11

We would like to thank Reviewer 6CTn for providing the reference, which is an excellent addition to explaining the pruned structure. It is possible that the retained capacity is related to the monosemanticity of the corresponding layer. We will add the related discussion to our final version to provide further insights regarding the pruned structure.

Reviewer FhgQ2024-08-12

Regarding LoRA

Thank you for answering my questions! The response has resolved some of my concerns. Regarding the use of LoRA, one of the frequently used approaches is QLoRA [1], which uses LoRA on quantized frozen weights. Even though QLoRA does not prune the model weight, it accomplishes producing lightweight models with fine-tuned information. Therefore, considering the quantization in the comparison is along with the realistic situation. As seen in the general response, the author seems to notice the necessity of investigating the use of quantization in the proposed method. Currently, this direction has not been decided in the paper. However, if you can clarify the difference between the proposed method, quantization, and QLoRA in terms of their benefits and still claim the superiority of your approach to other methods, I can raise my score. [1] Dettmers, Tim, et al. "Qlora: Efficient finetuning of quantized llms." Advances in Neural Information Processing Systems 36 (2024).

Area Chair 3Hzz2024-08-13

Dear Reviewer AWnP, Thanks again for helping review this paper! Since we are approaching the end of the author-reviewer discussion period, would you please check this author response regarding your concerns? We really appreciate it! Best, AC

Area Chair 3Hzz2024-08-13

Dear Reviewer BGu5, Thanks again for helping review this paper! Since we are approaching the end of the author-reviewer discussion period, would you please check this author response regarding your concerns? We really appreciate it! Best, AC

Program Chairsdecision2024-09-25

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC