TS_Adam: Non-Stationary Forecasting Optimizer
- 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 denote the loss at step , and let the stochastic gradient be
Standard Adam maintains first- and second-moment estimates:
with decay rates and defaults , . Adam then applies bias correction to both moments:
and updates parameters by
where is the base learning rate and 0 is a small constant such as 1 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 2. The recursions are
3
and only the first moment is bias-corrected:
4
The resulting parameter update is
5
| Component | Adam | TS_Adam |
|---|---|---|
| First moment | 6 | 7 |
| Second moment | 8 | 9 |
| Update | 0 | 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,
2
so the per-step update can be viewed as 3. In TS_Adam, the factor 4 is removed, yielding
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,
6
where 7 is the minimizer of 8. A standard bound, cited as Theorem 2, is given in the form
9
where 0, 1 bounds the gradients, and 2 bounds the per-step shift 3.
The interpretation given is asymmetric across regimes. In stationary settings, choosing 4 helps control the noise term. In non-stationary settings, however, the drift term 5 encourages a larger 6 so that the optimizer can track a moving optimum more responsively. Because Adam’s second-order bias correction keeps 7 for many steps, it is argued to damp updates excessively and accumulate drift-induced regret. TS_Adam, by removing the 8 factor, is intended to move 9 closer to 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:
7
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 tuned by grid, 2, 3, and 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 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 6, MAE 7 | MSE 8 (9), MAE 0 (1) |
| ETTh2 | MSE 2, MAE 3 | MSE 4 (5), MAE 6 (7) |
| ETTm1, ETTm2, ECL, Weather | Average MSE and MAE baseline | Average MSE 8–9, MAE 0–1 |
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-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 3, 4, 5, 6 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.