持续学习中LoRA的动力学理论 A Dynamical Theory of LoRA in Continual Learning 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-09-30
⬇️ 6 次下载
👁️ 预览文献
💡 AI 中文简介
本文研究低秩适应(LoRA)在持续学习中的动力学机制,即低秩更新如何影响灾难性遗忘。作者在一个可解析的双任务师生模型中,推导出高维在线学习极限下宏观序参量的常微分方程组,精确刻画了任务1学习和任务2微调过程中的泛化误差。理论揭示了LoRA的两个特征效应:低秩适应减少对任务1特征的干扰,但初始化会减慢任务2的适应。基于此,作者提出一种状态依赖掩码策略,冻结携带最强任务1表征的隐藏单元,将适应限制在互补子空间,显著减少遗忘并保持可塑性。研究还表明,迁移性能随秩增加而提升,但仅到目标任务内在维度为止,之后饱和,而遗忘则随秩持续增长。结果在序列MNIST基准上得到定性验证。
领域机器学习 - 持续学习与参数高效微调
适合谁读需要一定专业背景(熟悉持续学习、LoRA和统计物理方法)
核心贡献1. 首次给出LoRA在持续学习中渐近精确的动力学刻画,推导出宏观序参量的常微分方程组,精确预测泛化误差。2. 提出状态依赖掩码策略,通过冻结关键隐藏单元显著减少遗忘,并揭示适配器秩与迁移/遗忘的定量关系。
关键数据理论预测与有限维模拟定量吻合;在序列MNIST基准上定性复现;迁移性能随秩增加至目标任务内在维度后饱和,遗忘随秩持续增长。
推荐理由如果你想知道LoRA在持续学习中为什么能缓解遗忘、又为何拖慢新任务适应,这篇理论文章给出了清晰的动力学和几何解释,还附带了实用的掩码策略。
关键词["持续学习", "低秩适应", "灾难性遗忘", "动力学理论", "师生模型", "序列MNIST"]

原文摘要

查看英文原文摘要

Despite the widespread use of Low-Rank Adaptation (LoRA), little is known about its dynamics in continual learning and the mechanisms by which low-rank updates affect catastrophic forgetting. We provide an asymptotically exact dynamical characterization of LoRA in a solvable two-task teacher-student model. In the high-dimensional online-learning limit, we derive a closed system of ordinary differential equations for a finite set of macroscopic order parameters, yielding exact expressions for the generalization errors throughout both the initial Task 1 learning phase and the subsequent LoRA fine-tuning on Task 2. The theory quantitatively matches finite-dimensional simulations and exposes two characteristic effects of LoRA: low-rank adaptation reduces interference with features learned on the first task, but its initialization slows adaptation to the second task. Building on this mechanistic picture, we analyze a state-dependent masking strategy that freezes hidden units carrying the strongest first-task representations and restricts adaptation to the complementary subspace. This structural partitioning markedly reduces forgetting, while preserving plasticity on the new task. Our framework further clarifies the role of adapter rank: transfer improves only up to the intrinsic dimensionality of the target task and saturates beyond it, while forgetting continues to grow with rank. These results provide a dynamical and geometric account of how low-rank adaptation organizes information across sequential tasks and are qualitatively reproduced on a sequential MNIST benchmark.