Why AI Needs Room to Breathe

Generalization lives in wide valleys, not on knife's edges.

Machine Learning · Geometry of Intelligence · Neurosymbolic AI · Evolution
The Shape of the Answer
Why the geometry of how a neural network learns, not just how accurately it scores, may be the deepest clue yet to building AI that actually works in the real world.
2026

In the winter of 1994, Sepp Hochreiter and his advisor Jürgen Schmidhuber were trying to make sense of a stubborn mystery. Neural networks trained to nearly identical accuracy on the same dataset sometimes behaved completely differently on data they had never seen. One model generalized beautifully. Another, mathematically almost its twin, fell apart the moment testing moved beyond familiar examples. The score alone told you nothing about which was which.

The two researchers suspected the difference lay not in the final number but in the shape of the territory where the networks had landed. Picture the training process as a long hike into a mountain range. At the end, a hiker marks the lowest point she finds. One valley is a narrow chasm with nearly vertical walls. Another is a broad basin several kilometers wide. Both reach the same elevation at their deepest point. But the chasm is unforgiving: a single step sideways and you are climbing a cliff. The wide basin is forgiving: you can wander across its floor and still find the same terrain, the same altitude, the same view. The chasm is a sharp minimum. The basin is a flat one.

Their 1997 paper, simply titled "Flat Minima," argued that networks settled in broad, stable regions of their mathematical landscape generalize to new situations, while those jammed into narrow gullies do not. It was carefully argued and almost entirely ignored. For two decades it sat largely untouched while the rest of machine learning moved on to other problems. Then the field caught up, and the idea turned out to be bigger than even its authors had imagined.

01 The valley and the chasm
A loss landscape cross-section showing two minima reached at equal depth. Small-batch training, buffeted by noise, lands in the wide flat basin. Large-batch training, smooth and deliberate, falls into the narrow brittle gully. Same score. Opposite fates.
loss landscape: where a model lands during training determines whether it generalizes loss model parameters (billions of dimensions, shown as one axis) flat minimum wide basin, robust to perturbation sharp minimum narrow gully, brittle small-batch training path large-batch training path generalizes well overfits, brittle
Flat minimum (wide basin)
Sharp minimum (narrow gully)
I. The valley and the chasm

In 2016, Nitish Keskar and collaborators at Northwestern and Intel ran an experiment that crystallized the question. They trained identical neural networks using two strategies: one processed data in small batches of 256 examples, introducing noise into each training step; the other used large, smooth batches of 5,000. Both reached nearly the same training score. But the small-batch models generalized to new data noticeably better. When the team probed the geometry of where each model had landed, the answer was plain. Large-batch training converged to sharp, narrow minima. Small-batch training, buffeted by noise, was shaken loose from any valley too tight to contain the jitter, and ended up in wider, more stable ones. The noise, seemingly a nuisance, was acting as a filter, systematically excluding brittle solutions.

In 2018, Hao Li and Tom Goldstein at the University of Maryland found a way to render slices of these landscapes for direct comparison. Using a technique called filter-wise normalization, they corrected for scaling artifacts that made networks look artificially different from each other. When they visualized a ResNet-56 with skip connections versus without, the result was stark: the plain network produced a loss surface like a violently jagged seascape, full of narrow spikes; the version with skip connections produced a single smooth bowl. Skip connections were not merely helping gradients flow. They were sculpting the geometry of the search space itself.

Work by Stanislav Fort at Stanford pushed the picture further. In very high dimensions, the valleys found by gradient descent are not isolated points. They are extended, interconnected continents of solutions at similar loss levels, connected by paths along which accuracy never drops. The loss landscape is not a map of separate peaks and valleys. It is a single sprawling lowland, threaded with ridges. Width matters. Connectivity matters. Where you end up in this lowland determines everything. In 2017, Laurent Dinh, Razvan Pascanu, Samy Bengio, and Yoshua Bengio published a pointed challenge to this picture: flatness as commonly measured, they argued, is not a property of the function a network computes but a property of how you parameterize it. A clever rescaling of weights can make any flat minimum look arbitrarily sharp without changing a single prediction. The paper forced the field to develop reparameterization-invariant measures of sharpness, and with those corrected measures, the link between flatness and generalization held robustly.

