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

低秩适应减少序列Transformer编码器微调中的灾难性遗忘:受控经验证据和冻结背骨表征探针

Low-Rank Adaptation Reduces Catastrophic Forgetting in Sequential Transformer Encoder Fine-Tuning: Controlled Empirical Evidence and Frozen-Backbone Representation Probes

Ashish Pandey

AI总结:

本研究通过受控实验发现,低秩适应(LoRA)在序列Transformer编码器微调中显著降低灾难性遗忘,且冻结背骨机制能维持任务间相似性,验证了LoRA在持续学习中的有效性。

摘要:

预训练语言编码器的序列微调常会覆盖先前获得的能力,但参数高效更新的遗忘行为仍缺乏深入研究。本文通过受控实验证实,低秩适应(LoRA)在序列Transformer编码器微调中显著减少遗忘,且冻结背骨机制能维持任务间相似性。在五个完整的BERT-base重跑任务(RTE→MRPC→CoLA→SST-2序列)中,全微调导致19.9%±4.8%的平均遗忘,而标准LoRA(r=8,查询/值模块)仅导致0.6%±1.4%的遗忘(配对t检验,p=0.002,Cohen's d_s=3.12)。任务层面分析证实这种减少并非仅是聚合效应。RoBERTa-base的二次实验显示相同模式,且最强的EWC基线仍为15.5%±1.4%的遗忘。六任务扩展揭示低平均遗忘可能隐藏强任务层面异质性。细粒度冻结消融显示,当冻结参数超过约95%时遗忘显著下降,分类器-only和浅层适配基线接近LoRA。GPT-2和RoBERTa中的伴随任务相似性探针显示相同方向故事:冻结背骨阶段保持更高的任务间相似性,逐渐解冻削弱稳定性,而全微调在最终Transformer层表现出最明显的分歧。这些结果支持受限的机械解释:LoRA帮助较大是因为背骨冻结保留了更稳定的共享特征框架。我们将标准LoRA定位为序列编码器适应的强大经验基线,并作为研究选择性可塑性如何塑造Transformer持续学习干扰的有用探针。

英文摘要:

Sequential fine-tuning of pretrained language encoders often overwrites previously acquired capabilities, but the forgetting behavior of parameter-efficient updates remains under-characterized. We present a controlled empirical study of Low-Rank Adaptation (LoRA) in sequential transformer encoder fine-tuning with companion representation probes that test a frozen-backbone explanation of its robustness. In five full-validation BERT-base reruns on an RTE->MRPC->CoLA->SST-2 sequence, full fine-tuning yields 19.9%+/-4.8% average forgetting, whereas standard LoRA (r=8, query/value modules) yields 0.6%+/-1.4% (paired t-test, p=0.002, Cohen's d_s=3.12). Task-level analyses confirm this reduction is not merely an aggregate effect. Secondary experiments on RoBERTa-base show the same pattern, and the strongest EWC baseline remains at 15.5%+/-1.4% forgetting. A six-task extension reveals that low average forgetting can hide strong task-level heterogeneity. Fine-grained freezing ablations show a marked forgetting drop once frozen parameters exceed roughly 95%, with classifier-only and shallow-adapter baselines approaching LoRA. Companion task-similarity probes in GPT-2 and RoBERTa show the same directional story: frozen-backbone regimes preserve higher inter-task similarity than full fine-tuning, gradual unfreezing weakens stability, and full fine-tuning exhibits its clearest divergence at the final transformer layer. These results support a restrained mechanistic interpretation: LoRA helps largely because backbone freezing preserves a more stable shared feature scaffold. We position standard LoRA as both a strong empirical baseline for sequential encoder adaptation and a useful probe of how selective plasticity shapes interference in transformer continual learning.

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

↑