We consider the problem of accurate sparse fine-tuning of large language models (LLMs), that is, fine-tuning pretrained LLMs on specialized tasks, while inducing sparsity in their weights. On the accuracy side, we observe that standard loss-based fine-tuning may fail to recover accuracy, especially at high sparsities. To address this, we perform a detailed study of distillation-type losses, determining an L2-based distillation approach we term SquareHead which enables accurate recovery even at higher sparsities, across all model types. On the practical efficiency side, we show that sparse LLMs can be executed with speedups by taking advantage of sparsity, for both CPU and GPU runtimes. While the standard approach is to leverage sparsity for computational reduction, we observe that in the case of memory-bound LLMs sparsity can also be leveraged for reducing memory bandwidth. We exhibit end-to-end results showing speedups due to sparsity, while recovering accuracy, on T5 (language translation), Whisper (speech translation), and open GPT-type (MPT for text generation). For MPT text generation, we show for the first time that sparse fine-tuning can reach 75% sparsity without accuracy drops, provide notable end-to-end speedups for both CPU and GPU inference, and highlight that sparsity is also compatible with quantization approaches. Models and software for reproducing our results are provided in Section 6.
Leave it to the Specialist: Repair Sparse LLMs with Sparse Fine-Tuning via Sparsity Evolution
Eindhoven University of Technology(埃因霍温理工大学);University of Cambridge(剑桥大学);University of Luxembourg(卢森堡大学);University of Twente(埃因霍温理工大学);University of Surrey(萨里大学);Tübingen AI Center(图宾根人工智能中心);Max Planck Institute for Intelligent Systems(智能系统马克斯·普朗克研究所);ELLIS Institute Tübingen(图宾根ELLIS研究所)
Sparse is Enough in Fine-tuning Pre-trained Large Language Models
National Engineering Research Center for Multimedia Software(国家多媒体软件工程技术研究中心);School of Computer Science, Wuhan University(武汉大学计算机学院);Hubei Luojia Laboratory(湖北珞珈实验室);Department of Computer Science and Engineering, Shanghai Jiao Tong University(上海交通大学计算机科学与工程系)
Refining Salience-Aware Sparse Fine-Tuning Strategies for Language Models
Southern University of Science and Technology(南方科技大学);Shenzhen Institutes of Advanced Technology, CAS(深圳先进技术研究院);University of Birmingham(伯明翰大学);Imperial College London(伦敦帝国理工学院);University of Edinburgh(爱丁堡大学);Shenzhen University of Advanced Technology(深圳大学)
Dynamic Sparse No Training: Training-Free Fine-tuning for Sparse LLMs
Huawei Technologies(华为技术有限公司);University of Oxford(牛津大学);University of Texas at Austin(德克萨斯大学奥斯汀分校);Eindhoven University of Technology(埃因霍温理工大学);Xiamen University(厦门大学);Tencent Youtu Lab(腾讯优图实验室);Institute of Artificial Intelligence, Xiamen University(厦门大学人工智能研究所)
CurvZO: Adaptive Curvature-Guided Sparse Zeroth-Order Optimization for Efficient LLM Fine-Tuning
Department of Computer Science and Engineering, Southern University of Science and Technology, Shenzhen, China.(计算机科学与工程系,南方科技大学,深圳,中国);Department of Mathematics, Southern University of Science and Technology, Shenzhen, China.(数学系,南方科技大学,深圳,中国)
Middle Tennessee State University(中田纳西州立大学);The University of Hong Kong(香港大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);Tsinghua University(清华大学);The Simons Institute for the Theory of Computing at the UC, Berkeley(加州大学伯克利分校西蒙斯理论计算研究所)
Sparse Subnetwork Enhancement for Underrepresented Languages in Large Language Models
Saarland University(萨尔兰大学);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);Centre for European Research in Trusted AI (CERTAIN)(欧洲可信人工智能研究中心)
Sparse Structure Search for Parameter-Efficient Tuning
Tsinghua University(清华大学);Beijing National Research Center for Information Science and Technology(北京信息科学与技术国家研究中心);Noah’s Ark Lab, Huawei(华为诺亚方舟实验室);Institute Guo Qiang, Tsinghua University(清华大学国强研究院);International Innovation Center of Tsinghua University(清华大学国际创新中心)
WaveSP-Net: Learnable Wavelet-Domain Sparse Prompt Tuning for Speech Deepfake Detection
University of Eastern Finland(东芬兰大学);National Institute of Informatics(日本信息处理学会);University of Chinese Academy of Sciences(中国科学院大学);National Taiwan University(台湾大学);University of Toronto(多伦多大学);Tsinghua University(清华大学)