Low-Rank Adaptation Reduces Catastrophic Forgetting in Sequential Transformer Encoder Fine-Tuning: Controlled Empirical Evidence and Frozen-Backbone Representation Probes
Abstract
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.
Figures & tables
| Study | Role | Validation | Training caps | Seeds |
|---|---|---|---|---|
| BERT full FT vs. LoRA | Confirmatory | Full validation | SST-2 capped at 2,000 | 45–49 |
| RoBERTa full FT vs. LoRA | Secondary | Full validation | SST-2 capped at 2,000 | 42–44 |
| EWC baseline | Secondary | Full validation | SST-2 capped at 2,000 | 42–44 |
| 6-task LoRA extension | Secondary | Full validation | SST-2, QNLI capped at 2,000 | 42–44 |
| Rank/module/ quant. sweeps | Exploratory | validation [:200] | Screening setup | 42–44 |
| Fine-grained freezing ablation | Exploratory | Full validation | SST-2 capped at 2,000 | 42–44 |
| Method | Mean | Std | Min | Max | Reduction |
|---|---|---|---|---|---|
| Full fine-tuning | 19.9% | 4.8% | 12.1% | 25.0% | — |
| LoRA ( , qv) | 0.6% | 1.4% | 2.1% | 97.2% |
| Method | Forgetting | Final Avg. Accuracy | Reduction |
|---|---|---|---|
| Full fine-tuning | 24.2% 2.2% | 64.8% | — |
| LoRA ( , qv) | 1.7% 1.0% | 59.3% | 92.8% |
| Method | Forgetting | Final Avg. Accuracy | |
|---|---|---|---|
| BERT LoRA (confirmatory) | 5 | 0.6% 1.4% | 59.5% |
| EWC ( ) | 6 | 16.4% 1.2% | 66.2% |
| EWC ( ) | 3 | 16.2% 1.2% | 66.2% |
| EWC ( ) | 3 | 15.5% 1.4% | 67.0% |
| Setting | Avg. Forgetting | Final Avg. Accuracy | MRPC Forgetting | |
|---|---|---|---|---|
| 4-task BERT LoRA reference | 5 | 0.6% 1.4% | 59.5% | to pts |
| 6-task BERT LoRA | 3 | 5.6% 0.8% | 53.8% | 35.8–37.5 pts |
| Configuration | Frozen % | Avg. Forgetting | Trainable Params | Role |
|---|---|---|---|---|
| Freeze layers 0–9, train 10–11 | 86.5% | 14.8% | 14.8M | High-forgetting reference |
| Freeze layers 0–10, train 11 | 93.0% | 13.2% | 7.7M | High-forgetting reference |
| Freeze 0–10 + layer-11 attention | 95.1% | 5.2% | 5.3M | Marked drop |
| Freeze all 12 layers | 99.5% | 3.1% | 592K | Classifier-only baseline |
| LoRA on layer 11 only | 100.0% | 2.9% | 26K | Adapter baseline |
| LoRA on layers 10–11 | 100.0% | 2.9% | 51K | Adapter baseline |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
Catastrophic Forgetting
Catastrophic forgetting is the loss of previously learned behavior when a model adapts to new tasks or changing data.
See all 351 papers