# Mirror, Mirror of the Flow: How Does Regularization Shape Implicit Bias?

흐름의 거울, 거울이여: 정규화는 암묵적 편향을 어떻게 형성하는가?

Tom Jacobs, Chao Zhou, Rebekka Burkholz · arXiv · 2025년 4월 17일

- **연구 문제** 명시적 정규화가 mirror flow 기반 암묵적 편향의 위치, 유형, 범위를 어떻게 바꾸는지 분석합니다.
- **연구 방법** 정규화 강도를 시간에 따라 바꾸는 시간 의존 Legendre 함수를 도입하고, weight decay를 특정 시점 이후 끄는 방식으로 과거 정규화의 누적 효과를 활용합니다.
- **주요 결과** 행렬 센싱 실험에서 정규화를 끈 설정은 희소 ground truth 복원에 더 가까운 해를 보였고, LoRA와 어텐션 실험에서는 노름 비율과 검증 정확도 변화가 관찰되었습니다.

## 명시적 정규화와 암묵적 편향의 상호작용 문제

과매개변수화된 모델은 여러 전역 최소점 가운데 특정 해로 수렴하며, 이를 암묵적 편향이라고 부릅니다. 한편 weight decay와 같은 명시적 정규화는 목적함수에 페널티 항을 더해 과적합을 억제합니다. 두 개념은 따로 연구되어 왔지만 실제 학습에서는 함께 작용하므로, 명시적 정규화가 암묵적 편향의 형태와 강도를 어떻게 바꾸는지 이해할 필요가 있습니다. 원문은 이 상호작용을 mirror flow 프레임워크 안에서 분석합니다. 기존 mirror flow 분석에서는 암묵적 편향의 강도가 매개변수화에 의해 고정된다고 보았지만, 본 연구는 정규화 강도 αt를 시간에 따라 바꿀 수 있도록 확장합니다.

## 시간 의존 Legendre 함수로 본 정규화의 누적 효과

논문은 재매개변수화 x = g(w)와 명시적 정규화 h(w)를 함께 두고, 강도 αt가 포함된 기울기 흐름을 분석합니다. 이 흐름에 대응하는 시간 의존 Legendre 함수 Ra는 at = −∫0^t αs ds로 정의되며, Ra는 초기값 winit, 재매개변수화 g, 정규화 h에만 의존하고 손실 f와는 독립적입니다. 따라서 과거에 적용한 정규화의 효과가 Ra에 저장됩니다. 이 설정은 g와 h가 정규적이고 commuting해야 하며, Corollary 3.12에서는 분리 가능한 재매개변수화에서 hi,j = ci,j gi,j인 경우에 정리가 적용된다고 제시됩니다. 이 조건은 원문에서 정의된 분석 범위이며 모든 재매개변수화에 대한 일반 결론으로 읽으면 안 됩니다.

## 위치 이동, 유형 변화, 범위 축소

저자들은 정규화의 영향을 세 가지 효과로 정리합니다. 첫째, 유형 변화는 Legendre 함수의 형태가 바뀌어 암묵적 편향이 L2에서 L1 쪽으로 이동하는 것을 뜻합니다. 둘째, 위치 이동은 Legendre 함수의 전역 최소점이 초기화에서 0 방향으로 움직이는 것을 뜻합니다. 셋째, 범위 축소는 ∇Ra가 취할 수 있는 값의 범위가 줄어드는 것을 뜻합니다. 이차 재매개변수화 m ⊙ w에서는 hyperbolic entropy 기반의 시간 의존 Bregman 함수가 a에 따라 L2와 L1 사이를 조절하며, 작은 a는 최소점을 0 근처로 옮깁니다. 이 세 효과는 Figure 1의 개념 설명으로도 제시되지만, 실제 검증은 특정 재매개변수화와 실험 조건에서 이루어졌습니다.

## 정규화 종료 후의 수렴과 최적성

정규화를 끄면 과거 정규화의 효과가 남는다는 주장은 수렴 정리로 뒷받침됩니다. Theorem 3.10은 αt ≥ 0이며 t ≥ T에서 αt = 0인 조건, 그리고 Ra가 \[b, 0\] 구간에서 contracting Bregman 함수인 조건에서 f가 quasi-convex이면 xt가 기울기 조건을 만족하는 점 x\*로 수렴한다고 말합니다. f가 convex이면 x\*는 도메인 안의 최소점입니다. Theorem 3.11은 xt가 수렴하고 Zx∞ = Y를 만족할 때, 기울기 흐름이 변경된 정규화자 RaT를 최소화하는 해를 찾는다고 제시합니다. 이 결과는 underdetermined linear regression 설정에서의 최적성이며, 수렴과 최적성 모두 원문에 적힌 가정 아래에서만 성립합니다.

## 행렬 센싱에서 weight decay 종료의 효과

