Every LLM training run is reported as a single number falling: the loss curve. That curve is a lie by omission. The training loss is not a property of the model the way weight is a property of a rock; it is a height on an enormous mathematical surface, one that assigns a loss value to every possible setting of every parameter. The surface is called the loss landscape, and gradient descent is a walk down it. Most of what engineers have learned about why some networks train and others do not is really geometry discovered on that surface, mostly blind, and only in the last decade with tools crude enough to see it at all.
What the object actually is
Take a neural network. Its parameters form a vector: a list of numbers, one per weight, billions or trillions long for a frontier model. Feed any such vector into the training objective and you get a scalar, the average prediction error. A function from a billion-dimensional space to a single number defines a landscape: valleys are parameter settings that predict well, ridges and plateaus are settings that predict badly. Training is an algorithm, usually some flavor of stochastic gradient descent, that repeatedly asks which way is downhill and takes a step.

The catch is that nobody can look at it. The landscape of even a small model is a surface in a space too high-dimensional to picture, and the surface that exists for a modern transformer is more than a thousand orders of magnitude too large to enumerate. What researchers call loss landscape visualization is projection: flattening selected slices of the terrain onto a page, the way a cartographer flattens a mountain range. The interpretations that survive depend on doing the projection honestly.
How the terrain got mapped
The standard result that made the field concrete is Visualizing the Loss Landscape of Neural Nets (Li, Xu, Taylor, Studer and Goldstein, NeurIPS 2018). Earlier attempts to plot loss as a function of weight perturbations produced meaningless spikes, because a network can be rescaled or have its neurons permuted without changing what it computes. The authors introduced filter normalization, which rescales each direction so that equivalent networks compare fairly, and then the picture became readable.
What they found rewrote the folklore. Plain deep networks, without skip connections, became more chaotic and harder to train as depth increased; the transition from nearly convex behavior to chaotic behavior coincided with a dramatic drop in generalization and, eventually, with the network becoming untrainable. Residual connections, the skip links every modern transformer borrows, visibly promoted flat minimizers and prevented that transition. Wider layers also produced flatter minima and broader regions of apparent convexity. In other words, the two architecture changes that made deep learning work, residual connections and width, leave fingerprints on the geometry, which is the most direct evidence anyone has offered for why they work.
The traps that are not there
Intuition says a non-convex landscape is a minefield of bad local minima where training gets stuck. The high-dimensional mathematics says otherwise, and this is the most repeated insight in the field: in very high dimensions, points where the gradient vanishes are overwhelmingly saddle points, not local minima. Dauphin, Pascanu, Gulcehre, Cho, Ganguli and Bengio argued in 2014, drawing on statistical physics and random matrix theory, that the real obstacle is the proliferation of saddle points surrounded by high-error plateaus that slow learning and give the illusory impression of having converged. Their answer was a saddle-free Newton method that escapes by following directions of negative curvature.
Theory in simplified settings points the same way. Nguyen and Hein proved that in fully connected deep networks with analytic activations, once one hidden layer is wider than the number of training points, almost every local minimum is globally optimal. Real ReLU networks are not analytic, and the assumptions are idealizations, but the result matches what practitioners see: training a large overparameterized network almost never gets trapped in a genuinely bad basin. The difficulty is not falling into the wrong hole. The difficulty is the plateau, the flat region where the gradient is near zero and progress crawls.
Flat versus sharp: geometry as a quality score
A valley can be a bowl or a shot glass. A flat minimum stays low loss even when you perturb its parameters; a sharp minimum collapses the moment you nudge anything. The distinction traces to Hochreiter and Schmidhuber's 1997 paper "Flat Minima", which argued flat solutions are simply more probable under perturbation and therefore more robust, an early version of what becomes a generalization claim.
The claim got its empirical teeth from the large-batch era. Keskar, Mudigere, Nocedal, Smelyanskiy and Tang showed in 2016-2017 that training with large batches tends to converge to sharp minimizers while small batches reliably find flat ones, which was offered as the explanation for the observed large-batch generalization gap: the extra noise in small-batch gradient estimates acts like a built-in search for wide valleys. The paper closed by discussing strategies for helping large-batch training close the gap.
The line of work culminated in optimizers that treat flatness as the objective. Sharpness-Aware Minimization (Foret, Kleiner, Mobahi and Neyshabur, Google, 2020) replaces minimizing the loss with minimizing the worst-case loss in a neighborhood of the current parameters, a min-max formulation that gradient descent can still execute. SAM improved generalization across CIFAR-10, CIFAR-100, ImageNet and fine-tuning tasks, and natively resisted label noise at the level of methods purpose-built for noisy labels, a hint that sharpness and robustness really are the same knob. The caveat from the original mappers is worth keeping: the same NeurIPS 2018 visualization work found that generalization is not simply a matter of curvature at the found minimizer, and sharpness comparisons without normalization can mislead.
Why the same valley shows up in many places
The deepest landscape surprise of the last five years is a symmetry one. Reordering the neurons of a hidden layer, and permuting the matching rows and columns of the adjacent weight matrices, produces a different parameter vector that computes the identical function. A network with n neurons per layer therefore has roughly n! equivalent copies of every solution, a number so large the space of minima is mostly duplicates.