02 Making flatness a tool
Two strategies for navigating the loss landscape. Standard gradient descent asks what reduces loss right here, and can land in sharp gullies. Sharpness-Aware Minimization asks what keeps loss low across a neighborhood, and systematically ends up in wide, robust valleys.
standard gradient descent sharpness-aware minimization ask: what reduces loss right here, at this exact point? step in direction of steepest local descent repeat until loss stops falling lands in narrow gully sharp minimum — brittle sensitive to data distribution shift ask: what keeps loss low across the neighborhood? find worst-case neighbor highest loss within radius r update so even that neighbor improves lands in wide basin flat minimum — robust generalizes to unseen data
Sharp gully (standard GD outcome)
SAM neighborhood search
Flat basin (SAM outcome)
II. Making flatness a tool

If flat minima generalize better, the natural next move is to optimize for them directly. That was the idea behind Sharpness-Aware Minimization, or SAM, published by Pierre Foret and colleagues at Google Research in 2021. Standard gradient descent asks: what direction reduces the loss right here? SAM asks a different question: what set of weights keeps the loss low not just at this exact point, but across a small neighborhood around it? At each step, the algorithm first finds the nearby weight setting with the highest loss within a small radius, and then updates so that even this worst-case neighbor improves. The optimizer systematically avoids planting the model in any valley too narrow to extend a short distance in every direction. It seeks breadth.

SAM and its many subsequent variants spread rapidly across computer vision, language modeling, and physics-based simulation. A technique born from a theoretical question about geometry had quietly become a practical engineering dial, one you could turn to make models more robust without changing data or architecture, simply by changing where the training process was willing to settle. A parallel discovery arrived from a different direction. Jeremy Cohen and collaborators at Carnegie Mellon showed in 2021 that standard gradient descent had been doing something strange all along. During training, the curvature of the loss surface climbs steadily until it reaches a threshold at which classical optimization theory would predict collapse. Instead, the loss begins to bounce and oscillate, hovering at what Cohen called the edge of stability. Networks trained this way generalize beautifully. Ordinary gradient descent had been running its own implicit version of sharpness rejection for decades, refusing to settle in any valley too curved to tolerate its natural jitter.

03 Four billion years of the same idea
Biological neutral networks in genotype space mirror neural flat manifolds in parameter space. In both, a connected set of equivalent solutions enables drift without loss of function, keeping the system one step away from innovation. Robustness and evolvability are the same property on different timescales.
biology: genotype space machine learning: parameter space neutral network plateau (all sequences equally fit) population drifts freely without fitness loss accumulating diversity for future innovation flat manifold (all weights equally accurate) model weights vary without accuracy loss robust to noise, shift, and perturbation shared principle wide connected solution space
Biological neutral network (equivalent genomes)
Neural flat manifold (equivalent weights)
III. Four billion years of the same idea

The same intuition driving modern optimizer design turns out to have a much older pedigree. In 2008, the evolutionary biologist Andreas Wagner published a paper with a deceptively quiet title: "Robustness and Evolvability: A Paradox Resolved." Organisms must be robust. A single mutation should not, most of the time, cause collapse. But they must also be evolvable. The same genome must be able to produce new traits when the environment demands them. Robustness implies mutations do nothing. Evolvability implies they can do something. The two requirements seemed to be in direct opposition.

Wagner's resolution drew on a concept called the neutral network. In any organism, many different gene sequences encode proteins with functionally equivalent outcomes. These sequences are connected by single mutations that leave the phenotype unchanged. A population can drift freely along this neutral network, accumulating genetic diversity, without paying any fitness cost. When the environment shifts, the population is distributed across many starting points, each one a small mutation away from a different new phenotype. Robustness and evolvability are not in tension. They are the same property expressed on two different timescales. A neutral network in genotype space is, by another name, a wide flat plateau in a fitness landscape. The same geometry that makes a neural network generalize to new data has been letting life on Earth innovate for nearly four billion years.

