Time series transformers have achieved strong forecasting performance, yet it remains unclear which of their components, attention or the feed-forward network (FFN), constructs temporal features, and how tokenization such as patching changes this. We propose a temporal probing framework that uses 15 token-level diagnostic tasks to measure feature construction as the gain in linear decodability of temporal properties from one sub-layer to the next (a matched MLP probe already saturates at the embedding). It targets models whose probed representations are read by a linear forecasting head. Applied to 5 supervised models trained on 8 long-term forecasting benchmarks, it finds that the constructing component is not fixed but allocated by the interaction of tokenization and architecture. Under patch tokenization (PatchTST), the FFN's gain exceeds attention's in probing on all 8 datasets, and its 8-dataset mean is 3.2x attention's. Without attention, the FFN alone reaches nearly the same total gain, both when attention is removed from a trained model and when PatchTST is trained without it, and the retrained model forecasts within a few percent of the full model. In probing, attention dominates under variate tokenization (iTransformer); in CATS, cross-attention is the only input path. In a controlled manipulation of PatchTST, single-scalar tokens (P=1) nearly eliminate the FFN's construction, while one more point per token (P=2) restores it. Our forecasting-side interventions (activation patching, knockout, and training without attention) establish component-level reliance and sufficiency. These results offer a representational reading of prior findings on the gains from patching, the competitiveness of self-attention-free models (TSMixer, PatchMLP), and the distinct role of cross-attention in CATS.
Figures & tables
Figure 1: Probing protocol with delta-based component attribution. Linear probes on the frozen sub-layer outputs ( embed , 1a_attn , 1b_ffn ) predict 15 token-level temporal properties (§ 3.2 ); per-component deltas ( Δ ) attribute accuracy gains to sub-layers.
Figure 2: Embedding-layer probing reveals two classes of temporal information. PatchTST’s patch embedding preserves the innate trend direction ( 94.9 to 99.9% ), whereas constructed properties (volatility, diff energy, spectral entropy) reach only 27.7 to 54.9% (Appendix B.1 ).
ETTm1
ETTm2
ETTh1
ETTh2
Weather
Electricity
Exchange
Traffic
Mean
Attn Δ
+13.5± 1.6
+0.2± 0.5
+0.0± 0.4
−0.6± 0.9
+16.7± 0.7
+11.3± 0.5
+0.1± 0.6
+9.5± 0.4
+6.4± 0.7
FFN Δ
+26.1± 1.7
+43.0± 0.7
+3.8± 1.8
+11.1± 2.2
+21.5± 1.8
+23.7± 0.8
+12.8± 2.4
+20.8± 0.6
+20.4± 1.5
Ratio
1.9 ×
alone
alone
alone
1.3 ×
2.1 ×
alone
2.2 ×
3.2 ×
Table 2: PatchTST Layer-1 constructed-task deltas (volatility, diff energy, spectral entropy; 9-run means). ± is the root-sum-square of the 9-run standard deviations at the two probing points of each delta, averaged over the three tasks; the mean averages the per-dataset values and their ± before rounding. “alone”: negligible attention delta.
Model
Attn Δ
FFN Δ
Total
MSE
MSE change
PatchTST
+6.4
+20.4
+26.7
0.2305
NoAttn, ablated
0†
+27.4
+27.4
0.2636
+14.4%
NoAttn, from scratch
0†
+28.8
+28.8
0.2352
+2.0%
Table 3: Removing attention from PatchTST: Layer-1 constructed-task deltas (pp) and forecasting MSE, 8-dataset means. Total =Δattn+ΔFFN before rounding; MSE change is relative to PatchTST’s mean MSE. † Zero by construction ( 1a_attn is then an affine map of the embedding; per-dataset ∣Δ∣≤0.7 ): a sanity check of the probing pipeline, not a result.
Figure 3: Component dominance varies with tokenization and architecture. Layer-1 constructed-task deltas (volatility, diff energy, spectral entropy; 8-dataset means, 9 runs) for 4 settings, tagged by tokenization. ∗ CATS cross-attention is reported as absolute accuracy, not as a delta, because the learnable queries start without per-instance input information; its bar is thus not on the delta scale. Its labels are those of the future patches the queries forecast.
Appendix figures & tables39 assets
Supplementary material from the paper’s appendix.
Appendix
Self-Attention
Cross-Attention
No Attention
Point ( P=1 )
PatchTST ( P=1 )
—
—
Time step (aux.)
Informer
—
—
Patch
PatchTST ( P=16 )
CATS
PatchTST-NoAttn ( P=16 )
Variate (whole series)
iTransformer
—
—
Appendix
Table 4: Model coverage matrix: each cell indicates the model analyzed for the corresponding (tokenization, attention type) combination. PatchTST-NoAttn sets the self-attention output to zero, in a trained checkpoint (ablated) or from initialization (from scratch), so that the sub-layer is a residual identity and everything else, including BatchNorm, the FFN, and the per-dataset hyperparameters, is unchanged. Informer (4 datasets only) is a separate auxiliary case: its time-step tokens are embedded by a three-step convolution over all variates, so it is not a point-level model, and its probe is confounded (Appendix B.9 ).
Model
Tokenization
nlayers
patch_len
stride
PatchTST ( P=16 )
Patch
3
16
8
PatchTST ( P=1 )
Point
3
1
1
PatchTST-NoAttn
Patch (attn output =0 )
3
16
8
iTransformer
Variate (whole series)
varies (2–4)
—
—
CATS
Patch (cross-attn only)
0 enc / 3 dec
24 or 48
24 or 48
Informer
Time step (conv k=3 ; ProbSparse)
2 enc / 1 dec
—
—
Appendix
Table 5: Architecture-level configurations across the analyzed models (input length 336 for the PatchTST family and 96 for the other models).
Table 6: PatchTST per-dataset architectural configurations. Two width settings (small vs. large) are used.
Datasets
dmodel
nlayers
dff
ETTh1
256
2
256
ETTh2, ETTm1, ETTm2, Exchange
128
2
128
Solar
512
2
512
Weather, Electricity
512
3
512
Traffic
512
4
512
Appendix
Table 7: iTransformer per-dataset architectural configurations. nheads=8 across all datasets; no patching.
Dataset
Variables
Train/Val/Test
Frequency
Domain
ETTm1
7
(34465, 11521, 11521)
15 min
Electricity
ETTm2
7
(34465, 11521, 11521)
15 min
Electricity
ETTh1
7
(8545, 2881, 2881)
1 hour
Electricity
ETTh2
7
(8545, 2881, 2881)
1 hour
Electricity
Weather
21
(36792, 5271, 10540)
10 min
Weather
Electricity
321
(18317, 2633, 5261)
1 hour
Electricity
Appendix
Table 8: Dataset information. The splits follow the standard PatchTST protocol; Train/Val/Test sizes and Domain are as listed by Liu et al. [2024] . Solar-Energy is excluded from the main analysis (Appendix C ).
dom_p
Dataset
trend
probe
majority
Vol
DE
SE
ETTm1
99.6
96.2
96.25
38.9
42.1
30.2
ETTm2
99.3
90.0
89.88
36.9
34.8
40.9
ETTh1
97.9
92.3
92.36
37.6
38.7
35.8
ETTh2
95.3
84.9
84.93
33.7
27.7
30.7
Weather
98.5
97.8
97.82
33.6
33.8
36.2
Appendix
Table 9: PatchTST embed-layer probing accuracy on intra-token tasks (9-run mean). trend is innate, and Vol, DE, and SE are constructed; dom_p is degenerate (§ 3.2 ): its probing accuracy is within 0.12 pp of the majority rate of its labels (shown to two decimals), the accuracy of always predicting the most common band. Figure 2 plots trend, Vol, DE, and SE.
Dataset
Vol Attn Δ
Vol FFN Δ
DE Attn Δ
DE FFN Δ
SE Attn Δ
SE FFN Δ
ETTm1
+10.3± 2.1
+34.5± 2.3
+13.5± 1.6
+10.6± 1.9
+16.8± 1.2
+33.2± 0.9
ETTm2
−0.5± 0.4
+52.1± 0.6
+4.1± 0.4
+37.7± 0.6
−2.9± 0.8
+39.2± 0.8
ETTh1
−0.1± 0.4
+2.9± 1.6
−0.2± 0.3
+3.1± 1.9
+0.3± 0.4
+5.4± 1.9
ETTh2
−2.6± 1.1
+11.1± 3.3
+0.9± 1.1
+14.3± 1.3
−0.1± 0.6
+7.8± 1.9
Weather
+17.6± 0.4
+24.0± 1.8
+19.4± 0.6
+14.8± 1.5
+13.2± 1.0
+25.8± 2.1
Electricity
+12.5± 0.4
+30.5± 0.5
+11.7± 0.5
+26.4± 1.2
+9.8± 0.5
+14.3± 0.6
Appendix
Table 10: PatchTST per-task Layer-1 delta (9-run mean ± std). Averaging the three tasks gives Table 2 . The FFN delta exceeds the attention delta for every task on every dataset except diff_energy on ETTm1 and Weather.
Task
embed
1a_attn
1b_ffn
2a_attn
2b_ffn
3a_attn
3b_ffn
Innate and degenerate (classification)
trend_direction
99.6± 0.0
99.6± 0.0
99.4± 0.1
99.2± 0.2
98.9± 0.2
98.6± 0.1
98.5± 0.1
dominant_period
96.2± 0.1
96.2± 0.1
96.9± 0.2
96.8± 0.1
96.9± 0.1
96.8± 0.1
96.8± 0.1
Constructed (classification)
volatility q4
38.9± 0.4
49.2± 2.1
83.7± 1.0
83.4± 1.4
83.8± 0.8
83.2± 1.2
82.5± 0.9
diff_energy q4
42.1± 0.4
55.6± 1.5
66.2± 1.1
68.1± 0.6
68.2± 0.8
68.3± 0.7
67.7± 1.0
Appendix
Table 11: PatchTST full layer probing results on ETTm1 (9-run mean ± std). All 15 diagnostic tasks plus the random-label control. On the constructed tasks the Layer-1 FFN gives the largest rise for volatility and spectral_entropy, and attention for diff_energy; after Layer 1, no sub-layer changes their accuracy by more than 1.9 pp. Table 18 gives, for all 8 datasets, the FFN deltas summed over the three layers.
Dataset
embed
1b_ffn
1b_ffn − embed
reg_slope (embed)
ETTm1
0.009± 0.000
0.961± 0.005
+0.952
1.000
ETTm2
0.006± 0.003
0.890± 0.013
+0.884
1.000
ETTh1
0.043± 0.002
0.175± 0.072
+0.132
0.996
ETTh2
0.002± 0.001
0.310± 0.067
+0.308
0.993
Weather
0.023± 0.002
0.923± 0.005
+0.900
1.000
Electricity
0.152± 0.003
0.932± 0.003
+0.780
1.000
Appendix
Table 12: PatchTST reg_variance R2 from embed to 1b_ffn (9-run mean ± std); the last column is reg_slope R2 at the embedding (9-run mean). At 1b_ffn, R2 stays low on ETTh1, ETTh2, and Exchange ( 0.175 , 0.310 , and 0.251 ) and is at least 0.890 on the other 5 datasets.
Dataset
Vol Attn Δ
Vol FFN Δ
DE Attn Δ
DE FFN Δ
SE Attn Δ
SE FFN Δ
Avg Attn Δ
Avg FFN Δ
ETTm1
+15.5± 1.5
+5.0± 2.1
+13.9± 0.8
+3.8± 0.9
+10.5± 1.0
+6.6± 1.9
+13.3± 1.1
+5.1± 1.6
ETTm2
+5.7± 0.7
+1.9± 0.6
+8.8± 2.6
+4.2± 0.9
+14.1± 2.9
+1.5± 1.7
+9.5± 2.1
+2.5± 1.0
ETTh1
+24.7± 1.5
+7.5± 1.5
+23.8± 0.9
+8.8± 1.4
+14.6± 1.0
+9.3± 0.9
+21.0± 1.1
+8.5± 1.3
ETTh2
+10.4± 1.4
+7.1± 1.1
+6.2± 0.8
+3.4± 0.9
+11.9± 1.1
+2.4± 1.1
+9.5± 1.1
+4.3± 1.0
Weather
+12.0± 0.7
+13.3± 0.7
+15.4± 1.7
+12.7± 0.8
+14.4± 0.4
+10.6± 0.4
+13.9± 0.9
+12.2± 0.7
Electricity
+13.5± 0.4
+2.6± 0.4
+15.6± 0.6
+4.0± 0.5
+21.9± 0.5
+2.9± 0.4
+17.0± 0.5
+3.2± 0.4
Appendix
Table 13: iTransformer per-task Layer-1 delta (9-run mean ± std). Avg: mean of the three tasks; Mean: mean of the 8 datasets.
Dataset
Vol 1a_cross
Vol FFN Δ
DE 1a_cross
DE FFN Δ
SE 1a_cross
SE FFN Δ
ETTm1
41.8± 1.0
+2.2± 1.1
48.5± 0.5
+1.2± 0.7
41.3± 0.3
+1.4± 0.4
ETTm2
39.3± 0.3
+1.2± 0.5
46.7± 0.3
+1.5± 0.7
38.7± 0.1
+1.5± 0.5
ETTh1
36.5± 0.6
+2.5± 0.7
46.5± 0.4
+2.2± 0.5
43.7± 0.3
+0.2± 0.9
ETTh2
37.0± 0.4
+1.9± 0.6
38.5± 0.7
+8.2± 1.1
37.1± 0.4
+3.5± 1.0
Weather
48.1± 0.3
+3.5± 0.4
56.9± 0.2
+3.8± 0.3
45.7± 0.1
+3.5± 0.2
Electricity
38.2± 0.2
+1.4± 0.2
51.6± 0.2
+1.0± 0.3
53.4± 0.4
+1.8± 0.4
Appendix
Table 14: CATS per-task results (9-run mean ± std). Absolute accuracy of the cross-attention output (1a_cross) and FFN delta from 1a_cross to 1b_ffn. Query-side labels are those of the future patch each query forecasts.
PatchTST
NoAttn, ablated
NoAttn, from scratch
Dataset
Attn Δ
FFN Δ
FFN Δ
FFN change
Total change
FFN Δ
FFN change
Total change
ETTm1
+13.5± 1.6
+26.1± 1.7
+38.8± 1.2
+12.7
−0.8
+44.9± 2.4
+18.8
+5.2
ETTm2
+0.2± 0.5
+43.0± 0.7
+44.2± 0.5
+1.2
+0.7
+43.9± 0.6
+0.9
+0.3
ETTh1
+0.0± 0.4
+3.8± 1.8
+4.1± 1.9
+0.3
+0.3
+4.1± 1.7
+0.3
+0.3
ETTh2
−0.6± 0.9
+11.1± 2.2
+12.1± 2.8
+1.0
+1.4
+9.8± 3.9
−1.3
−0.8
Weather
+16.7± 0.7
+21.5± 1.8
+36.1± 2.5
+14.6
−2.2
+40.1± 0.9
+18.6
+1.7
Appendix
Table 15: Per-dataset Layer-1 constructed-task deltas without attention (9-run mean ± std). FFN change and total change are differences from PatchTST, where the total is Attn Δ + FFN Δ (NoAttn’s Attn Δ is in Table 16 ). The 8-dataset means are in Table 3 .
Dataset
Vol Attn Δ
Vol FFN Δ
DE Attn Δ
DE FFN Δ
SE Attn Δ
SE FFN Δ
Ablated
ETTm1
+0.1± 0.6
+46.2± 1.0
−0.6± 0.7
+21.0± 0.9
+0.6± 1.8
+49.1± 1.7
ETTm2
+0.0± 0.4
+52.8± 0.6
−0.4± 0.2
+42.6± 0.4
−0.4± 0.4
+37.3± 0.5
ETTh1
+0.0± 0.3
+2.9± 1.2
+0.0± 0.3
+3.5± 1.9
+0.0± 0.3
+5.8± 2.6
ETTh2
−0.2± 1.2
+10.6± 4.2
−0.2± 1.0
+16.4± 1.7
−0.1± 0.6
+9.2± 2.5
Weather
+0.0± 0.3
+41.3± 2.7
+0.2± 0.6
+31.7± 1.9
−0.5± 0.7
+35.4± 2.9
Appendix
Table 16: PatchTST-NoAttn per-task Layer-1 delta (9-run mean ± std), ablated (top) and trained from scratch (bottom). “Attn Δ ” is near zero because the attention output is zero.
Dataset
Vol Attn Δ
Vol FFN Δ
DE Attn Δ
DE FFN Δ
SE Attn Δ
SE FFN Δ
Avg Attn Δ
Avg FFN Δ
ETTm1
+15.0± 1.7
+1.4± 3.4
+16.5± 2.5
+2.5± 3.6
+4.1± 2.4
+2.6± 3.1
+11.9± 2.2
+2.2± 3.4
ETTm2
+14.0± 0.7
+2.0± 0.9
+14.8± 1.1
+4.2± 1.7
+15.7± 1.0
+2.0± 1.3
+14.8± 1.0
+2.7± 1.3
ETTh1
+18.2± 3.3
−3.4± 3.5
+14.3± 2.3
−3.4± 2.4
+3.5± 1.9
+4.1± 2.1
+12.0± 2.5
−0.9± 2.7
ETTh2
+3.4± 1.0
+10.0± 1.8
+5.7± 1.3
+7.8± 1.9
+12.0± 4.7
+5.2± 5.7
+7.0± 2.3
+7.7± 3.1
Weather
+16.3± 0.8
+0.5± 1.0
+15.8± 1.3
+2.7± 1.3
+14.3± 0.6
−0.1± 0.5
+15.5± 0.9
+1.0± 0.9
Electricity
+19.8± 1.3
+5.7± 1.9
+10.7± 1.2
+3.7± 1.8
+8.0± 0.7
+0.9± 1.3
+12.8± 1.1
+3.4± 1.7
Appendix
Table 17: PatchTST ( P=1 ) with the mean adapter, per-task Layer-1 delta (9-run mean ± std). Avg: mean of the three tasks; Mean: mean of the 8 datasets. The FFN delta is small on every dataset except ETTh2, while the attention delta (mean +10.9 pp) is positive for every task on every dataset but Exchange.
P=16
P=1
Dataset
L1 FFN Δ
Σ FFN Δ
Σ Attn Δ
L1 FFN Δ
Σ FFN Δ
Max deeper FFN
ETTm1
+26.1
+25.8
+17.0
+2.2
+1.4
−0.2
ETTm2
+43.0
+43.8
+21.9
+2.7
+2.2
−0.2
ETTh1
+3.8
+5.2
+17.5
−0.9
−3.0
−0.4
ETTh2
+11.1
+12.4
+14.9
+7.7
+7.9
+0.2
Weather
+21.5
+22.8
+25.6
+1.0
−0.9
−0.7
Appendix
Table 18: Constructed-task deltas summed over the three encoder layers for PatchTST at P=16 and P=1 (deltas computed from the rounded 9-run means at each probing point). L1: Layer 1; Σ : sum over the three layers; “Max deeper FFN” is the larger of the Layer-2 and Layer-3 FFN deltas.
Dataset
embed
1a_attn
1b_ffn
2a_attn
2b_ffn
3a_attn
3b_ffn
ETTm1
25.3± 0.2
25.3± 0.1
25.3± 0.1
25.3± 0.1
25.3± 0.1
25.3± 0.1
25.2± 0.0
ETTm2
25.4± 0.1
25.3± 0.1
25.4± 0.2
25.6± 0.2
25.5± 0.2
25.4± 0.2
25.4± 0.2
ETTh1
25.4± 0.2
25.4± 0.2
25.4± 0.1
25.4± 0.2
25.4± 0.1
25.4± 0.2
25.5± 0.1
ETTh2
25.2± 0.2
25.1± 0.2
25.2± 0.2
25.2± 0.2
25.2± 0.2
25.2± 0.2
25.3± 0.3
Weather
25.3± 0.1
25.3± 0.2
25.3± 0.1
25.3± 0.2
25.3± 0.1
25.4± 0.1
25.3± 0.1
Electricity
25.3± 0.1
25.3± 0.2
25.4± 0.1
25.3± 0.2
25.3± 0.2
25.3± 0.2
25.3± 0.2
Appendix
Table 19: Random-label control on PatchTST (top; 9-run mean ± std per cell) and on each model of Figure 3 and Table 3 (bottom). Each row of the bottom block gives the mean ± std and the range of the model’s 9-run cell means over the 8 datasets and its probing points (Layer 1 only for NoAttn from scratch). Labels have 4 classes drawn independently for each token (chance 25.0% ); this control marks the chance floor used in Appendix F .
Dataset
Attn Δ
FFN Δ
ETTm1
+1.62
+2.66
ETTh1
+1.44
+1.75
Weather
+0.37
+1.50
Electricity
−0.04
−0.02
Mean
+0.85
+1.47
Appendix
Table 20: Informer Layer-1 deltas (constructed task average, 9-run mean, mean-adapter probe) across 4 datasets. Both components are flat, but Informer tokens are not single scalars, so this is a confounded auxiliary result (see text).
Model
Task
Attn Δ
FFN Δ
PatchTST
adjacent_similarity
+5.7
+12.5
relative_magnitude
+0.0
−0.3
position_quarter
−0.9
−3.4
trend_consistency
+0.7
+2.9
iTransformer
adjacent_similarity
+2.2
+1.2
relative_magnitude
+5.0
+3.5
Appendix
Table 21: Inter-token task Layer-1 deltas across architectures (9-run means averaged over the 8 datasets; PatchTST-NoAttn is the ablated model). For CATS, the Attn column gives the accuracy after cross-attention (abs), as in Table 14 (see note below).
Seasonal conc.
Multi-scale ratio
Long-range cons.
Control
Dataset
Attn Δ
FFN Δ
Attn Δ
FFN Δ
Attn Δ
FFN Δ
Attn Δ
FFN Δ
ETTm1
+3.5± 0.3
+19.3± 0.5
+4.8± 0.9
+15.3± 0.9
+2.1± 0.2
+7.6± 0.4
+0.0± 0.3
+0.0± 0.3
ETTm2
+10.2± 0.6
+13.3± 0.8
+14.5± 0.4
+15.7± 1.8
+3.0± 0.3
+8.7± 0.4
−0.2± 0.3
+0.1± 0.3
ETTh1
−0.2± 0.4
+1.3± 1.2
+1.3± 0.5
+2.9± 1.4
+0.0± 0.4
+0.3± 0.6
−0.1± 0.1
+0.0± 0.1
ETTh2
−0.6± 1.1
+5.9± 1.2
−0.4± 0.8
+4.3± 1.2
+0.0± 0.4
+0.0± 0.4
+0.0± 0.3
+0.0± 0.3
Weather
+10.0± 0.8
+7.4± 1.1
+12.5± 0.7
+8.1± 1.1
+5.8± 0.8
+16.4± 0.8
+0.0± 0.2
+0.0± 0.3
Appendix
Table 22: Layer-1 deltas for the additional probing targets on PatchTST (9-run mean ± std). The control is a binary random label on the long-range subset.
ETTh1
ETTm1
Weather
Electricity
P (stride)
Attn Δ
FFN Δ
Attn Δ
FFN Δ
Attn Δ
FFN Δ
Attn Δ
FFN Δ
1 (1)
+12.0± 2.5
−0.9± 2.7
+11.9± 2.2
+2.2± 3.4
+15.5± 0.9
+1.0± 0.9
+12.8± 1.1
+3.4± 1.7
2 (1)
−2.1± 0.8
+23.3± 3.3
+10.4± 0.7
+31.4± 4.2
+13.9± 2.4
+13.0± 3.2
+5.9± 4.7
+30.1± 4.8
4 (2)
+0.8± 0.8
+20.3± 2.9
+14.2± 1.6
+31.5± 4.3
+14.5± 1.2
+17.2± 1.6
+7.4± 0.8
+30.7± 2.9
8 (4)
+1.0± 0.7
+16.2± 2.6
+16.2± 1.5
+27.3± 3.1
+18.5± 1.0
+16.1± 1.5
+8.4± 0.6
+35.7± 1.1
16 (8)
+0.0± 0.4
+3.8± 1.8
+13.5± 1.6
+26.1± 1.7
+16.7± 0.7
+21.5± 1.8
+11.3± 0.5
+23.7± 0.8
Appendix
Table 23: PatchTST Layer-1 constructed-task deltas by patch length (9-run mean ± std). P=1 and P=16 (stride 8) are the main checkpoints; P∈{2,4,8,32} (stride P/2 ) and the non-overlapping P=16 (stride 16) are separately trained PatchTST checkpoints (§ 4 ). For P≥2 the tasks are computed on each token’s own P points, so rows probe statistics of different lengths (at P=2 , volatility and diff_energy are both quartiles of ∣x2−x1∣ and share their labels); at P=1 the tasks describe 16-point segments read through the mean adapter. We report deltas rather than FFN/attention ratios because Attn Δ crosses zero on ETTh1; on ETTm1 the ratio is 0.18× at P=1 and 1.6 to 3.0× for P≥2 , on Electricity 0.27× and 2.0 to 5.1× , and on Weather 0.07× and 0.9 to 1.9× .
Dataset
pred_len
Attn Δ
FFN Δ
Ratio
ETTm1
96
+13.5
+26.1
1.9 ×
ETTm1
192
+15.7
+24.5
1.6 ×
ETTm1
336
+13.9
+25.6
1.8 ×
ETTm1
720
+13.3
+26.9
2.0 ×
ETTh1
96
+0.0
+3.8
—
ETTh1
192
−0.1
+4.1
—
Appendix
Table 24: Cross-horizon check of FFN dominance: constructed-task deltas for PatchTST at 4 forecasting horizons (9-run mean). FFN Δ≥ Attn Δ holds at every horizon. Values for pred_len=96 are from Table 2 .
Dataset
Q1
Q2
Q3
zero%
Status
ETTm1
0.064
0.198
0.399
0.3%
✓normal
ETTm2
0.092
0.348
0.668
12.9%
✓normal
ETTh1
0.327
0.646
1.041
1.3%
✓normal
ETTh2
0.244
0.582
0.951
11.4%
✓normal
Weather
0.003
0.020
0.109
14.7%
✓normal
Electricity
0.483
0.810
1.099
0.4%
✓normal
Appendix
Table 25: Volatility quartile boundaries Q1 to Q3: quartiles of the variances of the 210,000 RevIN-normalized 16-point patches in each dataset’s PatchTST probe sample (Appendix A ), that is, the class boundaries of the volatility labels. zero%: share of these patches with variance below 10−6 . Status: collapsed if two adjacent boundaries coincide, and normal otherwise.
Dataset
#Variables
Mean correlation
> 0.5 ratio
Status
ETTm1
7
0.062
9.5%
✓low
ETTm2
7
0.241
19.0%
✓low
ETTh1
7
0.113
14.3%
✓low
ETTh2
7
0.276
28.6%
✓low
Weather
21
0.033
22.4%
✓low
Electricity
321
0.491
55.6%
△ moderate
Appendix
Table 26: Inter-channel Pearson correlation in the same probe samples, computed within each input window between the concatenated patches of two variates and averaged over the sample’s first 20 windows (fewer for Electricity and Traffic) and over all pairs of variates. > 0.5 ratio: share of pairs whose window-averaged correlation exceeds 0.5. Status describes the mean correlation: low below 0.3 , moderate from 0.3 to 0.5 , high from 0.5 to 0.8 , and redundant above 0.8 .
Metric
8 datasets (main)
8 datasets + Solar
Diff
PatchTST Attn Δ
+6.4
+6.5
+0.1
PatchTST FFN Δ
+20.4
+18.6
−1.8
iTransformer Attn Δ
+13.8
+14.2
+0.4
iTransformer FFN Δ
+5.5
+5.7
+0.2
CATS cross-attn accuracy
44.2
47.4
+3.2
CATS FFN Δ
+2.5
+2.6
+0.1
Appendix
Table 27: Effect of adding Solar to the main 8 datasets: Layer-1 deltas and, for CATS cross-attention, absolute accuracy (constructed task average, 9-run mean).
Task
embed
1a_attn
1b_ffn
2a_attn
2b_ffn
3a_attn
3b_ffn
Innate and degenerate (classification)
trend_direction
99.4± 0.0
99.4± 0.0
99.2± 0.0
98.9± 0.1
98.7± 0.0
98.3± 0.1
97.9± 0.2
dominant_period
99.4± 0.0
99.4± 0.0
99.6± 0.0
99.6± 0.0
99.6± 0.0
99.5± 0.0
99.5± 0.0
Constructed (classification)
volatility q4
86.1± 0.1
92.8± 0.5
97.0± 0.2
96.9± 0.2
96.6± 0.1
96.1± 0.2
95.6± 0.3
diff_energy q4
83.7± 0.1
89.9± 0.4
95.5± 0.4
95.4± 0.2
95.2± 0.3
94.7± 0.1
94.2± 0.1
Appendix
Table 28: PatchTST full layer probing results on Solar (9-run mean ± std). The constructed-task group (volatility, diff_energy, spectral_entropy) starts above 80% at the embedding layer due to Solar’s quartile collapse, leaving little room for FFN-driven gains and undermining the constructed/innate dichotomy used in our main analysis. This is the data quality issue that motivates Solar’s exclusion (Appendix C.1 ).
Task
Total DWConv Δ
Total ConvFFN1 Δ
Total ConvFFN2 Δ
Total ConvFFN Δ
volatility
−3.1
+11.7
+4.1
+15.8
diff_energy
+2.2
+23.9
+2.3
+26.2
spectral_entropy
−0.1
+15.8
+5.9
+21.7
Constructed avg
−0.3
+17.1
+4.1
+21.2
Appendix
Table 29: ModernTCN per-component cumulative deltas across all three layers. ConvFFN1 contributes most of the nonlinear feature construction; ConvFFN2 contributes additionally; DWConv shows sign reversal across layers (positive at Layer 1, negative at Layers 2 and 3) with net cancellation when summed.
Layer
Task
1k
5k
10k
20k
30k
50k
80k
embed
volatility
38.6
38.7
38.7
38.7
38.7
38.7
38.7
1a_attn
volatility
43.9
46.8
47.9
48.7
49.2
49.7
50.2
1b_ffn
volatility
70.2
79.7
81.6
83.0
83.8
84.6
85.4
embed
diff_energy
41.4
41.5
41.5
41.5
41.5
41.5
41.5
1a_attn
diff_energy
49.6
52.8
54.1
55.1
55.7
56.5
57.1
1b_ffn
diff_energy
54.6
61.2
63.5
65.3
66.2
67.2
68.0
Appendix
Table 30: Probing accuracy by gradient steps on ETTm1 (top) and the FFN delta minus the attention delta on three more datasets (bottom; positive: the FFN leads), for PatchTST with the three model seeds of the main analysis (9-run means). The probes were retrained for this table, and their random draws differ from those behind Table 11 , so the ETTm1 30k column differs from it by up to 0.6 pp at embed and 0.1 pp after attention and the FFN. The component that leads on each task is the same at every step count on ETTm1, and from 5k on elsewhere.
ETTm1
ETTh1
Weather
Electricity
Task
Probe
embed
FFN Δ
embed
FFN Δ
embed
FFN Δ
embed
FFN Δ
volatility
Linear
38.9
+34.5
37.6
+2.9
33.6
+24.0
41.6
+30.5
MLP
99.0
−0.2
95.5
−0.4
99.1
−0.3
97.5
+0.2
diff_energy
Linear
42.1
+10.6
38.7
+3.1
33.8
+14.8
38.4
+26.4
MLP
98.6
−0.2
92.9
−1.4
97.5
−0.8
96.4
+0.5
spectral_entropy
Linear
30.2
+33.2
35.8
+5.4
36.2
+25.8
41.6
+14.3
Appendix
Table 31: Linear vs. MLP probe comparison on PatchTST across 4 datasets and four tasks (9-run mean). MLP probes saturate at the embed layer for constructed tasks; linear probes gain at the FFN instead. Linear probes measure what is linearly decodable, the format a linear head reads, while MLP probes measure information present in some form.
Task
embed
1a_attn
1b_ffn
Total Δ
Cohen’s dz
p
Constructed
volatility q4
+13.1
+19.2
+43.4
+30.3
+1.58
0.0014
diff_energy q4
+12.4
+20.0
+36.7
+24.3
+1.69
0.0010
spectral_entropy q4
+11.2
+16.6
+36.7
+25.5
+1.65
0.0011
Constructed avg
+12.2
+18.6
+38.9
+26.7
+1.67
<10−6
Innate and degenerate
Appendix
Table 32: PatchTST Layer-1 selectivity (8-dataset mean; 9-run probing). Columns: selectivity at embedding, post-attention, and post-FFN; total Layer-1 delta; Cohen’s dz and one-sided p (for an increase) of a paired t -test on embed→1b_ffn over the 9-run means of the 8 datasets (task rows) or of the 24 dataset-task pairs (Constructed avg row). Constructed and boundary tasks show very large selectivity gains, mainly at the FFN, while the other tasks change by at most 1.2 pp.
Architecture
First sub-layer
Δa (sel)
Δb (sel)
Δa (raw)
Δb (raw)
PatchTST
attn
+6.4
+20.3
+6.4
+20.4
PatchTST-NoAttn
attn (ablated)
−0.1
+27.5
−0.1
+27.4
iTransformer
attn
+13.8
+5.5
+13.8
+5.5
CATS †
cross
−9.9†
+2.5
−9.9
+2.5
Appendix
Table 33: Cross-architecture Layer-1 selectivity vs. raw accuracy (constructed task average; 8-dataset mean). The dominant sub-layer ( bold in each row but CATS) and its sign are reproduced under selectivity. For PatchTST-NoAttn, Δa is near zero because the attention sub-layer is ablated.
Q-side layer
Selectivity
Sub-layer Δ
1a_cross
+18.85
— (start; cross-attention output)
1b_ffn
+21.39
+2.54
2a_cross
+21.97
+0.58
2b_ffn
+22.65
+0.68
3a_cross
+22.69
+0.04
3b_ffn
+22.88
+0.19
Appendix
Table 34: CATS within-Q selectivity trajectory (constructed task average, 8-dataset mean). Most of the Q-side selectivity is already present at the first cross-attention output.
Dataset
Damage
L1_attn
L1_ffn
Δ (FFN − attn)
Cohen’s dz
ETTm1
1.129
+0.229
+0.473
+0.243
+2.10
ETTm2
0.100
+0.022
+0.042
+0.021
+1.64
ETTh1
0.637
+0.007
+0.202
+0.194
+3.09
ETTh2
0.089
+0.000
+0.038
+0.037
+1.07
Weather
0.112
+0.036
+0.030
−0.006
−0.85
Electricity
0.691
+0.058
+0.085
+0.027
+1.35
Appendix
Table 35: Layer-1 activation patching effects on PatchTST (MSE recovered; mean over 300 paired samples per cell, 3 seeds × 100). Damage: MSE of the corrupt run minus that of the clean run, averaged over the same 300 samples. Bold marks the larger component within each dataset. Cohen’s dz is the effect size of the FFN-minus-attention difference over the 300 pairs; the paired t -test on the 100 seed-averaged windows gives p<10−16 on every dataset.
Component
ETTm1
ETTm2
ETTh1
ETTh2
Weather
Electricity
Exchange
Traffic
L1_attn
+0.229
+0.022
+0.007
+0.000
+0.036
+0.058
+0.005
+0.108
L1_ffn
+0.473
+0.042
+0.202
+0.038
+0.030
+0.085
+0.075
+0.262
L2_attn
+0.177
+0.028
+0.019
+0.002
+0.039
+0.040
+0.016
+0.122
L2_ffn
+0.409
+0.037
+0.197
+0.041
+0.040
+0.039
+0.079
+0.180
L3_attn
+0.187
+0.029
+0.035
+0.006
+0.044
+0.049
+0.036
+0.167
L3_ffn
+0.356
+0.037
+0.147
+0.036
+0.053
−0.020
+0.075
+0.035
Appendix
Table 36: Per-layer patching effects on PatchTST across all encoder layers (MSE recovered; mean across 300 paired comparisons). Bold marks the per-layer dominant component (largest positive effect).
P=16
P=1
Dataset
L1_attn
L1_ffn
L1_attn
L1_ffn
dz
ETTh1
+0.007
+0.202
+0.065
+0.269
+2.68
ETTm1
+0.229
+0.473
+0.267
+0.443
+2.08
Appendix
Table 37: Layer-1 activation patching at P=16 and P=1 (MSE recovered; mean over 300 paired samples, 3 seeds × 100). dz is the paired effect size of FFN minus attention at P=1 ( p<10−45 on both datasets for the 100 seed-averaged windows).
Corruption
Dataset
L1_attn
L1_ffn
dz
Temporal
ETTh1
+0.073
+0.408
+1.74
Temporal
Electricity
+0.045
+0.133
+0.77
Cross-variate
ETTh1
+0.039
+0.401
+2.77
Cross-variate
Electricity
+0.011
+0.090
+2.97
Cross-variate
Traffic
+0.011
+0.096
+1.29
Appendix
Table 38: iTransformer Layer-1 activation patching (MSE recovered; mean over 300 paired samples, 3 seeds × 100). dz is the paired effect size of FFN minus attention ( p<10−18 in every row for the 100 seed-averaged windows).
Dataset
PatchTST
Ablated
Change (%)
From scratch
Change (%)
ETTm1
0.289± 0.002
0.340± 0.007
+17.6± 1.7
0.295± 0.001
+2.0
ETTm2
0.164± 0.001
0.183± 0.001
+11.4± 0.8
0.165± 0.001
+0.6
ETTh1
0.375± 0.001
0.381± 0.001
+1.6± 0.2
0.377± 0.001
+0.4
ETTh2
0.275± 0.000
0.276± 0.001
+0.3± 0.5
0.276± 0.000
+0.5
Weather
0.151± 0.000
0.204± 0.002
+34.8± 1.4
0.157± 0.000
+4.3
Electricity
0.130± 0.001
0.160± 0.004
+22.5± 4.0
0.135± 0.000
+3.1
Appendix
Table 39: Forecasting MSE without attention across 8 datasets (3 seeds per dataset; mean ± sample std). Ablated: the trained checkpoint with the attention output set to zero; its change is computed per seed before averaging. From scratch: PatchTST-NoAttn trained with the attention output fixed to zero; its change is computed on the 3-seed means because its runs are not paired with PatchTST seeds.
PatchTST
iTransformer
CATS
Dataset
Attn
FFN
Attn
FFN
Attn
FFN
ETTm1
+17.6± 1.7
+53.1± 8.5
+6.4± 1.5
+11.2± 2.2
+122.6± 4.2
+8.3± 0.5
ETTm2
+11.4± 0.8
+22.8± 2.0
+7.5± 1.2
+1.8± 0.3
+29.1± 1.2
+1.0± 0.5
ETTh1
+1.6± 0.2
+19.5± 2.0
+4.9± 1.1
+8.2± 0.7
+85.2± 0.9
+2.6± 0.3
ETTh2
+0.3± 0.5
+12.4± 0.2
+1.6± 0.5
+3.2± 0.1
+19.5± 0.2
+5.2± 0.6
Weather
+34.8± 1.4
+36.9± 1.7
+28.8± 3.0
+13.6± 0.6
+31.4± 0.5
+7.9± 1.6
Appendix
Table 40: Component knockout: MSE increase (%) when the attention or FFN output is zeroed in all layers of a frozen model (mean ± sample std over 3 seeds). For CATS, “Attn” is cross-attention. Ratio: mean attention cost over the 8 datasets divided by the mean FFN cost.
ETTh1
ETTm1
Weather
Exchange
P
Attn
FFN
Attn
FFN
Attn
FFN
Attn
FFN
1
+5.8± 1.0
+41.4± 0.8
+28.4± 8.2
+48.4± 9.1
+5.6± 8.4
+34.5± 4.8
+19.2± 11.2
+65.8± 1.9
16
+1.6± 0.2
+19.5± 2.0
+17.6± 1.7
+53.1± 8.5
+34.8± 1.4
+36.9± 1.7
+11.4± 4.6
+106.1± 5.6
Appendix
Table 41: PatchTST component knockout at P=1 and P=16 (MSE increase %, mean ± sample std over 3 seeds; the P=16 row repeats Table 40 ). Weather at P=1 comes from a separate run with another test batch size, which changes how many windows at the end of the test split are kept; on ETTh1 and ETTm1, that run also gives +5.1 / +39.8 and +28.2 / +48.3 (Attn/FFN), close to the P=1 row.
Dataset ( dmodel )
Task
Removed (%)
Probe (%)
Energy (%)
Cost difference
ETTm1 (128)
volatility
94
80.6→35.9
52.8 / 32.0
+0.05± 0.07
ETTm1 (128)
diff_energy
80
62.7→36.5
54.8 / 16.4
+0.24± 0.16
ETTm1 (128)
spectral_entropy
33
76.9→30.3
2.2 / 0.6
+0.22± 0.26
Weather (128)
volatility
66
68.3→31.3
12.4 / 3.1
+0.04± 0.09
Weather (128)
diff_energy
55
62.7→31.7
7.9 / 2.2
−0.11± 0.17
Weather (128)
spectral_entropy
93
66.4→33.9
75.6 / 41.4
+0.06± 0.09
Appendix
Table 42: Feature-level erasure in frozen PatchTST ( P=16 ) at the Layer-1 output 1b_ffn (mean over 3 model seeds; ± : sample std of the cost difference). Removed: share of dimensions removed by INLP. Probe: in-sample accuracy (chance 25%) of a 4-class linear probe on the 200 fitting windows, trained for 1,500 steps before and 800 steps after erasure; not comparable to the main-text probing accuracies. Energy: share of representation energy removed by erasure and by the random-label control. Cost difference: MSE increase divided by the removed energy share, erasure minus control.
Transformer-based models have shown strong performance in time-series forecasting by leveraging self-attention to model long-range temporal dependencies. However, their effectiveness depends critically on the quality and structure of input representations derived from raw multivariate time-series data, particularly as sequence length and data scale increase. This paper proposes a two-stage forecasting framework that explicitly separates local temporal representation learning from global dependency modelling. In the proposed approach, a convolutional neural network operates on fixed-length temporal patches to extract short-range temporal dynamics and non-linear feature interactions, producing compact patch-level token embeddings. Token-level self-attention is applied during representation learning to refine these embeddings, after which a Transformer encoder models inter-patch temporal dependencies to generate forecasts. The method is evaluated on a synthetic multivariate time-series dataset with controlled static and dynamic factors, using an extended sequence length and a larger number of samples. Experimental results demonstrate that the proposed framework consistently outperforms a convolutional baseline under increased temporal context and remains competitive with a strong patch-based Transformer model. These findings indicate that structured patch-level tokenization provides a scalable and effective representation for multivariate time-series forecasting, particularly when longer input sequences are considered.
Transformer-based time series foundation models face a fundamental trade-off in choice of tokenization: point-wise embeddings preserve temporal fidelity but scale poorly with sequence length, whereas fixed-length patching improves efficiency by imposing uniform boundaries that may disrupt natural transitions and blur informative local dynamics. In order to address these limitations, we introduce TimeSqueeze, a dynamic patching mechanism that adaptively selects patch boundaries within each sequence based on local signal complexity. TimeSqueeze first applies a lightweight state-space encoder to extract full-resolution point-wise features, then performs content-aware segmentation by allocating short patches to information-dense regions and long patches to smooth or redundant segments. This variable-resolution compression preserves critical temporal structure while substantially reducing the token sequence presented to the Transformer backbone. Specifically for large-scale pretraining, TimeSqueeze attains up to 20x faster convergence and 8x higher data efficiency compared to equivalent point-token baselines. Experiments across long-horizon forecasting benchmarks show that TimeSqueeze consistently outperforms comparable architectures that use either point-wise tokenization or fixed-size patching.
Sravan Kumar Ankireddy, Nikita Seleznev, Nam H. Nguyen +4
University of Texas at Austin, Austin, TX, USA · Capital One, USA · University of Maryland, College Park, MD, USA
Transformer architectures have been widely adopted for time series forecasting, yet whether the representational mechanisms that make them powerful in NLP actually engage on time series data remains unexplored. The persistent competitiveness of simple linear models such as DLinear has fueled ongoing debate, but no mechanistic explanation for this phenomenon has been offered. We address this gap by applying sparse autoencoders (SAEs), a tool from mechanistic interpretability, to probe the internal representations of PatchTST. We first establish that a single-layer, narrow-dimensional transformer matches the forecasting performance of deeper configurations across commonly used benchmarks. We then train SAEs on the post-GELU intermediate FFN activations with dictionary sizes ranging from 0.5x to 4.0x the native dimensionality. Expanding the dictionary yields negligible downstream performance change (average 0.214%), with large portions of overcomplete dictionaries remaining inactive. Targeted causal interventions on dominant latent features produce minimal forecast perturbation. Across all evaluated settings, we observe no empirical evidence that the analyzed FFN representations rely on strong superposition. Instead, the representations remain sparse, stable under aggressive dictionary expansion, and largely insensitive to latent interventions. These results demonstrate that superposition is not necessary for competitive performance on standard forecasting benchmarks, suggesting they may not demand the rich compositional representations that drive transformer success in language modeling, and helping explain the persistent competitiveness of simple linear models