Unified Dynamics of Training, Learning, and Inference in Neural Networks
Despite the remarkable success of neural networks, their internal mechanisms remain largely a black box. Through systematic causal experiments across six neural-network systems (nanoGPT, ResNet-18, Diffusion U-Net, Vision-MoE, GNN, and Hard-spiking SNN), we establish and validate fundamental relations among training, learning, and inference (TLI). We show that the same realized training update produces receiving-state-dependent nonlinear functional responses; during learning, distributed functional support undergoes persistent reorganization; capability is a target-specific decision on a continuous functional readout whose acquisition, loss, and recovery are governed by decision-boundary crossings; and frozen inference recruits and non-additively combines learned support without altering the learned state. From these relations, we derive a pre-update target-boundary predictor that achieves 91.43% to 99.87% accuracy across the six systems without reading post-update outputs. In a seventh reinforcement-learning system, we show that concentrating even consistently correct feedback on one capability shifts functional support and weakens previously mastered capabilities, whereas rebalancing feedback restores them. We formulate these findings as a unified system of coupled dynamical equations. Substituting original model conditions into the same equations recovers relationships across ten established theories--Edge of Stability, catastrophic forgetting, task arithmetic, Neural Tangent Kernel, recursive model collapse, Gradient Noise Scale, Spectral Bias, maximal update parameterization, dynamical isometry, and double descent--while yielding finite-amplitude, receiving-state, and capability-boundary consequences beyond them. Finally, we show that the core relations emerge from elementary neural-network computations.