# Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics

평균장 어텐션 동역학을 통한 LoRA의 파국적 망각 이해

Hugo Koubbi, Louis Hernandez, Matthieu Boussard · arXiv · 2024년 2월 23일

- **연구 문제** LoRA fine-tuning이 pre-training 표현을 얼마나 교란해 망각을 일으키는지를 mean-field attention 토이 모델로 분석합니다.
- **연구 방법** 토큰을 상호작용하는 입자계로 보고 LoRA 저랭크 섭동을 값 행렬에 더한 뒤, 스펙트럼 조건과 노름·깊이에 따른 표현 드리프트 상한을 유도합니다.
- **주요 결과** 스펙트럼 조건 아래 클러스터 방향 변화가 상한으로 제한되며, 랜덤 어댑터는 노름에 따른 상전이를 보이고 깊이에 따른 분기 경향이 Qwen 3 0.6B 체크포인트 실험에서 관찰됩니다.

## LoRA fine-tuning의 망각 문제

LoRA는 큰 언어 모델의 pre-training 가중치를 고정하고 attention 투영 행렬에 저랭크 업데이트를 학습하여 fine-tuning 비용을 낮추는 방법입니다. 그러나 새로운 능력을 얻는 과정에서 이전에 학습한 능력이 저하되는 catastrophic forgetting이 남아 있습니다. 이 논문은 실제 LLM을 직접 분석하기 어렵다는 점을 출발점으로 삼아, 토큰을 상호작용하는 입자계로 보는 mean-field self-attention 토이 모델에서 LoRA 교란이 표현 기하를 어떻게 바꾸는지 다룹니다. 여기서 망각은 기반 모델의 클러스터 구성에서 벗어나는 표현 드리프트로 대리 측정됩니다.

## Post-LayerNorm 토이 모델과 스펙트럼 조건

토이 모델은 tied weight를 가진 단일 self-attention head를 사용하며, Post-LayerNorm 설정에서 토큰은 단위구면 위에서 진화합니다. LoRA는 값 행렬 V에 ΔV 저랭크 섭동을 더하는 형태로 모델링됩니다. 명제 3.3은 V의 최대 고유값 λ1이 둘째 고유값보다 크고 초기 토큰이 u1 방향과 양의 내적을 가질 때 클러스터가 u1으로 모인다는 기반 결과를 전제로 합니다. 이때 spectral gap은 gap = λ1 − λ2로 정의되며, 원문의 조건 gap + a \> 2∥b∥ + ∥E∥op 아래에서 LoRA 동역학의 클러스터 방향과 기반 방향 사이 거리가 2∥b∥+∥E∥op 나누기 gap+a의 규모로 제한됩니다.

여기서 a는 u1 성분의 교란, b와 E는 직교 보완 공간의 교란을 나타냅니다. 이 결과는 스펙트럼 조건이 만족되는 범위에서의 상한이며, 임의의 LoRA 업데이트에 대한 일반 성질이 아닙니다.

## 랜덤 어댑터 노름에 따른 상전이

Theorem 4.2는 Assumption 4.1을 따르는 독립 동일분포 가우시안 랜덤 어댑터를 가정합니다. 이 분석에서는 ΔV의 크기가 √L 규모일 때 누적 효과가 남아 확산 영역으로 넘어가는 것으로 설명됩니다. η\_L ≪ √L이면 기대 제곱 편차가 O(1/L)로 작아져 동역학이 최초 클러스터 근방에 머무르고, η\_L ≃ √L이면 spectral gap에 의존하는 확산적 편차가 생깁니다. 이는 소량 교란 ∥δ∥ ≪ 1 조건과 Assumption 4.1 아래의 결과이며, η\_L ≫ √L 영역은 이 정리의 범위 밖입니다.

## Qwen 3 0.6B 실험과 깊이 기반 분기

Qwen 3 0.6B 실험에서 perturbed loss는 가우시안 행렬 섭동의 Frobenius 노름에 따라 상전이 양상을 보입니다. 이 관찰에서 망각은 rank 4, 8, 16, 128, 256 사이에서 대체로 독립적으로 나타나며, 저자들은 이를 가우시안 분포의 회전 불변성과 연결해 해석합니다. 학습 중에서는 norm이 여전히 중요하지만 rank의 역할이 남아 있다고 보고됩니다. 깊이 측면에서는 Theorem 4.6이 클러스터링 가정 아래 작은 깊이에서 안정성을, 큰 깊이에서 분기를 구분합니다. 체크포인트 실험의 경험적 분기 깊이는 τ=0.2 조건에서 학습이 진행될수록 약 28층에서 약 16층으로 줄어듭니다.

