# Flat oceans: vast convex invariance at the end of training

> Lanzillotta and Hofmann construct large convex regions in parameter space where network outputs on a chosen dataset barely change. In a width-64 MNIST ReLU example, the measured median radius along invariant-subspace directions was about 300 times the generic-direction median.

- arXiv: https://arxiv.org/abs/2611.35280
- Authors: Giulia Lanzillotta, Thomas Hofmann
- Published: 2026-12-01
- Topic: Scaling & theory
- Visual carousel: https://instaxiv.com/p/2611.35280
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## How far can parameters move while dataset outputs barely change?

**≈300×** median ocean radius vs generic (width-64 ReLU)

## Beyond infinitesimal flatness

**Local analysis:** Jacobians and curvature describe local behavior, but offer limited guidance about flatness at finite distances.

**Flat ocean:** 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

$$
\begin{gathered}\Delta F_X(w)=J_X w+\violet{P_X^{\mathrm{frz}}(w)}+\cyan{A_X^{\mathrm{tr}}(w)}\end{gathered}
$$

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.

- $J_X w$: First-order response at the reference parameters.
- $P_X^{\mathrm{frz}}(w)$: Cross-layer products with activation slopes frozen.
- $A_X^{\mathrm{tr}}(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?

$$
\begin{gathered}\dim K_\ell=\amber{n_\ell(n_{\ell-1}+1-r_\ell)}+\cyan{r_\ell(n_\ell-r_{d,\ell})}+\violet{\delta_{\mathrm{joint},\ell}},\\\delta_{\mathrm{joint},\ell}=r_\ell r_{d,\ell}-\operatorname{rank}J_\ell\end{gathered}
$$

For one edited layer, $K_\ell$ is its full frozen-response kernel; $r_\ell$ and $r_{d,\ell}$ count observed feature and downstream-covector ranks. Constraints see only same-sample pairs.

- $n_\ell(n_{\ell-1}+1-r_\ell)$: Feature-null edits annihilate every observed input to the layer.
- $r_\ell(n_\ell-r_{d,\ell})$: Downstream-null edits send features into output-invisible directions.
- $\delta_{\mathrm{joint},\ell}$: Extra nullity from missing same-sample feature-downstream pairs.

## An ocean is not just a symmetry orbit

![Figure 1](https://cdn.instaxiv.com/figures/2611.35280/figure1.webp)

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. (Figure 1)

## Large radii survive a conservative test

**Generic directions:** Their certified radii are the comparison baseline.

**Constructed subspaces:** 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

![Figure 4](https://cdn.instaxiv.com/figures/2611.35280/figure4.webp)

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. (Figure 4)

## Invariant subspaces persist as they grow

**High accuracy:** Hidden-layer atomic subspaces are measured at this earlier checkpoint.

**Epoch 500:** 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.

Best used when: Best for finite-distance, sample-specific output redundancy, not global functional equivalence.

## Key takeaways

- 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.

## Links

- arXiv: https://arxiv.org/abs/2611.35280
- PDF: https://arxiv.org/pdf/2611.35280

## Citation

```bibtex
@article{lanzillotta2026flat,
  title   = {Flat oceans: vast convex invariance at the end of training},
  author  = {Lanzillotta, Giulia and Hofmann, Thomas},
  journal = {arXiv preprint arXiv:2611.35280},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.35280}
}
```
