Papers
Topics
Authors
Recent
Search
2000 character limit reached

TS_Adam: Non-Stationary Forecasting Optimizer

Updated 5 July 2026
  • TS_Adam is a lightweight variant of the Adam optimizer designed specifically for non-stationary time-series forecasting, addressing distributional drift.
  • It omits the second-order bias correction while retaining the first-moment update to increase responsiveness to shifting loss landscapes.
  • Empirical evaluations show consistent improvements in MSE and MAE across multiple benchmarks and forecasting architectures.

Searching arXiv for the specified paper and closely related optimizer/time-series forecasting context. Attempting to retrieve arXiv metadata for (Dong et al., 10 Mar 2026). TS_Adam is a lightweight variant of Adam designed for time-series forecasting under non-stationary objectives, especially settings with distributional drift in which the data distribution evolves over time. Its defining modification is the removal of Adam’s second-order bias correction from the learning-rate computation, while retaining the same two-moment recursion for gradients. In the reported formulation, this increases responsiveness to shifting loss landscapes, preserves the optimizer core structure, introduces no additional hyperparameters, and integrates directly into existing forecasting pipelines. The method is presented as a practical optimization strategy for real-world forecasting scenarios involving non-stationary data, with consistent gains across long- and short-term forecasting tasks (Dong et al., 10 Mar 2026).

1. Problem setting and optimization perspective

Time-series forecasting often operates in a non-stationary regime rather than under a stationary objective. The central difficulty emphasized for TS_Adam is distributional drift: the loss surface changes over time because the underlying data-generating process evolves. In this setting, an optimizer must not only attenuate gradient noise but also track a moving optimum (Dong et al., 10 Mar 2026).

The motivating claim is that adaptive optimizers such as Adam are typically designed for stationary objectives, and that this design assumption can become limiting when applied to forecasting workloads with persistent drift. In particular, the second-order bias correction in Adam is identified as a mechanism that can reduce responsiveness when the loss landscape changes. TS_Adam is proposed as a direct response to that diagnosis: rather than redesigning adaptive optimization from first principles, it modifies a single component of Adam’s update rule.

This framing places TS_Adam squarely within online and drifting-objective optimization. A plausible implication is that its intended advantage is not generic acceleration in all regimes, but improved tracking behavior when seasonality, regime changes, or abrupt concept drift alter the effective objective over training.

2. Formal definition relative to Adam

Let ft(θ)f_t(\theta) denote the loss at step tt, and let the stochastic gradient be

gt=∇θft(θt−1).g_t = \nabla_\theta f_t(\theta_{t-1}).

Standard Adam maintains first- and second-moment estimates:

mt=β1mt−1+(1−β1)gt,vt=β2vt−1+(1−β2)gt2,m_t = \beta_1 m_{t-1} + (1-\beta_1) g_t, \qquad v_t = \beta_2 v_{t-1} + (1-\beta_2) g_t^2,

with decay rates β1,β2∈[0,1)\beta_1,\beta_2 \in [0,1) and defaults β1=0.9\beta_1=0.9, β2=0.999\beta_2=0.999. Adam then applies bias correction to both moments:

m^t=mt1−β1t,v^t=vt1−β2t,\hat m_t = \frac{m_t}{1-\beta_1^t}, \qquad \hat v_t = \frac{v_t}{1-\beta_2^t},

and updates parameters by

θt=θt−1−αm^tv^t+ϵ,\theta_t = \theta_{t-1} - \alpha \frac{\hat m_t}{\sqrt{\hat v_t}+\epsilon},

where α\alpha is the base learning rate and tt0 is a small constant such as tt1 for numerical stability (Dong et al., 10 Mar 2026).

TS_Adam follows exactly the same two-moment scheme except that it omits the second-order bias correction in tt2. The recursions are

tt3

and only the first moment is bias-corrected:

tt4

The resulting parameter update is

tt5

Component Adam TS_Adam
First moment tt6 tt7
Second moment tt8 tt9
Update gt=∇θft(θt−1).g_t = \nabla_\theta f_t(\theta_{t-1}).0 gt=∇θft(θt−1).g_t = \nabla_\theta f_t(\theta_{t-1}).1

The modification is therefore narrow but structurally consequential. TS_Adam is not presented as a new optimizer family with extra state, auxiliary schedules, or added tuning knobs; it preserves Adam’s core mechanism while deleting a single correction term.

3. Effective step size and dynamic-regret motivation

The paper rewrites Adam’s update in terms of an effective step-size modulation. In Adam,

gt=∇θft(θt−1).g_t = \nabla_\theta f_t(\theta_{t-1}).2

