交给专家:通过稀疏性演化进行稀疏微调修复稀疏大语言模型
Leave it to the Specialist: Repair Sparse LLMs with Sparse Fine-Tuning via Sparsity Evolution
AI总结:
提出稀疏演化微调(SEFT)框架,通过周期性重分配稀疏任务特定更新和重新激活有益剪枝权重,在保持稀疏性效率优势的同时实现稀疏大语言模型的有效下游任务适配。
摘要:
稀疏大语言模型为高效部署提供了有吸引力的方向,但将其适配到下游任务仍然具有挑战性。核心困难在于在不牺牲稀疏性效率优势的情况下实现有效的任务适配。现有的微调方法不适用于这种设置,因为它们要么引入额外的密集参数,要么假设固定的稀疏拓扑,限制了它们与稀疏大语言模型的兼容性。在本文中,我们提出了稀疏演化微调(SEFT),这是一个专门为稀疏大语言模型设计的微调框架。SEFT允许稀疏结构在微调过程中演化,通过周期性重分配稀疏任务特定更新,并在有益时重新激活先前剪枝的权重。同时,SEFT通过基于参数重要性的拓扑适配保留了稀疏性的效率优势。在LLaMA、DeepSeek和Mistral模型上的多个基准实验表明,与现有基线相比,SEFT在提供更强性能的同时,具有更优的内存和时间效率。我们的代码公开在:https://github.com/QiaoXiao7282/SEFT。
英文摘要:
Sparse large language models (LLMs) offer an attractive direction toward efficient deployment, but adapting them to downstream tasks remains challenging. The central difficulty is to enable effective task adaptation without sacrificing the efficiency advantages of sparsity. Existing fine-tuning methods are not well-suited to this setting, as they either introduce additional dense parameters or assume a fixed sparse topology, limiting their compatibility with sparse LLMs. In this paper, we propose Sparsity Evolution Fine-Tuning (SEFT), a fine-tuning framework designed specifically for sparse LLMs. SEFT allows sparse structure to evolve during fine-tuning by periodically reallocating sparse task-specific updates and reactivating previously pruned weights when beneficial. At the same time, SEFT preserves the efficiency advantages of sparsity through topology adaptation based on parameter importance. Experiments on LLaMA, DeepSeek, and Mistral models across multiple benchmarks show that SEFT delivers stronger performance while offering superior memory and time efficiency compared to existing baselines. Our code is publicly available at: https://github.com/QiaoXiao7282/SEFT.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。