Flat oceans: vast convex invariance at the end of training
Lanzillotta & Hofmann in Scaling & theory
How far can parameters move while dataset outputs barely change?
Flat oceans: vast convex invariance at the end of training
Beyond infinitesimal flatness
Jacobians and curvature describe local behavior, but offer limited guidance about flatness at finite distances.
A convex region around a reference model where outputs on a chosen dataset remain within an output tolerance.
The guarantee concerns chosen samples; it does not imply equivalence on every input.
An exact split of output drift
The Jacobian is only the first-order term: the frozen model retains cross-layer interactions, while the transition term tracks departures from each activation's base tangent.
- JXw
- First-order response at the reference parameters.
- PXfrz(w)
- Cross-layer products with activation slopes frozen.
- AXtr(w)
- Residual from gate changes or activation curvature.
Build a candidate ocean in three steps
- 1
Find frozen null directions
Choose layer edits so the frozen response vanishes for every linear combination in the candidate subspace.
- 2
Test the layers together
An exact received-space test checks mixed-layer interactions; greedy construction uses polynomial-time linear algebra.
- 3
Control true-network drift
Then bound or sample the activation remainder over a radius. For ReLU, it is zero while all analysis-sample gates stay in their base pieces.
Where do one layer's invisible edits come from?
For one edited layer, Kℓ is its full frozen-response kernel; rℓ and rd,ℓ count observed feature and downstream-covector ranks. Constraints see only same-sample pairs.
- nℓ(nℓ−1+1−rℓ)
- Feature-null edits annihilate every observed input to the layer.
- rℓ(nℓ−rd,ℓ)
- Downstream-null edits send features into output-invisible directions.
- δjoint,ℓ
- Extra nullity from missing same-sample feature-downstream pairs.
An ocean is not just a symmetry orbit

Shared displacement axes and output-change scales let you compare generic (left) and ocean (middle) directions. At right, an exact curved rescaling orbit is shown with its straight tangent, which need not preserve outputs.
Large radii survive a conservative test
Their certified radii are the comparison baseline.
Separate, 95%-confidence grid certificates at output tolerance ε=10⁻³, allowing 10% failing random directions, reached parameter-space radii 0.316 for each measured MLP checkpoint and 1 for late-stage CNN checkpoints, at least 100× corresponding generic radii.
They cover random directions on the tested grid, not every direction, points between grid radii, or unseen inputs.
Cross-layer interactions dominate nonlinear terms

At layer-relative radius 10⁻², the plot compares true, frozen and activation-transition response norms for 256 matched full-network directions in width-128 MNIST MLPs across stages; bands show one standard deviation across three seeds.
Invariant subspaces persist as they grow
Hidden-layer atomic subspaces are measured at this earlier checkpoint.
From high accuracy to epoch 500, mean squared projection of earlier atomic subspaces onto later ones was 99.3–99.9% across hidden layers and seeds; their dimensions also grew.
The authors suggest accretion; how optimization produces it remains open.
Where the construction is bounded
Sample scope
The invariant set is defined on chosen samples; its definition does not guarantee the same outputs on arbitrary inputs.
Radius certificates
Empirical certificates sample directions at tested radii, so they do not cover every direction or points between grid values.
Greedy construction
The space is maximal by inclusion, not always maximum-dimensional; order can matter, and the general nonlinear layerwise maximum remains open.
Smooth exact oceans
For smooth activations, frozen and transition terms could cancel in an exact ocean, a case the sufficient construction does not classify.
Why it matters
- On a fixed dataset, trained networks can contain large convex parameter regions with barely changing outputs, well beyond local flatness.
- Use compatible layerwise edits to build a candidate ocean, then bound or test how far outputs stay within the task's tolerance.
- Measured hidden-layer invariant spaces largely persist as they grow, but why optimization produces that pattern remains open.
11 slides, 3 min
1 day ago