In 2023, researchers at EPFL established a formal mathematical equivalence between stochastic gradient descent and a class of evolutionary algorithms derived from population-genetics theory, showing that the local flatness of a training minimum is structurally analogous to the connectivity of a neutral network around a viable organism. The overparameterized model drifting along a flat manifold of equivalent solutions looks, through the right mathematical lens, like a clonal population spreading across a sequence-space plateau. The neurologist Gerald Edelman called a related property "degeneracy" and argued it is one of the most fundamental features of biological organization. Eve Marder at Brandeis has documented it directly: lobsters and crabs produce identical motor rhythms from neural circuits with wildly different ion channel densities and synaptic strengths. The brain, like the genome, lives in a flat valley.

04 Symbols as valley-shapers
Neurosymbolic architecture: the language model proposes, the symbolic verifier judges. Rejected candidates, sharp brittle gullies, are pruned away by logical rules. Only the flat, logically consistent manifold of solutions survives and becomes reachable. AlphaGeometry, AlphaProof, DreamCoder, and FunSearch all operate on this principle.
language model fast pattern recognition symbolic verifier formal rule checker proposes candidate solution proof step or program valid? if not, reject rejected (sharp gully) pruned away accepted solution logically valid, added to proof accessible solution space after symbolic filtering flat manifold of logically consistent solutions brittle solutions ruled out by verifier only wide valleys remain reachable AlphaGeometry · AlphaProof · DreamCoder · FunSearch
Language model (fast intuition)
Rejected sharp gullies
Surviving flat manifold
IV. Symbols as valley-shapers

The most ambitious place this geometric thinking is now being tested is in neurosymbolic AI, the effort to marry neural pattern recognition with the rule-governed, verifiable reasoning of classical symbolic systems. In January 2024, a team at Google DeepMind and NYU published AlphaGeometry in Nature. The system pairs a large language model, trained on roughly 100 million synthetic geometry problems, with a formal deduction engine grounded in the axioms of Euclidean geometry. When given a problem, the language model proposes auxiliary constructions and the symbolic engine verifies each step against strict logical rules. On a benchmark of thirty International Mathematical Olympiad problems, previous AI systems had solved about ten. AlphaGeometry solved twenty-five, approaching the average human gold medalist's score.

The geometry framing clarifies why this works. A pure neural network learning geometry by gradient descent alone must discover the structure of Euclidean reasoning from examples, traversing a landscape full of brittle solutions: weight configurations that fit individual training cases without capturing any underlying logic. A network paired with a symbolic verifier cannot land in most of those gullies. They are ruled out by the deduction engine. The accessible region of parameter space is constrained to a manifold consistent with formal logic, much flatter and much more like a biological neutral network. DeepMind's AlphaProof made the case even more starkly. Training a reinforcement-learning agent entirely inside Lean, a formal proof assistant where every step must be machine-verified, AlphaProof solved four of six problems at the 2024 International Mathematical Olympiad, earning the equivalent of a silver medal, the first time any AI system had attained that standard. Sir Timothy Gowers, a Fields medalist who graded the submissions, called one proof "well beyond what I thought was state of the art."

MIT's neurosymbolic work follows the same geometry from a different angle. DreamCoder, and its 2024 successor LILO developed with Josh Tenenbaum, Jacob Andreas, and Armando Solar-Lezama, learns by alternating between solving problems and distilling its solutions into a growing library of reusable symbolic abstractions. Each abstraction replaces a region of parameter space full of individual brittle programs with a single robust primitive that works across contexts, sculpting broader valleys. DeepMind's FunSearch, published in Nature in December 2023, drives the same principle through an evolutionary search over programs rather than weights, producing new constructions for the cap set problem in combinatorics, the largest improvement to a key mathematical bound in roughly twenty years. "What is important," Tenenbaum has said in recent talks, "is to develop higher-level strategies that might transfer in new situations. This is where the symbolic approach becomes key."

Loss landscape visualization research

Loss landscape visualizations produced by Hao Li and Tom Goldstein's group at the University of Maryland (2018). Left: a ResNet-56 without skip connections, a violently jagged seascape of narrow minima. Right: the same network with skip connections, a single smooth bowl. Skip connections do not just help gradient flow; they sculpt the geometry of the entire search space. Li et al., NeurIPS 2018.

