arXiv:2611.01345cs.LGOct 2026

Manuscript Offprint

arXiv:2611.01345

Unified dynamics of training, learning, inference, and reinforcement in neural networks

Mian Wang

Mian Wang

Wuhan Polytechnic University, Wuhan, China

Corresponding author. Email: wangmian945@gmail.com

One Sentence Summary: A unified experimental theory reveals neural networks' inner workings and reconciles conflicting research findings.

Despite their remarkable success, neural networks remain largely black boxes, and the mechanisms underlying their behavior are still poorly understood. Nine nanoGPT experiments established training–learning–inference relations: realized updates elicit state-dependent finite-amplitude responses; learning persistently reorganizes distributed functional support, with target-specific readout-boundary crossings determining capability transitions; inference recruits learned support without changing the learned state. Factors identified in the fifth experiment yielded a direct predictor of post-update capability transitions, achieving 91.43% accuracy and 91.49% four-way macro recall across 5,088 targets. We tested these relations and prediction across five additional neural architectures. In a seventh system, concentrated correct feedback eroded previously mastered skills; rebalanced feedback restored their accuracy from 70.31% to 99.48%. Linking inference consequences to subsequent training closes these relations into unified training–learning–inference–reinforcement dynamics.

Training, generalization, capability formation, and inference are central problems in neural-network research. Different fields have developed influential theories to study them.

In optimization theory, the Neural Tangent Kernel (NTK) describes parameter-induced output changes through the network Jacobian and the corresponding kernel in specified training regimes (1). Edge of Stability studies training behavior in relation to the largest Hessian eigenvalue, learning rate, and loss trajectory (2). Sharpness-Aware Minimization (SAM) constructs training updates using loss changes in a parameter neighborhood to improve generalization (3). Here, the current state is represented by parameters and their local derivatives or curvature; realized updates are produced by the optimizer; and responses appear as changes in model outputs or loss.

In representation learning and generalization, Spectral Bias examines frequency-dependent learning rates of functions or kernel modes (4). Implicit Bias studies why an optimizer selects particular solutions, such as maximum-margin directions on separable data (5). Neural Collapse measures class-feature means, within-class variability, and classifier geometry, revealing continuing representational change after training accuracy saturates (6). Information Bottleneck theory studies mutual information among inputs, hidden representations, and targets, including the retention and compression of task-relevant information (7). Their internal organizations take the form of spectral modes, optimizer-selected solutions, feature geometry, or information structure; their functional changes appear in learning rates, evolving solutions, and predictive performance.

In capability formation, Grokking captures the long delay between fitting training examples and achieving strong test generalization (8). Subsequent circuit studies track the formation and reorganization of internal computations during this delay (9). Double Descent studies how test error can rise near interpolation and fall again as model size, training time, or data conditions change (10, 11). These studies measure the current state through training phase or interpolation regime, internal change through circuit and solution evolution, and observable capability through accuracy and generalization error.

In continual learning, catastrophic forgetting occurs when training on a new task reduces performance on earlier tasks. Elastic Weight Consolidation (EWC) estimates parameter importance using Fisher information from earlier tasks and penalizes changes to important parameters (12). Gradient Episodic Memory (GEM) constrains new-task gradients using their inner products with previous-task gradients (13). Orthogonal Gradient Descent (OGD) projects new gradients into directions that approximately preserve earlier-task outputs (14). In these methods, the existing state includes previously learned parameters and function-sensitive directions; updates are constrained new-task actions; interactions occur through overlapping gradient or functional subspaces; and capability changes are measured as retention, forgetting, or transfer.

In inference research, Attention uses queries, keys, and values to compute input-dependent information weights (15). In-context learning studies how examples and task information provided in the context affect predictions while model parameters remain fixed (16). Chain-of-Thought prompting studies how intermediate reasoning steps affect performance on complex tasks (17). The current state is the trained model; input conditions include the query, context, and intermediate computations; internal computation varies with attention and activations; and functional performance is observed in the resulting predictions.

In reinforcement and feedback-driven training, reinforcement learning from human feedback (RLHF) uses preference and reward signals to adjust model behavior (18). Self-training creates further training data from a model's predictions (19). Recursive model-collapse studies examine the loss of low-probability modes when successive models are trained on data generated by their predecessors (20). Here, feedback is supplied through rewards, preferences, or generated-data distributions; training actions are the resulting updates; and subsequent functional change is observed through behavior, accuracy, and generated distributions.

These studies use different mathematical objects—kernels, Hessians, gradients, class features, mutual information, task scores, attention weights, and reward signals—yet six recurring categories can be identified: current state, realized update, functional response, internal organization, observable capability, and feedback. The core TLIR relations were established experimentally before this cross-field comparison; identifying these recurring variables here is a way to help readers understand the theory, not the process by which it was discovered.

Figure 1 illustrates the four linked dynamical roles.

Experimental Establishment of TLI Open-Loop Dynamics

The nine nanoGPT experiments that established TLI involved a substantially broader set of native interventions, controlled comparisons, and independent validations than can be presented within the main text. TL-E05 alone analyzed 15,264 identity-aligned target responses from 72 finite-amplitude sections across 12 runs, comparing seven frozen conditioning-factor blocks through cross-run matching, leave-one-block-out tests, alternative factor orders, and 2,000 run-pair-clustered bootstrap resamples. This section summarizes their key experimental findings and the resulting theoretical relations. Complete protocols, execution records, negative results, and independent validators are provided in the accompanying repository.