DReSS:面向大型语言模型的数据驱动正则化结构化精简
DReSS: Data-driven Regularized Structured Streamlining for Large Language Models
AI总结:
本文提出DReSS方法,采用先正则化、再剪枝、最后微调的新范式,通过少量数据将重要信息提前转移到模型剩余部分,减少参数移除的信息损失,在极端剪枝比率下仍显著优于现有方法并降低延迟、提高吞吐量。
摘要:
大型语言模型(LLMs)在各个领域取得了显著进展,但其不断增长的规模导致了高昂的计算和内存成本。最近的研究表明,LLMs表现出稀疏性,这为通过剪枝技术减小模型规模提供了潜力。然而,现有的剪枝方法通常遵循先剪枝后微调的范式。由于被剪枝的组件仍包含有价值的信息,直接移除它们往往会导致不可逆的性能下降,从而在微调期间恢复性能时带来巨大的计算负担。在本文中,我们提出了一种新范式,首先应用正则化,然后剪枝,最后微调。基于这一范式,我们引入了DReSS,一种简单有效的面向LLMs的数据驱动正则化结构化精简方法。通过利用少量数据对要剪枝的组件进行正则化,DReSS提前将重要信息显式转移到模型的剩余部分。与直接剪枝相比,这可以减少参数移除带来的信息损失,从而增强其语言建模能力。实验结果表明,即使在极端剪枝比率下,DReSS也显著优于现有剪枝方法,大幅降低了延迟并提高了吞吐量。
英文摘要:
Large language models (LLMs) have achieved significant progress across various domains, but their increasing scale results in high computational and memory costs. Recent studies have revealed that LLMs exhibit sparsity, providing the potential to reduce model size through pruning techniques. However, existing pruning methods typically follow a prune-then-finetune paradigm. Since the pruned components still contain valuable information, their direct removal often leads to irreversible performance degradation, imposing a substantial computational burden to recover performance during finetuning. In this paper, we propose a novel paradigm that first applies regularization, then prunes, and finally finetunes. Based on this paradigm, we introduce DReSS, a simple and effective Data-driven Regularized Structured Streamlining method for LLMs. By leveraging a small amount of data to regularize the components to be pruned, DReSS explicitly transfers the important information to the remaining parts of the model in advance. Compared to direct pruning, this can reduce the information loss caused by parameter removal, thereby enhancing its language modeling capabilities. Experimental results demonstrate that DReSS significantly outperforms existing pruning methods even under extreme pruning ratios, significantly reducing latency and increasing throughput.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。