# Does LLM Pre-Training Typically Occur at the Edge of Stability?

LLM pre-training은 일반적으로 안정성 경계(edge of stability)에서 이루어지는가?

Yuhang Cai, Haodong Wen, Haofeng Huang, Deyi Liu, Yiyuan Ma, Kaifeng Lyu · arXiv · 2026년 10월 27일

- **연구 문제** 이차 근사는 신경망 학습을 분석하는 흔한 틀이지만, full-batch 경사 하강의 EoS처럼 고전적 안정성 예측과 어긋나는 현상이 보고되어 왔습니다.
- **연구 방법** 논문은 확률적 이차 모델에서 음의 곡률에 의한 발산과 양의 곡률의 임계 학습률을 분리하고, 미니배치 Hessian-vector 곱으로 최소 고유값을 추정한 뒤 보상된 국소 시뮬레이션으로 EoS 경계를 검출합니다.
- **주요 결과** LLM pre-training 실험에서 EoC는 항상 관찰되었고 EoS는 널리 나타났지만 보편적이지 않았습니다. EoS는 학습률이 충분히 작거나 배치 크기가 임계값 아래일 때 사라졌습니다.

## 이차 근사가 학습 동역학을 설명하지 못하는 지점

이차 근사는 현재 가중치 주변의 Taylor 전개로 손실을 모델링하며, 최대 Hessian 고유값이 2/η보다 작을 때 경사 하강이 안정적이라는 고전적 예측을 제공합니다. 그러나 full-batch 경사 하강에서 Cohen et al. (2021)이 보고한 Edge of Stability(EoS)는 최대 Hessian 고유값이 2/η 근처에 머무는 현상으로, 이 고전적 예측과 어긋납니다. 이 논문은 이 불일치를 LLM pre-training에서 다시 검토하며, 확률적 학습과 적응형 최적화기에서 이차 근사가 어떤 방식으로 실패하는지를 구분합니다. 저자들은 음의 곡률에 의해 학습률과 무관하게 이차 동역학이 발산하는 실패 모드를 Edge of Convexity(EoC)로 명명합니다.

## 음의 곡률과 양의 곡률 불안정성의 분리

확률적 이차 모델에서 population 곡률 A에 음의 고유값이 있으면, 평균 오차가 학습률과 무관하게 (1+η\|λmin(A)\|)^t로 커지므로 두 번째 모멘트도 발산합니다. 이것이 학습률 독립적인 첫 번째 실패 모드입니다. 두 번째 실패 모드는 양의 곡률 부분공간으로 사영한 뒤 평균제곱 안정성으로 정의되는 임계 학습률 η⋆에서 나타납니다. 확률적 설정에서는 η⋆가 λmax만으로 결정되지 않으며, 두 번째 모멘트 연산자 E\[M⊗M\]의 공분산 항이 임계값을 2/λmax에서 옮길 수 있습니다. 이 구분은 적응형 최적화기에서도 유효 곡률과 감쇠를 포함한 A로 확장됩니다.

## 미니배치 곡률 추정과 보상된 국소 시뮬레이션

음의 곡률을 측정하기 위해 논문은 미니배치 Hessian-vector 곱만 사용하는 확률적 거듭제곱 반복과 이분법을 제안합니다. 미니배치 Lanczos 추정치는 Jensen 부등식에 의해 population 최소 고유값보다 낮게 편향되므로, 확률적 거듭제곱 반복은 배치마다 새로 샘플링한 곡률로 λmin(A)를 추정합니다. EoS 검출에서는 추정된 λmin으로부터 보상 계수 λP=max{0,−λmin}을 정하고, 그 페널티를 더한 국소 모델에서 여러 학습률 배율 궤적을 같은 배치 순서로 시뮬레이션합니다. 발산 경계의 임계 배율 q가 1에 가까우면 EoS로 판정하며, 보상 계수 추정만으로 양의 정부호성이 보장되지는 않는다는 조건이 이론 가정으로 붙습니다.

