SPP: Sparsity-Preserved Parameter-Efficient Fine-Tuning for Large Language Models

ICML 2024 pp. 33254-33269

Abstract

Large Language Models (LLMs) have become pivotal in advancing the field of artificial intelligence, yet their immense sizes pose significant challenges for both fine-tuning and deployment. Current post-training pruning methods, while reducing the sizes of LLMs, often fail to maintain their original performance. To address these challenges, this paper introduces SPP, a Sparsity-Preserved Parameter-efficient fine-tuning method. Different from existing post-training pruning approaches that struggle with performance retention, SPP proposes to employ lightweight learnable column and row matrices to optimize sparse LLM weights, keeping the structure and sparsity of pruned pre-trained models intact. By element-wise multiplication and residual addition, SPP ensures the consistency of model sparsity pattern and ratio during both training and weight-merging processes. We demonstrate the effectiveness of SPP by applying it to the LLaMA and LLaMA-2 model families with recent post-training pruning methods. Our results show that SPP significantly enhances the performance of models with different sparsity patterns (i.e. unstructured and N:M sparsity), especially for those with high sparsity ratios (e.g. 75%), making it a promising solution for the efficient fine-tuning of sparse LLMs. Code will be made available at https://github.com/Lucky-Lance/SPP.

Cite

Text

Lu et al. "SPP: Sparsity-Preserved Parameter-Efficient Fine-Tuning for Large Language Models." International Conference on Machine Learning, 2024.

Markdown

[Lu et al. "SPP: Sparsity-Preserved Parameter-Efficient Fine-Tuning for Large Language Models." International Conference on Machine Learning, 2024.](https://mlanthology.org/icml/2024/lu2024icml-spp/)

BibTeX

@inproceedings{lu2024icml-spp,
  title     = {{SPP: Sparsity-Preserved Parameter-Efficient Fine-Tuning for Large Language Models}},
  author    = {Lu, Xudong and Zhou, Aojun and Xu, Yuhui and Zhang, Renrui and Gao, Peng and Li, Hongsheng},
  booktitle = {International Conference on Machine Learning},
  year      = {2024},
  pages     = {33254-33269},
  volume    = {235},
  url       = {https://mlanthology.org/icml/2024/lu2024icml-spp/}
}