행렬 센싱 실험은 희소 ground truth X\*를 X = UU^T로 재매개변수화하고 U0U0^T = βI로 초기화하여 수행됩니다. weight decay를 T = 625 시점에 끄는 설정은 정규화를 계속 유지한 설정보다 ground truth 복원 오차가 낮은 해를 보고합니다. 원문은 이 결과를 정규화가 기하 구조에 저장되어 있기 때문이라고 해석합니다. 같은 Figure 3 캡션은 turn-off 시점을 T = 675로 적고 있어 본문의 T = 625와 다르므로, 시점 값은 본문과 캡션을 함께 확인해야 합니다. 선형 재매개변수화와 L1 정규화의 경우에는 switch-off 후 최소 L2 노름 해에 가까워진다고 원문은 보고합니다.

![Figure 5: Train and reconstruction error for the matrix sensing experiment for quadratic parameterizations. Observe that both the training and reconstruction e…](https://refivu.com/papers/77ccf2a0-8669-4016-9919-017506bb62ec/figures/figure-d05d1d769068b226432dc717a5e6c74a.png?thumb=512)

**Figure 5** . Train and reconstruction error for the matrix sensing experiment for quadratic parameterizations. Observe that both the training and reconstruction error decrease when the weight decay is turned off recovering the sparse ground truth.

[원문](https://arxiv.org/abs/2504.12883v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tom Jacobs, Chao Zhou, Rebekka Burkholz · Mirror, Mirror of the Flow: How Does Regularization Shape Implicit Bias? · 원문 그림 인용 · 원본 PDF 20쪽에서 그림 영역을 추출했습니다.

![Figure 7: Training and reconstruction error for α = 0.02 and turn-off. We recover the sparse ground truth by turning weight decay off for matrix sensing](https://refivu.com/papers/77ccf2a0-8669-4016-9919-017506bb62ec/figures/figure-d6cfb6ced5f2f602f6bbf865c2195d75.png?thumb=512)

**Figure 7** . Training and reconstruction error for α = 0.02 and turn-off. We recover the sparse ground truth by turning weight decay off for matrix sensing.

[원문](https://arxiv.org/abs/2504.12883v2) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Tom Jacobs, Chao Zhou, Rebekka Burkholz · Mirror, Mirror of the Flow: How Does Regularization Shape Implicit Bias? · 원문 그림 인용 · 원본 PDF 21쪽에서 그림 영역을 추출했습니다.

## LoRA와 어텐션의 노름 비율 추적

LoRA 실험은 GPT-2를 tiny\_shakespeare 데이터셋으로 미세조정하며 500 iterations 동안 학습하고, iteration 200에서 weight decay를 끕니다. 어텐션 실험은 사전학습된 ViT를 ImageNet으로 300 epochs 미세조정하며 epoch 150에서 끕니다. 두 실험에서 측정 대상은 LoRA의 곱 X = AB와 어텐션의 X = QK^T에 대해 계산한 nuclear norm과 Frobenius norm의 비율입니다. 원문은 weight decay를 높이면 비율이 낮아져 L2에서 L1 쪽 편향으로 이동한다고 보고하며, 끈 뒤에는 상수 weight decay 궤적과 비율이 교차하는 구간이 생긴다고 설명합니다.

이 구간이 검증 정확도 개선과 연결된다는 해석은 저자의 해석입니다.

## 적용 범위와 한계

Theorem 3.6은 깊이가 2를 넘는 재매개변수화와 weight decay의 조합에는 적용되지 않는다고 원문에 명시되어 있습니다. 원문은 u^k 형태의 깊은 재매개변수화 g(w) = Π wi가 h(w) = Σ wi^2와 commute하지 않음을 보입니다. 따라서 깊은 재매개변수화에서 관찰된 유형 변화와 범위 축소는 실험적으로 확인된 현상일 뿐 이 정리의 결론은 아닙니다. 또한 어텐션 분석은 값 행렬 V가 학습되지 않고 활성화 함수가 손실에 포함된다는 가정, LoRA 분석은 정렬 성질의 가정이 필요합니다. 이 가정들은 실험이 엄밀히 충족하지 않는 상황에서도 효과가 나타난다는 관찰과 구분해야 합니다.

## 논문 정보

- **저자**: Tom Jacobs, Chao Zhou, Rebekka Burkholz
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2025년 4월 17일
- **등록일**: 2026년 10월 30일
- **수정일**: 2025년 8월 22일
- **버전**: v2
- **arXiv**: 2504.12883
- **분류**: cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

Implicit bias plays an important role in explaining how overparameterized models generalize well. Explicit regularization like weight decay is often employed in addition to prevent overfitting. While both concepts have been studied separately, in practice, they often act in tandem. Understanding their interplay is key to controlling the shape and strength of implicit bias, as it can be modified by explicit regularization. To this end, we incorporate explicit regularization into the mirror flow framework and analyze its lasting effects on the geometry of the training dynamics, covering three distinct effects: positional bias, type of bias, and range shrinking. Our analytical approach encompasses a broad class of problems, including sparse coding, matrix sensing, single-layer attention, and LoRA, for which we demonstrate the utility of our insights. To exploit the lasting effect of regularization and highlight the potential benefit of dynamic weight decay schedules, we propose to switch off weight decay during training, which can improve generalization, as we demonstrate in experiments.

## 원문 인용

Tom Jacobs, Chao Zhou, Rebekka Burkholz (2025). Mirror, Mirror of the Flow: How Does Regularization Shape Implicit Bias?. arXiv:2504.12883v2. https://arxiv.org/abs/2504.12883v2

**BibTeX**

```
@misc{jacobs2025mirror,
  title = {{Mirror, Mirror of the Flow: How Does Regularization Shape Implicit Bias?}},
  author = {Tom Jacobs and Chao Zhou and Rebekka Burkholz},
  year = {2025},
  eprint = {2504.12883},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.12883v2}
}
```

## 이 논문의 용어

- [LoRA](https://refivu.com/terms/84da7a415b66-low-rank-adaptation-lora)
- [Imagenet](https://refivu.com/terms/5eadad128667-imagenet)
- [CIFAR10](https://refivu.com/terms/19bd6ffb1901-cifar10)
- [weight decay](https://refivu.com/terms/893a4733693a-weight-decay)
- [ViT](https://refivu.com/terms/c041b72c53b8-vit)
- [Bregman divergence](https://refivu.com/terms/901f7d5a921d-bregman-divergence)
- [Hadamard product](https://refivu.com/terms/f2bf6fe21cdb-hadamard-product)
- [reconstruction error](https://refivu.com/terms/becbd6e37730-reconstruction-error)
- [gradient flow](https://refivu.com/terms/375d1f97d8a6-gradient-flow)
- [validation accuracy](https://refivu.com/terms/2883cfa87701-validation-accuracy)
- [Lie bracket](https://refivu.com/terms/cf17a5739883-lie-bracket)
- [explicit regularization](https://refivu.com/terms/4cd4439cb15d-explicit-regularization)
- [implicit bias](https://refivu.com/terms/acdab83b2664-implicit-bias)
- [nuclear norm](https://refivu.com/terms/5c795789dd96-nuclear-norm)

## 다른 논문 해설

- [Making Hard Problems Easier with Custom Data Distributions and Loss Regularization: A Case Study in Modular Arithmetic](https://refivu.com/papers/3f87239f-196c-4cf7-ad33-c79663a9d9c4-making-hard-problems-easier-with-custom-data-distributions.md)
- [Understanding and Improving Length Generalization in Recurrent Models](https://refivu.com/papers/f9cd6a9a-de1d-4e94-a91d-e03ad7e1036c-understanding-and-improving-length-generalization-in.md)
- [Improving Multi-Class Calibration through Normalization-Aware Isotonic Techniques](https://refivu.com/papers/b6c283c7-33a6-4837-bc33-2a99b929d4c9-improving-multi-class-calibration-through-normalization.md)
- [Dichotomy of Feature Learning and Unlearning: Fast-Slow Analysis on Neural Networks with Stochastic Gradient Descent](https://refivu.com/papers/d22616f1-d062-41c9-96ea-b861b94b978c-dichotomy-of-feature-learning-and-unlearning-fast-slow.md)
- [All ERMs Can Fail in Stochastic Convex Optimization Lower Bounds in Linear Dimension](https://refivu.com/papers/611959d0-945b-4f84-8df3-5f73eeb4b0d9-all-erms-can-fail-in-stochastic-convex-optimization.md)
- [Armijo Line-search Can Make (Stochastic) Gradient Descent Provably Faster](https://refivu.com/papers/2d604ce5-f2ec-49fe-88c5-5d0fd711c821-armijo-line-search-can-make-stochastic-gradient-descent.md)
- [Energy-Based Flow Matching for Generating 3D Molecular Structure](https://refivu.com/papers/0c5ea30e-e1dd-4afa-b058-77baea5ad8b4-energy-based-flow-matching-for-generating-3d-molecular.md)
- [Diagonal Symmetrization of Neural Network Solvers for the Many-Electron Schrödinger Equation](https://refivu.com/papers/dc323c3a-1543-4d1b-af35-f33e841e1b65-diagonal-symmetrization-of-neural-network-solvers-for-the.md)
- [Learning to (Learn at Test Time): RNNs with Expressive Hidden States](https://refivu.com/papers/6a02f8bd-d757-4f00-9d97-6829bf6db29f-learning-to-learn-at-test-time-rnns-with.md)
- [Pareto-frontier Entropy Search with Variational Lower Bound Maximization](https://refivu.com/papers/4a68478a-a524-4679-9764-cc925c4b9ca0-pareto-frontier-entropy-search-with-variational-lower-bound.md)
- [PAK-UCB Contextual Bandit: An Online Learning Approach to Prompt-Aware Selection of Generative Models and LLMs](https://refivu.com/papers/513a246a-acb4-4fe6-a126-225b5f22a8c9-pak-ucb-contextual-bandit-an-online-learning-approach.md)
- [Towards a General Time Series Forecasting Model with Unified Representation and Adaptive Transfer](https://refivu.com/papers/7876f6d2-a5fe-4260-be88-ef1b85fea412-towards-a-general-time-series-forecasting-model-with.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/77ccf2a0-8669-4016-9919-017506bb62ec-mirror-mirror-of-the-flow-how-does-regularization)
