arXivDaily arXiv每日学术速递 周一至周五更新
​通知:联邦节假日调休:哥伦布日 / 原住民日(Columbus Day / Indigenous Peoples' Day),今日(13日)无更新。
arXiv 2504.17780cs.LG

重放以铭记:在流式语言模型中保留领域知识

Replay to Remember: Retaining Domain Knowledge in Streaming Language Models

University of Massachusetts Dartmouth(马萨诸塞大学达特茅斯分校)

Sneh Pillai

AI总结:

本文提出结合LoRA与最小重放机制的轻量方法,在医学、遗传学和法律三个领域的流式设置中缓解LLM灾难性遗忘,实验表明最小重放能显著稳定并部分恢复领域知识。

摘要:

大型语言模型(LLMs)的持续学习通常面临灾难性遗忘这一关键挑战,即先前获取的知识在接触新数据时发生退化。尽管已有诸如重放缓冲区和参数高效微调(如低秩适应或LoRA)等技术被提出,但很少有研究在严格的计算和数据流约束下探索实时领域适应。在本文中,我们展示了一种轻量级方法,将LoRA与最小重放机制相结合,在三个不同知识领域(医学问答、遗传学和法律)的现实流式设置中进行实验。利用困惑度、语义相似性和基于GPT的类人评估指标,我们量化了模型随时间的适应、遗忘和恢复情况。实验表明,尽管灾难性遗忘自然发生,但即使是最小重放也能显著稳定并部分恢复领域特定知识。本研究为在资源受限的现实场景中部署可适应LLM提供了实用见解。

英文摘要:

Continual learning in large language models (LLMs) typically encounters the critical challenge of catastrophic forgetting, where previously acquired knowledge deteriorates upon exposure to new data. While techniques like replay buffers and parameter-efficient tuning (e.g., Low-Rank Adaptation or LoRA) have been proposed, few studies investigate real-time domain adaptation under strict computational and data-stream constraints. In this paper, we demonstrate a lightweight method combining LoRA and a minimal replay mechanism in a realistic streaming setting across three diverse knowledge domains: medical question answering, genetics, and law. Using perplexity, semantic similarity, and GPT-based human-like evaluation metrics, we quantify the model's adaptation, forgetting, and recovery over time. Our experiments reveal that while catastrophic forgetting naturally occurs, even minimal replay significantly stabilizes and partially restores domain-specific knowledge. This study contributes practical insights for deploying adaptable LLMs in resource-constrained, real-world scenarios.

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

↑