Introduction
The learning rate decay (LRD) plays a fundamental role in training high-performance deep learning models [31 , 13 ] (Tissue et al. 2025). Its design directly governs the convergence behavior, generalization capability, and final performance of models across a wide spectrum of tasks and architectures. Notably, the influence of LRDs becomes even more pronounced in resource-constrained or time-sensitive scenarios, where the number of training iterations is limited [7 , 31 ] . These advantages underscore the practical importance of LRDs not only as a tuning parameter but as an essential lever for sustainable and scalable model development.
Research in this area has evolved along two main lines. A line of work [8 , 29 , 30 , 14 , 1 , 25 , 41 , 7 , 10 ] focus on designing LRDs primarily through empirically driven approaches, effectively enhancing accuracy. Another line of research is theoretically driven, mainly seeking to establish frameworks and scaling laws for LRDs to provide theoretical explanation for phenomena [26 , 5 , 13 , 23 , 31 ] (Tissue et al. 2025). Notably, Tang et al. propose a theoretically grounded LRD called UBA [31 ] to narrow this gap. This framework adopts a min-max formulation that accounts for robustness to variations in loss landscape curvature, thereby guaranteeing performance under worst-case conditions. The UBA LRD mitigates heuristic design while maintaining strong and consistent performance across diverse tasks, architectures, model scales, and training budgets. Consequently, it removes the costly trial-and-error process typically required to select an appropriate LRD for a given network and training setup.
Despite its merits, UBA remains confined to its design framework which is analyzed in the context of Stochastic Gradient Descent (SGD). It raises questions about its generalization to adaptive optimizers such as Adam [11 ] . Moreover, although UBA establishes a connection to optimization difficulty via the local Hessian, its pivotal parameter φ \varphi φ is itself invariant to the internal dynamics of networks. Thus it lacks real-time feedback from the training state. This disconnect between the predetermined LRD and the dynamic training trajectory represents a key limitation in current practice. These limitations prompt a natural question:
Can we explain the pivotal parameter φ \varphi φ in universal budget aware LRD, further closing the gap between principle and practice?
In this work, we take a step toward this goal by extending the theoretical foundation of UBA to the Adam optimizer, aiming to combine theoretical soundness with practical, state-aware adaptability.
To achieve this, we propose the Universal Training LR under Adaptive moment estimation (UTA) LRD. First, it is theoretically grounded, built upon a principled robust optimization framework. Moreover, it is dynamically training adaptive, adjusting stepwise learning rates (LRs) based on the real-time optimizer states during training. This stands in contrast to LRDs that predefine a fixed curve for LR variation. Additionally, it is inherently optimizer-agnostic. Although this paper focuses on its implementation with the Adam, the underlying framework generalizes to other optimizers.
To solve this extended optimization problem, we introduce a segment-wise continuous analysis. This approach offers three advantages. First, it yields the optimal shape of LRD curve. Second, it naturally gives rise to the concept, intrinsic time, defined as the cumulative LR effort. This quantity establishes a mapping between the external world of physical iteration count and an internal world of model optimization, serving as a more faithful measure of training progress. The continuous analysis further describes the energy evolution of optimization progress along intrinsic time, which gives the dynamic setting of the proposed LRD. Consequently, the derived LRD is near-optimal in shape and energy-calibrated in scale. Practically, the proposed LRD is plug-and-play, requiring minimal modification to existing model architectures or training pipelines, thus enabling easy adoption across diverse deep-learning frameworks.
Empirically, UTA delivers consistent improvements across both language (LLaMA-60M to 1B) and vision (ResNet50, ViT-B on ImageNet) tasks. Moreover, comprehensive ablation studies substantiate its practical advantages: (i) robustness to hyper-parameters including peak LR, final decay ratio, and φ 0 \varphi_0 φ 0 ; (ii) the effect of its state-aware mechanism; and (iii) effective generalization to parameter-efficient fine-tuning scenarios.
Main contributions:
We propose UTA, a novel generalized LRD framework, which extends the principled UBA framework from SGD to adaptive optimizers, such as AdamW, thereby overcoming a key limitation of prior work that restricts its applicability.
We introduce the concept of intrinsic time as a unified measure of training progress, establishing a mapping from external iteration counts to internal optimization dynamics. This perspective not only reveals the fundamental nature of UBA’s pivotal parameter φ \varphi φ by identifying it as the scale of intrinsic time, but also provides a principled foundation for dynamically determining the LRs.
We construct a theoretically grounded mechanism that combines a segment-wise analysis and an intrinsic-time-based energy evolution, coupling the optimal LRD shape with real-time optimization states.
We conduct extensive experiments across language (LLaMA-60M to 1B) and vision (ResNet50, ViT-B on ImageNet) tasks, along with comprehensive ablations on hyperparameter sensitivity, dynamic component efficacy, automatic LR methods, and fine-tuning transferability. These results confirm UTA’s consistent performance gains, robustness, and plug-and-play deployability with negligible overhead.
The remainder of this paper is organized as follows. Section 2 is the preliminary. Section 3 presents the methodology. Section 4 reports experimental results. Section 5 concludes with a discussion and directions for future work. A comprehensive review of related work is provided in Appendix J. Theoretical properties is provided in Appendix G.
Preliminary
Robust optimization of learning rate. Let f ( W , ξ ) f(W,\xi) f ( W , ξ ) denote a neural network parameterized by parameters W ∈ R N W \in\mathbb{R}^{N} W ∈ R N on the data ξ \xi ξ . ξ \xi ξ denotes the data sampling on the dataset D D D , and let F \mathcal{F} F be a function class that incorporates the variation in multiple factors, such as the network structures and data sets. Let L \mathcal{L} L be the loss function, T T T be a maximum number of training iterations, and t t t be the current learning step. UBA [31 ] establishes a robust optimization framework for learning rate (ROLR) under SGD, formulated as:
min η 1 , η 2 , … , η T − 1 max f ∈ F L ( f ( W T , ξ ) ) , s.t. W t + 1 = W t − η t ∇ L ( f ( W t , ξ ) ) , (1) \begin{aligned}
\min_{\eta_1,\eta_2,\ldots,\eta_{T-1}}\quad&\max_{f\in\mathcal{F}}\quad\mathcal{L}(f(W_T,\xi)),\\
\text{s.t.}\quad&W_{t+1}=W_t-\eta_t\nabla\mathcal{L}(f(W_t,\xi)), \tag*{(1)}
\end{aligned} η 1 , η 2 , … , η T − 1 min s.t. f ∈ F max L ( f ( W T , ξ )) , W t + 1 = W t − η t ∇ L ( f ( W t , ξ )) , (1)
where t = 0 , 1 , 2 , ⋯ , T − 1 t=0,1,2,\cdots,T-1 t = 0 , 1 , 2 , ⋯ , T − 1 . This min-max formulation guarantees performance in worst-case scenarios. However, this formulation constrains the feasible region to the standard gradient update process, limiting its direct compatibility with adaptive optimizers like Adam.
Definition 2.1 (UBA-equivalent family). This family, as defined in Definition 2.1, encapsulates the optimal LRDs for gradient descent under a robust analysis [31 ] . Specifically, considering the k k k -th segment [ T k , T k + 1 ] [T_k,T_{k+1}] [ T k , T k + 1 ] with length Δ T k \Delta T_k Δ T k , the optimal learning rate at the t t t -th step is given by the following instance of the UBA-equivalent family η t : = g a , b ( φ , θ t , k ) \eta_t:=g_{a,b}(\varphi,\theta_{t,k}) η t := g a , b ( φ , θ t , k ) , where θ t , k : = [ 2 ( t − T k ) − 1 ] π / 2 ( T k + 1 − T k ) + ( k − 1 ) π \theta_{t,k}:=[2(t-T_k)-1]\pi/2(T_{k+1}-T_k)+(k-1)\pi θ t , k := [ 2 ( t − T k ) − 1 ] π /2 ( T k + 1 − T k ) + ( k − 1 ) π , the range parameters a = η min ( k ) a=\eta_{\min}^{(k)} a = η m i n ( k ) and b = η max ( k ) b=\eta_{\max}^{(k)} b = η m a x ( k ) correspond to the minimal and the maximal step sizes, respectively. ( k − 1 ) π (k-1)\pi ( k − 1 ) π introduces a phase shift across segments. The parameter φ \varphi φ controls the curvature of the LRD, related to optimization difficulty or the Hessian of local minima. However, φ \varphi φ is static and expertise prior-driven. For a curvature parameter φ > 0 \varphi>0 φ > 0 , range parameters b , a ≥ 0 b,a\geq0 b , a ≥ 0 , a step index t t t and a period parameter k k k , the UBA-equivalent family is defined as
g a , b ( φ , θ t , k ) : = b + a 2 [ 1 + cos ( θ t , k ) ] 2 φ + ( 2 − φ ) [ 1 + cos ( θ t , k ) ] . (2) g_{a,b}(\varphi,\theta_{t,k}):=b+a\frac{2[1+\cos(\theta_{t,k})]}{2\varphi+(2-\varphi)[1+\cos(\theta_{t,k})]}. \tag*{(2)} g a , b ( φ , θ t , k ) := b + a 2 φ + ( 2 − φ ) [ 1 + cos ( θ t , k )] 2 [ 1 + cos ( θ t , k )] . (2)
Methodology
Problem statement
We extend the ROLR equation 1 to a generalized update rule governed by optimizer-specific dynamics. The global min-max view is
min η 1 , η 2 , … , η T − 1 max f ∈ F L ( f ( W T , ξ ) ) s.t. W t + 1 = W t − η t ⋅ P ( t ) ∇ L ( W ( t ) , ξ ) , (3) \begin{aligned}
\min_{\eta_1,\eta_2,\ldots,\eta_{T-1}}\quad&\max_{f\in\mathcal{F}}\quad\mathcal{L}(f(W_T,\xi))\\
\text{s.t.}\quad&W_{t+1}=W_t-\eta_t\cdot P(t)\nabla\mathcal{L}(W(t),\xi), \tag*{(3)}
\end{aligned} η 1 , η 2 , … , η T − 1 min s.t. f ∈ F max L ( f ( W T , ξ )) W t + 1 = W t − η t ⋅ P ( t ) ∇ L ( W ( t ) , ξ ) , (3)
where P ( t ) P(t) P ( t ) captures the optimizer-specific state dynamics, such as scaling or preconditioning, and may be chosen to represent different optimization algorithms within the same generalized framework. For instance, SGD corresponds to P ( t ) = I P(t)=I P ( t ) = I . Adam is recovered by defining P ( t ) P(t) P ( t ) such that P ( t ) ∇ L ( W ( t ) ) = m t / ( v t + ϵ ) P(t)\nabla\mathcal{L}(W(t))=m_t/(\sqrt{v_t}+\epsilon) P ( t ) ∇ L ( W ( t )) = m t / ( v t + ϵ ) , where m t m_t m t and v t v_t v t are the first and second moment estimates following Adam update rules. Other adaptive methods like AdaGrad or Conda (?) can be represented analogously through appropriate definitions of P ( t ) P(t) P ( t ) based on their state variables. This paper primarily focuses on the case where P ( t ) P(t) P ( t ) implements the Adam dynamics (See details in Appendix § 8 ).
Segment-wise continuous analysis
There is a challenge in solving the problem equation (3) due to the exponential moving averages nature of the optimization process, where the loss landscape and gradient statistics of Adam evolve over time.
To capture this nature yet retain tractability, we analyze training dynamics through their continuous-time limit rather than discrete updates following prior work [15 , 16 , 17 , 18 , 13 ] . This perspective offers crucial advantages. First, we can make small segment-wise approximation of Adam by preconditioned GD. In detail, we partition the problem into K K K segments [ T k , T k + 1 ) [T_k,T_{k+1}) [ T k , T k + 1 ) , assuming local approximations for the curvature in each segment.
Segment-wise decomposition. We partition the training horizon [ 0 , T ] [0,\mathcal{T}] [ 0 , T ] into K K K segments 0 = T 0 < T 1 < ⋯ < T K = T 0=T_0<T_1<\cdots<T_K=\mathcal{T} 0 = T 0 < T 1 < ⋯ < T K = T , and focus on the k k k -th segment [ T k , T k + 1 ] [T_k,T_{k+1}] [ T k , T k + 1 ] . For ease of theoretical analysis, we transition from the discrete interval [ T k , T k + 1 ] [T_k,T_{k+1}] [ T k , T k + 1 ] to a continuous representation. The local dynamics could be approximately analyzed, allowing us to model Adam as a preconditioned gradient flow with bounded approximation error (will be further explained in Paragraph Optimal Shape of Problem Solution3.2). Consequently, the adaptive Adam updates can be analyzed through the simpler lens of preconditioned gradient descent within each short segment.
Definition 3.1 (intrinsic time). For a segment [ T k , T k + 1 ) [T_k,T_{k+1}) [ T k , T k + 1 ) , define U k : = ∫ T k T k + 1 η ( t ) d t U_k:=\int_{T_k}^{T_{k+1}}\eta(t)\,\mathrm{d}t U k := ∫ T k T k + 1 η ( t ) d t , where η ( τ ) \eta(\tau) η ( τ ) denotes the continuous-time learning rate.
Intrinsic time. We introduce a key reparameterization of the training timeline via a continuous change of variables. The quantity U k U_k U k has a natural interpretation as a time reparameterization . Consider the mapping t = T ‾ ( τ ) : = ∫ T k τ η ( z ) d z t=\overline{T}(\tau):=\int_{T_k}^{\tau}\eta(z)\,\mathrm{d}z t = T ( τ ) := ∫ T k τ η ( z ) d z , which transforms physical time (iteration index τ \tau τ ) into an intrinsic time t t t that reflects the internal optimization progress of model. Thus, U k U_k U k represents the total intrinsic duration of the segment, providing a more accurate measure of training advancement than the raw iteration count.
Optimal shape of problem solution. We characterize the optimal shape of the stepsizes within each segment of Problem 3. Lemma D.1 controls the segment radius in terms of the intrinsic time U k U_k U k . Lemma D.3 shows that on such short segments Adam bias-corrected momentum m ^ t \hat{m}_t m ^ t tracks the true gradient with a small error. These results validate a piecewise preconditioned gradient approximation and enable Theorem 3.2, which identifies the UBA-equivalent family as the optimal segment-wise stepsize shape.
Theorem 3.2 (Optimal UBA-equivalent shape on a segment). Consider the min-max problem 3 on segment k k k , and assume that the step sizes are constrained to lie in the interval [ η min ( k ) , η max ( k ) ] [\eta_{\min}^{(k)},\eta_{\max}^{(k)}] [ η m i n ( k ) , η m a x ( k ) ] . There exists an optimal shape of step sizes that minimizes the worst-case loss. This optimal shape belongs to the UBA-equivalent family for some curvature parameter φ k > 0 \varphi_k>0 φ k > 0 .
The proof can be found in Appendix § 9 .
For segment k k k , Theorem 3.2 specifies that the shape of the optimal step sizes is a member of UBA-equivalent Family. However, the precise shape of the LRD remains unknown since the key factor φ \varphi φ is still free. To close this gap, in the next subsection, we determine the overall scale by introducing the intrinsic time, i.e., U k : = ∫ T k T k + 1 η ( τ ) d τ U_k:=\int_{T_k}^{T_{k+1}}\eta(\tau)\,\mathrm{d}\tau U k := ∫ T k T k + 1 η ( τ ) d τ , to specify φ \varphi φ and completing the optimal LRD.
Regularized energy evolution via intrinsic time
This section establishes a theoretical control for scales of segment-wise LRD. We first model the training dynamics within each segment as a stochastic dynamical system following [17 , 13 ] . From this stochastic differential equations (SDEs) formulation, we derive a bias-variance-style upper bound on the expected energy evolution (Theorem 3.3). Minimizing this bound naturally leads to regularized problems: the ℓ 1 \ell_1 ℓ 1 -regularized formulation (Corollary 3.4) under a bounded LR constraint; the ℓ 2 \ell_2 ℓ 2 -regularized surrogate (Corollary 3.5) under a near-constant step-size approximation. Both problems admit explicit-form solutions, which yields the optimal intrinsic time U k ∗ U_k^* U k ∗ . This solution inspires us to design the quantity that governs the scale of the UBA-shaped LR throughout the segment (see Appendix § 10 for details).
Denote ∇ L ( W t ) = E ξ t ∇ L ( W t , ξ t ) \nabla\mathcal{L}(W_t) = \mathbb{E}_{\xi_t}\nabla\mathcal{L}(W_t,\xi_t) ∇ L ( W t ) = E ξ t ∇ L ( W t , ξ t ) , we have ∇ L ( W t , ξ t ) = ∇ L ( W t ) + δ t \nabla\mathcal{L}(W_t,\xi_t) = \nabla\mathcal{L}(W_t) + \delta_t ∇ L ( W t , ξ t ) = ∇ L ( W t ) + δ t , where the gradient noise δ t \delta_t δ t satisfies E ( δ t ) = 0 \mathbb{E}(\delta_t) = 0 E ( δ t ) = 0 . Since the segment is short, the stochastic preconditioned gradient flow can be modeled in accordance with SGD noise [13 ] scaling by d W ( t ) = − η ( t ) P ( t ) ∇ L ( W ( t ) ) d t + η ( t ) P ( t ) Σ 1 / 2 d B ( t ) dW(t) = -\eta(t)P(t)\nabla\mathcal{L}(W(t))\,dt + \eta(t)P(t)\Sigma^{1/2}\,dB(t) d W ( t ) = − η ( t ) P ( t ) ∇ L ( W ( t )) d t + η ( t ) P ( t ) Σ 1/2 d B ( t ) , where W ( t ) W(t) W ( t ) is the weight parameter, Σ ⪰ 0 \Sigma\succeq0 Σ ⪰ 0 is the covariance of the gradient noise and B ( t ) B(t) B ( t ) is a standard Brownian motion (see Appendix § 10 for details).
Under a quadratic expansion measurement, we define the energy function between the t t t -th step weights and local minimum within segment E ( t ) : = 1 2 ∥ e ( t ) ∥ 2 E(t) := \frac{1}{2}\lVert e(t)\rVert^2 E ( t ) := 2 1 ∥ e ( t ) ∥ 2 , e ( t ) : = H k 1 / 2 ( W ( t ) − W ‾ ( k ) ) H k 1 / 2 e(t) := H_k^{1/2}(W(t)-\overline{W}^{(k)})H_k^{1/2} e ( t ) := H k 1/2 ( W ( t ) − W ( k ) ) H k 1/2 , where H k H_k H k is the abbreviation for H f ( k ) H_f^{(k)} H f ( k ) , the Hessian matrix at local minima (the precise construction is detailed in Appendix § 10 ).
With the above setup, we obtain the following bias-variance-style bound expressed in terms of the intrinsic time.
Theorem 3.3. Consider the k k k -th segment [ T k , T k + 1 ] [T_k,T_{k+1}] [ T k , T k + 1 ] and the preconditioned stochastic gradient flow equation (21) , the expected energy at the segment end satisfies the bias–variance bound
E [ E ( T k + 1 ) ] ≤ E [ E ( T k ) ] e − 2 ν ℓ ( k ) U k + 1 2 α ∫ T k T k + 1 η 2 ( t ) d t , (4) \mathbb{E}[E(T_{k+1})] \le\mathbb{E}[E(T_k)]e^{-2\nu_{\ell}^{(k)}U_k}+\frac{1}{2}\alpha\int_{T_k}^{T_{k+1}}\eta^2(t)\,dt, \tag*{(4)} E [ E ( T k + 1 )] ≤ E [ E ( T k )] e − 2 ν ℓ ( k ) U k + 2 1 α ∫ T k T k + 1 η 2 ( t ) d t , (4) where α : = sup t ∈ [ T k , T k + 1 ] tr ( H k 1 / 2 P ( t ) Σ P ( t ) H k 1 / 2 ) \alpha:= \sup_{t\in[T_k,T_{k+1}]}\operatorname{tr}(H_k^{1/2}P(t)\Sigma P(t)H_k^{1/2}) α := sup t ∈ [ T k , T k + 1 ] tr ( H k 1/2 P ( t ) Σ P ( t ) H k 1/2 ) is the noise intensity bound, and λ min ( M ( t ) ) ≥ ν ℓ ( k ) > 0 \lambda_{\min}(M(t)) \ge\nu_{\ell}^{(k)} > 0 λ m i n ( M ( t )) ≥ ν ℓ ( k ) > 0 , M ( t ) : = H k 1 / 2 P ( t ) H k 1 / 2 M(t) := H_k^{1/2}P(t)H_k^{1/2} M ( t ) := H k 1/2 P ( t ) H k 1/2 is the spectral lower bound.
The proof can be found in Appendix § 10 .
Corollary 3.4 (ℓ 1 \ell_1 ℓ 1 -regularized intrinsic-time problem). Under Theorem 3.3 and the constraint 0 ≤ η ( t ) ≤ η max 0 \le\eta(t) \le\eta_{\max} 0 ≤ η ( t ) ≤ η m a x on [ T k , T k + 1 ] [T_k,T_{k+1}] [ T k , T k + 1 ] , the intrinsic-time selection problem reduces to the ℓ 1 \ell_1 ℓ 1 -regularized problem,
min U ∈ [ 0 , η max Δ T k ] { E [ E ( T k ) ] e − 2 ν ℓ ( k ) U + 1 2 α η max U } . (5) \min_{U\in[0,\eta_{\max}\Delta T_k]}\left\{\mathbb{E}[E(T_k)]e^{-2\nu_{\ell}^{(k)}U}+\frac{1}{2}\alpha\eta_{\max}U\right\}. \tag*{(5)} U ∈ [ 0 , η m a x Δ T k ] min { E [ E ( T k )] e − 2 ν ℓ ( k ) U + 2 1 α η m a x U } . (5) Its minimizer admits the closed form min ( max ( 0 , 1 2 ν ℓ ( k ) ln ( 4 ν ℓ ( k ) E [ E ( T k ) ] α η max ) ) , η max Δ T k ) \min\left(\max\left(0,\frac{1}{2\nu_{\ell}^{(k)}}\ln\left(\frac{4\nu_{\ell}^{(k)}\mathbb{E}[E(T_k)]}{\alpha\eta_{\max}}\right)\right),\eta_{\max}\Delta T_k\right) min ( max ( 0 , 2 ν ℓ ( k ) 1 ln ( α η m a x 4 ν ℓ ( k ) E [ E ( T k )] ) ) , η m a x Δ T k ) .
The proof can be found in Appendix § 10 .
Corollary 3.5 (ℓ 2 \ell_2 ℓ 2 surrogate via near-constant stepsizes). Under Theorem 3.3 and continuity of UBA-shape function, the intrinsic-time selection problem can be approximated as ℓ 2 \ell_2 ℓ 2 -regularized problem,
min U k ∈ [ 0 , η max Δ T k ] E [ E ( T k ) ] e − 2 ν ℓ ( k ) U k + 1 2 α U k 2 Δ T k , (6) \min_{U_k\in[0,\eta_{\max}\Delta T_k]}\mathbb{E}[E(T_k)]e^{-2\nu_{\ell}^{(k)}U_k}+\frac{1}{2}\alpha\frac{U_k^2}{\Delta T_k}, \tag*{(6)} U k ∈ [ 0 , η m a x Δ T k ] min E [ E ( T k )] e − 2 ν ℓ ( k ) U k + 2 1 α Δ T k U k 2 , (6) The minimizer is given by the Lambert-W (Corless et al., [2 ] ) expression min ( max ( 0 , U ‾ ) , η max Δ T k ) \min(\max(0,\overline{U}),\eta_{\max}\Delta T_k) min ( max ( 0 , U ) , η m a x Δ T k ) , where U ‾ : = 1 2 ν ℓ ( k ) W ( 2 ( ν ℓ ( k ) ) 2 E [ E ( T k ) ] Δ T k α ) \overline{U}:=\frac{1}{2\nu_{\ell}^{(k)}}W\left(\frac{2(\nu_{\ell}^{(k)})^2\mathbb{E}[E(T_k)]\Delta T_k}{\alpha}\right) U := 2 ν ℓ ( k ) 1 W ( α 2 ( ν ℓ ( k ) ) 2 E [ E ( T k )] Δ T k ) .
The proof can be found in Appendix § 10 .
A computable plug-in estimate of U k ∗ U_k^* U k ∗ . Both closed-form solutions for U k ∗ U_k^* U k ∗ in Corollaries 3.4 and 3.5 are dominated by the ratio ν ℓ ( k ) E [ E ( T k ) ] α \frac{\nu_\ell^{(k)}\mathbb{E}[E(T_k)]}{\alpha} α ν ℓ ( k ) E [ E ( T k )] . We retain this dominant part to preserve the leading-order asymptotic behavior of the theoretical solutions while relying only on quantities observable during training.
Since ν ℓ ( k ) \nu_\ell^{(k)} ν ℓ ( k ) , E [ E ( T k ) ] \mathbb{E}[E(T_k)] E [ E ( T k )] , and α \alpha α are not directly observable, we adopt a plug-in estimate with measurable surrogates. The energy term is approximated by the current training loss, E [ E ( T k ) ] ≈ L ( W T k ) \mathbb{E}[E(T_k)] \approx\mathcal{L}(W_{T_k}) E [ E ( T k )] ≈ L ( W T k ) , following the local quadratic definition of E E E . The spectral lower bound is approximated by the Adam preconditioned gradient, ν ℓ ( k ) ∣ T k ≈ 2 E ( T k ) ∥ m ^ t / ( v ^ t + ϵ ) ∥ 2 \nu_\ell^{(k)}|_{T_k} \approx\frac{2E(T_k)}{\lVert\widehat{m}_t/(\sqrt{\widehat{v}_t}+\epsilon)\rVert^2} ν ℓ ( k ) ∣ T k ≈ ∥ m t / ( v t + ϵ ) ∥ 2 2 E ( T k ) . The noise intensity α \alpha α is treated as a tunable hyper-parameter. A direct substitution yields an inverse-quadratic dependence on the preconditioned update norm, which becomes numerically unstable when ∥ ⋅ ∥ \lVert\cdot\rVert ∥ ⋅ ∥ is small. We therefore replace ∥ ⋅ ∥ − 2 \lVert\cdot\rVert^{-2} ∥ ⋅ ∥ − 2 with the surrogate ( 1 + ∥ ⋅ ∥ ) − 1 (1+\lVert\cdot\rVert)^{-1} ( 1 + ∥ ⋅ ∥ ) − 1 , which preserves monotonicity and asymptotic behavior while remaining bounded in ( 0 , 1 ] (0,1] ( 0 , 1 ] . This gives the stabilized plug-in estimate
U t ∗ = 1 / ( 1 + φ 0 / 2 ∥ m ^ t v ^ t + ϵ ∥ ) , (7) U_t^* = 1/\left(1+\sqrt{\varphi_0/2}\left\lVert\frac{\widehat{m}_t}{\sqrt{\widehat{v}_t}+\epsilon}\right\rVert\right), \tag*{(7)} U t ∗ = 1/ ( 1 + φ 0 /2 v t + ϵ m t ) , (7)
where φ 0 \varphi_0 φ 0 is a hyper-parameter and U k ∗ = inf t ∈ [ T k , T k + 1 ) 1 / ( 1 + φ 0 / 2 ∥ m ^ t v ^ t + ϵ ∥ ) U_k^*=\inf_{t\in[T_k,T_{k+1})}1/\left(1+\sqrt{\varphi_0/2}\left\lVert\frac{\widehat{m}_t}{\sqrt{\widehat{v}_t}+\epsilon}\right\rVert\right) U k ∗ = inf t ∈ [ T k , T k + 1 ) 1/ ( 1 + φ 0 /2 v t + ϵ m t ) . This estimate preserves the dominant asymptotic behavior of the theoretical solutions while depending only on quantities available in standard adaptive optimizers (see Appendix § 10 for details).
Derived LRD
The optimal solution of problem equation (3) is given by a member of UBA-equivalent family (Definition 2.1 ) where φ k \varphi_k φ k is unknown. In this subsection, we complete the UTA design by matching the energy-optimal intrinsic time U t ∗ U_t^* U t ∗ equation (7) , with the intrinsic time implied by the UBA-equivalent shape, i.e., U φ k = ∫ T k T k + 1 g a , b ( φ , θ t , k ) d t U_{\varphi_k}=\int_{T_k}^{T_{k+1}}g_{a,b}(\varphi,\theta_{t,k})\,\mathrm{d}t U φ k = ∫ T k T k + 1 g a , b ( φ , θ t , k ) d t . Concretely, for the desired parameterization of the shape, such as fixing b = η min ( k ) b=\eta_{\min}^{(k)} b = η m i n ( k ) and a = ( η max ( k ) − η min ( k ) ) a=(\eta_{\max}^{(k)}-\eta_{\min}^{(k)}) a = ( η m a x ( k ) − η m i n ( k ) ) , solving for φ t \varphi_t φ t under iteration-wise extension, we obtain the scalar equation U φ t = U t ∗ U_{\varphi_t}=U_t^* U φ t = U t ∗ (the details of integral are in Appendix § 11 ). Then we have φ t = φ 0 ∥ m ^ t v ^ t + ϵ ∥ 2 \varphi_t=\varphi_0\left\lVert\frac{\widehat{m}_t}{\sqrt{\widehat{v}_t}+\epsilon}\right\rVert^2 φ t = φ 0 v t + ϵ m t 2 . This yields a per-segment effective LRD that is (i) near-optimal in shape for 3, by Theorem 3.2, and (ii) energy-calibrated in scale, by subsection 3.3. Furthermore, we extend the LRD on entire horizon and keep a controlled approximation for the original dynamics (see Appendix § 11 ). The derived LRD on the entire horizon [ 0 , T ] [0,T] [ 0 , T ] admits the explicit form
η ( t ) = g a , b ( φ t , θ ( t ) ) , (8) \eta(t)=g_{a,b}(\varphi_t,\theta(t)), \tag*{(8)} η ( t ) = g a , b ( φ t , θ ( t )) , (8)
where a = η min a=\eta_{\min} a = η m i n , b = η max − η min b=\eta_{\max}-\eta_{\min} b = η m a x − η m i n , θ ( t ) : = π ⋅ t T \theta(t):=\frac{\pi\cdot t}{T} θ ( t ) := T π ⋅ t , the curvature parameter φ t = φ 0 ∥ m ^ t v ^ t + ϵ ∥ 2 \varphi_t=\varphi_0\left\lVert\frac{\widehat{m}_t}{\sqrt{\widehat{v}_t}+\epsilon}\right\rVert^2 φ t = φ 0 v t + ϵ m t 2 .
Complexity analysis
The computational overhead of UTA is negligible in practice. Each update involves merely 8-16 scalar arithmetic operations and a single norm computation. The cost is orders of magnitude lower than the FLOPs required for standard forward and backward propagation in modern neural networks.
Experiments
We conduct a systematic evaluation of the proposed LRD along three key axes of diversity: (i) model architecture , covering both convolutional (ResNetHe et al., [8 ] ) and attention-based (ViTDosovitskiy et al., [6 ] ) vision models, as well as language models (LLaMA); (ii) task modality , encompassing vision and language tasks; and (iii) training scale , covering the large-scale training (ImageNet and LLM pre-training from 60M to 1B). This multi-faceted evaluation is designed to rigorously assess the generality, robustness, and scalability of our method.
Baselines. Our baseline selection is informed by recent systematic evaluations of LRDs. The study (Tang et al., [31 ] ) performs comprehensive empirical comparisons of LRDs. It shows that the UBA is a consistently top-performing LRD, and identifies cosine and linear decay as competitive approaches. Accordingly, we include UBA (Tang et al., [31 ] ) as a strong latest baseline, and include Cosine(CS) (Loshchilov & Hutter, [22 ] ) and Linear decay(LD) (Li et al., [14 ] ) as representative classical baselines in our evaluation. To further strengthen the comparison, we also include the WSD (Zhai et al., [41 ] ; Hu et al., [10 ] ) LRD, a widely used and empirically validated strategy in large-scale language model pre-training, as an additional strong baseline representative of modern practices. The LRD-specific hyper-parameters and details are provided in Appendix § 13 .§ 1 and H.2.
Experimental details. All baselines follow the same standard configurations as established in prior work on LLaMA (Lialin et al., [19 ] ; Zhao et al., [43 ] ), ResNet (Wightman et al., [38 ] ), and ViT (Touvron et al., [34 ] ; Yu et al., [39 ] ), ensuring a fair comparison. These configurations are widely adopted defaults that have been empirically validated as the baseline.
A key advantage of UTA lies in its parameter φ 0 \varphi_0 φ 0 . While an optimal φ 0 \varphi_0 φ 0 can further improve model performance, we intentionally fix its value across all tasks and architectures to ensure fair evaluation (Appendix § 13 .§ 2 ).
Comprehensive experimental details, such as computational resources, configurations, implementation specifics, are elaborated in Appendix § 13 . Our implementation strictly follows the PyTorch official API. It is inherited from the base class torch.optim.lr_LRDr.LRDcheduler. This design ensures native compatibility with the optimizer in torch.optim. Fully functional, production-ready code is publicly released (see Appendix § 13 for link and implement details).
Performance on language task with LLaMA
We evaluate on four scales of the LLaMA architecture: 60M, 130M, 350M, and 1B parameters. For each model, we consider four distinct training budgets : 10K, 15K, 20K, and 25K training steps, covering regimes from extremely limited to moderately long training. To provide a granular view of the optimization dynamics, we report the validation perplexity at around 30%, 60%, and 100% of the total budget for each scale (e.g., for 1B model, at 8k, 16k, and final 25k steps). Performance is measured by validation perplexity, which directly reflects the model generative uncertainty and language modeling quality. Results are summarized in Tab. 1.
UTA consistently outperforms all baselines across model scales and most training checkpoints. This is not merely a marginal improvement at the final step, but a systematic acceleration throughout the entire training process. Firstly, UTA exhibits remarkably fast convergence in the early stages. At the 30% checkpoint, UTA achieves the lowest perplexity across all model sizes. These early-stage gains demonstrate UTA’s ability to establish a proper initial trajectory, which is critical for large-scale training where early decisions profoundly impact final performance. Most critically, UTA achieves best final perplexity across all four model scales , with absolute improvements from 0.23 (60M), 0.67 (130M), 0.08 (350M) and 0.30 (1B) perplexity units over the best baseline. Although the absolute final gains range from 0.23 to 0.67 perplexity, the relative improvement becomes increasingly meaningful as model size grows. Because for large-scale foundation models, even a 0.2-unit reduction in perplexity translates into a statistically significant leap in generation quality and reliability. We analyze that these consistent gains may be attributed to (i) near-optimal in shape by Theorem 3.2, and (ii) energy-calibrated in scale by subsection 3.3. It gives UTA the ability to dynamically balance exploration and stabilization during training.
Table 1. Perplexity (e validation loss e^{\text{validation loss}} e validation loss ) on LLaMA 60M, 130M, 350M and 1B models. Lower is better (↓ \downarrow ↓ ).
Table 2. ImageNet test top-1 Acc. (%) of different LRDs on ResNet50 and ViT-B for 300 epochs. Higher values indicates better performance (↑ \uparrow ↑ ). Best results in bold.
We also illustrate the perplexity evolution in Figure 1 . All curves show a characteristic rapid initial descent followed by gradual convergence. UTA consistently outperforms throughout training, demonstrating both faster initial convergence and superior final performance, while WSD and UBA exhibit competitive performance. These patterns align with theoretical expectations in Appendix § 12 .
Figure 1. Training curves of LLaMA models, ResNet-50 and ViT-B.
Moreover, we emphasize that the observed performance gains are not simply due to an increased average LR. In our experiments, the average LR of the WSD baseline was notably higher than that of our UTA, yet UTA still achieves better perplexity. The advantage stems from the optimal selection of intrinsic time in UTA, which promotes more effective learning and reduces the accumulation of noise during training, by Theorem G.2 . This leads to improved generalization, ultimately resulting in superior model performance across different scales.
Performance on vision task ImageNet
We further validate the generalization of UTA on the ImageNet classification benchmark using ResNet-50 and ViT-B architectures. This selection tests generalization across model depth, width, and fundamental architectural biases. Figure 1 e, 1f, 1g and 1h depict training curves of ResNet-50 and ViT-B on ImageNet under different LRDs. For both architectures, UTA consistently achieves the highest final accuracy. UBA demonstrates competitive performance, while WSD and CS show similar but suboptimal convergence. Tab. 2 reports the test top-1 accuracy. UTA consistently achieves the highest accuracy across both models. Specifically, it improves ResNet-50 accuracy to 78.73%, outperforming the strongest baseline UBA (78.38%) by 0.35%. For ViT-B, UTA reaches 82.30%, surpassing the competitive UBA LRD (82.05%) by 0.25%. These gains are statistically meaningful given the scale and complexity of ImageNet. These consistent outperformance demonstrates that UTA generalizes beyond language modeling to vision tasks. It offers a robust and architecture-agnostic advantage in large-scale, real-world training scenarios, generalizing beyond language modeling to vision tasks.
Ablation study
Peak LR sensitivity analysis. To address the concern that a fixed peak LR may disadvantage baselines with different optimal LRs, we conduct a LR sweep on LLaMA-60M and 130M (Table 3 ). As expected, optimal peak LRs vary across LRDs. Nevertheless, under each LRD’s optimal LR, UTA consistently outperforms all baselines on both scales. On 60M, UTA achieves a best perplexity of 25.80, surpassing the best baseline UBA (26.26) by 0.46 and WSD (26.03) by 0.23. On 130M, UTA’s advantage is more pronounced, achieving 20.16, which outperforms WSD (20.82) by 0.66 and UBA (20.78) by 0.62. These margins, while modest in absolute terms, are meaningful in the context of language modeling validation loss.
Table 3. Perplexity (e e e validation loss) of LLaMA-60M and LLaMA-130M under different peak LRs. Lower is better.
Parameter analysis of φ 0 \varphi_0 φ 0 . We analyze UTA’s sensitivity to φ 0 \varphi_0 φ 0 (equation 7) on LLaMA-60M and 130M (Tabs. 7–8). UTA exhibits robustness. On 60M, it achieves perplexity below 26.10 for 7 out of 10 tested values, with variation of only 0.24 across a 10-fold range; on 130M, performance remains nearly flat (20.63–20.67) across φ 0 ∈ [ 0.15 , 0.5 ] \varphi_0 \in[0.15, 0.5] φ 0 ∈ [ 0.15 , 0.5 ] . Performance improves modestly as φ 0 \varphi_0 φ 0 decreases, consistent with our theory that smaller φ 0 \varphi_0 φ 0 yields larger intrinsic steps. Crucially, UTA demonstrates a broader effective range than UBA, which degrades for φ 0 < 0.5 \varphi_0 < 0.5 φ 0 < 0.5 . We attribute this to UTA’s adaptive mechanism, which dynamically compensates for suboptimal φ 0 \varphi_0 φ 0 choices, a capability absent in UBA. These results confirm that UTA is both performant and easy to use.
The effect of final LR in decay. Regarding the LRD implementations, some practices use decay to 10% of the peak LR, while others use 0%. Thus, we ablate the final LR ratio (10% vs. 0%) on LLaMA-60M and 130M (Tab. 5). Results show that decaying to 0% underperforms 10% across all methods and scales. Specifically, on 130M, LD degrades from 21.43 to 21.89, and UTA from 20.16 to 20.68. This suggests that aggressive decay prematurely saturates optimization under our moderate training budgets. Importantly, UTA remains the top performer under both 0% and 10% decay, surpassing the best baseline by 0.16 (60M) and 0.32 (130M). This confirms that UTA is robust to the choice of final LR, and that the default 10% decay setting does not unfairly advantage UTA.
The role of dynamic state-Aware mechanism. To validate the component efficacy of the dynamic mechanism in our UTA LRD, we conduct an ablation study comparing the full version (Ours-Full) against a static variant (Ours-Static). We conduct the ablation study on the CIFAR100-ResNet34, ImageNet-ResNet50, LLaMA60M and 130M. In the static variant, the dynamic part is removed. All other hyper-parameters and training settings remain identical. As shown in Tab. 9, UTA (Full) consistently outperforms its static counterpart. Moreover, the improvement is pronounced, suggesting that the dynamic state adaptation mechanism is a crucial component for LRD performance. More details and analyses can be found in Appendix 1.3 and 1.3.
Comparison with automatic LR methods. We additionally compare UTA against automatic LR methods, such as D-Adaptation (Defazio & Mishchenko, 2023) and Prodigy (Mishchenko & Defazio, [24 ] ), which adjust LRs dynamically without predefined schedule shapes, in contrast to our main baselines. Results on LLaMA-60M, 130M, and 350M reported in Tab. 10 in Appendix. UTA matches D-Adaptation on 60M and outperforms it on 130M and 350M by 0.49 and 0.47, respectively. Against Prodigy, UTA achieves consistent improvements of 1.57, 1.10, and 0.80 across the three scales. We attribute UTA’s advantage to its shape design, which explicitly accounts for the training horizon, unlike methods that rely solely on gradient statistics.
Parameter-efficient fine-tuning scenario. To demonstrate that our LRD generalizes beyond full-parameter training, we evaluate it in a parameter-efficient fine-tuning (PEFT) scenario. We apply UTA to fine-tune a ViT-B model on CIFAR-100 and OxfordPets, using LoRA [9 ] (r = 16 r = 16 r = 16 ) as the PEFT method. Table 12 demonstrates UTA effectiveness in PEFT settings. UTA outperforms UBA on CIFAR100 and OxfordPets. These results confirm that UTA generalizes effectively to parameter-constrained optimization (see details in Appendix § 14 .§ 3 ).
Table 12. UTA for LoRA with ViT-B.
Conclusion
We introduced UTA, a novel LRD framework that bridges the gap between theoretically principled shape design and practical, state-aware adaptation. Methodologically, UTA extends the ROLR from SGD to adaptive optimizers, particularly AdamW, overcoming a key limitation of prior work. Through the concept of intrinsic time and energy-calibrated adaptation, UTA automatically determines the LR in response to real-time optimization states. Experiments on vision and language models confirm that UTA consistently outperforms existing LRDs with minimal overhead. Comprehensive ablations confirm its robustness to hyper-parameters (peak LR, final decay ratio, φ 0 \varphi_0 φ 0 ), the necessity of its dynamic mechanism, and its superiority over automatic LR methods. Overall, UTA not only delivers a plug-and-play LRD solution but also advances the broader understanding of state-dependent optimization. In the future, potential extensions include adapting the framework to optimizers such as Conda [36 ] and SOAP [35 ] . Moreover, the optimal amplitude of LR fluctuations remains an open problem. A rigorous analysis could help choosing optimal fluctuation range, further improve model performance.
Notation
For ease of reference, we summarize the main notation used throughout the paper.
Optimization and training.
Table 1 (PDF p. 15).
Optimizer and learning rate.
Table 2 (PDF p. 15).
Segments and intrinsic time.
caption:
:::
Energy evolution and curvature.
Table 13.
Functional scaling law (FSL).
Table 14.
Baselines and models.
Assumption
We adopt assumptions including local quadratic (inherited from the framework Tang et al. [31 ] ) and continuous-time (standard for analyzing optimizer dynamics [15 , 13 ] ). These assumptions provide intuition and design principles that motivate UTA in § 3 .
We also know that deep learning training landscapes are often highly non-convex and dynamic, so these assumptions may not fully reflect real-world behavior. Importantly, UTA’s robust optimization formulation mitigates approximation errors by optimizing for worst-case scenarios. This ensures the method remains effective even when assumptions are partially violated, as supported by our empirical results.
Problem statement
Let f ( W , ξ ) f(W,\xi) f ( W , ξ ) denote neural network parameterized by parameters W ∈ R N W \in\mathbb{R}^{N} W ∈ R N on the data ξ \xi ξ . ξ \xi ξ denote the data sampling on the dataset D D D , and let F \mathcal{F} F be a function class. Let L \mathcal{L} L be the loss function, T T T be a maximum number of training iterations, and t t t be the current learning step.
We seek learning rates { η t } t = 0 T − 1 \{\eta_t\}_{t=0}^{T-1} { η t } t = 0 T − 1 that minimize loss of worst-case among the training process under a generalized update rule governed by optimizer-specific dynamics. The global min-max view is
min η 1 , η 2 , … , η T − 1 max f ∈ F L ( f ( W T , ξ ) ) s.t. W t + 1 = W t − η t ⋅ P ( t ) ∇ L ( W ( t ) ) , (9) \begin{aligned}
\min_{\eta_1,\eta_2,\ldots,\eta_{T-1}}\quad&\max_{f\in\mathcal{F}} \mathcal{L}(f(W_T,\xi))\\
\text{s.t.}\quad&W_{t+1}=W_t-\eta_t\cdot P(t)\nabla\mathcal{L}(W(t)), \tag*{(9)}
\end{aligned} η 1 , η 2 , … , η T − 1 min s.t. f ∈ F max L ( f ( W T , ξ )) W t + 1 = W t − η t ⋅ P ( t ) ∇ L ( W ( t )) , (9)
where P ( t ) P(t) P ( t ) captures the optimizer-specific state dynamics, such as scaling or preconditioning, and may be chosen to represent different optimization algorithms within the same generalized framework. For instance, SGD corresponds to P ( t ) = I P(t)=I P ( t ) = I . Adam is recovered by defining P ( t ) P(t) P ( t ) such that P ( t ) ∇ L ( W ( t ) ) = m t / ( v t + ϵ ) P(t)\nabla\mathcal{L}(W(t))=m_t/(\sqrt{v_t}+\epsilon) P ( t ) ∇ L ( W ( t )) = m t / ( v t + ϵ ) , where m t m_t m t and v t v_t v t are the first and second moment estimates following Adam update rules. Other adaptive methods like RMSProp or AdaGrad can be represented analogously through appropriate definitions of P ( t ) P(t) P ( t ) based on their state variables. This paper primarily focuses on the case where P ( t ) P(t) P ( t ) implements the Adam dynamics.
This paper specializes the framework to the Adam optimizer for two compelling reasons. First, the unique P ( t ) P(t) P ( t ) of Adam encapsulates a complex yet representative interplay of momentum and adaptive scaling mechanisms. It combines first-moment momentum with second-moment adaptive scaling, represents a complex and widely-used class of optimization dynamics. Second, as the default optimizer in much of current deep learning practice, its performance is of paramount practical importance. Analyzing Adam thus serves as a highly relevant and sufficiently comprehensive case study for our theory. Then the optimization problem is as follows,
min η 1 , η 2 , … , η T − 1 max f ∈ F L ( f ( W T , ξ ) ) s.t. W t + 1 = W t − η t ⋅ m ^ t v ^ t + ϵ , (10) \begin{aligned}
\min_{\eta_1,\eta_2,\ldots,\eta_{T-1}}\quad&\max_{f\in\mathcal{F}} \mathcal{L}(f(W_T,\xi))\\
\text{s.t.}\quad&W_{t+1}=W_t-\eta_t\cdot\frac{\hat{m}_t}{\sqrt{\hat{v}_t}+\epsilon}, \tag*{(10)}
\end{aligned} η 1 , η 2 , … , η T − 1 min s.t. f ∈ F max L ( f ( W T , ξ )) W t + 1 = W t − η t ⋅ v ^ t + ϵ m ^ t , (10)
where m t = β 1 m t − 1 + ( 1 − β 1 ) ∇ L ( W t ) m_t=\beta_1m_{t-1}+(1-\beta_1)\nabla\mathcal{L}(W_t) m t = β 1 m t − 1 + ( 1 − β 1 ) ∇ L ( W t ) , v t = β 2 v t − 1 + ( 1 − β 2 ) ∇ L ( W t ) ⊙ 2 v_t=\beta_2v_{t-1}+(1-\beta_2)\nabla\mathcal{L}(W_t)^{\odot2} v t = β 2 v t − 1 + ( 1 − β 2 ) ∇ L ( W t ) ⊙ 2 , and m ^ t = m t / ( 1 − β 1 t ) \hat{m}_t=m_t/(1-\beta_1^t) m ^ t = m t / ( 1 − β 1 t ) , v ^ t = v t / ( 1 − β 2 t ) \hat{v}_t=v_t/(1-\beta_2^t) v ^ t = v t / ( 1 − β 2 t ) denote the bias-corrected moments, ⊙ \odot ⊙ is the element-wise operation.
Optimal shape of problem solution
Lemma D.1. Under the generalized gradient flow W ˙ ( τ ) = − η ( τ ) P ( τ ) ∇ L ( W ( τ ) ) \dot{W}(\tau)=-\eta(\tau)P(\tau)\nabla\mathcal{L}(W(\tau)) W ˙ ( τ ) = − η ( τ ) P ( τ ) ∇ L ( W ( τ )) , where P ( τ ) P(\tau) P ( τ ) denotes precondition. For all t ∈ [ T k , T k + 1 ] t\in[T_k,T_{k+1}] t ∈ [ T k , T k + 1 ] ,
∥ W ( t ) − W ( T k ) ∥ ≤ U k ⋅ C P ( k ) ⋅ G k ≤ η max , k Δ T k ⋅ C P ( k ) ⋅ G k , (11) \lVert W(t)-W(T_k)\rVert\le U_k\cdot C_P^{(k)}\cdot G_k\le\eta_{\max,k}\Delta T_k\cdot C_P^{(k)}\cdot G_k, \tag*{(11)} ∥ W ( t ) − W ( T k )∥ ≤ U k ⋅ C P ( k ) ⋅ G k ≤ η m a x , k Δ T k ⋅ C P ( k ) ⋅ G k , (11) where G k : = sup τ ∈ [ T k , T k + 1 ) ∥ ∇ L ( W ( τ ) ) ∥ G_k:=\sup_{\tau\in[T_k,T_{k+1})}\lVert\nabla\mathcal{L}(W(\tau))\rVert G k := sup τ ∈ [ T k , T k + 1 ) ∥ ∇ L ( W ( τ ))∥ , C P ( k ) : = sup τ ∈ [ T k , T k + 1 ) ∥ P ( τ ) ∥ C_P^{(k)}:=\sup_{\tau\in[T_k,T_{k+1})}\lVert P(\tau)\rVert C P ( k ) := sup τ ∈ [ T k , T k + 1 ) ∥ P ( τ )∥ , η max , k : = sup t ∈ [ T k , T k + 1 ] η ( t ) \eta_{\max,k}:=\sup_{t\in[T_k,T_{k+1}]}\eta(t) η m a x , k := sup t ∈ [ T k , T k + 1 ] η ( t ) .
This Lemma shows that segment radius can be controlled by segment length.
Proof. By integrating the flow W ˙ ( τ ) = − η ( τ ) P ( τ ) ∇ L ( W ( τ ) ) \dot{W}(\tau)=-\eta(\tau)P(\tau)\nabla\mathcal{L}(W(\tau)) W ˙ ( τ ) = − η ( τ ) P ( τ ) ∇ L ( W ( τ )) , we have
W ( t ) − W ( T k ) = ∫ T k t W ˙ ( s ) d s , (12) W(t)-W(T_k)=\int_{T_k}^{t}\dot{W}(s)\,\mathrm{d}s, \tag*{(12)} W ( t ) − W ( T k ) = ∫ T k t W ˙ ( s ) d s , (12)
so
∥ W ( t ) − W ( T k ) ∥ ≤ ∫ T k t η ( τ ) ∥ P ( τ ) ∇ L ( W ( τ ) ) ∥ d τ ≤ U k ⋅ C P ( k ) ⋅ G k , t ∈ [ T k , T k + 1 ) , (13) \lVert W(t)-W(T_k)\rVert\le\int_{T_k}^{t}\eta(\tau)\lVert P(\tau)\nabla\mathcal{L}(W(\tau))\rVert\,\mathrm{d}\tau\le U_k\cdot C_P^{(k)}\cdot G_k,\qquad t\in[T_k,T_{k+1}), \tag*{(13)} ∥ W ( t ) − W ( T k )∥ ≤ ∫ T k t η ( τ ) ∥ P ( τ ) ∇ L ( W ( τ ))∥ d τ ≤ U k ⋅ C P ( k ) ⋅ G k , t ∈ [ T k , T k + 1 ) , (13)
The segment-radius bound then follows from the triangle inequality: ∥ W ( t ) − W ‾ ( k ) ∥ ≤ ∥ W ( t ) − W ( T k ) ∥ + ∥ W ( T k ) − W ‾ ( k ) ∥ ≤ V k Δ T k + U k ⋅ C P ( k ) ⋅ G k \lVert W(t)-\overline{W}^{(k)}\rVert\le\lVert W(t)-W(T_k)\rVert+\lVert W(T_k)-\overline{W}^{(k)}\rVert\le V_k\Delta T_k+U_k\cdot C_P^{(k)}\cdot G_k ∥ W ( t ) − W ( k ) ∥ ≤ ∥ W ( t ) − W ( T k )∥ + ∥ W ( T k ) − W ( k ) ∥ ≤ V k Δ T k + U k ⋅ C P ( k ) ⋅ G k .
Assumption D.2 (Locally Lipschitz gradients). On the segment [ T k , T k + 1 ) [T_k,T_{k+1}) [ T k , T k + 1 ) , the gradient is Lipschitz with constant L g ( k ) L_g^{(k)} L g ( k ) , i.e., ∀ W , W ′ ∈ { W ( τ ) : τ ∈ [ T k , T k + 1 ) } \forall W,W'\in\{W(\tau):\tau\in[T_k,T_{k+1})\} ∀ W , W ′ ∈ { W ( τ ) : τ ∈ [ T k , T k + 1 )} , ∥ ∇ L ( W ) − ∇ L ( W ′ ) ∥ ≤ L g ( k ) ∥ W − W ′ ∥ \lVert\nabla\mathcal{L}(W)-\nabla\mathcal{L}(W')\rVert\le L_g^{(k)}\lVert W-W'\rVert ∥ ∇ L ( W ) − ∇ L ( W ′ )∥ ≤ L g ( k ) ∥ W − W ′ ∥ .
Combining Assumption D.2 with equation 11, we obtain the segment-wise gradient drift bound
sup τ ∈ [ T k , T k + 1 ) ∥ ∇ L ( W ( τ ) ) − ∇ L ( W ( T k ) ) ∥ ≤ L g ( k ) sup τ ∈ [ T k , T k + 1 ) ∥ W ( τ ) − W ( T k ) ∥ ≤ L g ( k ) G k C P ( k ) U k . (14) \sup_{\tau\in[T_k,T_{k+1})}\lVert\nabla\mathcal{L}(W(\tau))-\nabla\mathcal{L}(W(T_k))\rVert\le L_g^{(k)}\sup_{\tau\in[T_k,T_{k+1})}\lVert W(\tau)-W(T_k)\rVert\le L_g^{(k)}G_kC_P^{(k)}U_k. \tag*{(14)} τ ∈ [ T k , T k + 1 ) sup ∥ ∇ L ( W ( τ )) − ∇ L ( W ( T k ))∥ ≤ L g ( k ) τ ∈ [ T k , T k + 1 ) sup ∥ W ( τ ) − W ( T k )∥ ≤ L g ( k ) G k C P ( k ) U k . (14)
Since U k ≤ Δ T k ⋅ max t ∈ [ T k , T k + 1 ) η t U_k\le\Delta T_k\cdot\max_{t\in[T_k,T_{k+1})}\eta_t U k ≤ Δ T k ⋅ max t ∈ [ T k , T k + 1 ) η t , if the segment is sufficiently small, the difference of gradients can be bounded.
Lemma D.3. On segment [ T k , T k + 1 ) [T_k,T_{k+1}) [ T k , T k + 1 ) with Δ T k : = T k + 1 − T k \Delta T_k:=T_{k+1}-T_k Δ T k := T k + 1 − T k , let m ^ t \hat{m}_t m ^ t be the bias-corrected first moment in Adam and assume: (1) the gradient along the trajectory is L g ( k ) L_g^{(k)} L g ( k ) -Lipschitz in time; (2) the gradient norm is bounded by G k G_k G k , i.e., ∥ ∇ L t ∥ ≤ G k \lVert\nabla\mathcal{L}_t\rVert\le G_k ∥ ∇ L t ∥ ≤ G k for all t ∈ [ T k , T k + 1 ) t\in[T_k,T_{k+1}) t ∈ [ T k , T k + 1 ) .
Then the bias-corrected momentum m ^ t \hat{m}_t m ^ t tracks the true gradient ∇ L t \nabla\mathcal{L}_t ∇ L t with a segment-wise error bound
∥ ∇ L t − m ^ t ∥ ≤ L g ( k ) C P ( k ) G k ⋅ Δ T k ⋅ max t ∈ [ T k , T k + 1 ) η t β 1 1 − β 1 . (15) \lVert\nabla\mathcal{L}_t-\hat{m}_t\rVert\le L_g^{(k)}C_P^{(k)}G_k\cdot\Delta T_k\cdot\max_{t\in[T_k,T_{k+1})}\eta_t\frac{\beta_1}{1-\beta_1}. \tag*{(15)} ∥ ∇ L t − m ^ t ∥ ≤ L g ( k ) C P ( k ) G k ⋅ Δ T k ⋅ t ∈ [ T k , T k + 1 ) max η t 1 − β 1 β 1 . (15)
Proof. It is noted that the first-order moment m ^ t \hat{m}_t m ^ t is a convex combination of recent gradients as follows,
m ^ t = ∑ i = 0 t − 1 ( 1 − β 1 ) β 1 i 1 − β 1 t ∇ L ( t − i ) , ∑ i = 0 t − 1 ( 1 − β 1 ) β 1 i 1 − β 1 t = 1. (16) \hat{m}_t=\sum_{i=0}^{t-1}\frac{(1-\beta_1)\beta_1^i}{1-\beta_1^t}\nabla\mathcal{L}(t-i),\qquad\sum_{i=0}^{t-1}\frac{(1-\beta_1)\beta_1^i}{1-\beta_1^t}=1. \tag*{(16)} m ^ t = i = 0 ∑ t − 1 1 − β 1 t ( 1 − β 1 ) β 1 i ∇ L ( t − i ) , i = 0 ∑ t − 1 1 − β 1 t ( 1 − β 1 ) β 1 i = 1. (16)
Combining with equation 14, we have
∥ ∇ L t − m ^ t ∥ = ∥ ∇ L t − ∑ i = 0 t − 1 ( 1 − β 1 ) β 1 i 1 − β 1 t ∇ L t − i ∥ = ∥ ∑ i = 0 t − 1 ( 1 − β 1 ) β 1 i 1 − β 1 t ( ∇ L t − ∇ L t − i ) ∥ ≤ ∑ i = 0 t − 1 ( 1 − β 1 ) β 1 i 1 − β 1 t ⋅ L g ( k ) G k ⋅ Δ T k ⋅ max t ∈ [ T k , T k + 1 ) η t ⋅ i = L g ( k ) C P ( k ) G k ⋅ Δ T k ⋅ max t ∈ [ T k , T k + 1 ) η t ⋅ ( 1 − β 1 ) [ β 1 − t β 1 t + ( t − 1 ) β 1 t + 1 ] ( 1 − β 1 ) 2 ≤ L g ( k ) C P ( k ) G k ⋅ Δ T k ⋅ max t ∈ [ T k , T k + 1 ) η t β 1 1 − β 1 . (17) \begin{aligned}
\lVert\nabla\mathcal{L}_t-\hat{m}_t\rVert
&=\left\lVert\nabla\mathcal{L}_t-\sum_{i=0}^{t-1}\frac{(1-\beta_1)\beta_1^i}{1-\beta_1^t}\nabla\mathcal{L}_{t-i}\right\rVert\\
&=\left\lVert\sum_{i=0}^{t-1}\frac{(1-\beta_1)\beta_1^i}{1-\beta_1^t}\left(\nabla\mathcal{L}_t-\nabla\mathcal{L}_{t-i}\right)\right\rVert\\
&\leq\sum_{i=0}^{t-1}\frac{(1-\beta_1)\beta_1^i}{1-\beta_1^t}\cdot L_g^{(k)}G_k\cdot\Delta T_k\cdot\max_{t\in[T_k,T_{k+1})}\eta_t\cdot i\\
&=L_g^{(k)}C_P^{(k)}G_k\cdot\Delta T_k\cdot\max_{t\in[T_k,T_{k+1})}\eta_t\cdot\frac{(1-\beta_1)\left[\beta_1-t\beta_1^t+(t-1)\beta_1^{t+1}\right]}{(1-\beta_1)^2}\\
&\leq L_g^{(k)}C_P^{(k)}G_k\cdot\Delta T_k\cdot\max_{t\in[T_k,T_{k+1})}\eta_t\frac{\beta_1}{1-\beta_1}. \tag*{(17)}
\end{aligned} ∥ ∇ L t − m ^ t ∥ = ∇ L t − i = 0 ∑ t − 1 1 − β 1 t ( 1 − β 1 ) β 1 i ∇ L t − i = i = 0 ∑ t − 1 1 − β 1 t ( 1 − β 1 ) β 1 i ( ∇ L t − ∇ L t − i ) ≤ i = 0 ∑ t − 1 1 − β 1 t ( 1 − β 1 ) β 1 i ⋅ L g ( k ) G k ⋅ Δ T k ⋅ t ∈ [ T k , T k + 1 ) max η t ⋅ i = L g ( k ) C P ( k ) G k ⋅ Δ T k ⋅ t ∈ [ T k , T k + 1 ) max η t ⋅ ( 1 − β 1 ) 2 ( 1 − β 1 ) [ β 1 − t β 1 t + ( t − 1 ) β 1 t + 1 ] ≤ L g ( k ) C P ( k ) G k ⋅ Δ T k ⋅ t ∈ [ T k , T k + 1 ) max η t 1 − β 1 β 1 . (17)
It yields the claim. Hence on a short segment, m ^ t ≈ ∇ L t \hat{m}_t\approx\nabla\mathcal{L}_t m ^ t ≈ ∇ L t .
Theorem 3.2 [Optimal UBA-equivalent shape on a segment] Consider the min-max problem 10 on segment k k k , and assume that the step sizes are constrained to lie in the interval [ η min ( k ) , η max ( k ) ] [\eta_{\min}^{(k)},\eta_{\max}^{(k)}] [ η m i n ( k ) , η m a x ( k ) ] . There exists an optimal shape of step sizes that minimizes the worst-case loss. This optimal shape belongs to the UBA-equivalent family for some curvature parameter φ k > 0 \varphi_k>0 φ k > 0 .
Proof. By Lemma D.3, it makes precise the intuition that on a short and smooth segment the Adam momentum is close to the current gradient.
The bound
ε g ( k ) : = L g ( k ) C P ( k ) G k ⋅ Δ T k ⋅ max t ∈ [ T k , T k + 1 ) η t β 1 1 − β 1 . (18) \varepsilon_g^{(k)}:=L_g^{(k)}C_P^{(k)}G_k\cdot\Delta T_k\cdot\max_{t\in[T_k,T_{k+1})}\eta_t\frac{\beta_1}{1-\beta_1}. \tag*{(18)} ε g ( k ) := L g ( k ) C P ( k ) G k ⋅ Δ T k ⋅ t ∈ [ T k , T k + 1 ) max η t 1 − β 1 β 1 . (18)
depends linearly on the segment length Δ T k \Delta T_k Δ T k and on the maximal stepsize on the segment. Thus, by choosing Δ T k \Delta T_k Δ T k small and avoiding excessively large η t \eta_t η t , we can make ε g ( k ) \varepsilon_g^{(k)} ε g ( k ) small. In other words, on sufficiently short segments we may treat the Adam momentum m ^ t \hat{m}_t m ^ t as a perturbation of the true gradient ∇ L t \nabla\mathcal{L}_t ∇ L t , with a perturbation norm controlled by ε g ( k ) \varepsilon_g^{(k)} ε g ( k ) .
Thus, by Lemma D.3 and following the local quadratic modeling in prior work [31 ] , we can approximate the constraint in UBA framework [31 ] as follows,
W t + 1 − W ˉ ( k ) ≈ ( I − η t P t H k ) ( W t − W ˉ ( k ) ) , W_{t+1}-\bar{W}^{(k)}\approx(I-\eta_tP_tH_k)(W_t-\bar{W}^{(k)}), W t + 1 − W ˉ ( k ) ≈ ( I − η t P t H k ) ( W t − W ˉ ( k ) ) ,
where P t : = 1 v ^ t + ϵ P_t:=\frac{1}{\sqrt{\hat{v}_t+\epsilon}} P t := v ^ t + ϵ 1 . Denote P t H k : = H ˉ k P_tH_k:=\bar{H}_k P t H k := H ˉ k , by iteratively applying this equation, we obtain
W T k + 1 − W ˉ ( k ) = ( I − η T k + 1 − 1 H ˉ k ) ⋯ ( I − η T k + 1 H ˉ k ) ( W T k + 1 − W ˉ ( k ) ) . (19) W_{T_{k+1}}-\bar{W}^{(k)}=(I-\eta_{T_{k+1}-1}\bar{H}_k)\cdots(I-\eta_{T_k+1}\bar{H}_k)(W_{T_{k+1}}-\bar{W}^{(k)}). \tag*{(19)} W T k + 1 − W ˉ ( k ) = ( I − η T k + 1 − 1 H ˉ k ) ⋯ ( I − η T k + 1 H ˉ k ) ( W T k + 1 − W ˉ ( k ) ) . (19)
Since the matrix H ˉ k ∈ R N × N \bar{H}_k\in\mathbb{R}^{N\times N} H ˉ k ∈ R N × N possesses N N N eigenvalues λ 1 ( k ) ( f ( ξ ) ) , λ 2 ( k ) ( f ( ξ ) ) , ⋯ , λ N ( k ) ( f ( ξ ) ) \lambda_1^{(k)}(f(\xi)),\lambda_2^{(k)}(f(\xi)),\cdots,\lambda_N^{(k)}(f(\xi)) λ 1 ( k ) ( f ( ξ )) , λ 2 ( k ) ( f ( ξ )) , ⋯ , λ N ( k ) ( f ( ξ )) abbreviated as λ i ( k ) \lambda_i^{(k)} λ i ( k ) , which satisfy λ l ( k ) ≤ λ i ( k ) ( f ( ξ ) ) ≤ λ u ( k ) \lambda_l^{(k)}\leq\lambda_i^{(k)}(f(\xi))\leq\lambda_u^{(k)} λ l ( k ) ≤ λ i ( k ) ( f ( ξ )) ≤ λ u ( k ) for all i i i . Here, λ l ( k ) \lambda_l^{(k)} λ l ( k ) and λ u ( k ) \lambda_u^{(k)} λ u ( k ) denote the bounds on the non-zero eigenvalues of the H ˉ k \bar{H}_k H ˉ k of optimum in k k k -th segment. Moreover, there exist N N N linearly independent eigenvectors u 1 ( k ) ( f ( ξ ) ) , u 2 ( k ) ( f ( ξ ) ) , ⋯ , u N ( k ) ( f ( ξ ) ) u_1^{(k)}(f(\xi)),u_2^{(k)}(f(\xi)),\cdots,u_N^{(k)}(f(\xi)) u 1 ( k ) ( f ( ξ )) , u 2 ( k ) ( f ( ξ )) , ⋯ , u N ( k ) ( f ( ξ )) abbreviated as u i ( k ) u_i^{(k)} u i ( k ) , which can form the basis for the N N N dimension vector space. Then we have H ˉ k u i ( k ) = λ i ( k ) u i ( k ) \bar{H}_ku_i^{(k)}=\lambda_i^{(k)}u_i^{(k)} H ˉ k u i ( k ) = λ i ( k ) u i ( k ) (i = 1 , 2 , ⋯ , N i=1,2,\cdots,N i = 1 , 2 , ⋯ , N ) and the initial deviation from the optimal solution can be expressed as W T k − W ˉ ( k ) = ∑ i = 1 N s i ( k ) u i ( k ) W_{T_k}-\bar{W}^{(k)}=\sum_{i=1}^{N}s_i^{(k)}u_i^{(k)} W T k − W ˉ ( k ) = ∑ i = 1 N s i ( k ) u i ( k ) where s i ( k ) s_i^{(k)} s i ( k ) are the coefficients corresponding to the eigenvector components. Thus, we obtain
∥ W T k + 1 − W ‾ ( k ) ∥ 2 2 = ∑ i = 1 N ( s i ( k ) ) 2 ∥ u i ( k ) ∥ 2 2 [ ∏ t = 1 + T k T k + 1 ( 1 − η t λ i ( k ) ) ] 2 ≤ ∑ i = 1 N ( s i ( k ) ) 2 ∥ u i ( k ) ∥ 2 2 max λ l ( k ) ≤ λ i ( k ) ≤ λ u ( k ) [ ∏ t = 1 + T k T k + 1 ( 1 − η t λ i ( k ) ) ] 2 = max λ l ( k ) ≤ λ i ( k ) ≤ λ u ( k ) [ ∏ t = 1 + T k T k + 1 ( 1 − η t λ i ( k ) ) ] 2 ∥ W T k − W ‾ ( k ) ∥ 2 2 . (20) \begin{aligned}
\left\|W_{T_{k+1}}-\overline{W}^{(k)}\right\|_{2}^{2}
&=\sum_{i=1}^{N}\left(s_{i}^{(k)}\right)^{2}\left\|u_{i}^{(k)}\right\|_{2}^{2}\left[\prod_{t=1+T_{k}}^{T_{k+1}}\left(1-\eta_{t}\lambda_{i}^{(k)}\right)\right]^{2}\\
&\leq\sum_{i=1}^{N}\left(s_{i}^{(k)}\right)^{2}\left\|u_{i}^{(k)}\right\|_{2}^{2}\max_{\lambda_{l}^{(k)}\leq\lambda_{i}^{(k)}\leq\lambda_{u}^{(k)}}\left[\prod_{t=1+T_{k}}^{T_{k+1}}\left(1-\eta_{t}\lambda_{i}^{(k)}\right)\right]^{2}\\
&=\max_{\lambda_{l}^{(k)}\leq\lambda_{i}^{(k)}\leq\lambda_{u}^{(k)}}\left[\prod_{t=1+T_{k}}^{T_{k+1}}\left(1-\eta_{t}\lambda_{i}^{(k)}\right)\right]^{2}\left\|W_{T_{k}}-\overline{W}^{(k)}\right\|_{2}^{2}. \tag*{(20)}
\end{aligned} W T k + 1 − W ( k ) 2 2 = i = 1 ∑ N ( s i ( k ) ) 2 u i ( k ) 2 2 [ t = 1 + T k ∏ T k + 1 ( 1 − η t λ i ( k ) ) ] 2 ≤ i = 1 ∑ N ( s i ( k ) ) 2 u i ( k ) 2 2 λ l ( k ) ≤ λ i ( k ) ≤ λ u ( k ) max [ t = 1 + T k ∏ T k + 1 ( 1 − η t λ i ( k ) ) ] 2 = λ l ( k ) ≤ λ i ( k ) ≤ λ u ( k ) max [ t = 1 + T k ∏ T k + 1 ( 1 − η t λ i ( k ) ) ] 2 W T k − W ( k ) 2 2 . (20)
We observe that this formulation shares the same optimization form as the UBA framework [31 ] . Thus, in each short segment, the problem equation 10 reduces to UBA problem. The solution of problem equation 10 belongs to the UBA-equivalent family.
Regularized energy evolution via intrinsic time
Denote E ξ t ∇ L ( W t , ξ t ) = ∇ L ( W t ) \mathbb{E}_{\xi_t}\nabla\mathcal{L}(W_t,\xi_t)=\nabla\mathcal{L}(W_t) E ξ t ∇ L ( W t , ξ t ) = ∇ L ( W t ) , we have ∇ L ( W t , ξ t ) = ∇ L ( W t ) + δ t \nabla\mathcal{L}(W_t,\xi_t)=\nabla\mathcal{L}(W_t)+\delta_t ∇ L ( W t , ξ t ) = ∇ L ( W t ) + δ t , where the gradient noise δ t \delta_t δ t satisfies E ( δ t ) = 0 \mathbb{E}(\delta_t)=0 E ( δ t ) = 0 . Since the segment is short, the stochastic preconditioned gradient flow be modeled in accordance with SGD noise [13 ] scaling by
d W ( t ) = − η ( t ) P ( t ) ∇ L ( W ( t ) ) d t + η ( t ) P ( t ) Σ 1 / 2 d B ( t ) , (21) dW(t)=-\eta(t)P(t)\nabla\mathcal{L}(W(t))\,dt+\eta(t)P(t)\Sigma^{1/2}dB(t), \tag*{(21)} d W ( t ) = − η ( t ) P ( t ) ∇ L ( W ( t )) d t + η ( t ) P ( t ) Σ 1/2 d B ( t ) , (21)
where W ( t ) W(t) W ( t ) is the weight parameter, η ( t ) ≥ 0 \eta(t)\geq0 η ( t ) ≥ 0 , P ( t ) ≻ 0 P(t)\succ0 P ( t ) ≻ 0 is diagonal, and Σ ⪰ 0 \Sigma\succeq0 Σ ⪰ 0 is the covariance of the gradient noise and B ( t ) B(t) B ( t ) is a standard Brownian motion.
According to the second-order necessary condition for the strict minimum W ‾ ( k ) \overline{W}^{(k)} W ( k ) , this approximation is achieved through the positive semi-definite Hessian matrix H f ( k ) ( ξ ) ∈ R N × N H_f^{(k)}(\xi)\in\mathbb{R}^{N\times N} H f ( k ) ( ξ ) ∈ R N × N , H k ⪰ 0 H_k\succeq0 H k ⪰ 0 . By quadratic expansion, the loss function can be formulated as L ( f ( W ‾ ( k ) , ξ ) ) + ∇ L ( f ( W ‾ ( k ) , ξ ) ) T ( W T k + 1 − W ‾ ( k ) ) + 1 2 ( W T k + 1 − W ‾ ( k ) ) T H f ( k ) ( ξ ) ( W T k + 1 − W ‾ ( k ) ) \mathcal{L}(f(\overline{W}^{(k)},\xi))+\nabla\mathcal{L}(f(\overline{W}^{(k)},\xi))^{\mathsf{T}}(W_{T_{k+1}}-\overline{W}^{(k)})+\frac{1}{2}(W_{T_{k+1}}-\overline{W}^{(k)})^{\mathsf{T}}H_f^{(k)}(\xi)(W_{T_{k+1}}-\overline{W}^{(k)}) L ( f ( W ( k ) , ξ )) + ∇ L ( f ( W ( k ) , ξ ) ) T ( W T k + 1 − W ( k ) ) + 2 1 ( W T k + 1 − W ( k ) ) T H f ( k ) ( ξ ) ( W T k + 1 − W ( k ) ) ( k = 1 , 2 , ⋯ , K ) (k=1,2,\cdots,K) ( k = 1 , 2 , ⋯ , K ) . Since the neural networks possess sufficient capacity to fit the data, the loss at the optimal point can be made negligible. Thus the term L ( f ( W ‾ ( k ) , ξ ) ) \mathcal{L}(f(\overline{W}^{(k)},\xi)) L ( f ( W ( k ) , ξ )) can be reasonably neglected. In addition, the first-order condition ∇ L ( f ( W ‾ ( k ) , ξ ) ) = 0 \nabla\mathcal{L}(f(\overline{W}^{(k)},\xi))=0 ∇ L ( f ( W ( k ) , ξ )) = 0 at the optimal point W ‾ ( k ) \overline{W}^{(k)} W ( k ) . Thus the loss function can be measured by 1 2 ( W T k + 1 − W ‾ ( k ) ) T H f ( k ) ( ξ ) ( W T k + 1 − W ‾ ( k ) ) \frac{1}{2}(W_{T_{k+1}}-\overline{W}^{(k)})^{\mathsf{T}}H_f^{(k)}(\xi)(W_{T_{k+1}}-\overline{W}^{(k)}) 2 1 ( W T k + 1 − W ( k ) ) T H f ( k ) ( ξ ) ( W T k + 1 − W ( k ) ) ( k = 1 , 2 , ⋯ , K ) (k=1,2,\cdots,K) ( k = 1 , 2 , ⋯ , K )
Under this quadratic expansion measurement, we define the energy function between the t t t -th step weights and local minimum within segment
E ( t ) : = 1 2 ∥ e ( t ) ∥ 2 , e ( t ) : = H k 1 / 2 ( W ( t ) − W ‾ ( k ) ) . (22) E(t):=\frac{1}{2}\|e(t)\|^{2},\qquad e(t):=H_k^{1/2}\left(W(t)-\overline{W}^{(k)}\right). \tag*{(22)} E ( t ) := 2 1 ∥ e ( t ) ∥ 2 , e ( t ) := H k 1/2 ( W ( t ) − W ( k ) ) . (22)
with the above assumption, we have
Theorem 3.3 [Bias-variance-style upper bound via intrinsic time] Consider the k k k -th segment [ T k , T k + 1 ] [T_k,T_{k+1}] [ T k , T k + 1 ] and the preconditioned stochastic gradient flow equation 21, the expected energy at the segment end satisfies the bias–variance bound
E [ E ( T k + 1 ) ] ≤ E [ E ( T k ) ] e − 2 ν ℓ ( k ) U k + 1 2 α ∫ T k T k + 1 η ( t ) 2 d t . (23) \mathbb{E}[E(T_{k+1})]\leq\mathbb{E}[E(T_k)]e^{-2\nu_{\ell}^{(k)}U_k}+\frac{1}{2}\alpha\int_{T_k}^{T_{k+1}}\eta(t)^2\,dt. \tag*{(23)} E [ E ( T k + 1 )] ≤ E [ E ( T k )] e − 2 ν ℓ ( k ) U k + 2 1 α ∫ T k T k + 1 η ( t ) 2 d t . (23) where α : = sup t ∈ [ T k , T k + 1 ] tr ( H k 1 / 2 P ( t ) Σ P ( t ) H k 1 / 2 ) \alpha:=\sup_{t\in[T_k,T_{k+1}]}\operatorname{tr}(H_k^{1/2}P(t)\Sigma P(t)H_k^{1/2}) α := sup t ∈ [ T k , T k + 1 ] tr ( H k 1/2 P ( t ) Σ P ( t ) H k 1/2 ) is the noise intensity bound, and λ min ( M ( t ) ) ≥ ν ℓ ( k ) > 0 \lambda_{\min}(M(t))\geq\nu_{\ell}^{(k)}>0 λ m i n ( M ( t )) ≥ ν ℓ ( k ) > 0 , M ( t ) : = H k 1 / 2 P ( t ) H k 1 / 2 M(t):=H_k^{1/2}P(t)H_k^{1/2} M ( t ) := H k 1/2 P ( t ) H k 1/2 is the spectral lower bound.
Proof. According to equation (21) and local quadratic approximation ∇ L ( W ( t ) ) = H k ( W ( t ) − W ‾ ( k ) ) \nabla\mathcal{L}(W(t)) = H_k(W(t)-\overline{W}^{(k)}) ∇ L ( W ( t )) = H k ( W ( t ) − W ( k ) ) , we have
d e ( t ) = H k 1 / 2 d W ( t ) = − η ( t ) H k 1 / 2 P ( t ) H k ( W ( t ) − W ‾ ( k ) ) d t + η ( t ) H k 1 / 2 P ( t ) Σ 1 / 2 d B ( t ) = − η ( t ) H k 1 / 2 P ( t ) H k 1 / 2 e ( t ) d t + η ( t ) H k 1 / 2 P ( t ) Σ 1 / 2 d B ( t ) . (24) \begin{aligned}
\mathrm{d}e(t) &= H_k^{1/2}\mathrm{d}W(t) \\
&= -\eta(t)H_k^{1/2}P(t)H_k\left(W(t)-\overline{W}^{(k)}\right)\mathrm{d}t+\eta(t)H_k^{1/2}P(t)\Sigma^{1/2}\mathrm{d}B(t) \\
&= -\eta(t)H_k^{1/2}P(t)H_k^{1/2}e(t)\mathrm{d}t+\eta(t)H_k^{1/2}P(t)\Sigma^{1/2}\mathrm{d}B(t). \tag*{(24)}
\end{aligned} d e ( t ) = H k 1/2 d W ( t ) = − η ( t ) H k 1/2 P ( t ) H k ( W ( t ) − W ( k ) ) d t + η ( t ) H k 1/2 P ( t ) Σ 1/2 d B ( t ) = − η ( t ) H k 1/2 P ( t ) H k 1/2 e ( t ) d t + η ( t ) H k 1/2 P ( t ) Σ 1/2 d B ( t ) . (24)
Consider E ( t ) E(t) E ( t ) as a function of e ( t ) e(t) e ( t ) and apply the Itô formula:
d E ( t ) = ∇ e E ( t ) T d e ( t ) + 1 2 tr [ d e ( t ) d e ( t ) T ∇ e 2 E ( t ) ] , (25) \mathrm{d}E(t)=\nabla_eE(t)^{\mathsf{T}}\mathrm{d}e(t)+\frac{1}{2}\operatorname{tr}\left[\mathrm{d}e(t)\mathrm{d}e(t)^{\mathsf{T}}\nabla_e^2E(t)\right], \tag*{(25)} d E ( t ) = ∇ e E ( t ) T d e ( t ) + 2 1 tr [ d e ( t ) d e ( t ) T ∇ e 2 E ( t ) ] , (25)
where ∇ e E ( t ) = e ( t ) \nabla_eE(t)=e(t) ∇ e E ( t ) = e ( t ) and ∇ e 2 E ( t ) = I \nabla_e^2E(t)=I ∇ e 2 E ( t ) = I .
Substituting equation (24) into equation (25) , the first term is
∇ e E ( t ) T d e ( t ) = e ( t ) T [ − η ( t ) H k 1 / 2 P ( t ) H k 1 / 2 e ( t ) d t + η ( t ) H k 1 / 2 P ( t ) Σ 1 / 2 d B ( t ) ] = − η ( t ) e ( t ) T H k 1 / 2 P ( t ) H k 1 / 2 e ( t ) d t + η ( t ) e ( t ) T H k 1 / 2 P ( t ) Σ 1 / 2 d B ( t ) . (26) \begin{aligned}
\nabla_eE(t)^{\mathsf{T}}\mathrm{d}e(t)
&=e(t)^{\mathsf{T}}\left[-\eta(t)H_k^{1/2}P(t)H_k^{1/2}e(t)\mathrm{d}t+\eta(t)H_k^{1/2}P(t)\Sigma^{1/2}\mathrm{d}B(t)\right] \\
&=-\eta(t)e(t)^{\mathsf{T}}H_k^{1/2}P(t)H_k^{1/2}e(t)\mathrm{d}t+\eta(t)e(t)^{\mathsf{T}}H_k^{1/2}P(t)\Sigma^{1/2}\mathrm{d}B(t). \tag*{(26)}
\end{aligned} ∇ e E ( t ) T d e ( t ) = e ( t ) T [ − η ( t ) H k 1/2 P ( t ) H k 1/2 e ( t ) d t + η ( t ) H k 1/2 P ( t ) Σ 1/2 d B ( t ) ] = − η ( t ) e ( t ) T H k 1/2 P ( t ) H k 1/2 e ( t ) d t + η ( t ) e ( t ) T H k 1/2 P ( t ) Σ 1/2 d B ( t ) . (26)
For the part in second term
d e ( t ) d e ( t ) T = [ − η ( t ) H k 1 / 2 P ( t ) H k 1 / 2 e ( t ) d t + η ( t ) H k 1 / 2 P ( t ) Σ 1 / 2 d B ( t ) ] (27) \mathrm{d}e(t)\mathrm{d}e(t)^{\mathsf{T}}=\left[-\eta(t)H_k^{1/2}P(t)H_k^{1/2}e(t)\mathrm{d}t+\eta(t)H_k^{1/2}P(t)\Sigma^{1/2}\mathrm{d}B(t)\right] \tag*{(27)} d e ( t ) d e ( t ) T = [ − η ( t ) H k 1/2 P ( t ) H k 1/2 e ( t ) d t + η ( t ) H k 1/2 P ( t ) Σ 1/2 d B ( t ) ] (27)
⋅ [ − η ( t ) H k 1 / 2 P ( t ) H k 1 / 2 e ( t ) d t + η ( t ) H k 1 / 2 P ( t ) Σ 1 / 2 d B ( t ) ] T (28) \cdot\left[-\eta(t)H_k^{1/2}P(t)H_k^{1/2}e(t)\mathrm{d}t+\eta(t)H_k^{1/2}P(t)\Sigma^{1/2}\mathrm{d}B(t)\right]^{\mathsf{T}} \tag*{(28)} ⋅ [ − η ( t ) H k 1/2 P ( t ) H k 1/2 e ( t ) d t + η ( t ) H k 1/2 P ( t ) Σ 1/2 d B ( t ) ] T (28)
= [ η ( t ) H k 1 / 2 P ( t ) Σ 1 / 2 d B ( t ) ] [ η ( t ) H k 1 / 2 P ( t ) Σ 1 / 2 d B ( t ) ] T (29) =\left[\eta(t)H_k^{1/2}P(t)\Sigma^{1/2}\mathrm{d}B(t)\right]\left[\eta(t)H_k^{1/2}P(t)\Sigma^{1/2}\mathrm{d}B(t)\right]^{\mathsf{T}} \tag*{(29)} = [ η ( t ) H k 1/2 P ( t ) Σ 1/2 d B ( t ) ] [ η ( t ) H k 1/2 P ( t ) Σ 1/2 d B ( t ) ] T (29)
= η 2 ( t ) H k 1 / 2 P ( t ) Σ 1 / 2 d B ( t ) d B ( t ) T Σ 1 / 2 T P ( t ) T ( H k 1 / 2 ) T (30) =\eta^2(t)H_k^{1/2}P(t)\Sigma^{1/2}\mathrm{d}B(t)\mathrm{d}B(t)^{\mathsf{T}}\Sigma^{1/2\mathsf{T}}P(t)^{\mathsf{T}}\left(H_k^{1/2}\right)^{\mathsf{T}} \tag*{(30)} = η 2 ( t ) H k 1/2 P ( t ) Σ 1/2 d B ( t ) d B ( t ) T Σ 1/2 T P ( t ) T ( H k 1/2 ) T (30)
= η 2 ( t ) H k 1 / 2 P ( t ) Σ P ( t ) T H k 1 / 2 d t . (31) =\eta^2(t)H_k^{1/2}P(t)\Sigma P(t)^{\mathsf{T}}H_k^{1/2}\mathrm{d}t. \tag*{(31)} = η 2 ( t ) H k 1/2 P ( t ) Σ P ( t ) T H k 1/2 d t . (31)
The second equality is because multiplication rules in stochastic differential form. In addition, The second equality is because d B ( t ) d B ( t ) T = I d t \mathrm{d}B(t)\mathrm{d}B(t)^{\mathsf{T}}=I\mathrm{d}t d B ( t ) d B ( t ) T = I d t . Hence
1 2 tr [ d e ( t ) d e ( t ) T ∇ e 2 E ( t ) ] = 1 2 η 2 ( t ) tr [ P ( t ) Σ P ( t ) T H k ] d t . (32) \frac{1}{2}\operatorname{tr}\left[\mathrm{d}e(t)\mathrm{d}e(t)^{\mathsf{T}}\nabla_e^2E(t)\right]=\frac{1}{2}\eta^2(t)\operatorname{tr}\left[P(t)\Sigma P(t)^{\mathsf{T}}H_k\right]\mathrm{d}t. \tag*{(32)} 2 1 tr [ d e ( t ) d e ( t ) T ∇ e 2 E ( t ) ] = 2 1 η 2 ( t ) tr [ P ( t ) Σ P ( t ) T H k ] d t . (32)
Putting together
d E ( t ) = [ − η ( t ) e ( t ) T H k 1 / 2 P ( t ) H k 1 / 2 e ( t ) + 1 2 η 2 ( t ) tr ( P ( t ) Σ P ( t ) T H k ) ] d t + η ( t ) e ( t ) T H k 1 / 2 P ( t ) Σ 1 / 2 d B ( t ) . (33) \begin{aligned}
\mathrm{d}E(t)=\Big[&-\eta(t)e(t)^{\mathsf{T}}H_k^{1/2}P(t)H_k^{1/2}e(t) \\
&+\frac{1}{2}\eta^2(t)\operatorname{tr}\left(P(t)\Sigma P(t)^{\mathsf{T}}H_k\right)\Big]\mathrm{d}t \\
&+\eta(t)e(t)^{\mathsf{T}}H_k^{1/2}P(t)\Sigma^{1/2}\mathrm{d}B(t). \tag*{(33)}
\end{aligned} d E ( t ) = [ − η ( t ) e ( t ) T H k 1/2 P ( t ) H k 1/2 e ( t ) + 2 1 η 2 ( t ) tr ( P ( t ) Σ P ( t ) T H k ) ] d t + η ( t ) e ( t ) T H k 1/2 P ( t ) Σ 1/2 d B ( t ) . (33)
Taking expectations, the martingale term has zero mean, yielding
d d t E [ E ( t ) ] = − η ( t ) E [ e ( t ) T H k 1 / 2 P ( t ) H k 1 / 2 e ( t ) ] + 1 2 η 2 ( t ) tr ( P ( t ) Σ P ( t ) T H k ) . (34) \frac{\mathrm{d}}{\mathrm{d}t}\mathbb{E}[E(t)]=-\eta(t)\mathbb{E}\left[e(t)^{\mathsf{T}}H_k^{1/2}P(t)H_k^{1/2}e(t)\right]+\frac{1}{2}\eta^2(t)\operatorname{tr}\left(P(t)\Sigma P(t)^{\mathsf{T}}H_k\right). \tag*{(34)} d t d E [ E ( t )] = − η ( t ) E [ e ( t ) T H k 1/2 P ( t ) H k 1/2 e ( t ) ] + 2 1 η 2 ( t ) tr ( P ( t ) Σ P ( t ) T H k ) . (34)
Since P ( t ) P(t) P ( t ) is symmetric positive definite and H k 1 / 2 H_k^{1/2} H k 1/2 is symmetric positive semi-definite, there exists eigenvalue lower bound of ν ℓ ( k ) > 0 \nu_{\ell}^{(k)}>0 ν ℓ ( k ) > 0 of H k 1 / 2 P ( t ) H k 1 / 2 H_k^{1/2}P(t)H_k^{1/2} H k 1/2 P ( t ) H k 1/2 such that
e ( t ) T H k 1 / 2 P ( t ) H k 1 / 2 e ( t ) ≥ ν ℓ ( k ) ∥ e ( t ) ∥ 2 , ∀ t ∈ [ T k , T k + 1 ) . (35) e(t)^{\mathsf{T}}H_k^{1/2}P(t)H_k^{1/2}e(t)\geq\nu_{\ell}^{(k)}\lVert e(t)\rVert^2,\qquad\forall t\in[T_k,T_{k+1}). \tag*{(35)} e ( t ) T H k 1/2 P ( t ) H k 1/2 e ( t ) ≥ ν ℓ ( k ) ∥ e ( t ) ∥ 2 , ∀ t ∈ [ T k , T k + 1 ) . (35)
Therefore
d d t E [ E ( t ) ] ≤ − 2 η ( t ) ν ℓ ( k ) E [ E ( t ) ] + 1 2 α η ( t ) 2 . (36) \frac{\mathrm{d}}{\mathrm{d}t}\mathbb{E}[E(t)]\leq-2\eta(t)\nu_{\ell}^{(k)}\mathbb{E}[E(t)]+\frac{1}{2}\alpha\eta(t)^2. \tag*{(36)} d t d E [ E ( t )] ≤ − 2 η ( t ) ν ℓ ( k ) E [ E ( t )] + 2 1 α η ( t ) 2 . (36)
where we denote α = tr ( P ( t ) Σ P ( t ) T H k ) \alpha= \operatorname{tr}\left(P(t)\Sigma P(t)^{\mathsf{T}}H_k\right) α = tr ( P ( t ) Σ P ( t ) T H k ) .
Solving the linear inequality via an integrating factor μ ( t ) : = exp ( ∫ T k t η ( τ ) ν ℓ ( k ) d τ ) \mu(t) := \exp\left(\int_{T_k}^{t}\eta(\tau)\nu_{\ell}^{(k)}\,\mathrm{d}\tau\right) μ ( t ) := exp ( ∫ T k t η ( τ ) ν ℓ ( k ) d τ ) , t ∈ [ T k , T k + 1 ] t \in[T_k,T_{k+1}] t ∈ [ T k , T k + 1 ] ,
d d t μ ( t ) = ν ℓ ( k ) η ( t ) μ ( t ) . (37) \frac{\mathrm{d}}{\mathrm{d}t}\mu(t)=\nu_{\ell}^{(k)}\eta(t)\mu(t). \tag*{(37)} d t d μ ( t ) = ν ℓ ( k ) η ( t ) μ ( t ) . (37)
Multiplying μ ( t ) \mu(t) μ ( t ) to equation (36) , i.e., μ ( t ) d d t E [ E ( t ) ] + 2 η ( t ) ν ℓ ( k ) μ ( t ) E [ E ( t ) ] ≤ 1 2 α η ( t ) 2 μ ( t ) \mu(t)\frac{\mathrm{d}}{\mathrm{d}t}\mathbb{E}[E(t)]+2\eta(t)\nu_{\ell}^{(k)}\mu(t)\mathbb{E}[E(t)]\leq\frac{1}{2}\alpha\eta(t)^2\mu(t) μ ( t ) d t d E [ E ( t )] + 2 η ( t ) ν ℓ ( k ) μ ( t ) E [ E ( t )] ≤ 2 1 α η ( t ) 2 μ ( t ) , we have
d d t [ μ ( t ) E [ E ( t ) ] ] ≤ 1 2 α η ( t ) 2 μ ( t ) . (38) \frac{\mathrm{d}}{\mathrm{d}t}\left[\mu(t)\mathbb{E}[E(t)]\right]\leq\frac{1}{2}\alpha\eta(t)^2\mu(t). \tag*{(38)} d t d [ μ ( t ) E [ E ( t )] ] ≤ 2 1 α η ( t ) 2 μ ( t ) . (38)
Integrate from T k T_k T k to T k + 1 T_{k+1} T k + 1 , we have
μ ( T k + 1 ) E [ E ( T k + 1 ) ] − μ ( T k ) E [ E ( T k ) ] ≤ 1 2 α ∫ T k T k + 1 η ( t ) 2 μ ( t ) d t . (39) \mu(T_{k+1})\mathbb{E}[E(T_{k+1})]-\mu(T_k)\mathbb{E}[E(T_k)]\leq\frac{1}{2}\alpha\int_{T_k}^{T_{k+1}}\eta(t)^2\mu(t)\,\mathrm{d}t. \tag*{(39)} μ ( T k + 1 ) E [ E ( T k + 1 )] − μ ( T k ) E [ E ( T k )] ≤ 2 1 α ∫ T k T k + 1 η ( t ) 2 μ ( t ) d t . (39)
Since μ ( T k ) = 1 \mu(T_k)=1 μ ( T k ) = 1 and U k = ∫ T k T k + 1 η ( τ ) d τ U_k=\int_{T_k}^{T_{k+1}}\eta(\tau)\,\mathrm{d}\tau U k = ∫ T k T k + 1 η ( τ ) d τ , we have
E [ E ( T k + 1 ) ] ≤ E [ E ( T k ) ] e − 2 ν ℓ ( k ) U k + 1 2 α e − ν ℓ ( k ) U k ∫ T k T k + 1 η ( t ) 2 μ ( t ) d t . (40) \mathbb{E}[E(T_{k+1})]\leq\mathbb{E}[E(T_k)]e^{-2\nu_{\ell}^{(k)}U_k}+\frac{1}{2}\alpha e^{-\nu_{\ell}^{(k)}U_k}\int_{T_k}^{T_{k+1}}\eta(t)^2\mu(t)\,\mathrm{d}t. \tag*{(40)} E [ E ( T k + 1 )] ≤ E [ E ( T k )] e − 2 ν ℓ ( k ) U k + 2 1 α e − ν ℓ ( k ) U k ∫ T k T k + 1 η ( t ) 2 μ ( t ) d t . (40)
In typical network training, the learning rate satisfies η ( t ) > 0 \eta(t)>0 η ( t ) > 0 . Consequently, we have μ ( t ) : = exp ( ∫ T k t η ( τ ) ν ℓ ( k ) d τ ) ≤ exp ( ν ℓ ( k ) U k ) \mu(t):=\exp\left(\int_{T_k}^{t}\eta(\tau)\nu_{\ell}^{(k)}\,\mathrm{d}\tau\right)\leq\exp\left(\nu_{\ell}^{(k)}U_k\right) μ ( t ) := exp ( ∫ T k t η ( τ ) ν ℓ ( k ) d τ ) ≤ exp ( ν ℓ ( k ) U k ) , which is equation 23.
Corollary 3.4 [ℓ 1 \ell_1 ℓ 1 -regularized intrinsic-time problem] Under Theorem 3.3 and the constraint 0 ≤ η ( t ) ≤ η max 0\leq\eta(t)\leq\eta_{\max} 0 ≤ η ( t ) ≤ η m a x on [ T k , T k + 1 ] [T_k,T_{k+1}] [ T k , T k + 1 ] , the intrinsic-time selection problem reduces to the ℓ 1 \ell_1 ℓ 1 -regularized problem,
min U ∈ [ 0 , η max Δ T k ] { E [ E ( T k ) ] e − 2 ν ℓ ( k ) U + 1 2 α η max U } . (41) \min_{U\in[0,\eta_{\max}\Delta T_k]}\left\{\mathbb{E}[E(T_k)]e^{-2\nu_{\ell}^{(k)}U}+\frac{1}{2}\alpha\eta_{\max}U\right\}. \tag*{(41)} U ∈ [ 0 , η m a x Δ T k ] min { E [ E ( T k )] e − 2 ν ℓ ( k ) U + 2 1 α η m a x U } . (41) The unconstrained minimizer admits the closed form
U k ∗ = 1 2 ν ℓ ( k ) ln ( 4 ν ℓ ( k ) E [ E ( T k ) ] α η max ) . (42) U_k^*=\frac{1}{2\nu_{\ell}^{(k)}}\ln\left(\frac{4\nu_{\ell}^{(k)}\mathbb{E}[E(T_k)]}{\alpha\eta_{\max}}\right). \tag*{(42)} U k ∗ = 2 ν ℓ ( k ) 1 ln ( α η m a x 4 ν ℓ ( k ) E [ E ( T k )] ) . (42) The constrained minimizer is followed by clamping to [ 0 , η max Δ T k ] [0,\eta_{\max}\Delta T_k] [ 0 , η m a x Δ T k ] .
Proof. Since 0 ≤ η ( t ) ≤ η max 0\leq\eta(t)\leq\eta_{\max} 0 ≤ η ( t ) ≤ η m a x , we have η ( t ) 2 ≤ η max η ( t ) \eta(t)^2\leq\eta_{\max}\eta(t) η ( t ) 2 ≤ η m a x η ( t ) , hence
∫ η ( t ) 2 d t ≤ η max ∫ η ( t ) d t = η max U k . (43) \int\eta(t)^2\mathrm{d}t\leq\eta_{\max}\int\eta(t)\mathrm{d}t=\eta_{\max}U_k. \tag*{(43)} ∫ η ( t ) 2 d t ≤ η m a x ∫ η ( t ) d t = η m a x U k . (43)
Substituting equation 43 into equation 23, we arrive at the simplified bound
E [ E ( T k + 1 ) ] ≤ E [ E ( T k ) ] e − 2 ν ℓ ( k ) U k + 1 2 α η max U k . (44) \mathbb{E}[E(T_{k+1})]\leq\mathbb{E}[E(T_k)]e^{-2\nu_{\ell}^{(k)}U_k}+\frac{1}{2}\alpha\eta_{\max}U_k. \tag*{(44)} E [ E ( T k + 1 )] ≤ E [ E ( T k )] e − 2 ν ℓ ( k ) U k + 2 1 α η m a x U k . (44)
Consequently, selecting U k U_k U k by minimizing the upper bound equation 44 reduces to the ℓ 1 \ell_1 ℓ 1 -regularized problem
min U ∈ [ 0 , η max Δ T k ] { E [ E ( T k ) ] e − 2 ν ℓ ( k ) U + 1 2 α η max U } . (45) \min_{U\in[0,\eta_{\max}\Delta T_k]}\left\{\mathbb{E}[E(T_k)]e^{-2\nu_{\ell}^{(k)}U}+\frac{1}{2}\alpha\eta_{\max}U\right\}. \tag*{(45)} U ∈ [ 0 , η m a x Δ T k ] min { E [ E ( T k )] e − 2 ν ℓ ( k ) U + 2 1 α η m a x U } . (45)
Differentiating the objective in equation 45 gives the condition 2 ν ℓ ( k ) E [ E ( T k ) ] e − 2 ν ℓ ( k ) U = 1 2 α η max 2\nu_{\ell}^{(k)}\mathbb{E}[E(T_k)]e^{-2\nu_{\ell}^{(k)}U}=\frac{1}{2}\alpha\eta_{\max} 2 ν ℓ ( k ) E [ E ( T k )] e − 2 ν ℓ ( k ) U = 2 1 α η m a x . Then it gives the explicit form optimal intrinsic time,
U ^ k ∗ = 1 2 ν ℓ ( k ) ln ( 4 ν ℓ ( k ) E [ E ( T k ) ] η max α ) . (46) \widehat{U}_k^*=\frac{1}{2\nu_{\ell}^{(k)}}\ln\left(\frac{4\nu_{\ell}^{(k)}\mathbb{E}[E(T_k)]}{\eta_{\max}\alpha}\right). \tag*{(46)} U k ∗ = 2 ν ℓ ( k ) 1 ln ( η m a x α 4 ν ℓ ( k ) E [ E ( T k )] ) . (46)
Note that U k ∈ [ 0 , η max ( T k + 1 − T k ) ] U_k\in[0,\eta_{\max}(T_{k+1}-T_k)] U k ∈ [ 0 , η m a x ( T k + 1 − T k )] , therefore the actual U k ∗ U_k^* U k ∗ is obtained by clamping U ^ k ∗ \widehat{U}_k^* U k ∗ . It rearranges to equation 42.
Corollary 3.5 [ℓ 2 {\ell}_{2} ℓ 2 surrogate via near-constant stepsizes] Under Theorem 3.3 and continuity of UBA-shape function, the intrinsic-time selection problem can be approximated as ℓ 2 {\ell}_{2} ℓ 2 -regularized problem,
min U k ∈ [ 0 , η max Δ T k ] E [ E ( T k ) ] e − 2 ν ℓ ( k ) U k + 1 2 α U k 2 Δ T k , (47) \min_{U_k\in[0,\eta_{\max}\Delta T_k]} \mathbb{E}[E(T_k)]e^{-2\nu_{\ell}^{(k)}U_k}+\frac{1}{2}\alpha\frac{U_k^2}{\Delta T_k}, \tag*{(47)} U k ∈ [ 0 , η m a x Δ T k ] min E [ E ( T k )] e − 2 ν ℓ ( k ) U k + 2 1 α Δ T k U k 2 , (47) whose minimizer is given by the Lambert-W W W expression
U k ∗ = 1 2 ν ℓ ( k ) W ( 2 ( ν ℓ ( k ) ) 2 E [ E ( T k ) ] Δ T k α ) , (48) U_k^*=\frac{1}{2\nu_{\ell}^{(k)}}W\left(\frac{2(\nu_{\ell}^{(k)})^2\mathbb{E}[E(T_k)]\Delta T_k}{\alpha}\right), \tag*{(48)} U k ∗ = 2 ν ℓ ( k ) 1 W ( α 2 ( ν ℓ ( k ) ) 2 E [ E ( T k )] Δ T k ) , (48) followed by clamping to [ 0 , η max Δ T k ] [0,\eta_{\max}\Delta T_k] [ 0 , η m a x Δ T k ] .
Proof. Given the continuity of UBA-shape function, the stepsize on a short segment k k k is slowly varying so that η ( t ) ≈ η ˉ k : = U k / Δ T k \eta(t)\approx\bar{\eta}_k:=U_k/\Delta T_k η ( t ) ≈ η ˉ k := U k /Δ T k . Then
∫ T k T k + 1 η ( t ) 2 d t ≈ U k 2 Δ T k . (49) \int_{T_k}^{T_{k+1}}\eta(t)^2\mathrm{d}t\approx\frac{U_k^2}{\Delta T_k}. \tag*{(49)} ∫ T k T k + 1 η ( t ) 2 d t ≈ Δ T k U k 2 . (49)
Under Theorem 3.3, substituting into equation (23) yields the ℓ 2 {\ell}_{2} ℓ 2 -regularized objective
min U k ∈ [ 0 , η max Δ T k ] E [ E ( T k ) ] e − 2 ν ℓ ( k ) U k + 1 2 α U k 2 Δ T k , (50) \min_{U_k\in[0,\eta_{\max}\Delta T_k]} \mathbb{E}[E(T_k)]e^{-2\nu_{\ell}^{(k)}U_k}+\frac{1}{2}\alpha\frac{U_k^2}{\Delta T_k}, \tag*{(50)} U k ∈ [ 0 , η m a x Δ T k ] min E [ E ( T k )] e − 2 ν ℓ ( k ) U k + 2 1 α Δ T k U k 2 , (50)
Differentiating equation (50) with respect to U k U_k U k gives
J k ( U k ) = − 2 ν ℓ ( k ) E [ E ( T k ) ] e − 2 ν ℓ ( k ) U k + α Δ T k U k . (51) J_k(U_k)=-2\nu_{\ell}^{(k)}\mathbb{E}[E(T_k)]e^{-2\nu_{\ell}^{(k)}U_k}+\frac{\alpha}{\Delta T_k}U_k. \tag*{(51)} J k ( U k ) = − 2 ν ℓ ( k ) E [ E ( T k )] e − 2 ν ℓ ( k ) U k + Δ T k α U k . (51)
Setting J k ( U k ) = 0 J_k(U_k)=0 J k ( U k ) = 0 yields
α Δ T k U k = 2 ν ℓ ( k ) E [ E ( T k ) ] e − 2 ν ℓ ( k ) U k . (52) \frac{\alpha}{\Delta T_k}U_k=2\nu_{\ell}^{(k)}\mathbb{E}[E(T_k)]e^{-2\nu_{\ell}^{(k)}U_k}. \tag*{(52)} Δ T k α U k = 2 ν ℓ ( k ) E [ E ( T k )] e − 2 ν ℓ ( k ) U k . (52)
Multiplying both sides of equation (52) by 2 ν ℓ ( k ) e 2 ν ℓ ( k ) U k 2\nu_{\ell}^{(k)}e^{2\nu_{\ell}^{(k)}U_k} 2 ν ℓ ( k ) e 2 ν ℓ ( k ) U k leads to
2 ν ℓ ( k ) α Δ T k U k e 2 ν ℓ ( k ) U k = 2 ( ν ℓ ( k ) ) 2 E [ E ( T k ) ] . (53) 2\nu_{\ell}^{(k)}\frac{\alpha}{\Delta T_k}U_ke^{2\nu_{\ell}^{(k)}U_k}=2(\nu_{\ell}^{(k)})^2\mathbb{E}[E(T_k)]. \tag*{(53)} 2 ν ℓ ( k ) Δ T k α U k e 2 ν ℓ ( k ) U k = 2 ( ν ℓ ( k ) ) 2 E [ E ( T k )] . (53)
The above equation becomes
( 2 ν ℓ ( k ) U k ) e ( 2 ν ℓ ( k ) U k ) = 2 ( ν ℓ ( k ) ) 2 E [ E ( T k ) ] Δ T k α . (54) \left(2\nu_{\ell}^{(k)}U_k\right)e^{\left(2\nu_{\ell}^{(k)}U_k\right)}=\frac{2(\nu_{\ell}^{(k)})^2\mathbb{E}[E(T_k)]\Delta T_k}{\alpha}. \tag*{(54)} ( 2 ν ℓ ( k ) U k ) e ( 2 ν ℓ ( k ) U k ) = α 2 ( ν ℓ ( k ) ) 2 E [ E ( T k )] Δ T k . (54)
By definition of the Lambert W W W function, 2 ν ℓ ( k ) U k = W ( 2 ( ν ℓ ( k ) ) 2 E [ E ( T k ) ] Δ T k α ) 2\nu_{\ell}^{(k)}U_k=W\left(\frac{2(\nu_{\ell}^{(k)})^2\mathbb{E}[E(T_k)]\Delta T_k}{\alpha}\right) 2 ν ℓ ( k ) U k = W ( α 2 ( ν ℓ ( k ) ) 2 E [ E ( T k )] Δ T k ) , and thus
U k ∗ = 1 2 ν ℓ ( k ) W ( 2 ( ν ℓ ( k ) ) 2 E [ E ( T k ) ] Δ T k α ) , (55) U_k^*=\frac{1}{2\nu_{\ell}^{(k)}}W\left(\frac{2(\nu_{\ell}^{(k)})^2\mathbb{E}[E(T_k)]\Delta T_k}{\alpha}\right), \tag*{(55)} U k ∗ = 2 ν ℓ ( k ) 1 W ( α 2 ( ν ℓ ( k ) ) 2 E [ E ( T k )] Δ T k ) , (55)
which is equation (48) .
A computable plug-in estimate of U k ∗ U_k^* U k ∗ . Both closed-form solutions in equation (42) and equation (48) depend on the quantities ν ℓ ( k ) \nu_{\ell}^{(k)} ν ℓ ( k ) , E [ E ( T k ) ] \mathbb{E}[E(T_k)] E [ E ( T k )] , and α \alpha α . Direct estimation of these quantities is computationally expensive. We therefore derive a plug-in estimate based on measurable surrogates.
For the ℓ 1 {\ell}_{1} ℓ 1 solution equation (42) , the logarithmic term is dominated by the ratio ν ℓ ( k ) E [ E ( T k ) ] / α \nu_{\ell}^{(k)}\mathbb{E}[E(T_k)]/\alpha ν ℓ ( k ) E [ E ( T k )] / α . For the ℓ 2 {\ell}_{2} ℓ 2 solution equation (48) , using the first-order approximation W ( x ) ≈ x W(x)\approx x W ( x ) ≈ x for small x x x , we obtain
U k ∗ ≈ ν ℓ ( k ) E [ E ( T k ) ] Δ T k α . U_k^*\approx\frac{\nu_{\ell}^{(k)}\mathbb{E}[E(T_k)]\Delta T_k}{\alpha}. U k ∗ ≈ α ν ℓ ( k ) E [ E ( T k )] Δ T k .
Both solutions share the common dominant factor
ν ℓ ( k ) E [ E ( T k ) ] α . (56) \frac{\nu_{\ell}^{(k)}\mathbb{E}[E(T_k)]}{\alpha}. \tag*{(56)} α ν ℓ ( k ) E [ E ( T k )] . (56)
Recall that the energy function is defined as the local quadratic surrogate of the true loss L \mathcal{L} L :
E ( t ) : = 1 2 ∥ H k 1 / 2 ( W ( t ) − W ‾ ( k ) ) ∥ 2 ≈ L ( W ( t ) ) − L ( W ‾ ( k ) ) ≈ L ( W ( t ) ) , (57) E(t) := \frac{1}{2}\left\|H_k^{1/2}\left(W(t)-\overline{W}^{(k)}\right)\right\|^2 \approx\mathcal{L}(W(t))-\mathcal{L}\left(\overline{W}^{(k)}\right) \approx\mathcal{L}(W(t)), \tag*{(57)} E ( t ) := 2 1 H k 1/2 ( W ( t ) − W ( k ) ) 2 ≈ L ( W ( t )) − L ( W ( k ) ) ≈ L ( W ( t )) , (57)
where the last approximation follows from the assumption that the loss at the local minimum L ( W ‾ ( k ) ) \mathcal{L}\left(\overline{W}^{(k)}\right) L ( W ( k ) ) is negligible. Under this identification, E E E and L \mathcal{L} L are used interchangeably in the following derivations.
For the symmetric positive semidefinite Hessian H k = ∇ 2 L ( W ‾ ( k ) ) H_k=\nabla^2\mathcal{L}\left(\overline{W}^{(k)}\right) H k = ∇ 2 L ( W ( k ) ) , the Rayleigh–Ritz variational formula characterizes its smallest positive eigenvalue as
ν ℓ ( k ) = λ min + ( H k ) = min v ⊥ ker ( H k ) v T H k v ∥ v ∥ 2 . (58) \nu_{\ell}^{(k)}=\lambda_{\min}^{+}(H_k)=\min_{v\perp\ker(H_k)}\frac{v^T H_k v}{\|v\|^2}. \tag*{(58)} ν ℓ ( k ) = λ m i n + ( H k ) = v ⊥ k e r ( H k ) min ∥ v ∥ 2 v T H k v . (58)
Consequently, for any update direction Δ W \Delta W Δ W ,
Δ W T H k Δ W ≥ ν ℓ ( k ) ∥ Δ W ∥ 2 . (59) \Delta W^T H_k\Delta W\geq\nu_{\ell}^{(k)}\|\Delta W\|^2. \tag*{(59)} Δ W T H k Δ W ≥ ν ℓ ( k ) ∥Δ W ∥ 2 . (59)
Let the actual parameter update be Δ W k = W k + 1 − W k = d k \Delta W_k=W_{k+1}-W_k=d_k Δ W k = W k + 1 − W k = d k , where d k : = m ^ t / ( v ^ t + ϵ ) d_k:=\hat{m}_t/(\sqrt{\hat{v}_t}+\epsilon) d k := m ^ t / ( v ^ t + ϵ ) is the normalized Adam update direction. Using the quadratic expansion of E E E around W ‾ ( k ) \overline{W}^{(k)} W ( k ) , the single-step energy decrease satisfies
Δ E k : = E ( W k ) − E ( W k + 1 ) ≈ 1 2 ν ℓ ( k ) ∥ Δ W k ∥ 2 . (60) \Delta E_k:=E(W_k)-E(W_{k+1})\approx\frac{1}{2}\nu_{\ell}^{(k)}\|\Delta W_k\|^2. \tag*{(60)} Δ E k := E ( W k ) − E ( W k + 1 ) ≈ 2 1 ν ℓ ( k ) ∥Δ W k ∥ 2 . (60)
Substituting Δ W k = d k \Delta W_k=d_k Δ W k = d k yields
ν ℓ ( k ) ≈ 2 Δ E k ∥ d k ∥ 2 , (61) \nu_{\ell}^{(k)}\approx\frac{2\Delta E_k}{\|d_k\|^2}, \tag*{(61)} ν ℓ ( k ) ≈ ∥ d k ∥ 2 2Δ E k , (61)
where ≈ \approx ≈ denotes less-than or approximately less-than.
Summing the single-step decrease over k = 0 , … , T k − 1 k=0,\ldots,T_k-1 k = 0 , … , T k − 1 gives
ν ℓ ( k ) ∑ i = 0 T k − 1 ∥ Δ W i ∥ 2 ≈ ∑ i = 0 T k − 1 Δ E i = ∣ E ( T k ) − E ( 0 ) ∣ . (62) \nu_{\ell}^{(k)}\sum_{i=0}^{T_k-1}\|\Delta W_i\|^2\approx\sum_{i=0}^{T_k-1}\Delta E_i=\left|E(T_k)-E(0)\right|. \tag*{(62)} ν ℓ ( k ) i = 0 ∑ T k − 1 ∥Δ W i ∥ 2 ≈ i = 0 ∑ T k − 1 Δ E i = ∣ E ( T k ) − E ( 0 ) ∣ . (62)
Assuming the curvature ν ℓ ( k ) \nu_{\ell}^{(k)} ν ℓ ( k ) varies slowly within the segment and that the update directions satisfy ∥ Δ W i ∥ ≈ ∥ d k ∥ \|\Delta W_i\|\approx\|d_k\| ∥Δ W i ∥ ≈ ∥ d k ∥ for i i i near T k T_k T k , we obtain
ν ℓ ( k ) T k ∥ d k ∥ 2 ≈ ∣ E ( T k ) − E ( 0 ) ∣ . (63) \nu_{\ell}^{(k)}T_k\|d_k\|^2\approx\left|E(T_k)-E(0)\right|. \tag*{(63)} ν ℓ ( k ) T k ∥ d k ∥ 2 ≈ ∣ E ( T k ) − E ( 0 ) ∣ . (63)
For large T k T_k T k , the initial energy E ( 0 ) E(0) E ( 0 ) is negligible compared with E ( T k ) E(T_k) E ( T k ) , so
ν ℓ ( k ) E ( T k ) ≈ ∣ E ( T k ) − E ( 0 ) ∣ E ( T k ) T k ∥ d k ∥ 2 . (64) \nu_{\ell}^{(k)}E(T_k)\approx\frac{\left|E(T_k)-E(0)\right|E(T_k)}{T_k\|d_k\|^2}. \tag*{(64)} ν ℓ ( k ) E ( T k ) ≈ T k ∥ d k ∥ 2 ∣ E ( T k ) − E ( 0 ) ∣ E ( T k ) . (64)
Since ∣ E ( T k ) − E ( 0 ) ∣ E ( T k ) \left|E(T_k)-E(0)\right|E(T_k) ∣ E ( T k ) − E ( 0 ) ∣ E ( T k ) is related to loss function and the loss decrease, which is a small amount. Let T k T_k T k denote the number of steps required to reach a target accuracy ε \varepsilon ε , so that T k ≈ ( ∣ E ( T k ) − E ( 0 ) ∣ E ( T k ) ) / ε T_k\approx\left(\left|E(T_k)-E(0)\right|E(T_k)\right)/\varepsilon T k ≈ ( ∣ E ( T k ) − E ( 0 ) ∣ E ( T k ) ) / ε . Substituting this relation gives
ν ℓ ( k ) E ( T k ) α ≈ 1 α ⋅ ε ∥ d k ∥ 2 . (65) \frac{\nu_{\ell}^{(k)}E(T_k)}{\alpha}\approx\frac{1}{\alpha}\cdot\frac{\varepsilon}{\|d_k\|^2}. \tag*{(65)} α ν ℓ ( k ) E ( T k ) ≈ α 1 ⋅ ∥ d k ∥ 2 ε . (65)
The quadratic form obtained above, i.e.,
ν ℓ ( k ) E ( T k ) α ≈ 1 α ⋅ ε ∥ d k ∥ 2 , (66) \frac{\nu_{\ell}^{(k)}E(T_k)}{\alpha}\approx\frac{1}{\alpha}\cdot\frac{\varepsilon}{\|d_k\|^2}, \tag*{(66)} α ν ℓ ( k ) E ( T k ) ≈ α 1 ⋅ ∥ d k ∥ 2 ε , (66)
provides a theoretically characterization of the dominant factor. However, when employed as a plug-in estimate for the intrinsic-time scale U k ∗ U_k^* U k ∗ in the UBA framework, the inverse quadratic dependence on ∥ d k ∥ \|d_k\| ∥ d k ∥ may lead to numerical instability when ∥ d k ∥ \|d_k\| ∥ d k ∥ becomes small, as the estimate can grow arbitrarily large without saturation.
To address this issue while preserving the qualitative behavior of the original estimate, we replace the quadratic inverse ∥ d k ∥ − 2 \lVert d_k\rVert^{-2} ∥ d k ∥ − 2 with the reciprocal-linear surrogate ( 1 + ∥ d k ∥ ) − 1 (1+\lVert d_k\rVert)^{-1} ( 1 + ∥ d k ∥ ) − 1 . This substitution is justified by the following considerations: 1) Monotonicity preservation: Both forms are strictly decreasing functions of ∥ d k ∥ \lVert d_k\rVert ∥ d k ∥ , ensuring that larger updates correspond to smaller intrinsic-time scales. 2) Asymptotic consistency: 3) Numerical stability: The reciprocal-linear form is naturally bounded in ( 0 , 1 ] (0,1] ( 0 , 1 ] , preventing unbounded growth when ∥ d k ∥ \lVert d_k\rVert ∥ d k ∥ approaches zero, which is crucial for robust estimation in practice. Thus, we obtain
ν ℓ ( k ) E ( T k ) α ≈ 1 1 + C ∥ d k ∥ , (67) \frac{\nu_{\ell}^{(k)} E(T_k)}{\alpha} \approx\frac{1}{1+C\lVert d_k\rVert}, \tag*{(67)} α ν ℓ ( k ) E ( T k ) ≈ 1 + C ∥ d k ∥ 1 , (67)
where C : = ε / ( α ) C:=\sqrt{\varepsilon/(\alpha)} C := ε / ( α ) absorbs the constants.
We set C C C as a hyper-parameter, for the consistency of the initial φ 0 \varphi_0 φ 0 . This yields the stabilized plug-in estimate
U t ∗ = 1 1 + φ 0 / 2 ∥ m ^ t v ^ t + ϵ ∥ , (68) U_t^*=\frac{1}{1+\sqrt{\varphi_0/2}\left\lVert\frac{\widehat{m}_t}{\sqrt{\widehat{v}_t+\epsilon}}\right\rVert}, \tag*{(68)} U t ∗ = 1 + φ 0 /2 v t + ϵ m t 1 , (68)
for the intrinsic-time energy scale.
Derived LRD
Since the optimal solution of problem equation (3) within each short segment is given by a member of UBA-equivalent family (Definition equation 2.1), U k U_k U k is a deterministic function of the segment-specific shape parameters such as η min ( k ) \eta_{\min}^{(k)} η m i n ( k ) , η max ( k ) \eta_{\max}^{(k)} η m a x ( k ) and φ k \varphi_k φ k .
To finalize the design, we calibrate the scale of the UTA LRD by matching two forms of intrinsic time:
The energy-optimal intrinsic time U k ∗ U_k^* U k ∗ equation (7) from regularized energy evolution analysis (Subsection 3.3).
The intrinsic time implied by the UBA-equivalent shape in Definition equation 2.1, i.e., U φ k = ∫ T k T k + 1 g a , b ( φ , θ t , k ) d t U_{\varphi_k}=\int_{T_k}^{T_{k+1}}g_{a,b}(\varphi,\theta_{t,k})\,\mathrm{d}t U φ k = ∫ T k T k + 1 g a , b ( φ , θ t , k ) d t .
Concretely, for desired parameterization of the shape, such as fixing b = η min ( k ) b=\eta_{\min}^{(k)} b = η m i n ( k ) and a = ( η max ( k ) − η min ( k ) ) a=(\eta_{\max}^{(k)}-\eta_{\min}^{(k)}) a = ( η m a x ( k ) − η m i n ( k ) ) , solving for φ k \varphi_k φ k , we solve the scalar equation
U φ k = U k ∗ , (69) U_{\varphi_k}=U_k^*, \tag*{(69)} U φ k = U k ∗ , (69)
which uniquely determines the remaining free parameter on the segment. This yields a per-segment effective LRD that is (i) near-optimal in shape for problem equation (3) , by Theorem 3.2, and (ii) energy-calibrated in scale, by subsection 3.3.
Next, we solve the matching equation equation (69) and derive the explicit form of the parameter φ k \varphi_k φ k . Without loss of generality, set η max ( k ) = 1 \eta_{\max}^{(k)}=1 η m a x ( k ) = 1 and η min ( k ) = 0 \eta_{\min}^{(k)}=0 η m i n ( k ) = 0 , we proceed as follows:
Theorem F.1. For a given energy-optimal intrinsic time U k ∗ U_k^* U k ∗ , there exists an explicit solution of φ k \varphi_k φ k to matching U φ k = U k ∗ U_{\varphi_k}=U_k^* U φ k = U k ∗ , expressed analytically as
φ k = 2 ( 1 − ψ ) 2 ψ 2 , (70) \varphi_k=\frac{2(1-\psi)^2}{\psi^2}, \tag*{(70)} φ k = ψ 2 2 ( 1 − ψ ) 2 , (70) where
ψ = U k ∗ Δ T k . (71) \psi=\frac{U_k^*}{\Delta T_k}. \tag*{(71)} ψ = Δ T k U k ∗ . (71) Proof. Without loss of generality, let η max ( k ) = 1 \eta_{\max}^{(k)}=1 η m a x ( k ) = 1 and η min ( k ) = 0 \eta_{\min}^{(k)}=0 η m i n ( k ) = 0 . By definition of θ k ( t ) \theta_k(t) θ k ( t ) and τ : = t − T k \tau:=t-T_k τ := t − T k , we have
d θ k d τ = π Δ T k , d τ = Δ T k π d θ k . \frac{\mathrm{d}\theta_k}{\mathrm{d}\tau}=\frac{\pi}{\Delta T_k},\qquad\mathrm{d}\tau=\frac{\Delta T_k}{\pi}\,\mathrm{d}\theta_k. d τ d θ k = Δ T k π , d τ = π Δ T k d θ k .
Thus
∫ T k T k + 1 η k ( t ) d t = ∫ 0 Δ T k η k ( T k + τ ) d τ = Δ T k π ∫ 0 π g k ( θ ) d θ (72) \int_{T_k}^{T_{k+1}} \eta_k(t)\,\mathrm{d}t = \int_{0}^{\Delta T_k} \eta_k(T_k+\tau)\,\mathrm{d}\tau= \frac{\Delta T_k}{\pi}\int_{0}^{\pi} g_k(\theta)\,\mathrm{d}\theta \tag*{(72)} ∫ T k T k + 1 η k ( t ) d t = ∫ 0 Δ T k η k ( T k + τ ) d τ = π Δ T k ∫ 0 π g k ( θ ) d θ (72)
where
g k ( θ ) : = 2 ( 1 + cos ( θ + ( k − 1 ) π ) ) 2 φ k + ( 2 − φ k ) ( 1 + cos ( θ + ( k − 1 ) π ) ) . (73) g_k(\theta) := \frac{2(1+\cos(\theta+(k-1)\pi))}{2\varphi_k+(2-\varphi_k)(1+\cos(\theta+(k-1)\pi))}. \tag*{(73)} g k ( θ ) := 2 φ k + ( 2 − φ k ) ( 1 + cos ( θ + ( k − 1 ) π )) 2 ( 1 + cos ( θ + ( k − 1 ) π )) . (73)
Using cos ( θ + ( k − 1 ) π ) = ( − 1 ) k − 1 cos θ \cos(\theta+(k-1)\pi)=(-1)^{k-1}\cos\theta cos ( θ + ( k − 1 ) π ) = ( − 1 ) k − 1 cos θ and the substitution θ ′ = π − θ \theta'=\pi-\theta θ ′ = π − θ (so that cos θ ′ = − cos θ \cos\theta'=-\cos\theta cos θ ′ = − cos θ and the integration limits remain [ 0 , π ] [0,\pi] [ 0 , π ] ), one checks that
∫ 0 π g k ( θ ) d θ = ∫ 0 π g 1 ( θ ) d θ = : I ( φ k ) , (74) \int_{0}^{\pi}g_k(\theta)\,\mathrm{d}\theta=\int_{0}^{\pi}g_1(\theta)\,\mathrm{d}\theta=:I(\varphi_k), \tag*{(74)} ∫ 0 π g k ( θ ) d θ = ∫ 0 π g 1 ( θ ) d θ =: I ( φ k ) , (74)
so the accumulated step U k U_k U k is independent of k k k and it suffices to compute
I ( φ ) = ∫ 0 π 2 ( 1 + cos θ ) 2 φ + ( 2 − φ ) ( 1 + cos θ ) d θ . (75) I(\varphi)=\int_{0}^{\pi}\frac{2(1+\cos\theta)}{2\varphi+(2-\varphi)(1+\cos\theta)}\,\mathrm{d}\theta. \tag*{(75)} I ( φ ) = ∫ 0 π 2 φ + ( 2 − φ ) ( 1 + cos θ ) 2 ( 1 + cos θ ) d θ . (75)
Let a : = φ + 2 a:=\varphi+2 a := φ + 2 and b : = 2 − φ b:=2-\varphi b := 2 − φ , so that
I ( φ ) = ∫ 0 π 2 ( 1 + cos θ ) a + b cos θ d θ . (76) I(\varphi)=\int_{0}^{\pi}\frac{2(1+\cos\theta)}{a+b\cos\theta}\,\mathrm{d}\theta. \tag*{(76)} I ( φ ) = ∫ 0 π a + b cos θ 2 ( 1 + cos θ ) d θ . (76)
We decompose
∫ 0 π 1 + cos θ a + b cos θ d θ = ∫ 0 π 1 a + b cos θ d θ + ∫ 0 π cos θ a + b cos θ d θ = : I 1 + I 2 . (77) \int_{0}^{\pi}\frac{1+\cos\theta}{a+b\cos\theta}\,\mathrm{d}\theta=\int_{0}^{\pi}\frac{1}{a+b\cos\theta}\,\mathrm{d}\theta+\int_{0}^{\pi}\frac{\cos\theta}{a+b\cos\theta}\,\mathrm{d}\theta
=:I_1+I_2. \tag*{(77)} ∫ 0 π a + b cos θ 1 + cos θ d θ = ∫ 0 π a + b cos θ 1 d θ + ∫ 0 π a + b cos θ cos θ d θ =: I 1 + I 2 . (77)
∫ 0 π d θ a + b cos θ = 2 a 2 − b 2 arctan ( a − b a + b tan θ 2 ) ∣ 0 π , = π a 2 − b 2 . (78) \begin{aligned}
\int_{0}^{\pi}\frac{\mathrm{d}\theta}{a+b\cos\theta}
&=\frac{2}{\sqrt{a^2-b^2}}\arctan\left(\sqrt{\frac{a-b}{a+b}}\tan\frac{\theta}{2}\right)\bigg|_{0}^{\pi},\\
&=\frac{\pi}{\sqrt{a^2-b^2}}. \tag*{(78)}
\end{aligned} ∫ 0 π a + b cos θ d θ = a 2 − b 2 2 arctan ( a + b a − b tan 2 θ ) 0 π , = a 2 − b 2 π . (78)
Since
I 2 = π b − a b I 1 , (79) I_2=\frac{\pi}{b}-\frac{a}{b}I_1, \tag*{(79)} I 2 = b π − b a I 1 , (79)
and using the standard integral ∫ 0 π d θ / ( a + b cos θ ) = π / a 2 − b 2 \int_{0}^{\pi}\mathrm{d}\theta/(a+b\cos\theta)=\pi/\sqrt{a^2-b^2} ∫ 0 π d θ / ( a + b cos θ ) = π / a 2 − b 2 for a > ∣ b ∣ a>|b| a > ∣ b ∣ , we have
∫ 0 π 1 + cos θ a + b cos θ d θ = π a 2 − b 2 + ( π b − a π b a 2 − b 2 ) , = π ( 2 − 2 φ 4 − 2 φ ) . (80) \begin{aligned}
\int_{0}^{\pi}\frac{1+\cos\theta}{a+b\cos\theta}\,\mathrm{d}\theta
&=\frac{\pi}{\sqrt{a^2-b^2}}+\left(\frac{\pi}{b}-\frac{a\pi}{b\sqrt{a^2-b^2}}\right),\\
&=\pi\left(\frac{2-\sqrt{2\varphi}}{4-2\varphi}\right). \tag*{(80)}
\end{aligned} ∫ 0 π a + b cos θ 1 + cos θ d θ = a 2 − b 2 π + ( b π − b a 2 − b 2 aπ ) , = π ( 4 − 2 φ 2 − 2 φ ) . (80)
Since a 2 − b 2 = 8 φ a^2-b^2=8\varphi a 2 − b 2 = 8 φ , we obtain
I ( φ ) = 2 [ π b + ( 1 − a b ) π a 2 − b 2 ] = π 2 − 2 φ 2 − φ . (81) I(\varphi)=2\left[\frac{\pi}{b}+\left(1-\frac{a}{b}\right)\frac{\pi}{\sqrt{a^2-b^2}}\right]=\pi\frac{2-\sqrt{2\varphi}}{2-\varphi}. \tag*{(81)} I ( φ ) = 2 [ b π + ( 1 − b a ) a 2 − b 2 π ] = π 2 − φ 2 − 2 φ . (81)
Substituting this into equation 72 yields
U k = Δ T k 2 − 2 φ k 2 − φ k . (82) U_k=\Delta T_k\frac{2-\sqrt{2\varphi_k}}{2-\varphi_k}. \tag*{(82)} U k = Δ T k 2 − φ k 2 − 2 φ k . (82)
Substituting the optimal U k ∗ U_k^* U k ∗ in each segment into equation 82 gives
φ k = 2 ( 1 − ψ ) 2 ψ 2 , (83) \varphi_k=\frac{2(1-\psi)^2}{\psi^2}, \tag*{(83)} φ k = ψ 2 2 ( 1 − ψ ) 2 , (83)
where
ψ = U k ∗ Δ T k . (84) \psi=\frac{U_k^*}{\Delta T_k}. \tag*{(84)} ψ = Δ T k U k ∗ . (84)
Therefore, substituting the derived φ k \varphi_k φ k from Theorem F.1 into the UBA-equivalent family (Definition equation 2.1), match the iteration-wise extended formula φ t \varphi_t φ t (under iteration-wise framework, Δ T k = 1 \Delta T_k=1 Δ T k = 1 ) with the scale by equation (68) , we obtain the optimal step size at t ∈ [ T k , T k + 1 ] t \in[T_k,T_{k+1}] t ∈ [ T k , T k + 1 ] on segment k k k as follows:
η k ( t ) = 2 ( 1 + cos θ k ( t ) ) 2 φ k + ( 2 − φ k ) ( 1 + cos θ k ( t ) ) (85) \eta_k(t)=\frac{2(1+\cos\theta_k(t))}{2\varphi_k+(2-\varphi_k)(1+\cos\theta_k(t))} \tag*{(85)} η k ( t ) = 2 φ k + ( 2 − φ k ) ( 1 + cos θ k ( t )) 2 ( 1 + cos θ k ( t )) (85)
where
θ k ( t ) : = π ( t − T k ) Δ T k + ( k − 1 ) π , \theta_k(t):=\frac{\pi(t-T_k)}{\Delta T_k}+(k-1)\pi, θ k ( t ) := Δ T k π ( t − T k ) + ( k − 1 ) π ,
and the curvature parameter is obtained by substituting the plug-in estimate
U t ∗ = 1 1 + φ 0 / 2 ∥ m ^ t v ^ t + ϵ ∥ U_t^*=\frac{1}{1+\sqrt{\varphi_0/2}\left\lVert\frac{\hat{m}_t}{\sqrt{\hat{v}_t}+\epsilon}\right\rVert} U t ∗ = 1 + φ 0 /2 v ^ t + ϵ m ^ t 1
into the matching solution φ t = 2 ( 1 − U t ∗ ) 2 ( U t ∗ ) 2 \varphi_t=\frac{2(1-U_t^*)^2}{(U_t^*)^2} φ t = ( U t ∗ ) 2 2 ( 1 − U t ∗ ) 2 from Theorem F.1 , which simplifies to the closed form
φ t = φ 0 ∥ m ^ t v ^ t + ϵ ∥ 2 . (86) \varphi_t=\varphi_0\left\lVert\frac{\hat{m}_t}{\sqrt{\hat{v}_t}+\epsilon}\right\rVert^2. \tag*{(86)} φ t = φ 0 v ^ t + ϵ m ^ t 2 . (86)
Global LRD by segment-wise UTA. The above derivation specifies an optimal segment-wise shape η k ( t ) \eta_k(t) η k ( t ) under a locally approximation on [ T k , T k + 1 ] [T_k,T_{k+1}] [ T k , T k + 1 ] . We extend it to a learning-rate LRD on the entire horizon [ 0 , T ] [0,T] [ 0 , T ] by concatenation:
η ( t ) : = η k ( t ) , t ∈ [ T k , T k + 1 ] , k = 1 , … , K . (87) \eta(t):=\eta_k(t),\qquad t\in[T_k,T_{k+1}],\qquad k=1,\ldots,K. \tag*{(87)} η ( t ) := η k ( t ) , t ∈ [ T k , T k + 1 ] , k = 1 , … , K . (87)
This yields a well-defined global LRD whose shape is min-max optimal within each segment and whose scale is calibrated by matching the intrinsic time U k ∗ U_k^* U k ∗ .
Proposition F.2. Consider the segment dynamics on [ T k , T k + 1 ) [T_k,T_{k+1}) [ T k , T k + 1 ) , the end-of-segment state satisfies
∥ W T k + 1 − W ˉ ( k ) ∥ ≤ ρ k ∥ W T k − W ˉ ( k ) ∥ + ( ϵ ς ( k ) + η max ϵ M ( k ) ) ∥ W T k − W ˉ ( k ) ∥ Δ T k ρ k , (88) \left\lVert W_{T_{k+1}}-\bar{W}^{(k)}\right\rVert\leq\rho_k\left\lVert W_{T_k}-\bar{W}^{(k)}\right\rVert+\left(\epsilon_{\varsigma}^{(k)}+\eta_{\max}\epsilon_M^{(k)}\right)\left\lVert W_{T_k}-\bar{W}^{(k)}\right\rVert\Delta T_k\rho_k, \tag*{(88)} W T k + 1 − W ˉ ( k ) ≤ ρ k W T k − W ˉ ( k ) + ( ϵ ς ( k ) + η m a x ϵ M ( k ) ) W T k − W ˉ ( k ) Δ T k ρ k , (88) where η max : = max t ∈ [ T k , T k + 1 ) η t \eta_{\max}:=\max_{t\in[T_k,T_{k+1})}\eta_t η m a x := max t ∈ [ T k , T k + 1 ) η t , ρ k : = ∥ ∏ t = T k T k + 1 − 1 ( I − η t H ˉ k ) ∥ \rho_k:=\left\lVert\prod_{t=T_k}^{T_{k+1}-1}(I-\eta_t\bar{H}_k)\right\rVert ρ k := ∏ t = T k T k + 1 − 1 ( I − η t H ˉ k ) , W ˉ ( k ) \bar{W}^{(k)} W ˉ ( k ) is the local minimum in k k k -th segment. ς t \varsigma_t ς t is an additive perturbation collecting by (i) local quadratic residuals and (ii) momentum or preconditioner approximation errors. Throughout the segment we assume, ∥ M t − H ˉ k ∥ ≤ ϵ M ( k ) \left\lVert M_t-\bar{H}_k\right\rVert\leq\epsilon_M^{(k)} M t − H ˉ k ≤ ϵ M ( k ) and ∥ ς t ∥ ≤ ϵ ς ( k ) \left\lVert\varsigma_t\right\rVert\leq\epsilon_{\varsigma}^{(k)} ∥ ς t ∥ ≤ ϵ ς ( k ) , where M t M_t M t denotes the preconditioned Hessian estimate used at each step.
Proof. In the ideal segment-wise steady model, the dynamic can be estimated by segment-wise H ˉ k \bar{H}_k H ˉ k for each segment, as equation (19) ,
W T k + 1 − W ˉ ( k ) = ( I − η T k + 1 − 1 H ˉ k ) ⋯ ( I − η T k + 1 H ˉ k ) ( W T k + 1 − W ˉ ( k ) ) . (89) W_{T_{k+1}}-\bar{W}^{(k)}=(I-\eta_{T_{k+1}-1}\bar{H}_k)\cdots(I-\eta_{T_k+1}\bar{H}_k)\left(W_{T_{k+1}}-\bar{W}^{(k)}\right). \tag*{(89)} W T k + 1 − W ˉ ( k ) = ( I − η T k + 1 − 1 H ˉ k ) ⋯ ( I − η T k + 1 H ˉ k ) ( W T k + 1 − W ˉ ( k ) ) . (89)
In a real system, the true segment dynamics on [ T k , T k + 1 ) [T_k,T_{k+1}) [ T k , T k + 1 ) is
W t + 1 − W ˉ ( k ) = ( I − η t M t ) ( W t − W ˉ ( k ) ) + ς t , t ∈ [ T k , T k + 1 ) , (90) W_{t+1}-\bar{W}^{(k)}=(I-\eta_tM_t)\left(W_t-\bar{W}^{(k)}\right)+\varsigma_t,\qquad t\in[T_k,T_{k+1}), \tag*{(90)} W t + 1 − W ˉ ( k ) = ( I − η t M t ) ( W t − W ˉ ( k ) ) + ς t , t ∈ [ T k , T k + 1 ) , (90)
where M t ⪰ 0 M_t\succeq0 M t ⪰ 0 and M t = H ˉ k + Δ M t M_t=\bar{H}_k+\Delta M_t M t = H ˉ k + Δ M t , and ς t \varsigma_t ς t is an additive perturbation collecting by (i) local quadratic residuals and (ii) momentum or preconditioner approximation errors.
Substitute M t = H ˉ k + Δ M t M_t=\bar{H}_k+\Delta M_t M t = H ˉ k + Δ M t into equation (90) :
W t + 1 − W ˉ ( k ) = ( I − η t H ˉ k ) ( W t − W ˉ ( k ) ) + ς ^ t , t ∈ [ T k , T k + 1 ) , (91) W_{t+1}-\bar{W}^{(k)}=(I-\eta_t\bar{H}_k)\left(W_t-\bar{W}^{(k)}\right)+\hat{\varsigma}_t,\qquad t\in[T_k,T_{k+1}), \tag*{(91)} W t + 1 − W ˉ ( k ) = ( I − η t H ˉ k ) ( W t − W ˉ ( k ) ) + ς ^ t , t ∈ [ T k , T k + 1 ) , (91)
where ς ^ t : = ς t − η t Δ M t ( W t − W ˉ ( k ) ) \hat{\varsigma}_t:=\varsigma_t-\eta_t\Delta M_t\left(W_t-\bar{W}^{(k)}\right) ς ^ t := ς t − η t Δ M t ( W t − W ˉ ( k ) ) .
Iterating equation (91) over the segment gives
W T k + 1 − W ˉ ( k ) = A k ( W T k − W ˉ ( k ) ) + ∑ t = T k T k + 1 − 1 ( ∏ s = t + 1 T k + 1 − 1 ( I − η s H ˉ k ) ) ς ^ t , (92) W_{T_{k+1}}-\bar{W}^{(k)}=A_k\left(W_{T_k}-\bar{W}^{(k)}\right)+\sum_{t=T_k}^{T_{k+1}-1}\left(\prod_{s=t+1}^{T_{k+1}-1}(I-\eta_s\bar{H}_k)\right)\hat{\varsigma}_t, \tag*{(92)} W T k + 1 − W ˉ ( k ) = A k ( W T k − W ˉ ( k ) ) + t = T k ∑ T k + 1 − 1 ( s = t + 1 ∏ T k + 1 − 1 ( I − η s H ˉ k ) ) ς ^ t , (92)
where A k A_k A k is defined as
A k : = ∏ t = T k T k + 1 − 1 ( I − η t H ˉ k ) , ρ k : = ∥ A k ∥ . (93) A_k:=\prod_{t=T_k}^{T_{k+1}-1}(I-\eta_t\bar{H}_k),\qquad\rho_k:=\lVert A_k\rVert. \tag*{(93)} A k := t = T k ∏ T k + 1 − 1 ( I − η t H ˉ k ) , ρ k := ∥ A k ∥ . (93)
Taking norms in equation (92) yields
∥ W T k + 1 − W ‾ ( k ) ∥ ≤ ∥ A k ∥ ∥ W T k − W ‾ ( k ) ∥ + ∑ t = T k T k + 1 − 1 ∥ ∏ s = t + 1 T k + 1 − 1 ( I − η s H ‾ k ) ∥ ∥ ς ^ t ∥ . (94) \left\|W_{T_{k+1}}-\overline{W}^{(k)}\right\|\leq\left\|A_k\right\|\left\|W_{T_k}-\overline{W}^{(k)}\right\|+\sum_{t=T_k}^{T_{k+1}-1}\left\|\prod_{s=t+1}^{T_{k+1}-1}\left(I-\eta_s\overline{H}_k\right)\right\|\left\|\widehat{\varsigma}_t\right\|. \tag*{(94)} W T k + 1 − W ( k ) ≤ ∥ A k ∥ W T k − W ( k ) + t = T k ∑ T k + 1 − 1 s = t + 1 ∏ T k + 1 − 1 ( I − η s H k ) ∥ ς t ∥ . (94)
By definition ∥ A k ∥ = ρ k \left\|A_k\right\|=\rho_k ∥ A k ∥ = ρ k , it gives,
∥ W T k + 1 − W ‾ ( k ) ∥ ≤ ρ k ∥ W T k − W ‾ ( k ) ∥ + Δ T k ρ k ∥ ς ^ t ∥ . (95) \left\|W_{T_{k+1}}-\overline{W}^{(k)}\right\|\leq\rho_k\left\|W_{T_k}-\overline{W}^{(k)}\right\|+\Delta T_k\rho_k\left\|\widehat{\varsigma}_t\right\|. \tag*{(95)} W T k + 1 − W ( k ) ≤ ρ k W T k − W ( k ) + Δ T k ρ k ∥ ς t ∥ . (95)
By definition ς ^ t : = ς t − η t Δ M t ( W t − W ‾ ( k ) ) \widehat{\varsigma}_t:=\varsigma_t-\eta_t\Delta M_t\left(W_t-\overline{W}^{(k)}\right) ς t := ς t − η t Δ M t ( W t − W ( k ) ) and triangle inequality,
∥ ς ^ t ∥ ≤ ∥ ς t ∥ + η t ∥ Δ M t ∥ ⋅ ∥ W t − W ‾ ( k ) ∥ . \left\|\widehat{\varsigma}_t\right\|\leq\left\|\varsigma_t\right\|+\eta_t\left\|\Delta M_t\right\|\cdot\left\|W_t-\overline{W}^{(k)}\right\|. ∥ ς t ∥ ≤ ∥ ς t ∥ + η t ∥ Δ M t ∥ ⋅ W t − W ( k ) .
Assume that for t ∈ [ T k , T k + 1 ) t\in[T_k,T_{k+1}) t ∈ [ T k , T k + 1 ) , ∥ Δ M t ∥ ≤ ε M ( k ) \left\|\Delta M_t\right\|\leq\varepsilon_M^{(k)} ∥ Δ M t ∥ ≤ ε M ( k ) and ∥ ς t ∥ ≤ ε ς ( k ) \left\|\varsigma_t\right\|\leq\varepsilon_\varsigma^{(k)} ∥ ς t ∥ ≤ ε ς ( k ) . We have
∥ ς ^ t ∥ ≤ ε ς ( k ) + η max ε M ( k ) R k . (96) \left\|\widehat{\varsigma}_t\right\|\leq\varepsilon_\varsigma^{(k)}+\eta_{\max}\varepsilon_M^{(k)}R_k. \tag*{(96)} ∥ ς t ∥ ≤ ε ς ( k ) + η m a x ε M ( k ) R k . (96)
where R k : = max t ∈ [ T k , T k + 1 ] ∥ W t − W ‾ ( k ) ∥ R_k:=\max_{t\in[T_k,T_{k+1}]}\left\|W_t-\overline{W}^{(k)}\right\| R k := max t ∈ [ T k , T k + 1 ] W t − W ( k ) is the segment radius.
Substituting this into equation (95) gives
∥ W T k + 1 − W ‾ ( k ) ∥ ≤ ρ k ∥ W T k − W ‾ ( k ) ∥ + ( ε ς ( k ) + η max ε M ( k ) ∥ W T k − W ‾ ( k ) ∥ ) Δ T k ρ k . \left\|W_{T_{k+1}}-\overline{W}^{(k)}\right\|\leq\rho_k\left\|W_{T_k}-\overline{W}^{(k)}\right\|+\left(\varepsilon_\varsigma^{(k)}+\eta_{\max}\varepsilon_M^{(k)}\left\|W_{T_k}-\overline{W}^{(k)}\right\|\right)\Delta T_k\rho_k. W T k + 1 − W ( k ) ≤ ρ k W T k − W ( k ) + ( ε ς ( k ) + η m a x ε M ( k ) W T k − W ( k ) ) Δ T k ρ k .
This shows the deviation from the segment prediction is controlled by ( ε ς ( k ) , ε M ( k ) ) \left(\varepsilon_\varsigma^{(k)},\varepsilon_M^{(k)}\right) ( ε ς ( k ) , ε M ( k ) ) and the segment length Δ T k \Delta T_k Δ T k .
Thus, concatenating segment-wise near-optimal LRDs (which minimize ρ k \rho_k ρ k ) yields a global LRD whose deviation from the prediction vanishes as Δ T k → 0 \Delta T_k\to0 Δ T k → 0 and ( ε ς ( k ) , ε M ( k ) ) → 0 \left(\varepsilon_\varsigma^{(k)},\varepsilon_M^{(k)}\right)\to0 ( ε ς ( k ) , ε M ( k ) ) → 0 .
Corollary F.3. Under the conditions of Proposition F.2, the concatenated LRD η ( t ) = η k ( t ) \eta(t)=\eta_k(t) η ( t ) = η k ( t ) for t ∈ [ T k , T k + 1 ) t\in[T_k,T_{k+1}) t ∈ [ T k , T k + 1 ) yields the global bound
∥ u T ∥ ≤ ( ∏ k = 1 K ρ k ) ∥ u 0 ∥ + ∑ i = 1 K ( Δ i ∏ j = i + 1 K ρ j ) , (97) \left\|u_T\right\|\leq\left(\prod_{k=1}^{K}\rho_k\right)\left\|u_0\right\|+\sum_{i=1}^{K}\left(\Delta_i\prod_{j=i+1}^{K}\rho_j\right), \tag*{(97)} ∥ u T ∥ ≤ ( k = 1 ∏ K ρ k ) ∥ u 0 ∥ + i = 1 ∑ K ( Δ i j = i + 1 ∏ K ρ j ) , (97) where ρ k : = ∥ ∏ t = T k T k + 1 − 1 ( I − η t H ‾ k ) ∥ \rho_k:=\left\|\prod_{t=T_k}^{T_{k+1}-1}(I-\eta_t\overline{H}_k)\right\| ρ k := ∏ t = T k T k + 1 − 1 ( I − η t H k ) and Δ k : = ( ε ς ( k ) + η max ε M ( k ) ∥ W T k − W ‾ ( k ) ∥ ) Δ T k ρ k \Delta_k:=\left(\varepsilon_\varsigma^{(k)}+\eta_{\max}\varepsilon_M^{(k)}\left\|W_{T_k}-\overline{W}^{(k)}\right\|\right)\Delta T_k\rho_k Δ k := ( ε ς ( k ) + η m a x ε M ( k ) W T k − W ( k ) ) Δ T k ρ k is the segment-wise accumulated perturbation term in Proposition F.2. In particular, when Δ k \Delta_k Δ k is small (short segments), minimizing ρ k \rho_k ρ k segment-wise yields a near-optimal global contraction.
Justification of concatenation. Proposition F.2 and Corollary F.3 further show that under mild nonstationarity, the concatenated LRD remains near-optimal, with deviation controlled by the segment length, curvature and preconditioner drift. The segment length Δ T k \Delta T_k Δ T k controls the approximation error. Shorter segments yield smaller trajectory radius R k R_k R k and smaller curvature drift. Hence, the piecewise construction becomes more accurate as max k Δ T k \max_k\Delta T_k max k Δ T k decreases. Consequently, to achieve the best possible approximation within our framework, we set the segment length to its limit value, Δ T k = 1 \Delta T_k=1 Δ T k = 1 . This implies that each segment corresponds to a single optimization step, thereby equating the segment index k k k with the time index t t t (so that, for instance, φ k \varphi_k φ k becomes φ t \varphi_t φ t ). The resulting final UTA LRD is therefore defined per time step as follows.
Derived UTA LRD. Although the parameters ( η min ( k ) , η max ( k ) , φ k ) \left(\eta_{\min}^{(k)},\eta_{\max}^{(k)},\varphi_k\right) ( η m i n ( k ) , η m a x ( k ) , φ k ) may vary across segments, the LRD on every segment belongs to the same UBA-equivalent function family. Therefore, the resulting global LRD equation (87) is a piecewise UBA LRD on [ 0 , T ] [0,T] [ 0 , T ] . To avoid discontinuities at segment boundaries, we set the starting endpoint of the next segment to match the ending value of the previous segment, η min ( k ) : = η max ( k + 1 ) \eta_{\min}^{(k)}:=\eta_{\max}^{(k+1)} η m i n ( k ) := η m a x ( k + 1 ) for decay LRDs (analogously for increasing LRDs). This keeps η ( t ) \eta(t) η ( t ) continuous on [ 0 , T ] [0,T] [ 0 , T ] while preserving the segment-wise optimal shape.
The derived LRD on the entire horizon [ 0 , T ] [0,T] [ 0 , T ] admits the closed form
η ( t ) = g a , b ( φ , θ ( t ) ) = η min + ( η max − η min ) 2 ( 1 + cos θ ( t ) ) 2 φ t + ( 2 − φ t ) ( 1 + cos θ ( t ) ) (98) \eta(t)=g_{a,b}(\varphi,\theta(t))=\eta_{\min}+(\eta_{\max}-\eta_{\min})\frac{2(1+\cos\theta(t))}{2\varphi_t+(2-\varphi_t)(1+\cos\theta(t))} \tag*{(98)} η ( t ) = g a , b ( φ , θ ( t )) = η m i n + ( η m a x − η m i n ) 2 φ t + ( 2 − φ t ) ( 1 + cos θ ( t )) 2 ( 1 + cos θ ( t )) (98)
where a = η min a=\eta_{\min} a = η m i n , b = η max − η min b=\eta_{\max}-\eta_{\min} b = η m a x − η m i n , θ ( t ) : = π ( t ) T \theta(t):=\frac{\pi(t)}{T} θ ( t ) := T π ( t ) , the curvature parameter φ t \varphi_t φ t is determined by the exact intrinsic-time matching condition
φ t = φ 0 ∥ m ^ t v ^ t + ϵ ∥ 2 . (99) \varphi_t=\varphi_0\left\|\frac{\hat{m}_t}{\sqrt{\hat{v}_t}+\epsilon}\right\|^2. \tag*{(99)} φ t = φ 0 v ^ t + ϵ m ^ t 2 . (99)
Theoretical analysis
Functional scaling laws for LRDs
To theoretically validate the effectiveness of the UTA, we analyze it under the framework of the Functional Scaling Law (FSL) [13 ] . This FSL theory characterizes how the entire loss trajectory scales with training resources under given LRD. Formally, for a model with capacity exponent β \beta β and task difficulty s s s , the expected loss E t \mathcal{E}_t E t at intrinsic training time t t t follows:
E t ≃ M − s β ⏟ model error + e ( t ) ⏟ model learning + ∫ 0 t K ( t − z ) [ e ( z ) + σ 2 ] γ ( z ) d z ⏟ noise accumulation (100) \mathcal{E}_t \simeq\underbrace{M^{-s\beta}}_{\text{model error}}+\underbrace{e(t)}_{\text{model learning}}+\underbrace{\int_0^t \mathcal{K}(t-z)[e(z)+\sigma^2]\gamma(z)\,\mathrm{d}z}_{\text{noise accumulation}} \tag*{(100)} E t ≃ model error M − s β + model learning e ( t ) + noise accumulation ∫ 0 t K ( t − z ) [ e ( z ) + σ 2 ] γ ( z ) d z (100)
where M M M denotes model size, σ 2 \sigma^2 σ 2 is label noise, K ( ⋅ ) \mathcal{K}(\cdot) K ( ⋅ ) is a forgetting kernel that decays as K ( t ) : = ( 1 + t ) − ( 2 − 1 β ) \mathcal{K}(t):=(1+t)^{-(2-\frac{1}{\beta})} K ( t ) := ( 1 + t ) − ( 2 − β 1 ) , e ( t ) : = ( 1 + t ) − s e(t):=(1+t)^{-s} e ( t ) := ( 1 + t ) − s denotes the learning term, and γ ( z ) \gamma(z) γ ( z ) encapsulates the joint effect of learning rate and batch size LRD. In addition, the notation ≃ \simeq ≃ denotes equivalence up to a constant factor.
The FSL reveals that different learning rate decays fundamentally affect training efficiency through two competing mechanisms: (i) accumulating sufficient intrinsic time t = ∫ 0 τ η ( r ) d r t=\int_0^\tau\eta(r)\,\mathrm{d}r t = ∫ 0 τ η ( r ) d r for signal learning, and (ii) controlling noise injection via the LRD-dependent term γ ( z ) \gamma(z) γ ( z ) . This framework has enabled rigorous comparison of LRD strategies, establishing that WSD achieves strictly better scaling efficiency than both constant and exponential decay LRDs [13 ] .
Analytical framework for our LRD
Given the widespread adoption of cosine LRD and the fact that the cosine function forms a core component of our proposed LRD approach, we first analyze the theoretical effect of the cosine LRD.
Within the functional scaling law framework, the model error term is determined solely by model capacity. Therefore, the differences between LRDs manifest in the model learning term and noise accumulation term. Analysis reveals that: (i) Compared to cosine LRD, UTA achieves smaller values in both terms, provides superior control of expected loss E t \mathcal{E}_t E t at intrinsic training time. (ii) Compared to WSD FSL [13 ] , UTA exhibits equivalent scaling behavior since its model learning and noise accumulation terms are of the same order.
Our analysis proceeds through the following sequence of steps. First, we formulate the learning rate decay in physical time ϕ ( τ ) \phi(\tau) ϕ ( τ ) . Next, we compute the transformation to the intrinsic time T ‾ ( τ ) = ∫ 0 τ ϕ ( z ) d z \overline{T}(\tau)=\int_0^\tau\phi(z)\,\mathrm{d}z T ( τ ) = ∫ 0 τ ϕ ( z ) d z and examine its properties, thereby circumventing the need for an explicit inverse function. We then express the noise intensity γ ( z ) \gamma(z) γ ( z ) within the intrinsic time coordinate. Finally, we substitute these results into the FSL formulation to derive both the signal learning term e ( t ) e(t) e ( t ) and the noise accumulation term ∫ 0 t K ( t − z ) [ e ( z ) + σ 2 ] γ ( z ) d z \int_0^t\mathcal{K}(t-z)[e(z)+\sigma^2]\gamma(z)\,\mathrm{d}z ∫ 0 t K ( t − z ) [ e ( z ) + σ 2 ] γ ( z ) d z .
Since cosine function is a part of our LRD function, we first analyze the theoretical efficiency of cosine learning rate decay.
Theorem G.1 (Cosine LRD under FSL). Under the FSL assumptions and in the hard-learning regime s ≤ 1 − 1 β s\leq1-\frac{1}{\beta} s ≤ 1 − β 1 , consider the cosine-annealed learning-rate LRD
ϕ cos ( τ ) = η min + 1 2 ( η max − η min ) ( 1 + cos ( π τ / T max ) ) , τ ∈ [ 0 , T max ] , \phi_{\cos}(\tau)=\eta_{\min}+\frac{1}{2}(\eta_{\max}-\eta_{\min})(1+\cos(\pi\tau/T_{\max})),\qquad\tau\in[0,T_{\max}], ϕ c o s ( τ ) = η m i n + 2 1 ( η m a x − η m i n ) ( 1 + cos ( π τ / T m a x )) , τ ∈ [ 0 , T m a x ] ,
where T max T_{\max} T m a x is the total training step number. Let T ˉ ( τ ) = ∫ 0 τ ϕ cos ( r ) d r \bar{T}(\tau)=\int_{0}^{\tau}\phi_{\cos}(r)\,\mathrm{d}r T ˉ ( τ ) = ∫ 0 τ ϕ c o s ( r ) d r be the intrinsic time and T ˉ ( T max ) \bar{T}(T_{\max}) T ˉ ( T m a x ) the final intrinsic time. Then the FSL risk satisfies the form
E t ∼ M − s β + ( 1 + a T max ) − s + σ 2 B [ ( a − b T max ) + b min { M , ( a T max ) 1 / β } a T max ] (101) \mathcal{E}_t \sim M^{-s\beta}+(1+aT_{\max})^{-s}+\frac{\sigma^2}{B}\left[(a-bT_{\max})+b\frac{\min\{M,(aT_{\max})^{1/\beta}\}}{aT_{\max}}\right] \tag*{(101)} E t ∼ M − s β + ( 1 + a T m a x ) − s + B σ 2 [ ( a − b T m a x ) + b a T m a x min { M , ( a T m a x ) 1/ β } ] (101)
where B B B denotes the batch size, a = 1 2 ( η max + η min ) a=\frac{1}{2}(\eta_{\max}+\eta_{\min}) a = 2 1 ( η m a x + η m i n ) , b = 1 2 ( η max − η min ) b=\frac{1}{2}(\eta_{\max}-\eta_{\min}) b = 2 1 ( η m a x − η m i n ) .
Proof. By direct integration,
T ˉ ( τ ) = ∫ 0 τ ϕ cos ( r ) d r = a τ + b T max π sin ( π τ / T max ) , \bar{T}(\tau)=\int_{0}^{\tau}\phi_{\cos}(r)\,\mathrm{d}r=a\tau+b\frac{T_{\max}}{\pi}\sin(\pi\tau/T_{\max}), T ˉ ( τ ) = ∫ 0 τ ϕ c o s ( r ) d r = a τ + b π T m a x sin ( π τ / T m a x ) ,
with a = 1 2 ( η max + η min ) a=\frac{1}{2}(\eta_{\max}+\eta_{\min}) a = 2 1 ( η m a x + η m i n ) , b = 1 2 ( η max − η min ) b=\frac{1}{2}(\eta_{\max}-\eta_{\min}) b = 2 1 ( η m a x − η m i n ) . Hence the final intrinsic time is T ˉ ( T max ) = a T max \bar{T}(T_{\max})=aT_{\max} T ˉ ( T m a x ) = a T m a x .
Since sin ( ⋅ ) \sin(\cdot) sin ( ⋅ ) is bounded, from the pointwise bounds η min ≤ ϕ cos ( τ ) ≤ η max \eta_{\min}\leq\phi_{\cos}(\tau)\leq\eta_{\max} η m i n ≤ ϕ c o s ( τ ) ≤ η m a x we obtain
η min τ ≤ T ˉ ( τ ) ≤ η max τ , 0 ≤ τ ≤ T , (102) \eta_{\min}\tau\leq\bar{T}(\tau)\leq\eta_{\max}\tau,\qquad0\leq\tau\leq T, \tag*{(102)} η m i n τ ≤ T ˉ ( τ ) ≤ η m a x τ , 0 ≤ τ ≤ T , (102)
which guarantees monotonicity and gives the corresponding inverse bounds
t η max ≤ T ˉ − 1 ( t ) ≤ t η min . (103) \frac{t}{\eta_{\max}}\leq\bar{T}^{-1}(t)\leq\frac{t}{\eta_{\min}}. \tag*{(103)} η m a x t ≤ T ˉ − 1 ( t ) ≤ η m i n t . (103)
Then, under the Theorem 4.4 and Assumption 5.1 in FSL rules (Li et al., [13 ] ), the FSL can be simplified to
E t ∼ M − s β + e ( t ) + σ 2 B N ( ϕ ) , \mathcal{E}_t\sim M^{-s\beta}+e(t)+\frac{\sigma^2}{B}\mathcal{N}(\phi), E t ∼ M − s β + e ( t ) + B σ 2 N ( ϕ ) ,
where e ( t ) : = ( 1 + t ) − s e(t):=(1+t)^{-s} e ( t ) := ( 1 + t ) − s , N [ γ ] : = ∫ 0 t K M ( t − z ) ϕ ( T ˉ − 1 ( t ) ) d z \mathcal{N}[\gamma]:=\int_{0}^{t}\mathcal{K}_M(t-z)\phi(\bar{T}^{-1}(t))\,\mathrm{d}z N [ γ ] := ∫ 0 t K M ( t − z ) ϕ ( T ˉ − 1 ( t )) d z . It gives the signal term as
e ( t ) = ( 1 + a T max ) − s . e(t)=(1+aT_{\max})^{-s}. e ( t ) = ( 1 + a T m a x ) − s .
Moreover, the forgetting kernel can be approximated as
K M ( t ) ≃ ∑ j = 1 M j − 2 β e − 2 j − β t ≃ ∫ 1 M x − 2 β e − 2 x − β t d x ≃ ∫ M − β 1 u 1 − 1 / β e − 2 u t d u . \mathcal{K}_M(t)\simeq\sum_{j=1}^{M}j^{-2\beta}e^{-2j^{-\beta}t}\simeq\int_{1}^{M}x^{-2\beta}e^{-2x^{-\beta}t}\,\mathrm{d}x\simeq\int_{M^{-\beta}}^{1}u^{1-1/\beta}e^{-2ut}\,\mathrm{d}u. K M ( t ) ≃ j = 1 ∑ M j − 2 β e − 2 j − β t ≃ ∫ 1 M x − 2 β e − 2 x − β t d x ≃ ∫ M − β 1 u 1 − 1/ β e − 2 u t d u .
In addition, the noise intensity γ \gamma γ within the intrinsic time coordinate is γ ( t ) = ϕ cos ( T ˉ − 1 ( t ) ) B \gamma(t)=\frac{\phi_{\cos}(\bar{T}^{-1}(t))}{B} γ ( t ) = B ϕ c o s ( T ˉ − 1 ( t )) , and a + b ( 1 − π t T max ) ≤ ϕ ( T ˉ − 1 ( t ) ) ≤ a + b ( π − π t T max ) a+b\left(1-\frac{\pi t}{T_{\max}}\right)\leq\phi(\bar{T}^{-1}(t))\leq a+b\left(\pi-\frac{\pi t}{T_{\max}}\right) a + b ( 1 − T m a x π t ) ≤ ϕ ( T ˉ − 1 ( t )) ≤ a + b ( π − T m a x π t ) .
It gives N ( ϕ ) \mathcal{N}(\phi) N ( ϕ ) as
∫ 0 T K M ( T − t ) ϕ cos ( t ) d t ≃ ∫ 0 T ∫ M − β 1 u 1 − 1 / β e − 2 u ( T − t ) d u ( a ^ − b ^ t ) d t = ∫ M − β 1 u 1 − 1 / β e − 2 u T ( ∫ 0 T e 2 u t ( a ^ − b ^ t ) d t ) d u = ∫ M − β 1 u 1 − 1 / β e − 2 u T [ a ^ 2 u ( e 2 u T − 1 ) − b ^ 2 u ( T e 2 u T − e 2 u T − 1 2 u ) ] d u = ∫ M − β 1 [ a ^ 2 u 1 / β − a ^ e − 2 u T 2 u 1 / β − b ^ T 2 u 1 / β + b ^ ( 1 − e − 2 u T ) 4 u 1 + 1 / β ] d u = ∫ M − β 1 [ a ^ − b ^ T 2 u 1 / β − ( a ^ − b ^ T + b ^ T ) e − 2 u T 2 u 1 / β + b ^ ( 1 − e − 2 u T ) 4 u 1 + 1 / β ] d u = ( a ^ − b ^ T ) ∫ M − β 1 1 − e − 2 u T 2 u 1 / β d u + b ^ T ∫ M − β 1 ( − e − 2 u T 2 u 1 / β + 1 − e − 2 u T 4 T u 1 + 1 / β ) d u , \begin{aligned}
\int_{0}^{T}\mathcal{K}_M(T-t)\phi_{\cos}(t)\,\mathrm{d}t
&\simeq\int_{0}^{T}\int_{M^{-\beta}}^{1}u^{1-1/\beta}e^{-2u(T-t)}\,\mathrm{d}u\,(\hat{a}-\hat{b}t)\,\mathrm{d}t\\
&=\int_{M^{-\beta}}^{1}u^{1-1/\beta}e^{-2uT}\left(\int_{0}^{T}e^{2ut}(\hat{a}-\hat{b}t)\,\mathrm{d}t\right)\,\mathrm{d}u\\
&=\int_{M^{-\beta}}^{1}u^{1-1/\beta}e^{-2uT}\left[\frac{\hat{a}}{2u}(e^{2uT}-1)-\frac{\hat{b}}{2u}\left(Te^{2uT}-\frac{e^{2uT}-1}{2u}\right)\right]\,\mathrm{d}u\\
&=\int_{M^{-\beta}}^{1}\left[\frac{\hat{a}}{2u^{1/\beta}}-\frac{\hat{a}e^{-2uT}}{2u^{1/\beta}}-\frac{\hat{b}T}{2u^{1/\beta}}+\frac{\hat{b}(1-e^{-2uT})}{4u^{1+1/\beta}}\right]\,\mathrm{d}u\\
&=\int_{M^{-\beta}}^{1}\left[\frac{\hat{a}-\hat{b}T}{2u^{1/\beta}}-\frac{(\hat{a}-\hat{b}T+\hat{b}T)e^{-2uT}}{2u^{1/\beta}}+\frac{\hat{b}(1-e^{-2uT})}{4u^{1+1/\beta}}\right]\,\mathrm{d}u\\
&=(\hat{a}-\hat{b}T)\int_{M^{-\beta}}^{1}\frac{1-e^{-2uT}}{2u^{1/\beta}}\,\mathrm{d}u+\hat{b}T\int_{M^{-\beta}}^{1}\left(-\frac{e^{-2uT}}{2u^{1/\beta}}+\frac{1-e^{-2uT}}{4Tu^{1+1/\beta}}\right)\,\mathrm{d}u,
\end{aligned} ∫ 0 T K M ( T − t ) ϕ c o s ( t ) d t ≃ ∫ 0 T ∫ M − β 1 u 1 − 1/ β e − 2 u ( T − t ) d u ( a ^ − b ^ t ) d t = ∫ M − β 1 u 1 − 1/ β e − 2 u T ( ∫ 0 T e 2 u t ( a ^ − b ^ t ) d t ) d u = ∫ M − β 1 u 1 − 1/ β e − 2 u T [ 2 u a ^ ( e 2 u T − 1 ) − 2 u b ^ ( T e 2 u T − 2 u e 2 u T − 1 ) ] d u = ∫ M − β 1 [ 2 u 1/ β a ^ − 2 u 1/ β a ^ e − 2 u T − 2 u 1/ β b ^ T + 4 u 1 + 1/ β b ^ ( 1 − e − 2 u T ) ] d u = ∫ M − β 1 [ 2 u 1/ β a ^ − b ^ T − 2 u 1/ β ( a ^ − b ^ T + b ^ T ) e − 2 u T + 4 u 1 + 1/ β b ^ ( 1 − e − 2 u T ) ] d u = ( a ^ − b ^ T ) ∫ M − β 1 2 u 1/ β 1 − e − 2 u T d u + b ^ T ∫ M − β 1 ( − 2 u 1/ β e − 2 u T + 4 T u 1 + 1/ β 1 − e − 2 u T ) d u ,
where a ^ : = π η max ≃ ( a + b ) π \hat{a}:=\pi\eta_{\max}\simeq(a+b)\pi a ^ := π η m a x ≃ ( a + b ) π , b ^ : = 1 2 ( η max − η min ) = b π T max \hat{b}:=\frac{1}{2}(\eta_{\max}-\eta_{\min})=b\frac{\pi}{T_{\max}} b ^ := 2 1 ( η m a x − η m i n ) = b T m a x π and total intrinsic time T ˉ ( T max ) = a T max \bar{T}(T_{\max})=aT_{\max} T ˉ ( T m a x ) = a T m a x .
Then, according to Lemma F.5 and Lemma F.6 in FSL [13 ] , the noise term can be estimated as
N ( ϕ ) ≃ [ η max − 1 2 ( η max 2 − η min 2 ) ] π + 1 2 ( η max − η min ) π min { M , ( a T max ) 1 / β } a T max . N(\phi) \simeq\left[\eta_{\max}-\frac{1}{2}\left(\eta_{\max}^{2}-\eta_{\min}^{2}\right)\right]\pi+\frac{1}{2}\left(\eta_{\max}-\eta_{\min}\right)\pi\frac{\min\{M,(aT_{\max})^{1/\beta}\}}{aT_{\max}}. N ( ϕ ) ≃ [ η m a x − 2 1 ( η m a x 2 − η m i n 2 ) ] π + 2 1 ( η m a x − η m i n ) π a T m a x min { M , ( a T m a x ) 1/ β } .
which gives
E t ≃ M − s β + ( 1 + a T max ) − s + σ 2 B [ ( a + b − a b 2 ) π + b π min { M , ( a T max ) 1 / β } a T max ] . \mathcal{E}_{t}\simeq M^{-s\beta}+(1+aT_{\max})^{-s}+\frac{\sigma^{2}}{B}\left[\left(a+b-\frac{ab}{2}\right)\pi+b\pi\frac{\min\{M,(aT_{\max})^{1/\beta}\}}{aT_{\max}}\right]. E t ≃ M − s β + ( 1 + a T m a x ) − s + B σ 2 [ ( a + b − 2 ab ) π + bπ a T m a x min { M , ( a T m a x ) 1/ β } ] .
Combining these contributions yields equation (101) .
Theorem G.2. Under the FSL assumptions and in the hard-learning regime s ≤ 1 − 1 / β s\leq1-1/\beta s ≤ 1 − 1/ β . Let T ˉ ( τ ) = ∫ 0 τ ϕ ( r ) d r \bar{T}(\tau)=\int_{0}^{\tau}\phi(r)\,dr T ˉ ( τ ) = ∫ 0 τ ϕ ( r ) d r be the intrinsic time and T ˉ ( T max ) \bar{T}(T_{\max}) T ˉ ( T m a x ) the final intrinsic time. When a sufficiently small ϕ k \phi_k ϕ k is sufficiently small that causes the LRD to maintain a consistently high learning rate over a prolonged duration, analogous to WSD-like period, the FSL risk satisfies the form
E t ≃ M − s β + [ 2 − 2 ϕ 2 − ϕ ( T 1 + T 2 ) ] − s + σ 2 B [ ( a + b − a b 2 ) π + b π min { M , ( c 2 − 2 ϕ 2 − ϕ T 2 ) 1 / β } a T 2 ] . \mathcal{E}_{t}\simeq M^{-s\beta}+\left[\frac{2-\sqrt{2\phi}}{2-\phi}(T_{1}+T_{2})\right]^{-s}+\frac{\sigma^{2}}{B}\left[\left(a+b-\frac{ab}{2}\right)\pi+b\pi\frac{\min\left\{M,\left(c\frac{2-\sqrt{2\phi}}{2-\phi}T_{2}\right)^{1/\beta}\right\}}{aT_{2}}\right]. E t ≃ M − s β + [ 2 − ϕ 2 − 2 ϕ ( T 1 + T 2 ) ] − s + B σ 2 ( a + b − 2 ab ) π + bπ a T 2 min { M , ( c 2 − ϕ 2 − 2 ϕ T 2 ) 1/ β } . where B B B denotes the batch size.
Proof. According to equation (72) , it yields the integration of our proposed LRD in k k k -th segment,
U k = η min ( k ) Δ T k + ( η max ( k ) − η min ( k ) ) Δ T k 2 − 2 ϕ k 2 − ϕ k . U_k=\eta_{\min}^{(k)}\Delta T_k+\left(\eta_{\max}^{(k)}-\eta_{\min}^{(k)}\right)\Delta T_k\frac{2-\sqrt{2\phi_k}}{2-\phi_k}. U k = η m i n ( k ) Δ T k + ( η m a x ( k ) − η m i n ( k ) ) Δ T k 2 − ϕ k 2 − 2 ϕ k .
As 2 − 2 ϕ k 2 − ϕ k \frac{2-\sqrt{2\phi_k}}{2-\phi_k} 2 − ϕ k 2 − 2 ϕ k decreases from 1 to 0, a sufficiently small ϕ k \phi_k ϕ k causes the LRD to maintain a consistently high learning rate over a prolonged duration, analogous to the stable period observed in WSD [10 ] . Assume that when ϕ k ≤ Z \phi_k\leq Z ϕ k ≤ Z , the learning rate enters a stable phase, i.e., E ( η t ) = 2 − 2 ϕ 2 − ϕ η max \mathbb{E}(\eta_t)=\frac{2-\sqrt{2\phi}}{2-\phi}\eta_{\max} E ( η t ) = 2 − ϕ 2 − 2 ϕ η m a x , where r ≤ 1 r\leq1 r ≤ 1 is a constant close to 1; when ϕ k > Z \phi_k>Z ϕ k > Z , the learning rate decay enters a phase of significant decay. Let T 1 : = ∣ T ϕ k ≤ Z ∣ T_1:=|T_{\phi_k\leq Z}| T 1 := ∣ T ϕ k ≤ Z ∣ denote the duration of stable stage, T 2 : = T max − T ϕ k > Z T_2:=T_{\max}-T_{\phi_k>Z} T 2 := T m a x − T ϕ k > Z denote the duration of this pronounced decay stage.
For T 1 T_1 T 1 stage, since E ( η t ) = 2 − 2 ϕ 2 − ϕ η max \mathbb{E}(\eta_t)=\frac{2-\sqrt{2\phi}}{2-\phi}\eta_{\max} E ( η t ) = 2 − ϕ 2 − 2 ϕ η m a x , according to FSL of constant LRD,
E t ≃ M − s β + ( 2 − 2 ϕ 2 − ϕ η max T 1 ) − s + 2 − 2 ϕ 2 − ϕ η max σ 2 B . \mathcal{E}_{t}\simeq M^{-s\beta}+\left(\frac{2-\sqrt{2\phi}}{2-\phi}\eta_{\max}T_1\right)^{-s}+\frac{2-\sqrt{2\phi}}{2-\phi}\frac{\eta_{\max}\sigma^{2}}{B}. E t ≃ M − s β + ( 2 − ϕ 2 − 2 ϕ η m a x T 1 ) − s + 2 − ϕ 2 − 2 ϕ B η m a x σ 2 .
For T 2 T_2 T 2 stage, we analyze the case where ϕ k \phi_k ϕ k is invariant with k k k . Denote ϕ k ≡ ϕ \phi_k\equiv\phi ϕ k ≡ ϕ and K τ = { K : τ ∈ ( T K , T K + 1 ] } K_\tau=\{K:\tau\in(T_K,T_{K+1}]\} K τ = { K : τ ∈ ( T K , T K + 1 ]} . If η max ( k ) = η min ( k ) + ϵ \eta_{\max}^{(k)}=\eta_{\min}^{(k)}+\epsilon η m a x ( k ) = η m i n ( k ) + ϵ where ϵ \epsilon ϵ is a very small constant, and Δ T k = 1 \Delta T_k=1 Δ T k = 1 , it gives
T ˉ ( τ ) = ∑ k = 1 K τ η min ( k ) Δ T k + ( η max ( k ) − η min ( k ) ) Δ T k 2 − 2 ϕ 2 − ϕ = τ 2 [ ( η min ( 1 ) + η min ( K τ ) ) + ( η max ( 1 ) + η max ( K τ ) − η min ( 1 ) + η min ( K τ ) ) 2 − 2 ϕ 2 − ϕ ] ≃ c 2 − 2 ϕ 2 − ϕ τ , \begin{aligned}
\bar{T}(\tau)=\sum_{k=1}^{K_\tau}\eta_{\min}^{(k)}\Delta T_k+\left(\eta_{\max}^{(k)}-\eta_{\min}^{(k)}\right)\Delta T_k\frac{2-\sqrt{2\phi}}{2-\phi} \\
&=\frac{\tau}{2}\left[\left(\eta_{\min}^{(1)}+\eta_{\min}^{(K_\tau)}\right)+\left(\eta_{\max}^{(1)}+\eta_{\max}^{(K_\tau)}-\eta_{\min}^{(1)}+\eta_{\min}^{(K_\tau)}\right)\frac{2-\sqrt{2\phi}}{2-\phi}\right] \\
&\simeq c\frac{2-\sqrt{2\phi}}{2-\phi}\tau,
\end{aligned} T ˉ ( τ ) = k = 1 ∑ K τ η m i n ( k ) Δ T k + ( η m a x ( k ) − η m i n ( k ) ) Δ T k 2 − ϕ 2 − 2 ϕ = 2 τ [ ( η m i n ( 1 ) + η m i n ( K τ ) ) + ( η m a x ( 1 ) + η m a x ( K τ ) − η m i n ( 1 ) + η m i n ( K τ ) ) 2 − ϕ 2 − 2 ϕ ] ≃ c 2 − ϕ 2 − 2 ϕ τ ,
where c c c is a constant and c ≤ η max c\leq\eta_{\max} c ≤ η m a x . Thus we have
τ = T ˉ − 1 ( t ) = 2 − ϕ c ( 2 − 2 ϕ ) t . \tau=\bar{T}^{-1}(t)=\frac{2-\phi}{c(2-\sqrt{2\phi})}t. τ = T ˉ − 1 ( t ) = c ( 2 − 2 ϕ ) 2 − ϕ t .
Furthermore, the total intrinsic time is
T ˉ ( T max ) ≃ c 2 − 2 ϕ 2 − ϕ T max . \bar{T}(T_{\max})\simeq c\frac{2-\sqrt{2\phi}}{2-\phi}T_{\max}. T ˉ ( T m a x ) ≃ c 2 − ϕ 2 − 2 ϕ T m a x .
In addition, since
ϕ = η min ( k ) + ( η max ( k ) − η min ( k ) ) 2 ( 1 + cos θ k ( t ) ) 2 φ k + ( 2 − φ k ) ( 1 + cos θ k ( t ) ) (104) \phi= \eta_{\min}^{(k)} + \left(\eta_{\max}^{(k)} - \eta_{\min}^{(k)}\right) \frac{2(1+\cos\theta_k(t))}{2\varphi_k + (2-\varphi_k)(1+\cos\theta_k(t))} \tag*{(104)} ϕ = η m i n ( k ) + ( η m a x ( k ) − η m i n ( k ) ) 2 φ k + ( 2 − φ k ) ( 1 + cos θ k ( t )) 2 ( 1 + cos θ k ( t )) (104)
where θ k ( t ) : = π ( t − T k ) Δ T k + ( k − 1 ) π \theta_k(t) := \frac{\pi(t-T_k)}{\Delta T_k} + (k-1)\pi θ k ( t ) := Δ T k π ( t − T k ) + ( k − 1 ) π , we have the LRD-adjusted function in intrinsic time is given by
ϕ ( T ˉ − 1 ( t ) ) = η min ( k ) + ( η max ( k ) − η min ( k ) ) 2 ( 1 + cos θ ^ k ( t ) ) 2 φ k + ( 2 − φ k ) ( 1 + cos θ ^ k ( t ) ) . \phi\left(\bar{T}^{-1}(t)\right) = \eta_{\min}^{(k)} + \left(\eta_{\max}^{(k)} - \eta_{\min}^{(k)}\right) \frac{2(1+\cos\hat{\theta}_k(t))}{2\varphi_k + (2-\varphi_k)(1+\cos\hat{\theta}_k(t))}. ϕ ( T ˉ − 1 ( t ) ) = η m i n ( k ) + ( η m a x ( k ) − η m i n ( k ) ) 2 φ k + ( 2 − φ k ) ( 1 + cos θ ^ k ( t )) 2 ( 1 + cos θ ^ k ( t )) .
where θ ^ k ( t ) : = π ( 2 − φ c ( 2 − 2 φ ) ( t − T k ) ) Δ T k + ( k − 1 ) π \hat{\theta}_k(t) := \frac{\pi\left(\frac{2-\varphi}{c(2-\sqrt{2\varphi})}(t-T_k)\right)}{\Delta T_k} + (k-1)\pi θ ^ k ( t ) := Δ T k π ( c ( 2 − 2 φ ) 2 − φ ( t − T k ) ) + ( k − 1 ) π .
Similar to the proof in Theorem G.1 , the noise intensity γ \gamma γ within the intrinsic time coordinate is γ ( t ) = ϕ cos ( T ˉ − 1 ( t ) ) B \gamma(t) = \frac{\phi_{\cos}(\bar{T}^{-1}(t))}{B} γ ( t ) = B ϕ c o s ( T ˉ − 1 ( t )) , and a + b ( 1 − 2 − φ c ( 2 − 2 φ ) τ π Δ T k ) ≤ ϕ ( T ˉ − 1 ( t ) ) ≤ a + b ( π − 2 − φ c ( 2 − 2 φ ) τ π Δ T k ) a+b\left(1-\frac{2-\varphi}{c(2-\sqrt{2\varphi})}\frac{\tau\pi}{\Delta T_k}\right) \le\phi(\bar{T}^{-1}(t)) \le a+b\left(\pi-\frac{2-\varphi}{c(2-\sqrt{2\varphi})}\frac{\tau\pi}{\Delta T_k}\right) a + b ( 1 − c ( 2 − 2 φ ) 2 − φ Δ T k τ π ) ≤ ϕ ( T ˉ − 1 ( t )) ≤ a + b ( π − c ( 2 − 2 φ ) 2 − φ Δ T k τ π ) . The noise term can be estimated as
N ( ϕ ) ≃ [ η max − 1 2 ( η max 2 − η min 2 ) ] π + 1 2 ( η max − η min ) π min { M , ( c 2 − 2 φ 2 − φ T 2 ) 1 / β } a T 2 , N(\phi) \simeq\left[\eta_{\max}-\frac{1}{2}\left(\eta_{\max}^{2}-\eta_{\min}^{2}\right)\right]\pi+\frac{1}{2}(\eta_{\max}-\eta_{\min})\pi\frac{\min\left\{M,\left(c\frac{2-\sqrt{2\varphi}}{2-\varphi}T_2\right)^{1/\beta}\right\}}{aT_2}, N ( ϕ ) ≃ [ η m a x − 2 1 ( η m a x 2 − η m i n 2 ) ] π + 2 1 ( η m a x − η m i n ) π a T 2 min { M , ( c 2 − φ 2 − 2 φ T 2 ) 1/ β } ,
which gives
E t ≃ M − s β + ( 1 + c 2 − 2 φ 2 − φ T 2 ) − s + σ 2 B [ ( a + b − a b 2 ) π + b π min { M , ( c 2 − 2 φ 2 − φ T 2 ) 1 / β } a T max ] . \mathcal{E}_t \simeq M^{-s\beta}+\left(1+c\frac{2-\sqrt{2\varphi}}{2-\varphi}T_2\right)^{-s}+\frac{\sigma^2}{B}\left[\left(a+b-\frac{ab}{2}\right)\pi+b\pi\frac{\min\left\{M,\left(c\frac{2-\sqrt{2\varphi}}{2-\varphi}T_2\right)^{1/\beta}\right\}}{aT_{\max}}\right]. E t ≃ M − s β + ( 1 + c 2 − φ 2 − 2 φ T 2 ) − s + B σ 2 ( a + b − 2 ab ) π + bπ a T m a x min { M , ( c 2 − φ 2 − 2 φ T 2 ) 1/ β } .
Following the Theorem 5.4 in FSL Li et al., [13 ] , the FSL risk of entire training dynamic under our proposed LRD is as follow
E t ≃ M − s β + [ 2 − 2 φ 2 − φ ( T 1 + T 2 ) ] − s + σ 2 B [ ( a + b − a b 2 ) π + b π min { M , ( c 2 − 2 φ 2 − φ T 2 ) 1 / β } a T 2 ] . \mathcal{E}_t \simeq M^{-s\beta}+\left[\frac{2-\sqrt{2\varphi}}{2-\varphi}(T_1+T_2)\right]^{-s}+\frac{\sigma^2}{B}\left[\left(a+b-\frac{ab}{2}\right)\pi+b\pi\frac{\min\left\{M,\left(c\frac{2-\sqrt{2\varphi}}{2-\varphi}T_2\right)^{1/\beta}\right\}}{aT_2}\right]. E t ≃ M − s β + [ 2 − φ 2 − 2 φ ( T 1 + T 2 ) ] − s + B σ 2 ( a + b − 2 ab ) π + bπ a T 2 min { M , ( c 2 − φ 2 − 2 φ T 2 ) 1/ β } .
Experimental implementation details
Baselines
We detail the baselines as follows,
Cosine LRD , originally proposed for SGD with restarts Loshchilov & Hutter, [22 ] , has become a de facto standard in modern deep learning and large scale model training due to its smooth transition and robust performance [22 , 28 ] . The LRD follows
η t = η min + 1 2 ( η 0 − η min ) ( 1 + cos ( t π T ) ) . \eta_t = \eta_{\min} + \frac{1}{2}(\eta_0-\eta_{\min})\left(1+\cos\left(\frac{t\pi}{T}\right)\right). η t = η m i n + 2 1 ( η 0 − η m i n ) ( 1 + cos ( T t π ) ) .
where T T T is total iterations, η 0 \eta_0 η 0 and η min \eta_{\min} η m i n are the initial and final learning rates. Its widespread adoption in modern deep learning and large language models establishes it as an essential classical baseline.
Linear decay LRD represents the simplest form of LRDd annealing, providing a transparent and easily interpretable comparison point. Following the implementation in Li et al., [14 ] , we define
η t = η 0 × ( 1 − t / T ) , \eta_t = \eta_0 \times(1-t/T), η t = η 0 × ( 1 − t / T ) ,
where T T T is total iterations, after an optional warmup phase. Despite its simplicity, linear decay remains competitive in resource-constrained scenarios Li et al., [14 ] and serves as an important baseline for assessing whether more complex LRDs provide meaningful advantages over straightforward linear reduction.
WSD LRD exemplifies modern empirical practices in large-scale model training, particularly for language models [41 , 10 ] . The LRD comprises three distinct phases, (1) Warmup phase: linear ramp from η s t a r t \eta_{\mathrm{start}} η start to η p e a k \eta_{\mathrm{peak}} η peak over T w a r m u p T_{\mathrm{warmup}} T warmup ; (2) Stable phase: maintain η p e a k \eta_{\mathrm{peak}} η peak for T s t a b l e T_{\mathrm{stable}} T stable steps. (3) Decay phase: Linear or exponential decay to η m i n \eta_{\mathrm{min}} η min (we use the WSD LRDr with 10% steps in the decay phase following previous works [10 , 7 ] ). Its empirical success in large language models makes WSD a critical baseline for evaluating LRDs in realistic large-scale scenarios.
η t = ( η max − η min ) 2 [ 1 + cos ( [ 2 ( t − T k ) − 1 ] π 2 ( T k + 1 − T k ) ) ] 2 φ + ( 2 − φ ) [ 1 + cos ( [ 2 ( t − T k ) − 1 ] π 2 ( T k + 1 − T k ) ) ] + η min , \eta_t = (\eta_{\max} - \eta_{\min}) \frac{2\left[1+\cos\left(\frac{[2(t-T_k)-1]\pi}{2(T_{k+1}-T_k)}\right)\right]}{2\varphi+(2-\varphi)\left[1+\cos\left(\frac{[2(t-T_k)-1]\pi}{2(T_{k+1}-T_k)}\right)\right]}+\eta_{\min}, η t = ( η m a x − η m i n ) 2 φ + ( 2 − φ ) [ 1 + cos ( 2 ( T k + 1 − T k ) [ 2 ( t − T k ) − 1 ] π ) ] 2 [ 1 + cos ( 2 ( T k + 1 − T k ) [ 2 ( t − T k ) − 1 ] π ) ] + η m i n ,
where φ \varphi φ is a hyper-parameter. We use the default setting [31 ] , fixing the φ = 0.5 \varphi=0.5 φ = 0.5 . Recent systematic evaluations [31 ] rank UBA among the top-performing LRDs across diverse architectures and tasks, making it a particularly strong benchmark for theoretical LRDs.
LRD setting
For our UTA LRD, we fix the unique hyper-parameter φ 0 = 0.15 \varphi_0=0.15 φ 0 = 0.15 . For UBA LRD, we use the default setting [31 ] , fixing the φ = 0.5 \varphi=0.5 φ = 0.5 . For WSD LRD, we use 10% steps in the decay phase following the setting in previous works [10 , 7 ] .
Model architectures and hyper-parameters
Settings on LLaMA Following Lialin et al. [19 ] and Zhao et al. [43 ] , we pretrain vanilla LLaMA models from scratch on the C4 dataset [27 ] . We consider four model scales with 60M, 130M, 350M, and 1B parameters. For each scale, we evaluate four training budgets of 10K, 15K, 20K, and 25K steps. The corresponding architectural hyperparameters and token budgets are summarized in Table 4 . Across all experiments, we set the batch size to 512 and the maximum sequence length to 1024, and train the models using AdamW with β 1 / β 2 = 0.9 / 0.95 \beta_1/\beta_2=0.9/0.95 β 1 / β 2 = 0.9/0.95 . We use a peak learning rate of 1e-3 for the 60M–350M models, and 5e-4 for the 1B model. For a fair comparison across LRDs, we apply a learning rate warmup over the first 10% of training steps for all experiments, and enforce a minimum learning rate equal to 10% of the peak learning rate for all LRDrs. Since UTA has the phase drift mechanism that keeps ascending phase at early stage, we also preserve its original warmup-like behavior.
Table 4. LLaMA architecture hyper-parameters for evaluation. Data amounts are specified in tokens.
Settings on ResNet. For ResNet, we adopt the A2 training recipe introduced by the work Wightman et al. [38 ] , which employs stronger data augmentation and has been shown to substantially improve ResNet performance. The augmentation pipeline includes random cropping, random horizontal flipping, Mixup (α = 0.1 \alpha=0.1 α = 0.1 ), CutMix (α = 1.0 \alpha=1.0 α = 1.0 ) applied with 50% probability, and RandAugment (M = 7 M=7 M = 7 , N = 2 N=2 N = 2 , MSTD = 0.5 =0.5 = 0.5 ). For all experiments, We train the model 300 epochs with 2048 batch size. For training loss, we use a binary cross-entropy loss. We use AdamW with a weight decay of 0.05 and β 1 / β 2 = 0.9 / 0.999 \beta_1/\beta_2=0.9/0.999 β 1 / β 2 = 0.9/0.999 , and set the peak learning rate to 1e-3. Following Win et al. (2024), we incorporate a 5-epoch warmup phase for all baseline LRDs, starting from an initial learning rate of 1e-8. For LRDs that natively include an ascending phase (e.g., WSD), we preserve their original warmup-like behavior during that period. Since UTA has the phase drift mechanism that keeps ascending phase at early stage, we also preserve its original warmup-like behavior. Additionally, we apply a 10-epoch cooldown phase at the end of training, with a minimum learning rate of 1e-5.
Settings on ViT. For ViT, we follow the widely-used official training setting of ViTs described in the work [34 , 39 ] . For this setting, data augmentation consists of random crop, horizontal flipping with probability, Mixup with parameter 0.8 [42 ] , CutMix with parameter 1.0 and probability 0.5 [40 ] , RandAugment [3 ] with M = 9, N = 2 and MSTD = 0.5, and Random Erasing with parameter p = 0.25. For all experiments, We train the models under 300 epochs with 1024 batch size. For training loss, we use cross entropy loss. We use the AdamW optimizer with a weight decay of 0.1 and β 1 / β 2 = 0.9 / 0.999 \beta_{1}/\beta_{2} = 0.9/0.999 β 1 / β 2 = 0.9/0.999 . The peak learning rate is set to 1e-3. Additionally, We adopt the same warmup and cooldown settings for baselines as in the ResNet experiments.
Hardware and software environment
All experiments are conducted on hardware consisting of NVIDIA H800.
Datasets
C4. C4 dataset is a colossal, cleaned version of Common Crawl’s web crawl corpus, which is mainly intended to pre-train language models and word representations [27 ] . To best simulate the practical pre-training scenario, we train without data repetition over a sufficiently large amount of data.
ImageNet. To assess the scalability of our LRD on more demanding and realistic visual recognition tasks, we perform extensive experiments on the ImageNet dataset. Widely recognized as the de-facto benchmark for large-scale image classification, ImageNet comprises approximately 1.28 million training images and 50,000 validation images spanning 1,000 diverse classes, and is accompanied by an official, standardized data split.
CIFAR100. CIFAR-100 is a widely recognized benchmark for evaluating the performance and efficiency of deep learning models. The dataset consists of 60,000 color images, each with a resolution of 32×32 pixels, categorized into 100 fine-grained classes. These classes are further organized into 20 super-classes, with each class containing 600 images. Every image is annotated with both a fine label, indicating its specific class, and a coarse label, indicating its super-class).
Code and reproducibility
Our implementation strictly follows the PyTorch official API, i.e. it is inherited from the base class torch.optim.lr_LRDr.LRDcheduler.
It maintains full compatibility with all torch.optim optimizers. The complete production-ready code is publicly available.
The code of UBA LRD is available at https://anonymous.4open.science/r/UTA-LRD-7B39/UTA.py .
We conduct an extensive evaluation comprising 40-60 experimental runs, requiring approximately 5000 H800 GPU-hours. It is a substantial commitment for a single-study paper (context: DeepSeek-V3 consumed 3M H800 GPU-hours). This computational scale ensures statistically reliable conclusions and validates the robustness and scalability of our findings. The systematic, large-scale validation on a modern Transformer architecture provides strong evidence for UTA’s practical utility and impact in real-world training scenarios.
Experimental results
We evaluate on four scales of the LLaMA architecture: 60M, 130M, 350M, and 1B parameters. Performance is measured by perplexity on a held-out validation set, which directly reflects the model’s generative uncertainty and language modeling quality.
Figure 2. Perplexity of LLaMA models.
We further validate the generalization of UTA on the ImageNet classification benchmark using ResNet-50 and ViT-B architectures. This selection tests generalization across model depth, width, and fundamental architectural biases. Table 6 reports the test top-1 accuracy. UTA consistently achieves the highest accuracy across both models. Specifically, it improves ResNet-50 accuracy to 78.73%, outperforming the strongest baseline UBA (78.38%) by 0.35%. For ViT-B, UTA reaches 82.30%, surpassing the competitive UBA LRD (82.05%) by 0.25%. These gains are statistically meaningful given the scale and complexity of ImageNet These consistent outperformance demonstrate that UTA generalizes beyond language modeling to vision tasks. It has robust and architecture-agnostic advantage in large-scale, real-world training scenarios. and generalizes beyond language modeling to vision tasks.
Table 6. ImageNet test top-1 Acc. (%) of different LRDs on ResNet50 and ViT-B under 300 epochs. Higher values indicates better performance (↑). Best results in bold.
We also plot the training loss and validation accuracy across training steps for LRDs on ImageNet using ResNet-50 and ViT-B models in Figure 3 . A key and consistent observation is that while our proposed UTA LRDr _r r does not always achieve the lowest training loss, it attains the highest final validation accuracy. Specifically, the training loss curves in Figure 3a and (c) show that, unlike empirically tuned LRDs, such as CS and LD, that aggressively push training loss to very low values, UTA maintains a steady descent accompanied by moderate fluctuations. Its training loss is never the absolute minimum. This is not a sign of inadequate optimization, but a direct consequence of the robust-optimization design of UTA equation (3) . Derived from a min-max framework that minimizes the learning rate impact under worst-case conditions, UTA implicitly introduces a regularization effect that prevents over-fitting to the training data. Consequently, although training loss is not minimized as aggressively, UTA consistently surpasses all baselines on validation accuracy as training progresses, demonstrating enhanced generalization rooted in its robust formulation.
(a) (a) Training Loss on ImageNet-ResNet50
(b) (b) Validation Accuracy on ImageNet-ResNet50.
(c) (c) Training Loss on ImageNet-ViT-B.
(d) (d) Validation Accuracy on ImageNet-ViT-B.
Figure 3. Training loss and validation accuracy on ImageNet using ResNet50 and ViT-B.
Moreover, the learning rate trajectory of UTA exhibits noticeable fine-grained fluctuations, more pronounced than those of static or predefined LRDs. These fluctuations are not noise. They reflect a state-aware, active adaptation mechanism that responds to the internal dynamics of training. By dynamically adjusting the learning rate according to local landscape stability, UTA achieves a more robust optimization trajectory, ultimately leading to superior generalization performance.
Ablation study
Peak LR sensitivity analysis. To make a fair comparison, our main experiments used a fixed peak LR across all LRDs. Although these configurations are widely adopted defaults that have been empirically validated by prior works, to prevent peak LR from disadvantaging certain baselines if their optimal peak LRs differ, we conduct a systematic learning rate sweep on LLaMA-60M and 130M models. For 60M, we sweep peak LRs from 5 × 10 − 4 5 \times10^{-4} 5 × 1 0 − 4 to 1 × 10 − 2 1 \times10^{-2} 1 × 1 0 − 2 ; for 130M, from 1 × 10 − 3 1 \times10^{-3} 1 × 1 0 − 3 to 7 × 10 − 3 7 \times10^{-3} 7 × 1 0 − 3 . All LRDs are trained under the same step budgets as in the main experiments, and we report perplexity (e validation loss e^{\text{validation loss}} e validation loss ) for direct comparison. Results are summarized in Table 3 .
First, Optimal peak LRs differ across LRDs. As expected, we observe that different LRDs indeed favor different peak learning rates. On LLaMA-60M, CS, LD and UBA achieve their best at 7 × 10 − 3 7 \times10^{-3} 7 × 1 0 − 3 , WSD at 1 × 10 − 3 1 \times10^{-3} 1 × 1 0 − 3 , while UTA achieves its best jointly at 1 × 10 − 3 1 \times10^{-3} 1 × 1 0 − 3 and 7 × 10 − 3 7 \times10^{-3} 7 × 1 0 − 3 with a perplexity of 25.80. On LLaMA-130M, CS and LD peak at 5 × 10 − 3 5 \times10^{-3} 5 × 1 0 − 3 , WSD also at 5 × 10 − 3 5 \times10^{-3} 5 × 1 0 − 3 , whereas UBA and UTA achieve their best at 3 × 10 − 3 3 \times10^{-3} 3 × 1 0 − 3 and 1 × 10 − 3 1 \times10^{-3} 1 × 1 0 − 3 , respectively. This confirms that a fixed LR across all LRDs is not ideal and underscores the necessity of per-LRD tuning for fair comparison.
Second, UTA achieves the best overall performance under its optimal LR. When comparing the best result per LRD (reported in the “Best from LR Sweep” column), UTA consistently outperforms all baselines on both model scales. On 60M, UTA reaches a best perplexity of 25.80, surpassing the best baseline WSD (26.03) by 0.23 and UBA (26.26) by 0.46. On 130M, UTA achieves 20.16, outperforming WSD (20.82) by 0.66 and UBA (20.78) by 0.62. These margins, while modest in absolute terms, are consistent and non-trivial in the context of language modeling validation loss.
Parameter analysis of φ 0 \varphi_0 φ 0 In this subsection, we perform a sensitivity analysis of the hyperparameter φ 0 ∈ { 0.01 , 0.05 , 0.1 , 0.15 , 0.20.25 , 0.5 , 1.0 , 2.5 , 5 } \varphi_0 \in\{0.01, 0.05, 0.1, 0.15, 0.2 0.25, 0.5, 1.0, 2.5, 5\} φ 0 ∈ { 0.01 , 0.05 , 0.1 , 0.15 , 0.20.25 , 0.5 , 1.0 , 2.5 , 5 } in equation (7) , which controls the variation speed of learning rate. To efficiently identify general parameter trends at low cost, then verify their scalability and robustness on larger models. We further examine φ 0 ∈ { 0.1 , 0.15 , 0.20.25 , 2.5 } \varphi_0 \in\{0.1, 0.15, 0.2 0.25, 2.5\} φ 0 ∈ { 0.1 , 0.15 , 0.20.25 , 2.5 } on a larger 130M model. We narrow the range of φ 0 \varphi_0 φ 0 to focus computational resources on the most promising intervals, filtering out ineffective values identified in the initial broad search. The results on LLaMA-60M listed in Table 7 . The results on LLaMA-130M listed in Table 8 .
Table 7. Cross-φ 0 \varphi_0 φ 0 ablation studies: Perplexity of LLaMA-60M using UTA under different φ 0 \varphi_0 φ 0 .
Table 8. Cross-φ 0 \varphi_0 φ 0 ablation studies: Perplexity of LLaMA-130M using UTA under different φ 0 \varphi_0 φ 0 .
Our sensitivity analysis reveals three key findings. First, UTA exhibits remarkable robustness to φ 0 \varphi_0 φ 0 over a wide range. On LLaMA-60M, UTA achieves perplexity below 26.0 for 7 out of 10 tested φ 0 \varphi_0 φ 0 values (0.05 through 0.5), and the performance variation across this broad range is remarkably small, spanning only 25.80 to 25.92. Even at the extremes (φ 0 = 0.01 \varphi_0=0.01 φ 0 = 0.01 and φ 0 = 5 \varphi_0=5 φ 0 = 5 ), the degradation remains modest (26.18 and 26.78, respectively). On LLaMA-130M, UTA maintains perplexity between 20.63 and 20.67 across φ 0 ∈ [ 0.15 , 0.5 ] \varphi_0 \in[0.15, 0.5] φ 0 ∈ [ 0.15 , 0.5 ] , which is a variation of merely 0.04, and only degrades to 20.99 at φ 0 = 2.5 \varphi_0=2.5 φ 0 = 2.5 . This flat response surface indicates that UTA’s performance is largely insensitive to the choice of φ 0 \varphi_0 φ 0 , a desirable property for practical deployment where extensive hyper-parameter tuning is often computationally prohibitive.
Second, the performance trend aligns with our theoretical interpretation. As φ 0 \varphi_0 φ 0 decreases from 0.5 to 0.15, performance improves slightly (from 25.92 to 25.80 on 60M, and from 20.67 to 20.63 on 130M). This is consistent with our continuous-time analysis: a smaller φ 0 \varphi_0 φ 0 corresponds to a larger intrinsic step U ∗ U^* U ∗ , enabling more thorough exploration of the loss landscape. However, the gains saturate beyond φ 0 = 0.15 \varphi_0 = 0.15 φ 0 = 0.15 , suggesting that once the intrinsic step is sufficiently large, further expansion yields diminishing returns—a phenomenon that aligns with the diminishing sensitivity predicted by our theoretical framework.
Third, and most importantly, UTA demonstrates significantly superior robustness compared to the baseline UBA. While both methods share a similar functional form of the learning rate decay, UBA exhibits a much narrower effective range: its performance declines sharply for φ 0 < 0.5 \varphi_0 < 0.5 φ 0 < 0.5 , and further reduction beyond this point brings little improvement or even degradation. In contrast, UTA maintains strong performance across a 10-fold wider range of φ 0 \varphi_0 φ 0 (from 0.05 to 0.5 on 60M), with a performance spread of only 0.24, compared to UBA’s much larger degradation outside its narrow optimal region. We attribute this advantage to UTA’s learning rate adaptation mechanism, which dynamically adjusts the intrinsic time scale in response to optimization geometry, allowing the optimizer to fully exploit the expanded exploration capacity afforded by larger U ∗ U^* U ∗ while automatically compensating when φ 0 \varphi_0 φ 0 is suboptimal. This adaptive coupling between the learning rate and the preconditioned gradient norm, which is absent in UBA, ensures that increased intrinsic time translates effectively into improved convergence and generalization, regardless of the specific φ 0 \varphi_0 φ 0 choice.
Overall, this sensitivity analysis confirms that UTA is not only performant but also robust and easy to use : it achieves near-optimal performance across a broad spectrum of φ 0 \varphi_0 φ 0 values, substantially reducing the burden of hyper-parameter tuning compared to both UBA and other schedule-based methods.
The effect of final LR in decay Regarding the LRD implementations, some practices use decay to 10% of the peak LR, some use 0%. To investigate whether this choice affects performance. We conduct this ablation on LLaMA-60M and 130M models, comparing both settings for all LRD methods. Results are reported in Table 5 in Appendix.
Table 5. Perplexity (e validation loss e^{\text{validation loss}} e validation loss ) on LLaMA models. Lower is better (↓). ‘D-10’ and ‘D-0’ denote final learning rates decaying to 10% and 0% of the peak rate, respectively.
We observe that decaying to 0% consistently yields worse perplexity than decaying to 10% across nearly all methods and model scales. For instance, on LLaMA-130M, linear decay degrades from 21.43 to 21.89 (0.46), and even our UTA increases from 20.16 to 20.68 (0.52) when using 0% decay. Aggressively decaying the learning rate to zero prematurely reduces the model’s ability to adapt, as the optimizer enters a near-stagnant regime before the model has fully converged.
Importantly, regardless of the decay ratio, UTA consistently outperforms all baselines. Under the 0% setting, UTA achieves 26.77 on 60M and 20.68 on 130M, still surpassing the best baselines (WSD at 26.93 and UBA at 21.00) by margins of 0.16 and 0.32, respectively. This confirms that our main conclusions are robust to the choice of final learning rate, and that the default 10% decay setting does not unfairly advantage UTA.
The role of dynamic state-aware mechanism To validate the contribution of the dynamic mechanism in our UTA LRD, we conduct an ablation study comparing the full version (Ours-Full) against a static variant (Ours-Static). We conduct the ablation study on the CIFAR-100 dataset with a ResNet-34 architecture. The CIFAR-100 dataset with ResNet-34 provides a balanced testbed. It is sufficiently complex to reveal LRD differences yet computationally tractable for ablation studies. We intentionally keep all other factors identical to isolate the dynamic mechanism’s effect. In the static variant, the dynamic part is removed. All other hyper-parameters and training settings remain identical.
Table 9. Ablation Study: Impact of Dynamic State-Aware Mechanism.
Comparison with automatic LR methods. While our primary baselines focus on LRDs, another line of LR research is automatic LR methods such as D-Adaptation (Defazio & Mishchenko, 2023) and Prodigy (Mishchenko & Defazio, [24 ] ). These methods dynamically adjust the learning rate during training without predefined schedules . Although these methods are not the main focus of our work, we conduct a comparison to position UTA against them.
Specifically, we evaluate D-Adaptation and Prodigy on LLaMA-60M, 130M, and 350M under a fixed 10K-step training budget, following their default hyperparameter configurations. Results are reported in Table 10 . As shown, UTA consistently outperforms both automatic schedulers across all three model scales, achieving average perplexity reductions of 1.2 and 0.9 over D-Adaptation and Prodigy, respectively. We hypothesize that UTA’s advantage stems from its schedule-aware shape design, which explicitly accounts for the remaining training horizon, whereas automatic methods rely solely on gradient statistics and may lack such long-term planning capability.
Table 10. Perplexity (e validation loss e^{\text{validation loss}} e validation loss ) comparison between automatic LR methods (D-Adaptation, Prodigy) and our UTA on LLaMA models. Lower is better (↓ \downarrow ↓ ).
Given the clear superiority of UTA and the high computational cost of scaling automatic methods to larger models, we exclude the 1B model from this comparison and focus our main experiments on carefully designed schedule baselines.
Curvature alignment between UTA and UBA. We observe that UTA belongs to UBA family, and the effective scale of UTA hyperparameter is modulated by the RMS norm of the preconditioned update (approximately 0.2) [21 , 12 ] , whereas UBA’s hyperparameter φ \varphi φ acts directly. To isolate and evaluate the contribution of UTA’s state-adaptive mechanism—independent of hyperparameter scaling—we conduct a parameter-alignment experiment. This ensures that the underlying trend of the learning-rate curve is comparable between UTA and UBA, allowing us to directly attribute performance differences to UTA’s dynamic fluctuations.
Specifically, we align the effective learning-rate scales by setting φ \varphi φ for UBA and φ 0 \varphi_0 φ 0 for UTA such that φ ≈ φ 0 × 0.2 \varphi\approx\varphi_0 \times0.2 φ ≈ φ 0 × 0.2 . We then train models under identical settings and compare both the macroscopic learning rate trajectories and the final performance. The results are listed in Table 11 and plotted in Figure 4 .
Table 11. Curvature alignment between UTA and UBA.
(a) LLaMA-130M.
(b) ImageNet-ResNet50.
Figure 4. Curvature alignment between UTA and UBA.
The results confirm that after parameter alignment, UTA and UBA produce LRD with nearly identical macroscopic shapes. However, UTA consistently achieves superior final accuracy. This performance gain can be directly attributed to the fine-grained, state-dependent fluctuations unique to UTA, which are absent in the static UBA curve. These fluctuations act as a form of online regularization, allowing the optimizer to navigate the loss landscape more robustly.
Generalization to parameter-efficient fine-tuning To demonstrate the versatility of UTA beyond full-parameter optimization, we evaluate it in parameter-efficient fine-tuning (PEFT) scenarios. PEFT presents distinct challenges: only a small subset of parameters (e.g., LoRA adapters) are updated, creating a different optimization landscape where learning-rate scheduling may have amplified effects.
Experimental Setup. We fine-tune a pre-trained ViT-B model on two datasets: (1) CIFAR-100 (generic object classification) and (2) OxfordPets (fine-grained pet breed classification). We employ LoRA with rank r = 16 r = 16 r = 16 applied to the query, key and value projections in attention layers, and dense
layer. We compare UTA against the baseline UBA LRD. All methods use the same total training budget (10 epochs), batch size, and optimizer AdamW setting such as 0.01 weight decay.
Discussion of UTA characteristics
To illustrate the characteristics of UTA in practice, we plot its learning rate trajectory during the training of ImageNet-ResNet50 in Figure 5 .
Figure 5. The learning rate curve in UTA LRD across training steps.
Three key observations emerge.
(i) Overall Trajectory. The general shape of UTA closely resembles that of the widely adopted WSD. It exhibits a prolonged stable-like phase followed by decay. Notably, however, the duration of the stable phase and and the decay rate are automatically determined by UTA, rather than being preset by hyperparameters.
(ii) Although the average learning rate of WSD is higher than that of UTA, UTA consistently achieves better performance. This confirms that the performance gains are not merely due to a higher average learning rate, but stem from UTA being near-optimal in both shape and scale, a property grounded in the preceding methodological and theoretical analysis.
(iii) Training Adaptive Fluctuations. Unlike most conventional LRDs that follow a static, predefined curve, UTA introduces fine-grained fluctuations in the learning rate. These adjustments are driven by real-time feedback from the training state, reflecting the optimizer’s internal dynamics. This responsiveness demonstrates UTA’s strong adaptive capability in practical training scenarios.
Related work
The LRD plays a crucial role in deep learning, and prior research has investigated a wide range of approaches. Step LRD is a typical instance that reduces the learning rate by a decay factor after a predefined number of epochs [8 ] . A common enhancement is the warmup phase, which gradually raises the learning rate early in training to stabilize optimization [8 ] . Then Loshchilov et al. [22 ] propose the cosine LRD, which is widely regarded as the de-facto standard choice in large-scale model training [22 , 28 ] . To improve the performance under budgeted training scenarios, some LRDs include the cyclical LRD [29 ] , alternative LRD under budgeted training setting [14 ] and REX LRD [1 ] , yet there is no consensus on the optimal choice.
Recently, research in this area has evolved along two main lines. A line of work focus on designing LRD primarily through empirically driven approaches, and effectively enhance accuracy. Pan et al. [25 ] introduce elastic step decay LRD to accelerate the pre-training for Berts. As an alternative on large model training, Warmup-Stable-Decay (WSD) LRD [41 , 10 ] uses an extended constant learning rate phase before late-stage decay. It has become popular in LLM pre-training [7 , 10 ] and is deployed in training industrial-scale LLMs such as DeepSeek-V3 [20 ] and Kimi-K2 [32 ] . Yet its mechanism remains unclear, recent works [37 , 28 , 13 ] offer some insights, showing that the advantage of WSD can be explained and quantified through scaling efficiency comparisons with other LRDs.
Another line of research is more theoretically driven, seeking to establish principled frameworks and scaling laws for designing or analyzing LRD. Pan et al. [26 ] propose Eigencurve, and demonstrate that it has minimax-optimal convergence on skewness Hessian quadratic objectives. Defazio et al. [5 ] establish optimal linear decay LRD and refinements through rigorous mathematical derivation. Some studies [13 , 23 ] (Tissue et al. 2025) establish scaling law with LRD, providing theoretical explanation for empirical results observed in this area. Recently, Tang et al. propose a theoretically grounded LRD called UBA LRD [31 ] , derives from a constructed UBA framework. This framework adopts a min-max formulation that explicitly accounts for robustness to variations in loss landscape curvature, thereby guaranteeing performance under worst-case conditions. The UBA LRD eliminates the need for heuristic design while maintaining strong and consistent performance across diverse tasks, architectures, model scales, and training budgets. Consequently, it removes the costly trial-and-error process typically required to select an appropriate LRD for a given network and training setup.