so the per-step update can be viewed as gt=∇θft(θt−1).g_t = \nabla_\theta f_t(\theta_{t-1}).3. In TS_Adam, the factor gt=∇θft(θt−1).g_t = \nabla_\theta f_t(\theta_{t-1}).4 is removed, yielding

gt=∇θft(θt−1).g_t = \nabla_\theta f_t(\theta_{t-1}).5

This expresses the method’s core heuristic: removing second-order bias correction raises the effective step size earlier in training (Dong et al., 10 Mar 2026).

The theoretical discussion is formulated through dynamic regret,

gt=∇θft(θt−1).g_t = \nabla_\theta f_t(\theta_{t-1}).6

where gt=∇θft(θt−1).g_t = \nabla_\theta f_t(\theta_{t-1}).7 is the minimizer of gt=∇θft(θt−1).g_t = \nabla_\theta f_t(\theta_{t-1}).8. A standard bound, cited as Theorem 2, is given in the form

gt=∇θft(θt−1).g_t = \nabla_\theta f_t(\theta_{t-1}).9

where mt=β1mt−1+(1−β1)gt,vt=β2vt−1+(1−β2)gt2,m_t = \beta_1 m_{t-1} + (1-\beta_1) g_t, \qquad v_t = \beta_2 v_{t-1} + (1-\beta_2) g_t^2,0, mt=β1mt−1+(1−β1)gt,vt=β2vt−1+(1−β2)gt2,m_t = \beta_1 m_{t-1} + (1-\beta_1) g_t, \qquad v_t = \beta_2 v_{t-1} + (1-\beta_2) g_t^2,1 bounds the gradients, and mt=β1mt−1+(1−β1)gt,vt=β2vt−1+(1−β2)gt2,m_t = \beta_1 m_{t-1} + (1-\beta_1) g_t, \qquad v_t = \beta_2 v_{t-1} + (1-\beta_2) g_t^2,2 bounds the per-step shift mt=β1mt−1+(1−β1)gt,vt=β2vt−1+(1−β2)gt2,m_t = \beta_1 m_{t-1} + (1-\beta_1) g_t, \qquad v_t = \beta_2 v_{t-1} + (1-\beta_2) g_t^2,3.

The interpretation given is asymmetric across regimes. In stationary settings, choosing mt=β1mt−1+(1−β1)gt,vt=β2vt−1+(1−β2)gt2,m_t = \beta_1 m_{t-1} + (1-\beta_1) g_t, \qquad v_t = \beta_2 v_{t-1} + (1-\beta_2) g_t^2,4 helps control the noise term. In non-stationary settings, however, the drift term mt=β1mt−1+(1−β1)gt,vt=β2vt−1+(1−β2)gt2,m_t = \beta_1 m_{t-1} + (1-\beta_1) g_t, \qquad v_t = \beta_2 v_{t-1} + (1-\beta_2) g_t^2,5 encourages a larger mt=β1mt−1+(1−β1)gt,vt=β2vt−1+(1−β2)gt2,m_t = \beta_1 m_{t-1} + (1-\beta_1) g_t, \qquad v_t = \beta_2 v_{t-1} + (1-\beta_2) g_t^2,6 so that the optimizer can track a moving optimum more responsively. Because Adam’s second-order bias correction keeps mt=β1mt−1+(1−β1)gt,vt=β2vt−1+(1−β2)gt2,m_t = \beta_1 m_{t-1} + (1-\beta_1) g_t, \qquad v_t = \beta_2 v_{t-1} + (1-\beta_2) g_t^2,7 for many steps, it is argued to damp updates excessively and accumulate drift-induced regret. TS_Adam, by removing the mt=β1mt−1+(1−β1)gt,vt=β2vt−1+(1−β2)gt2,m_t = \beta_1 m_{t-1} + (1-\beta_1) g_t, \qquad v_t = \beta_2 v_{t-1} + (1-\beta_2) g_t^2,8 factor, is intended to move mt=β1mt−1+(1−β1)gt,vt=β2vt−1+(1−β2)gt2,m_t = \beta_1 m_{t-1} + (1-\beta_1) g_t, \qquad v_t = \beta_2 v_{t-1} + (1-\beta_2) g_t^2,9 closer to β1,β2∈[0,1)\beta_1,\beta_2 \in [0,1)0 earlier and thus better balance noise suppression against drift adaptation.

4. Algorithmic form and integration into forecasting models

The algorithmic definition is deliberately minimal. In pseudo-Python/LaTeX form, the procedure is:

β2=0.999\beta_2=0.9997

Integration into existing forecasting systems is described as trivial. In any PyTorch or TensorFlow model, including MICN, the standard Adam optimizer call can be replaced by a custom TS_Adam class that omits the second-moment bias correction. No new hyperparameters are introduced, and all model-specific hyperparameters remain identical (Dong et al., 10 Mar 2026).

