arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.16797cs.CLcs.AI
收藏

彩票票券适应:缓解LLMs中的破坏性干扰

Lottery Ticket Adaptation: Mitigating Destructive Interference in LLMs

Princeton University(普林斯顿大学);Stanford University(斯坦福大学)

Ashwinee Panda, Berivan Isik, Xiangyu Qi, Sanmi Koyejo, Tsachy Weissman, Prateek Mittal

AI总结:

针对LLMs多任务适应中的破坏性干扰与灾难性遗忘问题,提出稀疏适应方法LoTA,仅优化模型稀疏子网络,在多项任务上优于全量微调与LoRA,避免灾难性遗忘并支持不相似任务间的模型合并。

摘要:

现有将大型语言模型(LLMs)适应到新任务的方法并不适合多任务适应,因为它们会修改所有模型权重,从而导致任务间的破坏性干扰。由此产生的后果(例如对早期任务的灾难性遗忘)使得在多个任务上同时获得良好性能变得极具挑战。为了缓解这一问题,我们提出了彩票票券适应(LoTA),这是一种稀疏适应方法,仅识别并优化模型中的一个稀疏子网络。我们在指令遵循、推理、数学和摘要等广泛且具有挑战性的任务上对LoTA进行了评估。LoTA获得了比全量微调(full fine-tuning)和低秩适应(LoRA)更好的性能,并且即使在其他任务上训练后仍能保持良好性能,从而避免了灾难性遗忘。通过提取并微调彩票票券(或稀疏任务向量),LoTA还能在高度不相似的任务之间实现模型合并。我们的代码已在 https://github.com/kiddyboots216/lottery-ticket-adaptation 上公开。

英文摘要:

Existing methods for adapting large language models (LLMs) to new tasks are not suited to multi-task adaptation because they modify all the model weights -- causing destructive interference between tasks. The resulting effects, such as catastrophic forgetting of earlier tasks, make it challenging to obtain good performance on multiple tasks at the same time. To mitigate this, we propose Lottery Ticket Adaptation (LoTA), a sparse adaptation method that identifies and optimizes only a sparse subnetwork of the model. We evaluate LoTA on a wide range of challenging tasks such as instruction following, reasoning, math, and summarization. LoTA obtains better performance than full fine-tuning and low-rank adaptation (LoRA), and maintains good performance even after training on other tasks -- thus, avoiding catastrophic forgetting. By extracting and fine-tuning over lottery tickets (or sparse task vectors), LoTA also enables model merging over highly dissimilar tasks. Our code is made publicly available at https://github.com/kiddyboots216/lottery-ticket-adaptation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