Introduction
While Stochastic Gradient Descent (SGD) is the standard for training neural networks, a fundamental theoretical description of weight evolution remains elusive. Most research focuses on input data distributions or global network behavior. However, the high dimensionality of parameters makes simulating entire network dynamics computationally prohibitive. This paper bridges deep learning and statistical physics by modeling the evolution of individual weight matrices using the Fokker-Planck equation, treating training as a dynamical process akin to renormalization in physics.
Methodology: The Fokker-Planck Framework
The authors propose a two-pronged approach to describe weight updates. First, they model the weight update process as a stochastic differential equation (an Ito process). This leads to the Fokker-Planck equation, a partial differential equation (PDE) that describes how a probability distribution "drifts" toward a loss minimum and "diffuses" due to optimizer noise (e.g., from ADAM).
Second, they derive a connection to the Callan-Symanzik equation from quantum field theory. In physics, this equation describes system changes across different scales. By treating "training time" as the scale, the authors suggest that training a network is mathematically similar to "renormalization group flow." To validate this, they built a simple auto-encoder with two bottleneck layers (2x200 and 2x2) and numerically solved the Fokker-Planck PDE to evolve a theoretical weight distribution.
Experimental Setup
The study utilizes the MNIST dataset (digits 0-5). The choice of a relatively simple dataset and a 2-bottleneck-layered auto-encoder was intentional, allowing for the visualization of weight distribution "potentials" in 2D space without requiring complex dimensionality reduction techniques like UMAP or t-SNE for the primary analysis.
Key Results and Validation
The core of the paper's contribution lies in the high fidelity of the Fokker-Planck simulator compared to empirical training results.
As shown in the results, the theoretical "Fokker-Planck simulator" matches empirical training with remarkable accuracy:
- High Correlation: At epoch 5, the correlation between the predicted weight distribution and the actual trained weights reached approximately 0.98.
- Low Error: The Mean Squared Error (MSE) between the theoretical and empirical distributions was approximately 0.012.
- Visual Consistency: The "theoretical output distributions" closely matched the "empirical output distributions," proving the PDE effectively captures learning dynamics.
Discussion and Insights
The results suggest several key insights into the nature of neural network training:
- Weights as a Fluid: Weights can be viewed as a probability density flowing through "weight space."
- Dominant Determinism: The "drift" term (the optimizer's direction) dominates the "diffusion" term (noise), suggesting training is a highly directed process for these layers.
- Predictive Power: The mathematical framework allows for estimating "terminal training time" ($T$)—the point of convergence—by extrapolating from early training data.
Limitations and Future Work
While promising, the study is currently limited to linear bottleneck layers in small auto-encoders. Future work must address the "coupling" between layers, where changes in one layer affect the gradients of another. Additionally, scaling this framework to deep, non-linear networks with complex activations (like ReLUs) or massive parameter counts (e.g., LLMs) remains a significant mathematical and computational challenge.
Summary updated