Introduction
In the study of machine learning, the training process is frequently treated as a "black box." While empirical evidence confirms that gradient descent effectively minimizes loss, we lack a comprehensive analytical understanding of the weight trajectories from initialization to convergence. This research addresses a fundamental question: Is the training of even the simplest neural network an "integrable system"?
In physics, integrable systems—such as a simple pendulum or planetary orbits—possess conserved quantities that allow for closed-form solutions. This paper proves that for a two-layer network with as few as four parameters, such elegant formulas do not exist. Using Differential Galois Theory, the author demonstrates that numerical simulation is not merely a convenience but a mathematical necessity.
Methodology: Differential Galois Theory
The core of the proof lies in analyzing a "narrow" two-layer network with four parameters ($w_1, b_1, w_2, b_2$), a smooth activation function, and a squared error loss. To determine if the system is integrable, the author employs Morales-Ramis Theory, which links the integrability of a Hamiltonian system to the solvability of its differential Galois group.
Instead of attempting to solve the non-linear training equations directly, the author examines the variational equations. These are linear differential equations that describe how a small perturbation in the initial weights evolves over time.
By calculating the Galois group of these variational equations, the author shows that its identity component is $SL_2(\mathbb{C})$, which is non-solvable. In the context of differential equations, this implies that the solutions cannot be expressed as Liouvillian functions—a class of "closed-form" expressions that include elementary functions (roots, exponentials, logs) and their integrals.
The Conceptual Landscape of Dynamical Systems
A critical contribution of this work is the classification of neural network training within the broader context of dynamical systems. The proof establishes that gradient flow occupies a unique middle ground.
As shown in Figure 3, while some specific cases (like linear networks or the "Example 1, 2" cases in the paper) are integrable, the general gradient flow for non-linear networks is non-integrable. However, it is not necessarily chaotic. Unlike the Lorentz system, which exhibits extreme sensitivity to initial conditions, neural network training is often well-behaved enough to converge to a local minimum, yet its path remains analytically unreachable.
Key Results and Implications
The research culminates in two primary findings:
- Theorem 1: Formally proves that the gradient flow of a two-layer narrow network is not "B-integrable" in the meromorphic category.
- Theorem 2: Establishes that no Liouvillian function can describe the full training dynamics of this network.
These results provide a rigorous theoretical justification for the industry's reliance on iterative numerical optimizers like SGD, Adam, or RMSProp. The "elegant formula" dream—the hope of finding a single equation to predict weights at any time $t$—is mathematically impossible once non-linear activations are introduced.
Limitations and Future Outlook
The proof currently focuses on a specific 4-parameter model with smooth activation functions (e.g., GeLU or Swish). While the author conjectures that increasing network depth or width only compounds this non-integrability, formal proofs for larger systems remain computationally difficult. Future research may extend these findings to Stochastic Differential Equations (SDEs) to account for the noise inherent in Stochastic Gradient Descent, potentially revealing whether randomness simplifies or further complicates the underlying mathematical structure.
Summary updated