垃圾DNA假说:修剪小的预训练权重不可逆且单调地损害LLM中的“困难”下游任务
Junk DNA Hypothesis: Pruning Small Pre-Trained Weights Irreversibly and Monotonically Impairs "Difficult" Downstream Tasks in LLMs
AI总结:
该研究提出垃圾DNA假说,指出LLM预训练权重中存在关键知识,修剪小权重会单调损害困难下游任务性能,且即使允许持续训练也无法弥补损失。
摘要:
我们通过一种新的任务导向角度提出了垃圾DNA假说,挑战了预训练权重中存在大量冗余的传统观点。相反,本文指出预训练模型中的小幅度权重包含处理困难下游任务至关重要的知识,表现为随着修剪更多预训练权重,下游任务性能下降呈单调关系。此外,我们发现这些看似无足轻重的权重即使在允许下游持续训练的情况下,也会导致知识不可修复的损失和性能下降。有趣的是,我们的评估显示,其他流行的压缩方法,即量化,未能表现出类似的单调效应,也不如本文有效地解耦任务难度信息。为了正式研究,我们引入了几个可量化的指标来衡量下游任务难度:(1)在相同任务类别内,(2)跨不同任务类别。我们广泛的实验验证了垃圾DNA假说在多种模型大小、任务、数据集甚至修剪方法上的适用性。代码可在:https://github.com/VITA-Group/Junk_DNA_Hypothesis.git 获取。
英文摘要:
We present Junk DNA Hypothesis by adopting a novel task-centric angle for the pre-trained weights of large language models (LLMs). It has been believed that weights in LLMs contain significant redundancy, leading to the conception that a considerable chunk of the parameters can be removed by pruning without compromising performance. Contrary to this belief, this paper presents a counter-argument: small-magnitude weights of pre-trained model weights encode vital knowledge essential for tackling difficult downstream tasks - manifested as the monotonic relationship between the performance drop of downstream tasks across the difficulty spectrum, as we prune more pre-trained weights by magnitude. Moreover, we reveal that these seemingly inconsequential weights can result in irreparable loss of knowledge and performance degradation in difficult tasks, even when downstream continual training is allowed. Interestingly, our evaluations show that the other popular compression, namely quantization, fails to exhibit similar monotonic effect and does not as convincingly disentangle this task-difficulty information. To study formally, we introduce several quantifiable metrics to gauge the downstream task difficulty: (1) within the same task category, and (2) across different task categories. Our extensive experiments substantiate the Junk DNA Hypothesis across a diverse range of model sizes, tasks, datasets, and even pruning methods. Codes are available at: https://github.com/VITA-Group/Junk_DNA_Hypothesis.git.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。