The reported experimental defaults are the same as Adam’s: learning rate β1,β2∈[0,1)\beta_1,\beta_2 \in [0,1)1 tuned by grid, β1,β2∈[0,1)\beta_1,\beta_2 \in [0,1)2, β1,β2∈[0,1)\beta_1,\beta_2 \in [0,1)3, and β1,β2∈[0,1)\beta_1,\beta_2 \in [0,1)4. This point is operationally important because it distinguishes TS_Adam from methods whose empirical gains depend on optimizer-specific retuning. A common source of confusion is whether the method alters Adam’s entire adaptivity mechanism; it does not. The first-moment correction remains intact, and the only omitted term is the second-order bias correction.

5. Empirical evaluation in forecasting benchmarks

The reported evaluation covers multiple architectures and datasets. The models are MICN, PatchTST, and SegRNN. The datasets are ETTh1 and ETTh2 for hourly data, ETTm1 and ETTm2 for 15-minute data, plus ECL and Weather. Train/validation/test splits are 60\%/20\%/20\% for ETT and 70\%/20\%/10\% for ECL and Weather. Forecast horizons are β1,β2∈[0,1)\beta_1,\beta_2 \in [0,1)5 steps. Experiments use 3 independent runs with fixed seeds, and the metrics are MSE, MAE, and SMAPE (Dong et al., 10 Mar 2026).

For MICN, averaged across the four horizons, the key numerical results are as follows:

Dataset Adam TS_Adam
ETTh1 MSE β1,β2∈[0,1)\beta_1,\beta_2 \in [0,1)6, MAE β1,β2∈[0,1)\beta_1,\beta_2 \in [0,1)7 MSE β1,β2∈[0,1)\beta_1,\beta_2 \in [0,1)8 (β1,β2∈[0,1)\beta_1,\beta_2 \in [0,1)9), MAE β1=0.9\beta_1=0.90 (β1=0.9\beta_1=0.91)
ETTh2 MSE β1=0.9\beta_1=0.92, MAE β1=0.9\beta_1=0.93 MSE β1=0.9\beta_1=0.94 (β1=0.9\beta_1=0.95), MAE β1=0.9\beta_1=0.96 (β1=0.9\beta_1=0.97)
ETTm1, ETTm2, ECL, Weather Average MSE and MAE baseline Average MSE β1=0.9\beta_1=0.98–β1=0.9\beta_1=0.99, MAE β2=0.999\beta_2=0.9990–β2=0.999\beta_2=0.9991

Across all ETT subsets with MICN, TS_Adam yields an average reduction of 12.8\% in MSE and 5.7\% in MAE over Adam, with all improvements statistically significant under Bonferroni-corrected β2=0.999\beta_2=0.9992-tests. The abstract characterizes the gains as consistent across long- and short-term forecasting tasks, and the benchmark design supports that description because it spans several horizons, frequencies, and domains.

A plausible implication is that the optimizer effect is not restricted to a single architectural bias: MICN, PatchTST, and SegRNN represent distinct forecasting backbones, while ETT, ECL, and Weather expose different temporal structures. The paper’s strongest quantitative claims, however, are reported for MICN on the ETT datasets.

6. Practical properties, operating regime, and scope

The practical guidance emphasizes TS_Adam as a drop-in replacement. It requires no change to model code beyond swapping the optimizer, adds no hyperparameters, and preserves the default setting β2=0.999\beta_2=0.9993, β2=0.999\beta_2=0.9994, β2=0.999\beta_2=0.9995, β2=0.999\beta_2=0.9996 for most tasks. The method is reported to be robust to batch size in the range 16–64, to different learning-rate schedules including cosine, step, and delayed-decay, and to weight-decay choices (Dong et al., 10 Mar 2026).

Its optimization profile is described as slightly higher initial oscillation but faster convergence and lower final loss in non-stationary tasks. It is noted as particularly effective where seasonality or abrupt concept drift is strong, with electricity and meteorology given as examples. The computational overhead is also explicitly addressed: TS_Adam requires no extra memory and is approximately 8\% cheaper per step because it performs one fewer vector division.

These claims delimit the intended scope of the method. TS_Adam is not presented as a universally superior replacement for Adam in all optimization settings. The theoretical discussion explicitly distinguishes stationary from non-stationary objectives, and the empirical evidence is centered on forecasting domains in which distribution shifts are material. This suggests that its main contribution lies in rebalancing adaptivity toward tracking rather than toward conservative early-step damping.

The implementation is publicly available at the repository listed with the paper, which further supports direct adoption in existing forecasting workflows.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to TS_Adam.