이 수치는 해당 조건에서 보고된 평균값입니다.

![Figure 2: Evolution of the loss when adding Gaussian matrices of rank r∈ {4,8,16,128,256} with respect to the Frobenius norm of the perturbation. The perturbed…](https://refivu.com/papers/b3f94b4a-113a-4402-a109-5c6d56da953c/figures/figure-c13297c898ecf3f56e00dfec104c00b5.png?thumb=512)

**Figure 2** .Evolution of the loss when adding Gaussian matrices of rank r∈ {4,8,16,128,256} with respect to the Frobenius norm of the perturbation. The perturbed loss is measured by next-token prediction on a base dataset distinct from the fine-tuning dataset. The base model is Qwen 3 0.6B (Yang et al., 2025).

[원문](https://arxiv.org/abs/2402.15415v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hugo Koubbi, Louis Hernandez, Matthieu Boussard · Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

![Figure 3: Evolution of evaluation perplexity during LoRA training for different ranks r∈ {4,8,16,128,256} . The perturbed loss is next-token prediction on a ba…](https://refivu.com/papers/b3f94b4a-113a-4402-a109-5c6d56da953c/figures/figure-df4b0be93e2b454e6f1365afb8d0169d.png?thumb=512)

**Figure 3** .Evolution of evaluation perplexity during LoRA training for different ranks r∈ {4,8,16,128,256} . The perturbed loss is next-token prediction on a base dataset distinct from the fine- tuning dataset.

[원문](https://arxiv.org/abs/2402.15415v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hugo Koubbi, Louis Hernandez, Matthieu Boussard · Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 학습된 업데이트의 비등방성과 적용 범위

학습된 LoRA 업데이트는 Figure 4의 정렬 지표에서 무작위 기준 1.0보다 높은 정렬을 보이며, r=8과 r=32 어댑터는 상위 안정 방향에 강하게 정렬됩니다. 이는 학습된 업데이트가 등방적이지 않다는 관찰이며, 랜덤 어댑터에서 확인된 rank 독립성이 학습된 업데이트에 그대로 확장되지 않는다는 점을 논문도 밝히고 있습니다. 또한 토이 모델의 결과는 단일 head와 tied weight 가정 아래에서 얻은 것이며, 실제 LLM 전체에 대한 증명은 아닙니다.

![Figure 4: Alignment with the Stable Direction ( u1).Evolution of normalized subspace alignment during training. Values \>1.0 indicate that the LoRA update targe…](https://refivu.com/papers/b3f94b4a-113a-4402-a109-5c6d56da953c/figures/figure-d42022e1b1f66567e28d30e221d7eff3.png?thumb=512)

**Figure 4** .Alignment with the Stable Direction ( u1).Evolution of normalized subspace alignment during training. Values \>1.0 indicate that the LoRA update targets the base model’s principal feature (u1) more than a random vector would. Low-rank adapters (r= 8,32 ) show a tendency to interfere with this stable direction.

[원문](https://arxiv.org/abs/2402.15415v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Hugo Koubbi, Louis Hernandez, Matthieu Boussard · Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Hugo Koubbi, Louis Hernandez, Matthieu Boussard
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2024년 2월 23일
- **등록일**: 2026년 10월 29일
- **수정일**: 2026년 5월 13일
- **버전**: v2
- **arXiv**: 2402.15415
- **분류**: cs.LG · math.DS · stat.ML
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2402.15415v2) · [원문 PDF ↗](https://arxiv.org/pdf/2402.15415v2)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Low-Rank Adaptation (LoRA) is the dominant parameter-efficient fine-tuning method due to its favorable compute-performance trade-off, yet it suffers from catastrophic forgetting. We study forgetting through a tractable \_mean-field self-attention\_ toy model, where tokens evolve as an interacting particle system and LoRA acts as a low-rank perturbation. Using tools from partial differential equations and dynamical systems, we characterize regimes suggesting a phase transition between forgetting and non-forgetting behavior. We show that one phase transition appears with respect to the norm of the perturbation, and the other with respect to the depth of the Transformers. We further bound the time-to-deviation in terms of the perturbation size and spectral quantities, and corroborate the predicted trends with experiments and exploratory analyses on real models under LoRA fine-tuning.

## 원문 인용

Hugo Koubbi, Louis Hernandez, Matthieu Boussard (2024). Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics. arXiv:2402.15415v2. https://arxiv.org/abs/2402.15415v2

**BibTeX**

```
@misc{koubbi2024understanding,
  title = {{Understanding Catastrophic Forgetting In LoRA via Mean-Field Attention Dynamics}},
  author = {Hugo Koubbi and Louis Hernandez and Matthieu Boussard},
  year = {2024},
  eprint = {2402.15415},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.15415v2}
}
```

## 이 논문의 용어

- [LoRA](https://refivu.com/terms/84da7a415b66-low-rank-adaptation-lora)
- [catastrophic forgetting](https://refivu.com/terms/0039a430b4e3-catastrophic-forgetting)
- [Wasserstein distance](https://refivu.com/terms/240851406de5-wasserstein-distance)
- [continuity equation](https://refivu.com/terms/b30c12fa53cb-continuity-equation)
- [Neural ODE](https://refivu.com/terms/651dc406d45a-neural-ode)
- [spectral gap](https://refivu.com/terms/809cb9d73136-spectral-gap)
- [Assumption 4.1](https://refivu.com/terms/7e624a566a39-assumption-4-1)
- [Assumption 3.2](https://refivu.com/terms/5636b8e2ce14-assumption-3-2)
- [empirical measure](https://refivu.com/terms/2febeb02b5f0-empirical-measure)

## 다른 논문 해설

- [ScaLoRA: Optimally Scaled Low-Rank Adaptation for Efficient High-Rank Fine-Tuning](https://refivu.com/papers/82037ff2-0e42-448f-b53c-e90704a602f5-scalora-optimally-scaled-low-rank-adaptation-for-efficient.md)
- [Beyond Sunk Costs: Boosting LLM Pre-training Efficiency via Orthogonal Growth of Mixture-of-Experts](https://refivu.com/papers/ccd456f9-1a29-4d07-8e1b-414e7669d9b9-beyond-sunk-costs-boosting-llm-pre-training-efficiency.md)
- [Semantic Cache Distillation: Efficient State Transfer via Reuse and Selective Patching](https://refivu.com/papers/9747ef53-7d09-4ccd-90f7-14a4ff1a9822-semantic-cache-distillation-efficient-state-transfer-via.md)
- [Pursuing Overall Welfare in Federated Learning through Sequential Decision Making](https://refivu.com/papers/3b0d5014-f9d8-48f4-9090-a8666f84acef-pursuing-overall-welfare-in-federated-learning-through.md)
- [A Stronger Mixture of Low-Rank Experts for Fine-Tuning Foundation Models](https://refivu.com/papers/245bb53a-c4fb-4b3b-8c31-734e102cab61-a-stronger-mixture-of-low-rank-experts-for.md)
- [Fast and Low-Cost Genomic Foundation Models via Outlier Removal](https://refivu.com/papers/35569b6d-ccc1-4a72-8e2b-e22d85f84729-fast-and-low-cost-genomic-foundation-models-via.md)
- [PACER: Acyclic Causal Discovery from Large-Scale Interventional Data](https://refivu.com/papers/e006328f-4b31-464d-b79d-0fd4f21eb3e1-pacer-acyclic-causal-discovery-from-large-scale.md)
- [Reading the Cell, Designing the Cure: Perturbation-Conditioned Molecular Diffusion for Function-Oriented Drug Design](https://refivu.com/papers/5a2fdaa3-0f23-4c9f-a34e-f5df2eae6afd-reading-the-cell-designing-the-cure-perturbation-conditioned.md)
- [What Information Matters? Graph Out-of-Distribution Detection via Tri-Component Information Decomposition](https://refivu.com/papers/1d49c82f-0bfb-46e1-90ad-fa428f1c0ca3-what-information-matters-graph-out-of-distribution-detection.md)
- [What if Tomorrow is the World Cup Final? Counterfactual Time Series Forecasting with Textual Conditions](https://refivu.com/papers/cba0da79-ad29-4fb5-851f-756f309cffc1-what-if-tomorrow-is-the-world-cup-final.md)
- [LangPrecip: Language-Aware Multimodal Precipitation Nowcasting](https://refivu.com/papers/09b8370f-0f82-4284-8d82-7da5647812e9-langprecip-language-aware-multimodal-precipitation.md)
- [BiTrajDiff: Bidirectional Trajectory Generation with Diffusion Models for Offline Reinforcement Learning](https://refivu.com/papers/41e9dbc9-e662-471c-8cb0-f8ae125b34d5-bitrajdiff-bidirectional-trajectory-generation-with.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/b3f94b4a-113a-4402-a109-5c6d56da953c-understanding-catastrophic-forgetting-in-lora-via-mean-field)
