# Generalization at the Edge of Stability

*Mario Tuci, Caner Korkmaz, Umut Simsekli, Tolga Birdal*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/154976) · [OpenReview](https://openreview.net/forum?id=9UYTAT1rtr) · [Open on the map](../papers.html#p154976)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Edge of Stability Dynamics](../pgroup/81.md) · Type: theory · Keywords: generalization, edge of stability, chaotic optimization, Hessian spectrum, fractal attractor

Areas: [Optimization & Algorithms](../areas/optimization.md) › Optimization Dynamics › Edge of Stability

## Summary
The paper introduces a new dimension measure based on the Hessian spectrum and its partial determinants, linking chaotic optimization at the edge of stability to improved generalization via a provable bound.

## Explained to a 5-year-old
When we teach computers to do things, we often use big steps. These big steps can make the learning process look a bit wild. Even though it looks wild, the computer sometimes gets better at learning new things. Scientists noticed this happens a lot when the steps are very large. They called this area the edge of stability.

## Explained to a 5-year-old, longer
When we teach computers to do things, we often use big steps. These big steps can make the learning process look a bit wild. Even though it looks wild, the computer sometimes gets better at learning new things. Scientists noticed this happens a lot when the steps are very large. They called this area the edge of stability. In this work, they studied what happens inside the wild learning. They found that the learning behaves like a random dance that settles into a pattern. This pattern has less complexity than a single point. They measured how complex this pattern is using ideas from math. They linked this complexity to how well the computer will do on new tasks. Their experiments showed the theory works for many kinds of computer models. This gives us a new way to understand why large steps can be helpful.

## For a technical reader
The paper investigates why large learning rates during training can improve model performance. It models stochastic optimizers as random dynamical systems that converge to fractal attractor sets with reduced intrinsic dimension. By analyzing the Hessian spectrum and its partial determinants, the authors derive a new dimension measure that bounds generalization error. Experiments on MLPs and transformers confirm the theoretical predictions and shed light on the grokking phenomenon. This provides a principled way to assess model complexity beyond simple trace or spectral norm metrics.

## Problem
Understanding why large learning rates at the edge of stability improve generalization and what underlying mechanism drives this improvement remains unclear.

## Method
We model stochastic optimizers as random dynamical systems that converge to fractal attractor sets with reduced intrinsic dimension. Using insights from Lyapunov dimension theory, we define a dimension measure derived from the Hessian spectrum and its partial determinants and prove a corresponding generalization bound.

## Results
Experiments on MLPs and transformers confirm the theoretical bound and provide new insights into the grokking phenomenon.

## Contributions
We connect chaotic optimization to fractal attractor sets, introduce a dimension measure based on the Hessian spectrum and its partial determinants, and prove a generalization bound that captures this complexity.

## Research questions this paper is counted under

- [What determines the stability and generalization of optimization algorithms at large learning rates?](../q/190.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/154976)