This is not decoration; it decides what is mergeable. Frankle, Dziugaite, Roy and Carbin showed that after an early phase of training, the outcome of optimization is confined to a linearly connected region: fine-tuning runs from the same initialization, using different data orders and different augmentations, end up in the same basin, with no loss barrier on the straight line between them. Entezari, Sedghi, Saukh and Neyshabur then conjectured the stronger claim that once you quotient out by neuron permutations, SGD solutions generally face no barrier along the line between them at all. Ainsworth, Hayase and Srinivasa went further: they argued that the landscape, once permutations are aligned, contains nearly a single basin, and gave algorithms (Git Re-Basin) that permute one model's units to match a reference, producing zero-barrier linear mode connectivity between ResNets trained independently on disjoint data, the first demonstration of its kind. The same paper notes failures, including a counterexample to the single-basin theory, so the picture is not settled.
For the current era of open-weight merges, this geometry is the operating condition. Weight merging, task arithmetic and model soups work when the models being averaged sit in a common basin, and the permutation-symmetry result explains why models that share an initialization merge cheaply while independently trained ones fight each other in weight space. The landscape is the reason a merge recipe has an ancestry requirement.
What an explainer should and should not claim
The honest state of the field: the terrain behind LLM-scale training has never actually been seen. The convex-to-chaotic transition, the saddle-point argument, the flatness results and the mode-connectivity conjectures were all established on small vision networks or on analytically tractable idealizations, then carried into transformer practice by engineers who find they keep predicting what happens at scale. Skip connections and width make landscapes flatter; small-batch noise finds flat minima; alignment matters more than distance when comparing two sets of weights. These are the load-bearing facts. Whether a trillion-parameter loss surface behaves like a 56-layer ResNet's is, as of this writing, a reasonable working assumption rather than a measurement.
Sources
- Li, Xu, Taylor, Studer, Goldstein: Visualizing the Loss Landscape of Neural Nets (NeurIPS 2018) - https://arxiv.org/abs/1712.09913
- Dauphin, Pascanu, Gulcehre, Cho, Ganguli, Bengio: Identifying and attacking the saddle point problem in high-dimensional non-convex optimization (NeurIPS 2014) - https://arxiv.org/abs/1406.2572
- Nguyen, Hein: The loss surface of deep and wide neural networks (ICCV 2017) - https://arxiv.org/abs/1704.08045
- Hochreiter, Schmidhuber: Flat Minima (Neural Computation 1997) - https://direct.mit.edu/neco/article/9/1/1/6027/Flat-Minima
- Keskar, Mudigere, Nocedal, Smelyanskiy, Tang: On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minima (ICLR 2017) - https://arxiv.org/abs/1609.04836
- Foret, Kleiner, Mobahi, Neyshabur: Sharpness-Aware Minimization for Efficiently Improving Generalization (ICLR 2021) - https://arxiv.org/abs/2010.01412
- Frankle, Dziugaite, Roy, Carbin: Linear Mode Connectivity and the Lottery Ticket Hypothesis (ICML 2020) - https://arxiv.org/abs/1912.05671
- Entezari, Sedghi, Saukh, Neyshabur: The Role of Permutation Invariance in Linear Mode Connectivity of Neural Networks (ICLR 2022) - https://arxiv.org/abs/2110.06296
- Ainsworth, Hayase, Srinivasa: Git Re-Basin: Merging Models modulo Permutation Symmetries (ICLR 2023) - https://arxiv.org/abs/2209.04836
