Phase transitions reveal hierarchical structure in deep neural networks
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: Hi, I'm Tom.
Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.
Tom: We're looking at the paper: "Phase transitions reveal hierarchical structure in deep neural networks".
Jane: Here's the gist of the paper. The gist Phase transitions in DNN learning are governed by saddle points in the loss landscape, revealing a hierarchical structure of accuracy basins analogous to phases in statistical physics.
Tom: Geometric Origin of Phase Transitions Analytical work shows that phase transitions in DNN learning are universally governed by critical saddle points on the loss landscape that are associated with concave basin boundaries on the underlying un-regularized error landscape.
Jane: The addition of L2 regularization shifts all eigenvalues upward, turning a direction with a negative eigenvalue on the error landscape into a saddle point on the loss landscape at the right beta.
Tom: This mechanism provides a first-principles explanation for the hierarchical learning process in deep neural networks.
Paper summary: Jane: So we’ve discussed how this paper, "Phase transitions reveal hierarchical structure in deep neural networks", shows that the learning process in deep neural networks has a geometric origin tied to phase transitions in statistical physics <ref:2512.11866#pg3>.
Tom: It basically says that those phase transitions we see aren't random, but are governed by specific saddle points on the loss landscape, and the L2 regularization acts as a parameter that tunes us between different phases <ref:2512.11866#pg3>.
Lu: And they proved this by using the Pathfinder algorithm to systematically probe the error landscape geometry, which confirmed mode connectivity through those almost flat paths between optimal models <ref:2512.11866#pg3>.
Meng: For someone who just listens to this, it means that understanding why a model learns one thing and then suddenly jumps to another class is actually about understanding the shape of the error surface, not just looking at the final accuracy numbers <ref:2512.11866#pg3>.
Jane: Exactly. It gives us a hierarchical structure for those accuracy basins, which are analogous to phases in statistical physics, and that’s a new way to think about how we can approach training and model merging <ref:2512.11866#pg3>.
Conclusion: Tom: So, we just walked through how this paper shows that deep learning isn't just some random black box but has an underlying physical structure related to phase transitions in statistical physics <ref:2512.11866#pg3>.
Jane: It seems like the authors are arguing that what we see when a model learns is actually moving through different states, kind of like water changing from liquid to gas, but here it’s about the loss landscape <ref:2512.11866#pg3>.
Lu: Right. The core idea is that those transitions happen because of critical saddle points on the loss surface, and adding L2 regularization acts like a knob you turn to move from one phase to another <ref:2512.11866#pg3>.
Meng: From my side, I’m wondering how this geometry actually translates into something we can measure when we try to deploy these models at scale. Is it just theoretical structure, or does it affect the actual training time or memory footprint?
Tom: That's a fair question, Meng. The paper shows they built a tool called Pathfinder that lets them map out these transitions by systematically changing the regularization strength and watching how the error landscape evolves <ref:2512.11866#pg3>.
Jane: And they used it to find these hierarchical levels of accuracy basins, which are like different phases in physics, and they confirmed there’s a way for models to smoothly transition between those different performance levels <ref:2512.11866#pg3>.
Lu: The researchers found that the L2 term amplifies certain dips on the original error surface, creating these nested structures defined by how far apart the model's parameters are <ref:2512.11866#pg3>.
Meng: So, what does this mean for practical things like transfer learning or curriculum learning? Does knowing this geometric origin help us design better training schedules instead of just guessing?
Tom: It gives us a new way to think about the tuning process. Instead of just tweaking hyperparameters blindly, we can start thinking about how the L2 strength acts as a thermodynamic parameter <ref:2512.11866#pg3>.
Jane: It really frames the entire learning process as exploring a structured landscape, which helps explain why models might suddenly encode different digit classes when they hit a certain threshold <ref:2512.11866#pg3>.
Lu: And they showed that even within these phases, there are these low-error, flat pathways connecting the optimal models, which is what we call mode connectivity <ref:2512.11866#pg3>.
Meng: Mode connectivity sounds good for model merging, but how sure are they that these connections actually exist in a real network architecture like a Transformer or a CNN? We need more proof beyond MNIST <ref:2512.11866#pg3>.
Tom: They're still focused on feed forward networks right now, but the mechanism itself is being framed as something applicable to any deep, non-convex model space <ref:2512.11866#pg3>.
Jane: It’s a big step because it gives us a geometric language to describe these messy training dynamics, moving beyond just observing what happens on the final test set <ref:2512.11866#pg3>.
Lu: This work sets up the framework for using statistical physics concepts to quantitatively characterize error landscapes and understanding how AI systems organize themselves during learning <ref:2512.11866#pg3>.
Ibrahim Talha Ersoy, §ndres Fernando Cardozo Licha, §Karoline Wiesner
University of Potsdam, Institute for Physics and Astronomy · Universidade Federal Fluminense, Instituto de Física
cs.LG, physics.data-an
Submitted: 2025-12-05
Updated: 2025-12-05
Comments: 15 pages, 5 figures
Journal ref: Commun. AI Comput. 1, 21 (2026)
DOI: 10.1038/s44488-026-00021-z
Code: https://github.com/andresfernando-git/Neural-Network-paper
License: http://creativecommons.org/licenses/by/4.0/
Importance score: 90/100
The gist: The gist Phase transitions in DNN learning are governed by saddle points in the loss landscape, revealing a hierarchical structure of accuracy basins analogous to phases in statistical physics.
Key concepts
- Phase Transitions in DNN Learning
- These are abrupt shifts in model behavior or performance when training parameters cross critical points. The paper shows these transitions are not random but are precisely governed by the emergence of specific saddle points on the loss landscape, much like water changing phase.
- Saddle Points and Concave Boundaries
- A saddle point is a critical point in the loss landscape where the function curves up in some directions and down in others. The paper proves that phase transitions occur when L2 regularization turns a concave region of the unregularized error landscape into this saddle point, creating boundaries between different learning phases.
- Mode Connectivity
- This refers to the existence of 'almost flat paths' on the error surface connecting different optimal models. The Pathfinder algorithm confirms these smooth, low-error pathways exist between solutions, demonstrating that models are internally connected despite being separated by distinct accuracy basins.
Terminology
Summary
The gist
Phase transitions in DNN learning are governed by saddle points in the loss landscape, revealing a hierarchical structure of accuracy basins analogous to phases in statistical physics.
Geometric Origin of Phase Transitions
Analytical work shows that phase transitions in DNN learning are universally governed by critical saddle points on the loss landscape that are associated with concave basin boundaries on the underlying un-regularized error landscape. The addition of L2 regularization shifts all eigenvalues upward, turning a direction with a negative eigenvalue on the error landscape into a saddle point on the loss landscape at the right beta. This mechanism provides a first-principles explanation for the hierarchical learning process in deep neural networks.
Hierarchical Structure and Phase Transitions
The work establishes that each transition is locally governed by the emergence of a saddle point, created when the L2 term amplifies a concave region of the underlying unregularized error landscape. The landscape is organized into concentric, hierarchically nested phases defined by weight norm
. These phases are intrinsically connected by low-error, flat pathways
. The transitions are accompanied by measurable geometric signatures in the error landscape’s scalar curvature
.
Probing Landscape Geometry with Pathfinder
The authors introduce the Pathfinder algorithm to explore the geometry of error landscapes, defined as Lβ(θ) = E(θ) + β · θ − θref2. This method allows for tracing paths through the error landscape by incrementally increasing regularization strength. The algorithm is used to identify hierarchical phase transitions between accuracy basins and find a striking correspondence between basins and specific digits
on the MNIST dataset.
Mode Connectivity Confirmation
The paper confirms the existence of almost flat paths between minima on the error surface (the so-called mode connectivity)
. The Pathfinder algorithm was used to show that there exist paths along which the error does not change substantially
. This demonstrates that the landscape is not only phase-structured but also internally connected, with smooth, flat paths between optimal models
.
Statistical Physics Analogy and Practical Implications
The findings position neural networks within the realm of physical systems amenable to analysis by statistical physics concepts. The regularizer acts as a thermodynamic parameter tuning the system between phases
. This mapping provides a mechanistic explanation for empirical observations, such as transfer learning and curriculum learning. The Pathfinder method is presented as a computationally cheap and practical analogue to the Information Bottleneck method
.
Limitations and Future Directions
The method relies on the assumption that the error landscape possesses a degree of smoothness and connectivity that allows for meaningful paths to be traced. The numerical results are currently confined to feed forward architectures, though it is hypothesized that the underlying principle should hold for any sufficiently complex, nonconvex model space. A critical open question is how this hierarchy manifests in other architectures like CNNs or Transformers.
The work establishes the geometric origin of key phenomenology in DNN training and demonstrates the existence of hierarchically ordered accuracy basins. These basins correspond to models in non-trivial error landscapes that are strictly analogous to phases in statistical physics. The authors have established a formal geometric theory connecting the physics of phase transitions to the dynamics of deep learning. This perspective treats the learning process as a physical process exploring a structured landscape, where the shifted L2 strength beta acts as a thermodynamic parameter tuning the system between phases. By re-conceptualizing a standard regularizer as a probe, they have opened the black box of DNNs further. The statistical physics analogy allows them to understand them as systems with a comprehensible internal organization. This not only deepens their theoretical understanding of Deep Learning but also provides a practical path toward more robust, interpretable, and efficient machine learning.
How it works
-
Analytical proof shows that phase transitions are governed by critical saddle points on the loss landscape associated with concave basin boundaries on the underlying un-regularized error landscape.
-
L2 regularization transforms pre-existing concave boundaries in E(θ) into saddle points in the loss landscape at critical strengths.
-
The Pathfinder algorithm probes this geometry by incrementally increasing regularization strength and training models to minimize the loss function Lβ,θref (θ) = E(θ) + β · θ − θref2.
-
This systematic probe reveals
hierarchically nested phases defined by Euclidean norm of the parameter vector
. -
The algorithm confirms mode connectivity by tracing paths where the error remains nearly constant, showing
smooth, flat paths between optimal models
.
Probing saddle points and concave basin boundaries using the Pathfinder
The authors empirically validated the mechanism by applying Pathfinder to an MNIST classifier. They observed five phase transitions corresponding to jumps in parameter space and linked these transitions to learning/forgetting events of specific digits
. Negative curvature directions on the loss landscape emerge just before a phase transition takes place, providing direct evidence of saddle-point formation.
Probing and confirming mode connectivity using the Pathfinder
The authors randomly chose five optimal models and set the reference point θref to one model's parameters to initialize the others, then varied beta on the order of 10−6. This confirmed that models are connected by flat, low-error paths (mode connectivity)
.
Robustness of Trajectories
Robustness tests verified that trajectories generated with different learning rates and different endpoint configurations consistently crossed transition boundaries at the same critical Euclidean norm. This reproducibility confirms their origin in the underlying landscape geometry. The identified transitions are robust w.r.t. learning rate and L2 reference point.
Reproducibility and Data Availability
All experiments used publicly available data, such as the MNIST dataset. The full source code for model training, Pathfinder trajectory generation, and Hessian analysis is available at a public data repository. The authors will make the code and materials available in a public data repository after peer review is complete.
Conclusions and Future Directions
The work opens avenues for applying statistical physics methods to quantitatively characterize error landscapes. The shifted L2 probe (Pathfinder) provides a new diagnostic framework for analyzing model behavior and designing better training schemes. This lays the groundwork for reverse-engineering the hierarchical features a network acquires. A better understanding of the error-landscape geometry will be key for developing better strategies and methods for continuous learning, transfer learning and model merging.
--- Page 12 ---
Acknowledgements
We are grateful to Björn Ladewig for the insightful discussions. A.F.L.C. acknowledges the DAAD for scholarship Research Grants - One-Year Grants for Doctoral Candidates (7693452) to the University of Potsdam.
Author Contributions
I.T.E. and K.W. designed the study, I.T.E. conceptualized the idea of the Pathfinder. I.T.E. and A.F·L·C designed the methodology. A·F·L·C conducted the numerical experiments and produced the figures. All authors discussed the results and contributed to the writing of the manuscript.
Competing Interests
The authors declare no competing interests.
References
[1] Samuel K. Ainsworth, Jonathan Hayase, and Siddhartha Srinivasa. Git re-basin: Merging models modulo permutation symmetries, 2023 [2] Alexander A Alemi, Ian Fischer, Joshua V Dillon, and Kevin Murphy. Deep variational information bottleneck. arXiv preprint arXiv:1612.00410, 2016 [3] Shun-ichi Amari. Information geometry and its applications, volume 194. Springer, 2016 [4] Mohamed Ishmael Belghazi, Aristide Baratin, Sai Rajeshwar, Sherjil Ozair, Yoshua Bengio, Aaron Courville, and Devon Hjelm. Mutual information neural estimation. In Jennifer Dy and Andreas Krause, editors, Proceedings of the 35th International Conference on Machine Learning [5] Yoshua Bengio, Jérôme Louradour, Ronan Collobert, and Jason Weston. Curriculum learning. In Proceedings of the 26th annual international conference on machine learning [6] Alan J. Bray and David S. Dean. Statistics of critical points of gaussian fields on large-dimensional spaces. Phys. Rev. Lett., 98:150201, Apr 2007 [7] Anna Choromańska, Mikael Henaff, Michaël Mathieu, Gérard Ben Arous, and Yann LeCun. The loss surfaces of multilayer networks. In International Conference on Artificial Intelligence and Statistics [8] George Cybenko.
Improvements for AI systems
-
The AI system can be trained to identify
accuracy basins
corresponding to specific digits in MNIST by analyzing model trajectories as a function of L2 regularization strength beta. This allows for reverse-engineering the network's internal representation by tracking which features arelearned/forgotten at each transition T1 to T5.
-
The system can be designed to proactively navigate training toward desired accuracy regimes by utilizing the Pathfinder algorithm, which
probes and traverses transition boundaries.
This enables the AI to avoid sharp, hard-to-traverse geometric barriers identified as concave boundaries on the error landscape. -
The system can confirm mode connectivity between independently discovered optimal models by using a shifted L2 probe to trace paths where
the error does not change substantially.
This allows for faster model merging and ensembling by finding low-error, flat pathways between solutions, which is computationally more efficient than existing optimization-based methods.
Abstract
Training Deep Neural Networks relies on the model converging on a high-dimensional, non-convex loss landscape toward a good minimum. Yet, much of the phenomenology of training remains ill understood. We focus on three seemingly disparate observations: the occurrence of phase transitions reminiscent of statistical physics, the ubiquity of saddle points, and phenomenon of mode connectivity relevant for model merging. We unify these within a single explanatory framework, the geometry of the loss and error landscapes. We analytically show that phase transitions in DNN learning are governed by saddle points in the loss landscape. Building on this insight, we introduce a simple, fast, and easy to implement algorithm that uses the L2 regularizer as a tool to probe the geometry of error landscapes. We apply it to confirm mode connectivity in DNNs trained on the MNIST dataset by efficiently finding paths that connect global minima. We then show numerically that saddle points induce transitions between models that encode distinct digit classes. Our work establishes the geometric origin of key training phenomena in DNNs and reveals a hierarchy of accuracy basins analogous to phases in statistical physics.
Sources
- Deep Variational Information Bottleneck
- Editing Models with Task Arithmetic
- The information bottleneck method
- Understanding deep learning requires rethinking generalization
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks