Are Linear Forecasters Enough? A Small Controlled Study of DLinear, a Patch Transformer and a GRU on Synthetic Series with Trend, Seasonality, Noise and Regime Switching Pyrite-89A Stemma seed corpus https://github.com/mihir-chauhan/research-harness-papers/tree/main/papers/dlinear-vs-transformer-synthetic-forecasting Abstract—Linear models such as DLinear were reported to benchmarks. Zeng et al. [3] then showed that a one- match or beat Transformer forecasters on common long-horizon layer linear model with a moving-average decomposition benchmarks, but real datasets do not let one vary the data (DLinear) outperformed these models on most of the property that might favour nonlinear models. We compare, under one protocol, a seasonal-naive forecaster, a DLinear-style same benchmarks, which cast doubt on the benefit of decomposition-plus-linear model, a small patch transformer temporal attention. Patching and channel independence (PatchTST-style), a small patch GRU and a closed-form ridge [4] restored a Transformer advantage in later reports, while linear reference, all reimplemented on CPU, at horizons 24, benchmark studies found that evaluation details matter 96 and 192, on synthetic series with controlled seasonality, and that simple methods are often competitive [5]. Each trend, noise and Markov regime switching and on ETTh1. In this revision every learned model is trained to convergence real dataset mixes trend, seasonalities, noise and non- (early stopping on validation with a step cap), has the same stationarity in unknown proportions, so the question “are validation-selected learning rate and width, and the regime simple linear models enough?” has no single answer on cells have ten seeds, with paired differences and 95% intervals real data. reported next to a win rule fixed in advance (at least 5% lower This paper asks a narrower, controlled question: on seed-mean MSE and lower MSE in every seed). Under this protocol both nonlinear models win on the regime-switching series whose trend, seasonal structure, noise level and task at horizon 24 (PatchTST −10.3% [−13.2, −7.4], GRU regime switching we set ourselves, which property, if −15.7% [−19.5, −11.9] against DLinear), and neither wins at any, lets a small nonlinear model beat a DLinear-style horizon 96 (GRU −8.0% [−10.9, −5.0], better in 9 of 10 seeds; model at horizons 24, 96 and 192? We reimplement four PatchTST −4.0% [−6.9, −1.1]) or 192; no nonlinear model wins systems (seasonal naive, DLinear-style, PatchTST-style, on the four stationary synthetic tasks or on ETTh1, where both are worse than DLinear at horizons 96 and 192. The ridge patch GRU) plus a closed-form ridge linear reference, give reference is indistinguishable from DLinear on the synthetic them the same look-back and normalisation, train every tasks. The regime-task result depends on the normalisation learned model to convergence with the same validation- of the baseline at horizon 96 (a GRU win only against a based hyper-parameter search, and test five pre-registered DLinear without instance normalisation as well), and in our hypotheses (Section IV) with an explicit win rule and generator family it appears when the periods switch, not when only amplitudes, level or noise dynamics switch. All claims paired intervals. We also run ETTh1 [1] as one real series, are restricted to these generators, three to ten seeds, small sweeps over regime length and noise, a normalisation reimplemented models and one real dataset. control, generator variants that separate which aspect of Index Terms—long-horizon forecasting, DLinear, PatchTST, the switching matters, and a design ablation. GRU, synthetic benchmarks, regime switching, reproducibility What is new relative to earlier controlled analyses of linear forecasters [6], [7] is limited. That DLinear is hard to beat on stationary seasonal data and on ETTh1 is I. Introduction what those works and Zeng et al. [3] already show, and our Transformer architectures for long-horizon forecasting stationary-task and ETTh1 results (Section V) confirm it. [1], [2] reported large gains on the ETT and related What we add is a comparison of nonlinear models against that linear baseline when the data switch regime, with Pyrite-89A is the codename of an autonomous study, not a person. generator variants that vary the mechanism of switching Produced by the Stemma autonomous AI research pipeline; the topic (periods, amplitudes, level, AR coefficient) and stationary was chosen to cover the field. Every reported number comes from logged runs in the linked repository and every reference was checked controls, under converged training and equal validation- against arXiv, Crossref, DataCite or OpenAlex. based tuning. Contributions: (i) a protocol-matched com- parison across six tasks and three horizons; (ii) converged Gap. These works compare architectures on real verdicts: the nonlinear models win on the regime task at datasets whose properties are not controlled. We propose H = 24 only, not at H = 96 or 192, and nowhere else; (iii) no new model; we vary one data property at a time with a normalisation control and generator variants showing a fixed pipeline, at a scale a single CPU can reproduce. that the H = 96 GRU result depends on the normalisation of the baseline and that the gain in our generators appears III. Method under period switching; (iv) code, per-run logs and the run registry. The first round of this study used fixed training All systems forecast one channel at a time (channel budgets (400, 1000 and 2000 steps); those results are kept independent). Given a look-back window x ∈ RL (L = in Section VI. All claims are limited to the small scale 336) a model predicts the next H ∈ {24, 96, 192} values; described in Section VII. a separate model is trained per horizon. Instance normalisation. For the learned models, µ = II. Related Work mean(x), σ = std(x) + 10−5 over the window, x̃ = (x − Transformers for forecasting. Informer [1] introduced µ)/σ, and the output is ŷ = f (x̃) σ + µ. It is applied sparse attention for long sequences and the ETT datasets; identically to all three learned models and switched off in Autoformer [2] added a series-decomposition block and one ablation. auto-correlation. TimesNet [8] models temporal variation Seasonal naive (reimplemented). ŷt+h = in a 2D representation across several analysis tasks. xt−m+1+((h−1) mod m) , h = 1..H, i.e. the last full iTransformer [9] applies attention across variables instead cycle of length m is repeated; m ∈ {24, 168} is chosen of time steps. PatchTST [4] splits each channel into per task, horizon and seed on the validation split. patches used as tokens and treats channels independently; DLinear-style (reimplemented). With a moving average our patch transformer follows this design in a reduced of kernel k = 25 and replicate padding, T = MAk (x̃), form. R = x̃ − T , and Linear and MLP models. Zeng et al. [3] proposed ( ) DLinear and NLinear, a moving-average decomposition ŷ = WR R + bR + WT T + bT σ + µ, WR , WT ∈ RH×L , into trend and remainder, each mapped to the horizon by (1) one linear layer, and argued that earlier Transformer gains with weights shared across channels and initialised to 1/L. came from direct multi-step prediction. N-BEATS [10] The “no decomposition” variant uses ŷ = (W x̃ + b)σ + µ. is an earlier fully connected stack with basis expansion. PatchTST-style (reimplemented). Patches of length 16 Kim et al. [11] question the usefulness of self-attention in with stride 8 give N = 41 tokens pi ∈ R16 , embedded as forecasting Transformers. zi0 = We pi + ei with learned positions ei ; two pre-norm Analyses of linear forecasters. Li et al. [6] study on encoder layers (d = 64, 4 heads, feed-forward width 128, simulated and real data why a single affine map is dropout 0.1) compute z l+1 = z l + MSA(LN(z l )) followed competitive, find that it captures periodic patterns but by z l+1 ← z l+1 + FF(LN(z l+1 )). The head is linear on the struggles with non-periodic signals or varying periods flattened tokens: ŷ = (Wo vec(z 2 ) + bo )σ + µ. across channels, and examine reversible normalisation and Patch GRU. Non-overlapping patches of 8 values form input length. Toner and Darlow [7] show that several linear a sequence of 42 inputs to a one-layer GRU with hidden variants are equivalent to unconstrained linear regression, size 64, hj = GRU(hj−1 , pj ), and ŷ = (Wo h42 + bo )σ + µ. admit closed-form solutions, and that the closed-form Training (first-round fixed settings). The converged pro- solution is the better forecaster in most of their settings; tocol with validation-selected learning rate and width used our ridge reference is a closed-form solution of this kind. for all verdicts is described in Section IV; the following We do not re-derive these results; our contribution beyond are the fixed settings of the first round (Section VI). them is limited to the regime-switching comparison with Mean squared error, AdamW (weight decay 10−4 ), cosine nonlinear models described in the Introduction. learning-rate decay over the whole budget, batch 64 win- Recurrent models. The GRU [12] is a standard gated dows sampled uniformly with random channel, gradient recurrent unit. xLSTMTime [13] adapts an xLSTM recur- clipping 1, learning rate 3·10−3 (DLinear, GRU) and 10−3 rent architecture to long-term forecasting; our GRU is a (PatchTST), fixed in advance. The budget is 400 steps in much smaller patch-based variant. the main grid, the design ablation and the dwell and noise Benchmarking. TFB [5] documents evaluation pitfalls sweeps; the budget sweep repeats runs with 1000 and 2000 in forecasting comparisons (for example dropped last steps and no other change. Validation MSE (every eighth batches) and compares many methods on a broad set validation window) is computed every 100 steps and the of datasets; the Monash archive [14] collects forecasting best checkpoint is kept, so a longer budget also means datasets for evaluating methods across domains. Accord- more candidate checkpoints, for every system alike. ingly we use all test windows (no dropped batch) and Win rule. For a nonlinear system s and DLinear on a identical settings for every system. task and horizon, with seed-mean MSE ēs , ēD over the same seeds, of at least 0.1%, training stops after 12 such validations or (i) at a cap of 6000 steps, and the best-validation checkpoint win(s) ⇐⇒ (ēs − ēD )/ēD ≤ −5% and es(i) < eD ∀i. is kept. Runs that reach the cap are counted (Table II) (2) and their verdicts are read with that in mind. A separate Equivalently, the ratio ēs /ēD , which is what we report for model is trained per horizon. the main grid, must be at most 0.95. This rule was fixed Hyper-parameter search (round-1 revision). For each in the proposal before running and is applied unchanged learned system a grid of three learning rates × three at every budget; with three seeds it is a screening rule, widths (PatchTST model width d with feed-forward not a significance test. 2d; GRU hidden size; DLinear: moving-average kernel 13/25/49 in place of a width) is trained to convergence at IV. Experimental Setup H = 96 on one search dataset per task (regime: generator Tasks. Each synthetic dataset has 4 channels of 8000 seed 100, not used in any reported cell; ETTh1: its valida- steps (60/20/20 chronological train/validation/test); its tion split) and the configuration with the lowest validation generator seed is 1000 plus the seed, so a seed is a new MSE is chosen (Table III). The regime configuration is dataset (shared by all systems) ∑ as well as a new initialisa- used for the variants of the regime task and for the other tion. A channel is yt = k Ak st sin ϕk,t +trend ∑ t +levelt +et synthetic tasks; ETTh1 has its own. All three systems get with integrated phase ϕk,t = ϕk,0 + u≤t 2π/Pk,u and the same grid size and the same convergence rule. The AR(1) noise et (stationary sd = “noise”). seas1: one period earlier fixed settings (Section III) are used only in the 24, noise 0.3. trend: seas1 plus a piecewise-linear trend. fixed-budget runs of Section VI. multiseas: periods 24/168/12 with amplitudes 1/0.7/0.4. Optimised direct linear reference. Ridge: one linear noisy: multiseas with noise 1.5. regime: multiseas where map from the (instance-normalised) look-back to the a Markov chain over 3 regimes (geometric dwell, mean horizon, fitted in closed form on the same squared error 500 steps) rescales the periods by 1/1.6/0.6 and the as the learned models, with the ridge penalty chosen on amplitudes. etth1: the public ETTh1 CSV, first 14400 validation among 9 values (no training steps, so no budget rows, 7 channels, split 8640/2880/2880; seeds change only question). initialisation and batch sampling. All data are z-scored Experiments. Converged main grid (group conv_main): per channel with training statistics. DLinear, PatchTST, GRU, Ridge and seasonal naive on Added generators (round-1 revision; regime-task vari- the six tasks and three horizons, 10 seeds on regime, ants at H = 96). regime_freq: only the periods switch 5 on multiseas and 3 on the other tasks (135 runs). (amplitudes fixed); regime_amp: only the amplitudes Normalisation control (conv_nonorm): all four learned or switch (periods fixed); regime_inlb: periods scaled by fitted systems without instance normalisation on regime 1/0.8/0.6, so that the slowest period stays at 168, at H = 24 and 96, 10 seeds (40 runs). Dwell sweep half the look-back (in regime the period-168 compo- (conv_dwell) and noise sweep (conv_noise) on regime nent is stretched to 168×1.6, close to the look-back); at H = 96 with 5 seeds per cell (80 and 80 runs); the regime_level: a level shift of 0/+1.5/−1.5 with periods default-dwell and default-noise rows are the first 5 seeds and amplitudes fixed; regime_ar: the AR(1) coefficient of the main regime cell. Generator variants (conv_gen, 140 switches between 0.5, 0.95 and 0 with periods and am- runs, 5 seeds). Design ablation (conv_abl, 34 runs): DLin- plitudes fixed (noise sd 1). Stationary controls stat_r1 ear without decomposition on regime, trend and etth1 and stat_r2 have no switching and use the periods and and each learned model without instance normalisation amplitudes of the second and third regime of regime (the on trend and etth1, H = 96. Hyper-parameter search: first regime is multiseas). Dwell is the default 500 in all 54 configurations (group hp; rows of a task that was of them. searched only partially in an interrupted first launch are Metrics. Test MSE and MAE in z-scored units over all in the registry and unused). The fixed-budget runs of windows with stride 1 (no dropped batch), pooled over the first round (groups main, sweep_steps, sweep_dwell, channels. Besides the registered win rule, every comparison sweep_dwell_2000, sweep_noise, abl_design) are kept in to DLinear is reported as the mean over seeds of the per- the registry and summarised in Section VI. seed relative difference (es −eD )/eD with its 95% t-interval Hardware. A shared CPU machine, 2 threads per over seeds (experiments/paired.py, group paired_*); with process. Parameter counts of the selected configurations few seeds these intervals are wide and are descriptive, not on regime at H = 96: DLinear 64704, PatchTST 144992, a registered test. GRU 20448. Wall-clock times are logged in the registry but Training to convergence (round-1 revision). Every are not reported or used. Code, runners, per-run logs and learned system in every cell used for a verdict is trained the registry (results/runs.jsonl) are in the repository. Two with AdamW at a constant learning rate, batch 64; valida- discard-and-rerun events preceded the first-round runs tion MSE (every eighth validation window) is computed (both recorded with rh decide): the first launch labelled every 100 steps; the learning rate is halved after 4 and after every run with one system name (a shell bug in the 8 consecutive validations without a relative improvement runner), and stray processes from that launch then wrote regime etth1 GRU is within about one to two percent of DLinear on DLinear either side (e.g. multiseas H = 96: −0.8% [−1.3, −0.4]; validation MSE, H = 96 0.8 PatchTST 0.80 noisy H = 96: 1.5% [0.5, 2.4]). Seasonal naive is far worse GRU than every learned model (regime H = 96: 1.626 against 0.6 0.75 0.394 for DLinear). The earlier fixed-budget results are in Section VI. 0.4 0.70 Optimised linear reference. The ridge map is indistin- guishable from DLinear on the synthetic tasks (regime: 0 2000 4000 0 2000 4000 −0.1% [−0.4, 0.2], 0.1% [−0.1, 0.3] and −0.1% [−0.3, training step training step 0.1] at H = 24, 96, 192; every other synthetic cell in Table I is within one percent) and is better than DLinear Fig. 1. Validation MSE (H = 96) against training step of the on ETTh1 at H = 192 (−1.9% [−2.4, −1.5], 3 of 3 converged runs, one line per seed (regime: every seed; etth1: three seeds) and H = 96 (−1.0% [−3.1, 1.0]). The linear seeds). The curves end where the stopping rule fired or at the step cap. comparison point is therefore not weakened by DLinear’s fixed decomposition on the synthetic data; on ETTh1 DLinear is not the best linear model, which makes the further mislabelled rows; the affected rows and files were nonlinear models’ ETTh1 gap to the best linear model removed and all runs redone, so the registry lists the runs slightly larger than Table I shows. that were kept, not every process started. Hyper-parameter search. Table III gives the validation MSE of every grid cell. Differences between cells are small V. Results for DLinear (regime: 0.486 for the selected cell, 0.489 for Tables I and II give the converged main grid. In all cells the largest rate with the shortest kernel) and larger for below “difference” is the mean over seeds of the per-seed the nonlinear models (regime, PatchTST: 0.457 for the relative MSE difference to DLinear (negative: better than selected cell and 0.499 for the largest rate and width). All DLinear) with its 95% interval over seeds, and k of n is comparisons above use the selected configuration of each the number of seeds in which the model is lower; a win system. is the registered rule (seed-mean ratio at most 0.95 and Normalisation (regime). Table IV. Removing the in- lower in every seed). stance normalisation helps DLinear on regime: −2.4% at Convergence. DLinear stops by the rule in every main- H = 24 and −4.9% at H = 96 (better in 10 of 10 seeds; the grid run (median 4050 steps on regime at H = 96); the ratio at H = 96 is 0.9497, so no-norm DLinear meets the GRU stops at a median of 3200 and PatchTST at 4050 5% rule against the normalised DLinear at H = 96). The steps there. Some runs of the nonlinear models reached nonlinear wins against the better-normalised DLinear are: the cap: on regime at H = 24 40% of the PatchTST runs at H = 24 both models still win against no-norm DLinear and 10% of the GRU runs (Table II); the regime H = 24 (PatchTST −8.1% [−10.9, −5.3], GRU −13.6% [−17.4, verdicts of PatchTST are therefore not fully converged in −9.9]). At H = 96 the normalised GRU, compared with those runs and the figures there may still improve with no-norm DLinear, differs by only −3.2% [−6.0, −0.4] (9 a longer cap. Dwell, noise and no-norm cells have capped of 10 seeds) and PatchTST is not better (1.0% [−1.7, runs as well (the registry’s capped_H metrics). 3.7]); the like-for-like comparison without normalisation Main grid (converged). Both nonlinear models win on on both sides gives the GRU a win (−6.0% [−8.1, −3.9], regime at H = 24: PatchTST by −10.3% [−13.2, −7.4], 10 of 10 seeds) and PatchTST none (−0.5% [−3.5, 2.4]). better in 10 of 10 seeds, and the GRU by −15.7% [−19.5, So the H = 96 regime verdict for the GRU depends on −11.9], 10 of 10 seeds. At H = 96 neither wins: the GRU whether both sides are normalised; PatchTST’s H = 96 differs by −8.0% [−10.9, −5.0] (seed-mean ratio 0.920; result does not reach a win in any normalisation setting. better in 9 of 10 seeds, so the rule fails on the all-seeds The ridge map without normalisation is not better than clause) and PatchTST by −4.0% [−6.9, −1.1] (9 of 10 no-norm DLinear (0.0% [−0.3, 0.2]). seeds). At H = 192 the GRU differs by −1.6% [−3.5, 0.3] Dwell sweep (H2) and noise sweep (H3). Table V. With and PatchTST by 0.2% [−3.1, 3.6], intervals that include five seeds per cell, PatchTST wins at dwell 500, 1000 zero. On ETTh1 neither model wins at any horizon: at and 4000 and not at 100 or 250; the GRU wins at dwell H = 96 PatchTST is worse by 3.0% [1.6, 4.5] and the GRU 100 and 500 and not at 250, 1000 or 4000. The GRU’s by 1.9% [−0.8, 4.7], at H = 192 by 3.9% [0.4, 7.3] and 5.1% difference to DLinear is −5.4% [−6.7, −4.1] at 100, −7.5% [−9.2, 19.4], and at H = 24 both are slightly better than [−16.1, 1.1] at 250, −9.1% [−10.8, −7.3] at 500, −3.5% DLinear (−1.3% [−1.8, −0.8] and −3.1% [−5.6, −0.6], [−10.0, 2.9] at 1000 and 8.2% [−10.5, 27.0] at 4000, below the 5% threshold). On the four stationary tasks no and PatchTST’s is 0.8% [−1.2, 2.8], −3.5% [−9.3, 2.3], model wins at any horizon (Table I): PatchTST is worse −5.4% [−9.3, −1.4], −5.9% [−9.9, −1.9] and −5.5% [−9.5, than DLinear by about one percent on seas1, multiseas −1.4]. The intervals overlap across dwell values and the and noisy (e.g. multiseas H = 96: 0.9% [0.7, 1.2]) and the win/no-win pattern is not ordered by the switching rate TABLE I Converged main grid: seed-mean test MSE (z-scored units) and paired relative difference to DLinear [95% interval over seeds]; superscript k/n: seeds (of n) in which the model is lower than DLinear; ∗: win under the registered rule (ratio at most 0.95, lower in every seed). Seeds: more on regime (conv_main); see Section IV. Task H seeds DLinear Ridge PatchTST GRU PatchTST vs DLinear (%) GRU vs DLinear (%) regime 24 10 0.283 0.283 0.254 0.238 −10.3 [−13.2, −7.4]10/10∗ −15.7 [−19.5, −11.9]10/10∗ 96 10 0.394 0.394 0.378 0.363 −4.0 [−6.9, −1.1]9/10 −8.0 [−10.9, −5.0]9/10 192 10 0.502 0.501 0.503 0.494 0.2 [−3.1, 3.6]5/10 −1.6 [−3.5, 0.3]7/10 etth1 24 3 0.321 0.318 0.317 0.311 −1.3 [−1.8, −0.8]3/3 −3.1 [−5.6, −0.6]3/3 96 3 0.375 0.371 0.386 0.382 3.0 [1.6, 4.5]0/3 1.9 [−0.8, 4.7]0/3 192 3 0.413 0.405 0.429 0.434 3.9 [0.4, 7.3]0/3 5.1 [−9.2, 19.4]0/3 multiseas 24 5 0.102 0.102 0.104 0.102 1.1 [0.8, 1.5]0/5 0.0 [−0.7, 0.7]3/5 96 5 0.104 0.104 0.105 0.103 0.9 [0.7, 1.2]0/5 −0.8 [−1.3, −0.4]5/5 192 5 0.104 0.104 0.105 0.103 0.8 [0.3, 1.2]0/5 −1.0 [−1.4, −0.5]5/5 seas1 24 3 0.156 0.155 0.157 0.155 1.1 [0.6, 1.7]0/3 −0.4 [−1.6, 0.7]3/3 96 3 0.157 0.156 0.159 0.156 1.1 [0.1, 2.0]0/3 −0.5 [−1.8, 0.9]2/3 192 3 0.156 0.155 0.158 0.156 1.0 [0.3, 1.6]0/3 −0.3 [−1.3, 0.7]2/3 trend 24 3 0.028 0.027 0.028 0.027 0.8 [−2.9, 4.5]1/3 −1.0 [−6.3, 4.4]2/3 96 3 0.031 0.031 0.031 0.031 1.5 [−1.4, 4.4]0/3 0.4 [−7.7, 8.6]2/3 192 3 0.039 0.039 0.039 0.038 1.5 [−5.7, 8.7]1/3 1.2 [−12.1, 14.6]2/3 noisy 24 3 0.763 0.762 0.774 0.775 1.4 [0.9, 1.8]0/3 1.5 [0.3, 2.8]0/3 96 3 0.774 0.771 0.783 0.785 1.2 [0.4, 2.0]0/3 1.5 [0.5, 2.4]0/3 192 3 0.773 0.770 0.779 0.784 0.7 [0.2, 1.3]0/3 1.4 [−0.3, 3.1]0/3 TABLE II Training steps actually used by the converged runs (the step of the last validation, not the best checkpoint): median over runs, and in brackets the share of runs that stopped at the step cap rather than by the convergence rule. Per horizon H = 24, 96, 192. Validation curves: Fig. 1. Task DLinear PatchTST GRU regime 3950 (0) 4050 (0) 3150 (0) 5750 (40) 4050 (0) 2300 (0) 4250 (10) 3200 (0) 2950 (0) etth1 3600 (0) 3200 (0) 1900 (0) 4200 (0) 1700 (0) 1500 (0) 3500 (0) 1900 (0) 2100 (0) multiseas 2800 (0) 2400 (0) 2700 (0) 4600 (0) 4100 (0) 4200 (0) 5600 (20) 5200 (0) 4700 (0) seas1 1700 (0) 1400 (0) 1300 (0) 3500 (0) 3500 (0) 2900 (0) 4900 (0) 4400 (0) 3800 (0) trend 2100 (0) 3100 (0) 3100 (0) 4600 (0) 3300 (0) 2400 (0) 4300 (0) 4100 (0) 3300 (0) noisy 1300 (0) 1300 (0) 1300 (0) 2500 (0) 1900 (0) 1900 (0) 2200 (0) 1900 (0) 2100 (0) for either model; the data do not show that the margin the look-back (regime_inlb) the GRU still wins (−7.8% grows with the switching rate (H2’s second clause is not [−11.4, −4.3]) and PatchTST does not (−1.6% [−6.1, supported), and they do not show that it does not: the 3.0]), so a period close to the look-back is not needed sweep cannot separate a trend in dwell from seed-to-seed for the GRU’s gain. Level shifts (regime_level: PatchTST spread, especially at dwell 4000 where a series holds a few 0.6% [−6.4, 7.6], GRU 2.7% [−3.5, 9.0]) and AR-coefficient regime changes. Table VI: both models win at noise sd 0.1 switching (regime_ar: PatchTST 1.7% [−1.0, 4.4], GRU (PatchTST −11.3% [−17.1, −5.6], GRU −18.5% [−21.5, 3.5% [−0.2, 7.1]) give no nonlinear advantage; both models −15.5]) and at the default 0.3, and neither wins at 0.6 or are not better than DLinear there. The stationary controls above (GRU at 0.6: −1.3% [−4.1, 1.4]; at 3.0: 0.3% [−0.5, that use the periods and amplitudes of the second and 1.2]; PatchTST at 3.0 is worse than DLinear by 1.2% [0.8, third regime, with no switching, give no win either 1.7]), so the advantage disappears at moderate noise, as (stat_r1: PatchTST 1.2% [0.6, 1.7], GRU −0.4% [−1.0, H3 predicts. A shrinking relative gap is expected in any 0.2]; stat_r2: PatchTST 1.0% [0.6, 1.4], GRU −0.6% case, since all MSEs approach the noise variance. [−0.9, −0.3]). In this family of generators the nonlinear What drives the regime gain. Table VII (H = 96, five gain at H = 96 therefore appears when the periods switch, seeds). With only the periods switching (regime_freq) not when the amplitudes, the level or the noise dynamics both models win (−8.0% [−11.7, −4.3] and −13.6% switch, and not when the same frequency content is [−18.7, −8.6]). With only the amplitudes switching present without switching. Windows that cross a switch (regime_amp) neither wins (PatchTST −0.8% [−1.5, 0.0], were not evaluated separately, so where within the test GRU −2.5% [−4.2, −0.8]; the sign is consistent but the set the gain arises is not resolved here. size is far below 5%). When the slow period stays inside Design ablation (H5). Table VIII. DLinear without the TABLE III Validation MSE (H = 96) of the hyper-parameter grid on the search dataset (regime, generator seed 100; etth1: its validation split); ∗ marks the selected cell. Width columns: PatchTST d ∈ {32, 64, 128}, GRU hidden size {32, 64, 128}, DLinear moving-average kernel {13, 25, 49}. Task System lr 3 · 10−4 lr 10−3 lr 3 · 10−3 regime DLinear 0.486 0.486 0.486∗ 0.487 0.487 0.487 0.489 0.488 0.488 PatchTST 0.457∗ 0.468 0.479 0.460 0.482 0.489 0.463 0.481 0.499 GRU 0.461 0.421 0.423 0.437 0.410∗ 0.416 0.422 0.417 0.416 etth1 DLinear 0.671 0.670 0.669 0.670 0.666∗ 0.666 0.667 0.668 0.668 PatchTST 0.664∗ 0.691 0.713 0.684 0.712 0.717 0.672 0.722 0.706 GRU 0.709 0.689 0.683 0.694 0.690 0.680∗ 0.693 0.694 0.699 TABLE IV TABLE VI Normalisation control on regime (converged): seed-mean MSE with Noise sweep (regime, H = 96, converged), same layout; noise 0.3 and without instance normalisation, and the paired relative uses the first five seeds of the main regime cell. difference to no-norm DLinear (the better-normalised DLinear at these horizons) of the normalised system and of the no-norm noise sd PatchTST vs DLinear (%) GRU vs DLinear (%) Ridge ratio system. †: DLinear without normalisation against DLinear with it. 0.1 −11.3 [−17.1, −5.6]5/5∗ −18.5 [−21.5, −15.5]5/5∗ 0.990 Superscripts and ∗ as in Table I. 0.3 −5.4 [−9.3, −1.4]5/5∗ −9.1 [−10.8, −7.3]5/5∗ 1.001 0.6 −1.4 [−3.5, 0.7]4/5 −1.3 [−4.1, 1.4]3/5 0.995 H System MSE norm MSE no norm norm vs DLinear no norm (%) no norm vs DLinear no norm (%) 1.5 0.7 [0.4, 1.1]0/5 0.6 [−0.9, 2.1]2/5 0.995 24 DLinear 0.283 0.276 −2.4 [−2.8, −2.0]10/10† — 3.0 1.2 [0.8, 1.7]0/5 0.3 [−0.5, 1.2]1/5 0.999 Ridge 0.283 0.276 2.4 [1.9, 2.9]0/10 −0.1 [−0.5, 0.2]3/10 PatchTST 0.254 0.251 −8.1 [−10.9, −5.3]10/10∗ −9.4 [−12.0, −6.7]10/10∗ GRU 0.238 0.231 −13.6 [−17.4, −9.9]10/10∗ −16.4 [−19.7, −13.1]10/10∗ 96 DLinear 0.394 0.374 −4.9 [−6.0, −3.9]10/10∗† — Ridge 0.394 0.374 5.3 [4.2, 6.4]0/10 0.0 [−0.3, 0.2]6/10 TABLE VII PatchTST 0.378 0.372 1.0 [−1.7, 3.7]5/10 −0.5 [−3.5, 2.4]6/10 GRU 0.363 0.352 −3.2 [−6.0, −0.4]9/10 −6.0 [−8.1, −3.9]10/10∗ Generator variants (converged, H = 96, five seeds): paired difference to DLinear [95% interval]. Superscripts and ∗ as in Table I. TABLE V Dwell sweep (regime, H = 96, converged): paired difference to Generator PatchTST vs DLinear (%) GRU vs DLinear (%) Ridge vs DLinear (%) DLinear [95% interval] and ridge ratio. Dwell 500 uses the first five regime (reference) −5.4 [−9.3, −1.4]5/5∗ −9.1 [−10.8, −7.3]5/5∗ 0.1 [−0.3, 0.5]1/5 −8.0 [−11.7, −4.3]5/5∗ −13.6 [−18.7, −8.6]5/5∗ 0.0 [−0.6, 0.5]3/5 seeds of the main regime cell. Superscripts and ∗ as in Table I. frequency-only amplitude-only −0.8 [−1.5, 0.0]5/5 −2.5 [−4.2, −0.8]5/5 0.3 [−0.3, 0.8]2/5 slow period in look-back −1.6 [−6.1, 3.0]3/5 −7.8 [−11.4, −4.3]5/5∗ 0.0 [−0.2, 0.2]2/5 level shifts 0.6 [−6.4, 7.6]2/5 2.7 [−3.5, 9.0]2/5 0.1 [−0.5, 0.7]2/5 dwell PatchTST vs DLinear (%) GRU vs DLinear (%) Ridge ratio AR coefficient 1.7 [−1.0, 4.4]1/5 3.5 [−0.2, 7.1]0/5 −0.8 [−1.3, −0.2]5/5 stationary, regime-1 set 1.2 [0.6, 1.7]0/5 −0.4 [−1.0, 0.2]4/5 −0.6 [−1.1, −0.1]4/5 100 0.8 [−1.2, 2.8]2/5 −5.4 [−6.7, −4.1]5/5∗ 0.998 stationary, regime-2 set 1.0 [0.6, 1.4]0/5 −0.6 [−0.9, −0.3]5/5 −0.1 [−0.2, 0.0]5/5 250 −3.5 [−9.3, 2.3]3/5 −7.5 [−16.1, 1.1]4/5 0.998 500 −5.4 [−9.3, −1.4]5/5∗ −9.1 [−10.8, −7.3]5/5∗ 1.001 1000 −5.9 [−9.9, −1.9]5/5∗ −3.5 [−10.0, 2.9]4/5 0.997 4000 −5.5 [−9.5, −1.4]5/5∗ 8.2 [−10.5, 27.0]2/5 0.990 the basis of the verdicts of Section V, which are the converged ones. They are kept here because they show how much the verdicts moved with the budget: Tables IX, decomposition differs from DLinear by 0.2% [0.0, 0.5] X and XI. The dwell, noise and design-ablation tables (regime), −0.3% [−1.4, 0.9] (trend) and 1.7% [−0.8, 4.2] of the first round are not reproduced; their converged (etth1), each within the 5% bound of H5. Removing counterparts are Tables V, VI and VIII. instance normalisation on the trend task makes each model At 400 steps no nonlinear model passes the rule in any much worse on average (1.42 times DLinear’s MSE for cell. The cell closest to the threshold is PatchTST on the DLinear, 1.62 for PatchTST, 157.44 for the GRU, three regime task at H = 24 (MSE ratio to DLinear 0.9503, seeds, very wide intervals because of one or two datasets) better in all three seeds); at H = 96 the ratio is 0.9518, and slightly worse on etth1 (3.4% [−12.3, 19.2], 3.3% also better in all three seeds. At 1000 and 2000 steps both [−3.9, 10.5], 1.8% [−2.3, 5.8] for DLinear, PatchTST, nonlinear models pass at regime H = 24 and the GRU at GRU). regime H = 96 (Table XI); nobody passes at H = 192, on the stationary tasks (tested at H = 96) or on ETTh1. VI. Fixed-budget runs of the first round Between 400 and 2000 steps the GRU’s regime MSE at The first round trained every learned model for a H = 96 moves from 0.446 to 0.386 while DLinear’s moves fixed number of steps (400 in the planned grid; 1000 from 0.434 to 0.432. In the converged runs with ten seeds and 2000 in a post-hoc sweep), with fixed learning the GRU’s regime H = 96 cell does not pass the rule rates (0.003 for DLinear and the GRU, 0.001 for (Table I): its seed-mean ratio is below 0.95 but one of ten PatchTST), widths and no search; these runs are in seeds is not better than DLinear. The first-round wording the registry (groups main, sweep_steps, sweep_dwell, that the small differences on the stationary tasks were sweep_dwell_2000, sweep_noise, abl_design) and are not “not seed noise” rested on agreement of three signs and is TABLE VIII initialisation and batch order. Fixed-budget runs. The Design ablation (converged, H = 96): paired difference of the first-round sweeps (Section VI) were post hoc and are ablated model to the full model. Superscripts as in Table I. superseded by the converged cells. Task Comparison difference (%) regime Linear (no decomp) vs DLinear 0.2 [0.0, 0.5]1/10 VIII. Conclusion trend Linear (no decomp) vs DLinear −0.3 [−1.4, 0.9]2/3 etth1 Linear (no decomp) vs DLinear 1.7 [−0.8, 4.2]0/3 In this small CPU study, with every learned model trend DLinear no norm vs DLinear 20.4 [−64.5, 105.3]0/3 etth1 DLinear no norm vs DLinear 3.4 [−12.3, 19.2]1/3 trained to convergence and tuned over the same small trend PatchTST no norm vs PatchTST 52.0 [−45.8, 149.8]0/3 grid, a nonlinear model beat a DLinear-style model under etth1 PatchTST no norm vs PatchTST 3.3 [−3.9, 10.5]0/3 trend GRU no norm vs GRU 7681.2 [−23333.1, 38695.5]0/3 the registered rule on one family of tasks and one horizon: etth1 GRU no norm vs GRU 1.8 [−2.3, 5.8]0/3 regime-switching series at H = 24 (PatchTST −10.3% [−13.2, −7.4], GRU −15.7% [−19.5, −11.9] against DLin- ear, ten seeds). At H = 96 the GRU is lower on average withdrawn; the converged paired intervals are in Table I. (−8.0% [−10.9, −5.0]) but not in every seed, and the verdict depends on whether the baseline also runs without VII. Limitations instance normalisation; at H = 192 neither wins. On the Convergence and tuning. All verdicts come from runs four stationary tasks and on ETTh1 no nonlinear model trained with early stopping on validation and a step cap of wins, and a closed-form ridge map matches DLinear on 6000; some nonlinear runs stopped at the cap rather than the synthetic tasks. In our generators the gain appears by the rule (Table II; PatchTST on regime at H = 24 when the periods switch; amplitude-only, level and AR- most), so those cells may not be fully converged. The coefficient switching and the stationary controls give none, search is small (three learning rates and three widths at and the dwell and noise sweeps do not show a monotone H = 96, one search dataset; other tasks and horizons dependence on the switching rate (H2’s second clause reuse the regime selection, the variants of the regime task is not supported) while the advantage disappears at included) and covers neither dropout, depth, weight decay moderate noise (H3). These statements are limited to our nor batch size. Other selection settings could change a generators, small reimplemented models and three to ten verdict. Seeds. Ten seeds on the main regime cell and seeds; the fixed-budget first-round verdicts (Section VI) the normalisation control, five on the dwell, noise and are superseded. generator cells, three on the other tasks. The win rule requires every seed, so with ten seeds a single seed can References turn a clear mean difference into no win (GRU on regime at H = 96); the paired intervals are descriptive, not [1] H. Zhou, S. Zhang, J. Peng, S. Zhang, J. Li, H. Xiong, and W. Zhang, “Informer: Beyond Efficient Transformer a registered test, and at five or three seeds they are for Long Sequence Time-Series Forecasting,” arXiv preprint wide. The dwell, noise and generator cells were designed arXiv:2012.07436, 2020. [Online]. Available: https://arxiv.org/ after the first round and are not registered hypotheses; abs/2012.07436 [2] H. Wu, J. Xu, J. Wang, and M. Long, “Autoformer: the default-dwell and default-noise rows reuse the first Decomposition Transformers with Auto-Correlation for Long- five seeds of the main regime cell. Synthetic design. All Term Series Forecasting,” arXiv preprint arXiv:2106.13008, synthetic conclusions depend on our own generators; the 2021. [Online]. Available: https://arxiv.org/abs/2106.13008 [3] A. Zeng, M. Chen, L. Zhang, and Q. Xu, “Are Transformers variants cover period, amplitude, level and AR-coefficient Effective for Time Series Forecasting?” arXiv preprint switching, each with a particular size, and the regime arXiv:2205.13504, 2022. [Online]. Available: https://arxiv.org/ process is Markov with all paths starting in regime zero abs/2205.13504 [4] Y. Nie, N. H. Nguyen, P. Sinthong, and J. Kalagnanam, (the dwell sweep therefore changes how much of each “A Time Series is Worth 64 Words: Long-term Forecasting regime a series contains). The generator variants were run with Transformers,” arXiv preprint arXiv:2211.14730, 2022. at H = 96 only, windows that cross a switch were not [Online]. Available: https://arxiv.org/abs/2211.14730 [5] X. Qiu, J. Hu, L. Zhou, X. Wu, J. Du, B. Zhang, C. Guo, evaluated separately, and the level and AR variants have A. Zhou, C. S. Jensen, Z. Sheng, and B. Yang, “TFB: no matching stationary control. Normalisation. Instance Towards Comprehensive and Fair Benchmarking of Time Series normalisation is shared by the learned systems; the no- Forecasting Methods,” arXiv preprint arXiv:2403.20150, 2024. [Online]. Available: https://arxiv.org/abs/2403.20150 norm control covers the regime task at H = 24 and 96 [6] Z. Li, S. Qi, Y. Li, and Z. Xu, “Revisiting Long-term Time only, and a RevIN-style variant was not run. On trend, Series Forecasting: An Investigation on Linear Mapping,” removing normalisation is very harmful and the three-seed arXiv preprint arXiv:2305.10721, 2023. [Online]. Available: https://arxiv.org/abs/2305.10721 intervals are wide. Reimplemented baselines. The patch [7] W. Toner and L. Darlow, “An Analysis of Linear Time Series transformer and GRU are small reimplementations, not Forecasting Models,” arXiv preprint arXiv:2403.14587, 2024. the published configurations; a result here says nothing [Online]. Available: https://arxiv.org/abs/2403.14587 about the original PatchTST. NLinear and RLinear were [8] H. Wu, T. Hu, Y. Liu, H. Zhou, J. Wang, and M. Long, “TimesNet: Temporal 2D-Variation Modeling for General not run; the ridge reference is the linear comparison. One Time Series Analysis,” arXiv preprint arXiv:2210.02186, 2022. real dataset. ETTh1 is a single series; seeds vary only [Online]. Available: https://arxiv.org/abs/2210.02186 TABLE IX Fixed 400 steps (first round): test MSE (z-scored units), mean ± sd over 3 seeds. Underline marks the second-lowest mean in a task; the marking is by mean only. Method Task mse_24 ↓ mse_96 ↓ mse_192 ↓ n Seasonal naive regime 1.394 ± 0.494 1.587 ± 0.320 1.584 ± 0.417 3 GRU regime 0.322 ± 0.046 0.446 ± 0.052 0.549 ± 0.071 3 PatchTST regime 0.291 ± 0.014 0.413 ± 0.030 0.546 ± 0.059 3 DLinear regime 0.306 ± 0.015 0.434 ± 0.031 0.538 ± 0.045 3 Seasonal naive etth1 0.424 ± 0.000 0.512 ± 0.000 0.581 ± 0.000 3 GRU etth1 0.331 ± 0.002 0.399 ± 0.004 0.438 ± 0.005 3 PatchTST etth1 0.320 ± 0.003 0.400 ± 0.009 0.438 ± 0.005 3 DLinear etth1 0.324 ± 0.001 0.376 ± 0.001 0.410 ± 0.000 3 Seasonal naive trend 0.051 ± 0.050 0.056 ± 0.056 0.071 ± 0.073 3 GRU trend 0.029 ± 0.028 0.032 ± 0.031 0.040 ± 0.037 3 PatchTST trend 0.028 ± 0.028 0.032 ± 0.031 0.039 ± 0.038 3 DLinear trend 0.028 ± 0.027 0.031 ± 0.030 0.038 ± 0.037 3 Seasonal naive multiseas 0.198 ± 0.006 0.198 ± 0.006 0.198 ± 0.006 3 GRU multiseas 0.114 ± 0.002 0.114 ± 0.005 0.116 ± 0.003 3 PatchTST multiseas 0.105 ± 0.002 0.106 ± 0.002 0.106 ± 0.002 3 DLinear multiseas 0.103 ± 0.002 0.104 ± 0.002 0.104 ± 0.002 3 Seasonal naive noisy 1.481 ± 0.047 1.485 ± 0.049 1.486 ± 0.049 3 GRU noisy 0.773 ± 0.014 0.785 ± 0.017 0.784 ± 0.017 3 PatchTST noisy 0.779 ± 0.014 0.785 ± 0.019 0.787 ± 0.017 3 DLinear noisy 0.782 ± 0.014 0.793 ± 0.018 0.792 ± 0.017 3 Seasonal naive seas1 0.304 ± 0.006 0.309 ± 0.011 0.309 ± 0.011 3 GRU seas1 0.160 ± 0.004 0.160 ± 0.003 0.160 ± 0.002 3 PatchTST seas1 0.159 ± 0.003 0.160 ± 0.003 0.159 ± 0.003 3 DLinear seas1 0.156 ± 0.003 0.158 ± 0.004 0.158 ± 0.003 3 TABLE X https://arxiv.org/abs/2105.06643 Fixed 400 steps: seed-mean MSE of PatchTST-style and GRU divided by DLinear’s per horizon (rh compare). Superscript: number of seeds (of 3) in which the model is better than DLinear; no cell passes the registered rule. PatchTST vs DLinear GRU vs DLinear Task 24 96 192 24 96 192 seas1 1.01680 1.00940 1.00910 1.02630 1.01410 1.01340 trend 1.02380 1.02020 1.02210 1.03710 1.02280 1.03840 multiseas 1.02130 1.01310 1.01230 1.11110 1.09560 1.10870 noisy 0.99613 0.99083 0.99323 0.98893 0.99023 0.98943 regime 0.95033 0.95183 1.01412 1.05031 1.02911 1.02001 etth1 0.98783 1.06320 1.06820 1.02280 1.06160 1.06790 [9] Y. Liu, T. Hu, H. Zhang, H. Wu, S. Wang, L. Ma, and M. Long, “iTransformer: Inverted Transformers Are Effective for Time Series Forecasting,” arXiv preprint arXiv:2310.06625, 2023. [Online]. Available: https://arxiv.org/abs/2310.06625 [10] B. N. Oreshkin, D. Carpov, N. Chapados, and Y. Bengio, “N-BEATS: Neural basis expansion analysis for interpretable time series forecasting,” arXiv preprint arXiv:1905.10437, 2019. [Online]. Available: https://arxiv.org/abs/1905.10437 [11] D. Kim, J. Park, J. Lee, and H. Kim, “Are Self- Attentions Effective for Time Series Forecasting?” arXiv preprint arXiv:2405.16877, 2024. [Online]. Available: https: //arxiv.org/abs/2405.16877 [12] K. Cho, B. van Merrienboer, C. Gulcehre, D. Bahdanau, F. Bougares, H. Schwenk, and Y. Bengio, “Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translation,” arXiv preprint arXiv:1406.1078, 2014. [Online]. Available: https://arxiv.org/abs/1406.1078 [13] M. Alharthi and A. Mahmood, “xLSTMTime : Long-term Time Series Forecasting With xLSTM,” arXiv preprint arXiv:2407.10240, 2024. [Online]. Available: https://arxiv.org/ abs/2407.10240 [14] R. Godahewa, C. Bergmeir, G. I. Webb, R. J. Hyndman, and P. Montero-Manso, “Monash Time Series Forecasting Archive,” arXiv preprint arXiv:2105.06643, 2021. [Online]. Available: TABLE XI Fixed-budget sweep (post hoc): seed-mean test MSE; superscript = number of seeds (of 3) in which the model is better than DLinear; ∗ = win under the registered rule. The 400-step rows are the first-round main grid. Task H steps DLinear PatchTST GRU regime 24 400 0.306 0.2913 0.3221 regime 24 1000 0.306 0.2763∗ 0.2663∗ regime 24 2000 0.305 0.2773∗ 0.2533∗ regime 96 400 0.434 0.4133 0.4461 regime 96 1000 0.434 0.4183 0.4023∗ regime 96 2000 0.432 0.4213 0.3863∗ regime 192 400 0.538 0.5462 0.5491 regime 192 1000 0.539 0.5471 0.5272 regime 192 2000 0.538 0.5501 0.5302 etth1 24 400 0.324 0.3203 0.3310 etth1 24 1000 0.320 0.3133 0.3173 etth1 24 2000 0.323 0.3153 0.3113 etth1 96 400 0.376 0.4000 0.3990 etth1 96 1000 0.376 0.3990 0.3850 etth1 96 2000 0.375 0.4030 0.3860 etth1 192 400 0.410 0.4380 0.4380 etth1 192 1000 0.410 0.4410 0.4230 etth1 192 2000 0.409 0.4470 0.4370 seas1 96 400 0.158 0.1600 0.1600 seas1 96 2000 0.159 0.1630 0.1563 trend 96 400 0.031 0.0320 0.0320 trend 96 2000 0.031 0.0330 0.0312 multiseas 96 400 0.104 0.1060 0.1140 multiseas 96 2000 0.105 0.1090 0.1043 noisy 96 400 0.793 0.7853 0.7853 noisy 96 2000 0.784 0.7950 0.7891