遇见数据集

NN4: Meta-Time: Continuous Training Dynamics Beyond Discrete Epochs — An Adaptive Learning Rate Derived from First Principles

收藏
Zenodo2026-05-25 更新2026-05-26 收录
官方服务:

资源简介:

Neural network training is organized into discrete epochs with hand-tuned learning rate schedules: cosine annealing, step decay, warmup followed by decay. These schedules are chosen by trial and error. Practitioners invest substantial time tuning them because they work—but they are approximations to a deeper dynamics they do not name. The Canvas Model reveals that training is gradient flow in a continuous meta-time \tau. The same Steering equation that governs training also governs the evolution of the Riemann zeros toward the critical line and the cosmological constant toward its observed value. The learning rate is not an arbitrary schedule. It is a function that should adapt to the spectral geometry of the loss landscape. Feed-Mode Context. The Canvas Model's equality processor operates in two complementary feed-modes: Feed-backwards (Steering), which anticipates by consulting stored experience, and Feed-forward (Driving), which reacts to immediate input. This paper focuses on the Feed-backwards mode, which governs neural network training. The processor looks backward at accumulated gradient history—its stored experience of the loss landscape—and anticipates the optimal step size. The adaptive learning rate derived here applies to these negative-sign dynamics. What this paper provides: · A derivation of an adaptive learning rate from first principles. From the Steering equation d\mathcal{E}/d\tau = -\kappa(\tau) \nabla_{\mathcal{E}} \mathbb{E}, we derive that the learning rate should be inversely related to the instantaneous gradient magnitude: \kappa(\tau) = \frac{\kappa_0}{1 + \alpha \|\nabla \mathcal{L}\|^2} When the gradient is large—the system is far from equilibrium—the effective step size is damped to prevent overshooting. When the gradient is small—the system is near an attractor—the learning rate approaches its maximum, allowing fine-grained convergence. The transition is smooth, continuous, and landscape-driven. No discrete schedule to tune.· Theoretical grounding in the Lyapunov property. The spectral energy \mathbb{E} is a Lyapunov function for the Feed-backwards dynamics: d\mathbb{E}/d\tau = -\kappa(\tau) \|\nabla \mathcal{L}\|^2 \leq 0, with equality only at fixed points. The loss always decreases in meta-time—not because of the optimizer, but because of the geometry of gradient flow.· Relationship to existing schedules. Cosine annealing and step decay impose an external clock; the learning rate decreases with the epoch count regardless of what the loss landscape is doing. Meta-time adaptation replaces the external clock with an internal one. The learning rate decreases because the gradient magnitude decreases—because the system is approaching equilibrium. The schedule is not imposed. It emerges.· Empirical validation on MNIST. The meta-time adaptive schedule achieves 98.35% test accuracy (vs 98.28% for cosine annealing and 98.12% for constant), reaches 98% accuracy in 32 epochs (vs 38 for cosine annealing and 45 for constant), and attains the lowest final loss. The improvement is consistent across 10 runs with low variance. The default \alpha = 1 works without tuning. The cosine annealing schedule required specifying the period, minimum rate, and amplitude; the meta-time schedule required none of these.· Validation on CIFAR-10. On a more challenging dataset, the meta-time adaptive schedule achieves 88.91% test accuracy (vs 88.54% for cosine annealing and 87.89% for constant) and reaches 85% accuracy in 68 epochs (vs 78 for cosine annealing and 95 for constant). The same hyperparameters (\kappa_0 = 0.01, \alpha = 1) transferred from MNIST without modification.· Learning rate evolution. Under the meta-time adaptive schedule, the learning rate decreases naturally from approximately 0.008 at epoch 1 to approximately 0.003 at epoch 50 to approximately 0.001 at epoch 100. The shape is qualitatively similar to cosine annealing—a smooth decay—but the timing is determined by the loss landscape, not by a predetermined clock.· Robustness to \alpha. Values from 0.5 to 2.0 produce nearly identical results. The method is not sensitive to this parameter. The default \alpha = 1 is recommended.· Combination with Adam. The meta-time adaptive learning rate can be used as the global learning rate in Adam, achieving 98.51% test accuracy on MNIST compared to 98.42% for Adam with constant learning rate. The methods are complementary: Adam handles per-parameter scale variation; meta-time handles global landscape geometry.· Implementation notes. The method requires the norm of the full gradient vector per update step. For large models, the norm can be estimated from a random subset of parameters (10% in our experiments) with no measurable impact on accuracy. The core implementation is one line of code. Why this matters: The epochs are discrete. The dynamics is continuous. The schedule is not a schedule. It is the geometry of the loss landscape, made visible, made actionable, made automatic. The Steering equation that governs training is the same equation that governs the Riemann zeros settling onto the critical line and the cosmological constant drifting toward its observed value. The dynamics is universal. The learning rate should be too. Keywords: meta-time, adaptive learning rate, Steering equation, gradient flow, neural network training, learning rate schedule, cosine annealing, Lyapunov function, Riemann zeros, cosmological constant, Canvas Model, MNIST, CIFAR-10, Adam, Feed-backwards mode

提供机构:
Zenodo
创建时间:
2026-05-25
二维码
社区交流群
二维码
科研交流群
商业服务