![Figure 6: Mini-batch Lanczos estimates are stable for the top eigenpair but unstable for the bottom eigenpair. We run Lanczos on ten independently sampled min…](https://refivu.com/papers/3bdef5dd-25ea-43ea-abe5-15c86fcb7175/figures/figure-d919caba41f51306a8e3c55b9d46c34f.png?thumb=512)

**Figure 6** : Mini-batch Lanczos estimates are stable for the top eigenpair but unstable for the bottom eigenpair. We run Lanczos on ten independently sampled mini-batches at the same checkpoint for the Adam-preconditioned Hessian. The maximum eigenvectors have high pairwise absolute cosine and similar eigenvalues across batches. In contrast, the minimum eigenvectors are nearly orthogonal across batches and the corresponding λmin values vary substantially, showing that per-batch Lanczos estimates are dominated by batch-specific negative-curvature directions.

[원문](https://arxiv.org/abs/2610.36778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yuhang Cai, Haodong Wen, Haofeng Huang, Deyi Liu, Yiyuan Ma, Kaifeng Lyu · Does LLM Pre-Training Typically Occur at the Edge of Stability? · 원문 그림 인용 · 원본 PDF 19쪽에서 그림 영역을 추출했습니다.

## LLM pre-training에서 EoC와 EoS의 관찰

논문은 43M부터 787M까지의 GPT 계열 모델을 FineWeb 데이터, AdamW, WSD 학습률 스케줄로 사전학습하며 3,000개 이상의 체크포인트와 100개 이상의 실행에서 두 현상을 평가했다고 보고합니다. 이 실험에서 EoC는 항상 관찰되었고, EoS도 널리 나타났지만 보편적이지는 않았습니다. EoS는 학습률이 충분히 작아지거나 배치 크기가 임계값 아래로 떨어질 때 사라졌으며, 큰 학습률 감쇠 뒤에는 학습이 EoS에 돌아오지 않는 경우도 보고됩니다. 배치 크기 실험에서는 다섯 데이터셋에서 EoS 배치 크기(EBZ)와 임계 배치 크기(CBZ)가 양의 상관을 보였고 Pearson 상관계수는 0.95로 보고됩니다.

이 결과는 GPT-extra-small 중심의 배치 크기 실험과 전체 pre-training 실행의 관찰을 구분해 읽어야 합니다.

![Figure 2: EoS and EoC appear across model sizes.At most checkpoints, the bottom heatmaps show a sharp transition from bounded displacement to explosion near LR…](https://refivu.com/papers/3bdef5dd-25ea-43ea-abe5-15c86fcb7175/figures/figure-a8937b6b56375aeaebbaee9c2a7ea351.png?thumb=512)

**Figure 2** :EoS and EoC appear across model sizes.At most checkpoints, the bottom heatmaps show a sharp transition from bounded displacement to explosion near LR factor 1.0, indicating that the training LR is at the critical threshold of EoS. In the middle row,−λmin has a smaller magnitude than λmax, corresponding to saddleness below the 0.1 reference line in the top plots and consistent with EoC. Each heatmap column is a checkpoint, and the vertical axis gives the simulated LR divided by the training LR. See Section 6.2 for the results and Appendix B.1 for training and detection settings.

[원문](https://arxiv.org/abs/2610.36778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yuhang Cai, Haodong Wen, Haofeng Huang, Deyi Liu, Yiyuan Ma, Kaifeng Lyu · Does LLM Pre-Training Typically Occur at the Edge of Stability? · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

![Table 1: Model architectures used in our experiments](https://refivu.com/papers/3bdef5dd-25ea-43ea-abe5-15c86fcb7175/figures/figure-bde6ff8215fa3cf630580cd73ba7b448.png?thumb=512)

**Table 1** : Model architectures used in our experiments.

[원문](https://arxiv.org/abs/2610.36778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yuhang Cai, Haodong Wen, Haofeng Huang, Deyi Liu, Yiyuan Ma, Kaifeng Lyu · Does LLM Pre-Training Typically Occur at the Edge of Stability? · 원문 그림 인용 · 원본 PDF 24쪽에서 그림 영역을 추출했습니다.

## 적용 범위와 남은 한계

이 결과는 논문이 실험한 GPT 계열 모델, FineWeb 등 특정 데이터셋, AdamW와 WSD 스케줄 조건에서 얻은 것입니다. 논문은 SGD와 AdamW를 주로 다루며 다른 최적화기로의 확장은 향후 과제로 남겼다고 밝힙니다. 이론 분석은 보상된 국소 모델에서 A+λPI가 양의 정부호이고 배치가 독립 동일분포라는 가정을 요구하며, 추정된 보상 계수만으로 이 조건이 검증되지는 않습니다. 또한 이 시뮬레이션은 짧은 수평의 단일 궤적 진단에 기반하므로 이론적 기대 검출기와 완전히 같은 대상이 아닙니다.

![Figure 17: Summary of a representative training run.We show training dynamics for GPT-extra- small trained on FineWeb-10B using AdamW with LR 0.004, weight dec…](https://refivu.com/papers/3bdef5dd-25ea-43ea-abe5-15c86fcb7175/figures/figure-dea1a3a67f0734cc0b16a856126e696b.png?thumb=512)

**Figure 17** :Summary of a representative training run.We show training dynamics for GPT-extra- small trained on FineWeb-10B using AdamW with LR 0.004, weight decay 0.1, and the WSD LR schedule.

[원문](https://arxiv.org/abs/2610.36778v1) · [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) · Yuhang Cai, Haodong Wen, Haofeng Huang, Deyi Liu, Yiyuan Ma, Kaifeng Lyu · Does LLM Pre-Training Typically Occur at the Edge of Stability? · 원문 그림 인용 · 원본 PDF 34쪽에서 그림 영역을 추출했습니다.

## 논문 정보

- **저자**: Yuhang Cai, Haodong Wen, Haofeng Huang, Deyi Liu, Yiyuan Ma, Kaifeng Lyu
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 10월 27일
- **등록일**: 2026년 11월 1일
- **수정일**: 2026년 10월 27일
- **버전**: v1
- **arXiv**: 2610.36778
- **분류**: cs.LG
- **원문 이용 조건**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

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

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

## 초록

Quadratic approximations provide a common lens for studying neural network optimization, but recent evidence challenges their predictive validity. In full-batch gradient descent with learning rate (LR) $η$, Cohen et al. (2021) observed the Edge of Stability (EoS), where the largest Hessian eigenvalue concentrates near $2/η$, seemingly at odds with classical stability conditions predicted by quadratic approximations. In this work, we revisit the fidelity of quadratic approximations as a model of neural network training dynamics, with a particular focus on their failure modes in LLM training. We first highlight a distinct failure mode of the quadratic approximation, where persistent negative curvature causes the quadratic dynamics to diverge regardless of the LR, even though the real dynamics remain stable. We term this phenomenon the Edge of Convexity (EoC). After removing the effect of this LR-independent instability, we then propose a generalized definition of Edge of Stability (EoS) for stochastic training with adaptive optimizers, based on whether increasing the LR induces significant divergence in the quadratic dynamics while leaving the real dynamics largely unchanged. Across different LLM pretraining runs with various model sizes up to 787M, we find that (1) EoC is always observed across LLM pretraining, and (2) EoS is also prevalent but not universal: it disappears when the LR becomes sufficiently small (e.g., after decay) or when the batch size falls below a critical threshold that has a positive correlation with the critical batch size. Together, these findings characterize when and how quadratic approximations fail and provide a foundation for future work on understanding training dynamics.

## 원문 인용

Yuhang Cai, Haodong Wen, Haofeng Huang, Deyi Liu, Yiyuan Ma, Kaifeng Lyu (2026). Does LLM Pre-Training Typically Occur at the Edge of Stability?. arXiv:2610.36778v1. https://arxiv.org/abs/2610.36778v1

**BibTeX**

```
@misc{cai2026does,
  title = {{Does LLM Pre-Training Typically Occur at the Edge of Stability?}},
  author = {Yuhang Cai and Haodong Wen and Haofeng Huang and Deyi Liu and Yiyuan Ma and Kaifeng Lyu},
  year = {2026},
  eprint = {2610.36778},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2610.36778v1}
}
```

## 이 논문의 용어

- [AdamW](https://refivu.com/terms/3228299bf379-adamw)
- [FineWeb](https://refivu.com/terms/0127c93cbae4-fineweb)
- [edge of stability](https://refivu.com/terms/bc8206450e4e-edge-of-stability)
- [critical batch size](https://refivu.com/terms/89a327430471-critical-batch-size)
- [preconditioner](https://refivu.com/terms/fef4e44aeaf7-preconditioner)
- [adaptive gradient methods](https://refivu.com/terms/c08f4bffcb82-adaptive-gradient-methods)
- [Mean-Square Stability](https://refivu.com/terms/dcf58d7105cd-mean-square-stability)

## 다른 논문 해설

- [Do We Need an LLM to Know Why Sources Conflict? Decision Models for Knowledge-Conflict Typing in RAG](https://refivu.com/papers/bc8c66ac-7198-48c3-981e-48e9519fd03c-do-we-need-an-llm-to-know-why.md)
- [LLM knowledge for improved Out-of-Distribution Tabular Prediction - A Cross-Validated Regularisation Approach](https://refivu.com/papers/8091b095-825b-455d-8191-b6b34cfb2d10-llm-knowledge-for-improved-out-of-distribution-tabular.md)
- [Generation, Not Selection: LLM Proposals for Certified Access-Control Policy Mining](https://refivu.com/papers/ac257cfc-249c-4ac9-822b-f8f9fc63985a-generation-not-selection-llm-proposals-for-certified-access.md)
- [Clearing the FoG: Training KG Agents to Retrieve the Evidence Behind Their Answers](https://refivu.com/papers/f0d34373-e00b-43e3-b12a-389360a30556-clearing-the-fog-training-kg-agents-to-retrieve.md)
- [Prompt Lottery in LLM-as-a-Judge: Measuring and Mitigating Sensitivity to Syntactic Rephrasing](https://refivu.com/papers/d8d3ca24-9567-477f-8fea-b9b11fb338aa-prompt-lottery-in-llm-as-a-judge-measuring.md)
- [Evaluating Causal Reasoning in LLMs: A Case Study in the Challenges of Procedural Generation](https://refivu.com/papers/44f8c516-c47c-471f-9556-bea76fa1ad9e-evaluating-causal-reasoning-in-llms-a-case-study.md)
- [Proposing Better Rollouts for On-Policy Distillation](https://refivu.com/papers/fabcc93b-b034-4e58-a2ad-98455e527f63-proposing-better-rollouts-for-on-policy-distillation.md)
- [Efficient Quantization Training with Stochastic Rounding via Structured Subspace Randomness](https://refivu.com/papers/dd1ff416-5a97-4796-abca-ffb646fab63f-efficient-quantization-training-with-stochastic-rounding-via.md)
- [CASEL: Consequence-Aware Selective Execution for Reliable Long-Horizon Tool-Using Agents](https://refivu.com/papers/f4fa59b0-5b55-4c7e-820d-3967901b7969-casel-consequence-aware-selective-execution-for-reliable.md)
- [Identity or Evidence? Auditing Evidence Dependence in Agentic Life-Science Benchmarks](https://refivu.com/papers/692f40ea-7124-41e5-834a-8c5d6466cf20-identity-or-evidence-auditing-evidence-dependence-in-agentic.md)
- [Causal Localization of Evidence Effects in Transformers](https://refivu.com/papers/f96b5a12-0c53-49d2-8d6f-292224474229-causal-localization-of-evidence-effects-in-transformers.md)
- [Forget the Data, Keep the Capability: Switchable Unlearning for Retrieval](https://refivu.com/papers/9888943b-1ac0-4684-9f27-2cb66c2bf5f6-forget-the-data-keep-the-capability-switchable-unlearning.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/3bdef5dd-25ea-43ea-abe5-15c86fcb7175-does-llm-pre-training-typically-occur-at-the)
