arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.01244cs.CLcs.AI
收藏

缓解大型语言模型在自合成排练中的灾难性遗忘

Mitigating Catastrophic Forgetting in Large Language Models with Self-Synthesized Rehearsal

School of Informatics, Xiamen University(厦门大学信息学院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Tencent AI Lab(腾讯AI实验室);Zhejiang University(浙江大学)

Jianheng Huang, Leyang Cui, Ante Wang, Chengyi Yang, Xinting Liao, Linfeng Song, Junfeng Yao, Jinsong Su

AI总结:

该研究提出自合成排练(SSR)框架,利用LLM生成合成数据以缓解持续学习中的灾难性遗忘,无需原始训练数据,实验证明其性能优越且数据高效,并保留泛化能力。

摘要:

大型语言模型(LLMs)在持续学习过程中会遭受灾难性遗忘。传统的基于排练的方法依赖于先前的训练数据来保持模型的能力,这在现实应用中可能不可行。当基于公开发布的LLM检查点进行持续学习时,原始训练数据的可用性可能不存在。为了解决这一挑战,我们提出了一个名为自合成排练(SSR)的框架,该框架利用LLM生成合成实例用于排练。具体而言,我们首先使用基础LLM进行上下文学习以生成合成实例。随后,我们利用最新的LLM根据合成输入细化实例输出,从而保留其已获得的能力。最后,我们在未来阶段选择多样且高质量的合成实例进行排练。实验结果表明,与传统的基于排练的方法相比,SSR实现了优越或相当的性能,同时更具数据效率。此外,SSR有效保留了LLM在通用领域中的泛化能力。

英文摘要:

Large language models (LLMs) suffer from catastrophic forgetting during continual learning. Conventional rehearsal-based methods rely on previous training data to retain the model's ability, which may not be feasible in real-world applications. When conducting continual learning based on a publicly-released LLM checkpoint, the availability of the original training data may be non-existent. To address this challenge, we propose a framework called Self-Synthesized Rehearsal (SSR) that uses the LLM to generate synthetic instances for rehearsal. Concretely, we first employ the base LLM for in-context learning to generate synthetic instances. Subsequently, we utilize the latest LLM to refine the instance outputs based on the synthetic inputs, preserving its acquired ability. Finally, we select diverse high-quality synthetic instances for rehearsal in future stages. Experimental results demonstrate that SSR achieves superior or comparable performance compared to conventional rehearsal-based approaches while being more data-efficient. Besides, SSR effectively preserves the generalization capabilities of LLMs in general domains.

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

↑