05 Designing for the valley
Four independent fields (optimization theory, evolutionary biology, neurosymbolic AI, and software engineering) each arriving at the same conclusion by different routes. Systems that survive, learn, and innovate occupy continents of equivalent solutions, not needle-thin peaks.
optimization theory flat minima generalize; SAM explicitly seeks wide valleys evolutionary biology neutral networks let life innovate without fitness cost software engineering modular, fault-tolerant systems degrade gracefully neurosymbolic AI symbolic rules prune sharp gullies, leaving flat manifolds wide connected solution space robust to perturbation evolvable under change systems that survive occupy continents — not needle-thin peaks
Optimization theory
Evolutionary biology
Software engineering
Neurosymbolic AI
V. Designing for the valley

Software engineers have always had an intuition for this principle, even if they never stated it in geometric terms. Robust systems degrade gracefully under unexpected inputs, tolerate partial failures, and survive modification without cascading breakage. Brittle systems fail catastrophically the moment one assumption is violated. Modular architectures with well-defined interfaces are flat-valley designs: the system can reach the same overall function from many different component states. Tightly coupled monoliths are sharp minima: they work only when every piece is exactly right, and any perturbation moves you off the cliff. The principles of redundancy, fault tolerance, and graceful degradation in systems engineering are, viewed through a mathematical lens, the engineering equivalent of seeking wide flat regions of the configuration space.

There is still room for honest skepticism. Flatness, even carefully defined, does not always predict generalization cleanly. Naomi Saphra at Harvard's Kempner Institute has argued that the most important geometry is not the shape of the final minimum but the path through training, the sequence of decisions that funneled the model into one basin rather than another. "If you don't understand the origins of the model," she told Quanta Magazine in 2025, "then you don't understand why anything works." Yann LeCun has argued that the deepest progress will come not from better optimizers for existing architectures but from new ones: world models with persistent representations of how things work. Yoshua Bengio has called for hybrid systems that combine learned distributed representations with sparse, modular, near-symbolic structures, partly because such systems should generalize compositionally. Both arguments are, at bottom, geometric arguments: claims about what kinds of solution spaces we should want AI to inhabit.

What is striking, standing at this point in the arc that runs from Hochreiter and Schmidhuber's quiet 1997 paper to AlphaProof's silver medal, is how many independent streams of inquiry converge on the same core observation. The optimization theorist studying batch sizes, the statistical physicist computing local entropy, the evolutionary biologist counting neutral mutations, the cognitive scientist building program-learning systems, the software architect arguing for microservices: all of them are saying, in their own languages, that robust systems live in valleys rather than on peaks. The systems that survive, learn, and innovate, whether made of neurons, genes, or code, are the ones that find ways to occupy a continent of equivalent solutions rather than balance on a needle-thin point. The geometry of learning is, in the end, a geometry of resilience. We are only beginning to design for it deliberately.

Key references: Hochreiter, S. & Schmidhuber, J., "Flat Minima," Neural Computation 9(1), 1997. Keskar, N. et al., "On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minima," ICLR 2017. Li, H. et al., "Visualizing the Loss Landscape of Neural Nets," NeurIPS 2018. Foret, P. et al., "Sharpness-Aware Minimization for Efficiently Improving Generalization," ICLR 2021. Cohen, J. et al., "Gradient Descent on Neural Networks Typically Occurs at the Edge of Stability," ICLR 2021. Dinh, L. et al., "Sharp Minima Can Generalize For Deep Nets," ICML 2017. Trinh, T. et al., "Solving Olympiad Geometry without Human Demonstrations" (AlphaGeometry), Nature 2024. Romera-Paredes, B. et al., "Mathematical Discoveries from Program Search with Large Language Models" (FunSearch), Nature 2023. DeepMind, "AI achieves silver-medal standard solving International Mathematical Olympiad problems" (AlphaProof), 2024. Wagner, A., "Robustness and Evolvability: A Paradox Resolved," Proceedings of the Royal Society B 275, 2008. Edelman, G. & Gally, J., "Degeneracy and complexity in biological systems," PNAS 2001. Saphra, N., interview, Quanta Magazine, September 2025.