Manuscript Offprint
arXiv:2610.17864TStruct: Learning Shared Temporal Structures for Long-Term Time-Series Forecasting
Abstract
Long-term time series forecasting requires temporal dependency modeling that remains stable and generalizable under temporal distribution shifts. However, real-world time series are often noisy and non-stationary, making deep learning models prone to fitting incidental temporal interactions in the training data. A key question is whether there exist temporal relationship structures that recur across different temporal positions and variables. We analyze temporal relationship matrices on commonly used time series datasets and find that samples from different temporal positions and different variables exhibit shared dominant temporal relationship structures. This indicates that temporal relationship structures contain patterns that recur stably across samples and variables. To learn such shared structures, we propose Temporal Structure Network (TStruct), a simple yet effective network for directly learning shared and generalizable temporal dependencies. Specifically, TStruct directly parameterizes a set of shared temporal dependency matrices and generates normalized combination weights using dynamic sample information and static variable priors. These weights represent a soft allocation of each sample-variable pair over shared temporal dependency structures, enabling the model to generate adaptive temporal dependency matrices under shared structural constraints, rather than fitting incidental interactions in a fully unconstrained manner. Notably, this simple structure-aware design consistently outperforms several strong baselines across all datasets, achieving superior accuracy while maintaining high computational efficiency. Our code is available at https://github.com/yangzeli/TStruct/.
1 Introduction
Long-term time series forecasting (LTSF) has widespread applications in real-world scenarios such as energy scheduling, traffic management, weather forecasting, and financial risk control [46, 39, 44, 28]. The goal of LTSF is to accurately model future dynamics over a long prediction horizon. The challenge lies not only in fitting historical observations but also in learning temporal dependency structures that remain effective across future time distributions. However, real-world time series data often have low signal-to-noise ratios (SNR), non-stationarity, and temporal distribution shifts, and local fluctuations or incidental interactions in the training data may not generalize well for future predictions [8, 7, 38, 37]. Therefore, a central question in LTSF is: how can we identify and model temporal dependency structures that remain stable across shifting temporal distributions?
✉ Yang Wang and Zhengyang Zhou are corresponding authors.
Preprint.

(a) Patch-level Temporal Relationship Matrix
(b) Shared Structures Across Samples
(c) Shared Structures Across Variables
(d) Spectral Concentration with Null Controls
Figure 1: Patch-level temporal relationship structures. (a) Construction of patch-level relationship matrices and qualitative comparison between attention-based and TStruct-based temporal dependency modeling. (b,c) Concentrated singular value spectra across samples and variables. (d) Higher spectral concentration in real data than in patch-shuffled and IID Gaussian controls supports reusable temporal structures.
In recent years, deep learning methods have driven significant progress in long-term time series forecasting [46, 39, 47, 44, 28, 45, 11, 10, 17, 1, 18, 33, 24, 12, 27, 14, 26]. One category of methods implicitly models temporal dependencies through model architectures. For example, recurrent models pass historical information via hidden states [22, 2], convolutional and TCN models use shared kernels to extract local or multi-scale temporal patterns [23, 35, 6], Transformer-based models estimate pairwise interactions between time tokens explicitly using attention mechanisms [28, 45, 4, 29], while Linear/MLP methods achieve efficient prediction by mixing time or feature dimensions [44, 43, 36, 20, 13]. Despite their strengths in expressive power and efficiency, these methods still face a trade-off between adaptive temporal dependency modeling and forecasting generalization. Highly flexible interaction mechanisms may fit incidental relationships in low-SNR data, while overly fixed transformations struggle to capture heterogeneous temporal dependencies across different samples and variables [18, 17, 37]. A recent line of work directly parameterizes stable temporal patterns, most notably periodicity, through global temporal priors, suggesting that certain temporal structures need not be entirely learned implicitly by generic neural architectures [19, 21, 42, 25, 3]. However, such explicit parameterization has mainly focused on periodic or time-indexed patterns in the input sequence, leaving open whether temporal dependency structures themselves also contain shared and explicitly learnable patterns.
To investigate whether temporal dependencies contain shared structures, we analyze patch-level temporal relationship matrices across commonly used time series datasets. As shown in Figure 1(a), for each sample-variable sequence, we divide the input window into temporal patches and construct a matrix that captures the relationships between relative patch positions. This representation shifts the analysis from raw value fluctuations to relationship patterns among relative patch positions, allowing us to examine whether these patterns recur across samples and variables. We then collect these matrices separately across samples from different temporal positions and across variables for spectral analysis. Figure 1(b,c) shows clear spectral concentration in both settings. This consistent spectral concentration indicates the presence of shared dominant temporal relationship patterns across samples and variables. Figure 1(d) further examines these patterns using patch-shuffled and IID Gaussian controls under the same analysis pipeline. Independent patch shuffling preserves each matrix's relationship values and spectrum while disrupting the alignment of relative patch positions across samples and variables. The resulting decrease in spectral concentration indicates that shared relationship patterns recur at corresponding relative temporal positions. Compared with IID Gaussian inputs, real data also exhibit stronger concentration, indicating shared regularities beyond the random-input reference. Further details are provided in Appendix A.
These observations motivate learning reusable temporal structures and adapting their contributions to each sample and variable. We therefore propose the Temporal Structure Network (TStruct). Specifically, TStruct directly parameterizes a set of shared temporal dependency matrices and uses dynamic sample information and static variable priors to generate normalized combination weights. These weights serve as a soft allocation of each sample-variable pair over the shared dependency structures, combining the shared matrices into a sample- and variable-specific temporal dependency matrix. In this way, TStruct models heterogeneous temporal dependencies under the constraint of shared structures, balancing generalizable structure and adaptive flexibility. In addition, we introduce the Parameter-efficient Channel Adaptation Head (PCAHead), which utilizes a shared low-rank weight generation mechanism to dynamically produce specific prediction heads for each variable.
The contributions of this paper are summarized as follows:
• We reveal that patch-level temporal relationship matrices in real world time series contain dominant structures shared across samples from different temporal positions and across variables.
• We propose TStruct, a concise and effective shared-adaptive temporal dependency modeling method that learns shared temporal dependency matrices and uses dynamic sample information and static variable priors to construct sample- and variable-specific dependencies.
• We conduct extensive experiments to validate the effectiveness of TStruct. The results demonstrate that this simple design consistently outperforms several strong baselines on standard long-term forecasting benchmarks and remains effective under diverse generalization and robustness evaluations, while also exhibiting high computational efficiency.
2.1 Temporal Dependency Modeling for Time Series Forecasting
Temporal dependency modeling aims to characterize how information interacts across different temporal positions, and is a central problem in long-term time series forecasting. In recent years, Transformer-based and Linear/MLP-based methods have received increasing attention due to their strong performance in long-range dependency modeling and efficient forecasting. Transformer-based methods, such as Informer, Autoformer, PatchTST, Crossformer, and Pathformer [46, 39, 28, 45, 4], usually use attention mechanisms to dynamically estimate pairwise interactions among temporal tokens or patches for each input, thereby modeling long-range temporal dependencies. Their highly flexible input-dependent interactions provide strong adaptivity, but may also capture sample-specific incidental relations in low-SNR time series. Linear/MLP-based methods, such as DLinear, TSMixer, FiTS, SparseTSF, and TimeBase [44, 5, 43, 20, 13], achieve simple and efficient forecasting through shared temporal or feature-wise mixing. These methods demonstrate the strong competitiveness of fixed shared transformations in LTSF, but their adaptability to heterogeneous temporal dependencies remains limited. In contrast, TStruct neither relies on a single fixed mixing rule nor freely estimates interactions for each input. Instead, it generates normalized information aggregation weights through shared temporal dependency structures and sample-variable-conditioned weights, enabling adaptive temporal dependency modeling under shared structural constraints.
2.2 Explicit Temporal Structure Parameterization
Recent studies attempt to explicitly parameterize stable structures in time series, rather than relying entirely on generic neural networks to learn them implicitly from data. CycleNet, TQNet, TimeEmb, MOFO, and GTR [19, 21, 42, 25, 3] mostly model recurring periodic patterns in data through global learnable periodic representations. These studies suggest that directly parameterizing reusable temporal structures can help improve the generalization ability of time series forecasting. However, existing methods mainly focus on periodic patterns in the input sequence or temporal representations. Temporal dependency structures can contain periodicity, but are not equivalent to periodicity itself; they may also characterize more general relationships among relative temporal positions and patch-level interaction patterns [9, 28, 40]. Unlike these methods, TStruct shifts the explicit parameterization target from input-level periodic patterns to temporal dependency structures themselves.
3 Methodology
Problem Definition. The problem of LTSF can be formulated as follows. Let denote the sequence of historical observations, where represents the lookback window length and denotes the number of variables. At each time step , the observation vector is defined as , where represents the value of the -th variable. Our objective is to learn a mapping function parameterized by to predict the future values for the next time steps, denoted as . In this work, we focus on how to learn temporal dependency structures within that remain stable and generalizable across different samples and variables.
3.1 Overview
As shown in Figure 2, TStruct contains three components. Following RevIN [15], TStruct applies instance-wise normalization before encoding and restores the original scale after prediction. Patch Embedding first converts each univariate sequence into patch-level representations, enabling local pattern extraction and reducing the length of temporal modeling [28, 41]. The Temporal Structure Encoder (TSEncoder) then learns shared temporal dependency structures and adaptively combines them using dynamic sample information and static variable priors. The resulting dependency scores are normalized into patch-level aggregation weights, allowing the model to capture sample- and variable-specific temporal dependencies under shared structural constraints. Finally, PCAHead provides a parameter-efficient prediction head that accounts for variable heterogeneity by generating variable-aware forecasting projections.

(a) Temporal Structure Mixer
Figure 2: Overall architecture of TStruct. (a) The Temporal Structure Mixer (TSM) generates sample-and variable-specific temporal dependencies by adaptively combining shared temporal dependency structures with dynamic sample information and static variable priors. (b) The PCAHead handles variable heterogeneity by generating variable-aware prediction weights in a parameter-efficient manner.
3.2 Patch Embedding
Patch-based representation has been widely used to capture local temporal patterns and reduce the effective sequence length [28]. Given the input sequence of the -th variable , we first segment it into non-overlapping patches , where is the patch length and is the number of patches. For simplicity, we assume that is divisible by . Subsequently, a learnable linear projection , shared across all variables, maps these patches into a -dimensional latent representation:
(1) where denotes the patch-level representation of the -th variable. This representation provides the basis for TSEncoder to model temporal dependencies among relative patch positions.
3.3 Temporal Structure Encoder
The TSEncoder is designed to model patch-level temporal dependencies in a shared yet adaptive manner. Given the patch-level representation , where , and denote the batch size, number of variables, number of patches, and hidden dimension, respectively, TSEncoder learns temporal dependencies among the relative patch positions. We first parameterize a set of globally shared temporal dependency structures:
where K is the number of shared temporal structures. Each represents a learnable patch-level dependency score pattern.
We initialize the vectorized structure matrices orthogonally, providing distinct initial directions with unit Frobenius norm. This controls the initial scale of the dependency scores before softmax normalization. The importance of initialization is also consistent with findings on learning dynamics in deep linear networks [32]. A detailed initialization study is provided in Appendix C.2.
These shared structures are then combined using sample-variable-specific weights. Specifically, we introduce a learnable static variable prior , which captures variable-specific temporal preferences. A complementary dynamic query is generated by averaging each sample-variable representation along the patch dimension and passing the result through a lightweight router:
where . The static and dynamic queries are then fused to obtain normalized combination coefficients:
where and the softmax is applied over the shared structures. The coefficients are nonnegative and sum to one, so the resulting dependency score matrix is a convex combination of the shared bases.
For each sample-variable pair, we compose a temporal dependency score matrix from the shared structures:
The composed scores are converted into normalized temporal aggregation weights:
Each row of assigns nonnegative weights summing to one to the source patches. Temporal aggregation therefore forms weighted averages of projected historical features, constraining the operator to select and combine information without arbitrary signed amplification.
Finally, the normalized temporal dependency matrix is used to aggregate patch-level features:
where is a learnable feature projection. The aggregated representation is further processed by a feed-forward network with residual connections:
Together, the shared bases and normalized aggregation weights restrict temporal mixing to a common family of dependency patterns learned across samples and variables. This provides an inductive bias toward stable, reusable temporal structures, while allowing their contributions to be adjusted to the input context.
3.4 Parameter-efficient Channel Adaptation Head
PCAHead maps the encoded features to the prediction horizon while balancing variable heterogeneity and parameter efficiency. A fully shared prediction head is efficient but may be insufficient for variable-specific forecasting patterns, whereas assigning an independent head to each variable leads to a parameter cost proportional to C. PCAHead therefore adopts a shared base projection with variable-specific low-rank residual adaptation.
Given the encoder output, we flatten the patch and feature dimensions into , where . A shared base projection gives
For variable-specific adaptation, we define shared low-rank projection banks and , where . For each variable , PCAHead learns normalized coefficients and assembles
The final prediction is
This reduces the head complexity from to . We zero-initialize the up-projection bank so that the residual branch starts from zero, allowing the model to first rely on the shared base prediction and then gradually learn variable-specific corrections.
4 Experiment
4.1 Experiment Setup
Following prior studies, we use Mean Squared Error (MSE) and Mean Absolute Error (MAE) as evaluation metrics. All methods are evaluated under prediction lengths . The datasets and baseline models used for evaluation are summarized below. Dataset statistics are provided in Appendix A.1, while implementation details and hyperparameter settings are provided in Appendix B.
Datasets. We evaluate TStruct on seven widely used long-term forecasting benchmarks, including Weather, Traffic, Electricity [40], and four ETT subsets [46]. These datasets cover different domains, variable scales, and temporal patterns, providing a comprehensive evaluation of forecasting performance and generalization ability.
Baselines. We compare TStruct with eight strong and recent forecasting baselines, covering different temporal dependency modeling paradigms. Specifically, PatchTST [28] and PhaseFormer [29] represent Transformer-based methods; DLinear [44] represents simple linear forecasting methods; CycleNet [19], TQNet [21], TimeEmb [42], and GTR [3] explicitly model temporal patterns or periodic priors; and DUET [31] is included as a recent strong forecasting baseline. For all baselines, we report the best results reported in their papers or accompanying code repositories, with the corresponding experimental configurations detailed in Appendix B.
4.2 Main results
Table 1 reports the average results over all prediction horizons, with detailed comparisons in Table 10. TStruct achieves the best average MSE on all seven benchmarks and the best average MAE on six, ranking first in 13 of the 14 dataset-metric comparisons. These results demonstrate the effectiveness of shared-adaptive temporal dependency modeling against strong Transformer-based, Linear-based, and explicit temporal-pattern modeling baselines.
On ETT and Weather, TStruct shows clear advantages over existing methods. These datasets often contain non-stationary temporal dynamics and distribution variations, where overly flexible models may fit incidental temporal interactions and overly fixed transformations may be insufficiently
Table 1: Average multivariate time series forecasting results over all prediction horizons. The best results are marked in bold red, and the second-best results are marked in blue underline.
| Methods | TStruct (ours) | DUET [2025] | PhaseFormer [2026] | GTR [2026] | TimeEmb [2025] | TQNet [2025] | CycleNet [2024] | PatchTST [2023] | DLinear [2023] | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Datasets | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE |
| ETTh1 | 0.390 | 0.415 | 0.398 | 0.419 | 0.403 | 0.415 | 0.415 | 0.419 | 0.418 | 0.433 | 0.420 | 0.428 | 0.415 | 0.426 | 0.417 | 0.431 | 0.425 | 0.439 |
| ETTh2 | 0.331 | 0.381 | 0.334 | 0.383 | 0.347 | 0.389 | 0.346 | 0.394 | 0.353 | 0.396 | 0.358 | 0.399 | 0.345 | 0.394 | 0.351 | 0.395 | 0.470 | 0.468 |
| ETTm1 | 0.337 | 0.367 | 0.338 | 0.369 | 0.347 | 0.374 | 0.345 | 0.377 | 0.345 | 0.376 | 0.353 | 0.388 | 0.352 | 0.378 | 0.349 | 0.381 | 0.356 | 0.378 |
| ETTm2 | 0.243 | 0.304 | 0.248 | 0.307 | 0.251 | 0.314 | 0.255 | 0.315 | 0.248 | 0.308 | 0.258 | 0.318 | 0.249 | 0.311 | 0.256 | 0.314 | 0.259 | 0.324 |
| Weather | 0.213 | 0.249 | 0.218 | 0.252 | 0.223 | 0.261 | 0.227 | 0.264 | 0.218 | 0.257 | 0.230 | 0.266 | 0.237 | 0.277 | 0.224 | 0.262 | 0.242 | 0.293 |
| Electricity | 0.151 | 0.244 | 0.157 | 0.248 | 0.161 | 0.250 | 0.160 | 0.254 | 0.158 | 0.253 | 0.162 | 0.256 | 0.157 | 0.250 | 0.162 | 0.254 | 0.167 | 0.264 |
| Traffic | 0.381 | 0.252 | 0.393 | 0.256 | 0.387 | 0.250 | 0.397 | 0.274 | 0.399 | 0.272 | 0.404 | 0.282 | 0.406 | 0.280 | 0.396 | 0.266 | 0.418 | 0.287 |
| 1st Count | 7 | 6 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Table 2: Ablation study on the main components of TStruct. Results are averaged over all prediction horizons. Detailed results for each prediction horizon are provided in Table 11.
| Dataset | ETTh1 | ETTh2 | ETTm1 | ETTm2 | Weather | Electricity | Traffic | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Metric | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE |
| 1 | 0.425 | 0.444 | 0.350 | 0.395 | 0.376 | 0.391 | 0.259 | 0.318 | 0.229 | 0.265 | 0.162 | 0.254 | 0.403 | 0.270 |
| 2 | 0.403 | 0.424 | 0.341 | 0.384 | 0.347 | 0.372 | 0.248 | 0.308 | 0.218 | 0.254 | 0.153 | 0.246 | 0.382 | 0.253 |
| 3 | 0.394 | 0.417 | 0.339 | 0.386 | 0.341 | 0.368 | 0.248 | 0.307 | 0.215 | 0.251 | 0.152 | 0.245 | 0.382 | 0.253 |
| TStruct | 0.390 | 0.416 | 0.331 | 0.381 | 0.337 | 0.367 | 0.243 | 0.303 | 0.213 | 0.249 | 0.151 | 0.244 | 0.381 | 0.252 |
adaptive. The consistent improvements on these datasets indicate that TStruct can better capture stable temporal dependency structures while preserving sample-specific adaptability.
On Electricity and Traffic, Notably, without explicit cross-variable interactions, TStruct achieves the best average MSE on both datasets, with the best average MAE on Electricity and the second-best on Traffic. This result is consistent with our spectral analysis in Appendix A.2: Electricity and Traffic exhibit stronger spectral concentration in patch-level temporal relationship matrices across both samples and variables, suggesting a higher degree of shared temporal dependency structures. Such structures can be effectively captured by TStruct through shared temporal dependency matrices and sample-variable-conditioned adaptation.
4.3 Ablation Study
We evaluate the effectiveness of three key components in TStruct. The full model is compared against three variants: ① TSM → MHA replaces the Temporal Structure Mixer with multi-head attention; ② TSM → Linear replaces it with a shared linear temporal mixer; and ③ PCAHead → Linear replaces PCAHead with a shared linear forecasting head. All TStruct variants in the ablation study are trained with the same objective and training protocol. The summary of these ablation results is reported in Table 2.
On ETT and Weather, TStruct clearly outperforms both ① and ② on these datasets. These datasets exhibit stronger temporal distribution variations, where forecasting requires both shared structures for generalization and adaptive modeling for sample- and variable-specific heterogeneity. MHA provides flexible input-dependent interactions but may fit incidental relations, while a shared linear mixer is stable but insufficiently adaptive. The superior performance of TStruct indicates that shared-adaptive temporal dependency modeling is especially beneficial in such settings.
On Electricity and Traffic, The gap between TStruct and ② becomes smaller on these datasets, while TStruct still clearly outperforms ①. This is consistent with our spectral analysis in Appendix A: Electricity and Traffic exhibit stronger cross-sample and cross-variable spectral concentration in patch-level temporal relationship matrices, suggesting more pronounced shared temporal dependency

(a) Earliest samples.

(b) Random samples.
Figure 3: Generalization analysis on ETTh1. (a) Models are trained with the earliest timestamp-ordered training samples, evaluating temporal distribution shift. (b) Models are trained with randomly sampled training instances, evaluating sample efficiency.
structures. Therefore, simple shared temporal mixing is already highly competitive on these datasets, whereas fully input-dependent attention remains less stable.
Finally, replacing PCAHead with a shared linear head leads to moderate but consistent degradation, showing that variable-aware prediction further improves performance under variable heterogeneity.
4.4 Generalization Analysis
To evaluate generalization, we conduct two reduced-training experiments on ETTh1. We compare the proposed TSM with two variants that replace TSM with Linear or MHA, keeping all other components and experimental settings identical. The earliest sample setting evaluates temporal distribution shift, while random sample setting evaluates sample efficiency.
Temporal Distribution Shift. As shown in Figure 3(a), models are trained using the earliest 20%, 40%, 60%, 80%, 100% of timestamp-ordered training samples, while validation and test sets remain unchanged. MHA consistently performs worse than Linear and TSM, indicating that fully input-dependent attention is more sensitive to temporally biased training data. TSM is close to Linear when only the earliest 20% samples are used, but clearly outperforms Linear from 40% onward, showing that shared-adaptive temporal dependency modeling improves generalization once sufficient shared structures can be estimated.
Sample Efficiency. As shown in Figure 3(b), TSM achieves the best performance even with only 20% randomly sampled training data and quickly converges around 40%. Notably, TSM trained with 40% data already outperforms MHA and Linear trained with the full training set. This suggests that shared temporal structures improve data efficiency by reducing the need to relearn temporal interactions from individual samples.
4.5 Effect of Look-back Length
To examine how different methods utilize historical context, we vary the look-back length from 48 to 720 and compare TStruct with explicit temporal-pattern parameterization methods, including CycleNet [19], TQNet [21], TimeEmb [42], and GTR [3]. These baselines mainly rely on global periodic representations, which can remain effective even with short input windows because the periodic priors are largely input-independent. However, as the look-back length increases, their improvements become limited and may even degrade when overly long histories introduce noisy or less relevant observations.

Figure 4: Effect of look-back length on ETTh1.
Var 16: periodic ACF
Var 14: fast-decaying ACF

(a) Learned static prior
(b) ACF of selected variables
Structure #1
Structure #2
(c) Representative learned structures
Figure 5: Interpretability analysis on the Weather dataset. Different variables exhibit different ACF patterns and assign different weights to the learned shared temporal structures through . The representative learned structures show distinct patch-level dependency patterns, including broader recurrent relations and local diagonal-dominant continuity.
In contrast, TStruct consistently benefits from longer look-back windows. This suggests that TStruct does not merely rely on fixed global periodic patterns; instead, it explicitly models patch-level temporal dependency structures, which become richer as more historical context is available. This further indicates that patch-level temporal dependency structures can provide a more extensible modeling target than fixed global periodic priors when longer historical context is available.
4.6 Interpretability of Learned Temporal Structures
To examine whether the learned structures are interpretable, we visualize the learned static prior, the autocorrelation functions (ACF) of representative variables, and the corresponding temporal dependency structures on the Weather dataset. As shown in Figure 5, Var 16 exhibits clear periodic autocorrelation, while Var 14 shows rapidly decaying autocorrelation, indicating that these two variables have different temporal characteristics. The learned static prior assigns different preferences to these variables over the shared structures. Specifically, Var 16 places higher weight on Structure #1, which captures broader recurrent relations among patches, whereas Var 14 assigns higher weight to Structure #2, which shows strong diagonal dominance and reflects local temporal continuity. This suggests that captures variable-specific temporal preferences rather than using the same dependency pattern for all variables. Overall, these observations indicate that TStruct learns reusable temporal dependency structures and adapts them to variables with different temporal characteristics through the static prior. For additional visualizations of learned structure matrices on other datasets, please refer to Appendix D.
5 Conclusion
In this paper, we studied LTSF from the perspective of temporal dependency structures. By analyzing patch-level temporal relationship matrices, we found that temporal dependencies contain shared dominant structures across samples and variables. This observation suggests that stable temporal relationships can be explicitly modeled as reusable structures rather than treated as fully input-specific interactions. Based on this finding, we proposed TStruct, which learns shared temporal dependency structures and generates sample-variable-specific dependency scores within the shared structural space. These scores are further converted into normalized soft allocation weights for temporal information aggregation, enabling adaptive dependency modeling under shared structural constraints. Experiments show that TStruct consistently improves forecasting accuracy over strong baselines.
Ablation and generalization analyses further verify that the gains come from shared-adaptive temporal dependency modeling, while look-back length and interpretability analyses show that TStruct can exploit longer contexts and learn meaningful temporal structures.
References
[1] Abdul Fatir Ansari, Lorenzo Stella, Ali Caner Turkmen, Xiyuan Zhang, Pedro Mercado, Huibin Shen, Oleksandr Shchur, Syama Sundar Rangapuram, Sebastian Pineda Arango, Shubham Kapoor, Jasper Zschiegner, Danielle C. Maddix, Hao Wang, Michael W. Mahoney, Kari Torkkola, Andrew Gordon Wilson, Michael Bohlke-Schneider, and Bernie Wang. Chronos: Learning the language of time series. Transactions on Machine Learning Research, 2024. ISSN 2835-8856. URL https://openreview.net/forum?id=gerNCVqqtR.
[2] Maximilian Beck, Korbinian Pöppel, Markus Spanring, Andreas Auer, Oleksandra Prudnikova, Michael K Kopp, Günter Klambauer, Johannes Brandstetter, and Sepp Hochreiter. xLSTM: Extended long short-term memory. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024. URL https://openreview.net/forum?id=ARAxPPIAhq.
[3] Fanpu Cao, Lu Dai, Jindong Han, and Hui Xiong. Enhancing multivariate time series forecasting with global temporal retrieval. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=QUJBPSfyui.
[4] Peng Chen, Yingying ZHANG, Yunyao Cheng, Yang Shu, Yihang Wang, Qingsong Wen, Bin Yang, and Chenjuan Guo. Pathformer: Multi-scale transformers with adaptive pathways for time series forecasting. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=lJk0CMP2aW.
[5] Si-An Chen, Chun-Liang Li, Sercan O Arik, Nathanael Christian Yoder, and Tomas Pfister. TSMixer: An all-MLP architecture for time series forecasting. Transactions on Machine Learning Research, 2023. ISSN 2835-8856. URL https://openreview.net/forum?id=wbpxTuXgm0.
[6] Luo donghao and wang xue. ModernTCN: A modern pure convolution structure for general time series analysis. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=vpJMJerXHU.
[7] Clive WJ Granger. Investigating causal relations by econometric models and cross-spectral methods. Econometrica: journal of the Econometric Society, pages 424–438, 1969.
[8] C.W.J. Granger and P. Newbold. Spurious regressions in econometrics. Journal of Econometrics, 2(2):111–120, 1974. ISSN 0304-4076. doi: https://doi.org/10.1016/0304-4076(74)90034-7. URL https://www.sciencedirect.com/science/article/pii/0304407674900347.
[9] James D Hamilton. Time series analysis, volume 2. Princeton Princeton University Press, 1994.
[10] Lu Han, Han-Jia Ye, and De-Chuan Zhan. The capacity and robustness trade-off: Revisiting the channel independent strategy for multivariate time series forecasting. IEEE Trans. Knowl. Data Eng., 36(11):7129–7142, 2024.
[11] Qihe Huang, Lei Shen, Ruixin Zhang, Shouhong Ding, Binwu Wang, Zhengyang Zhou, and Yang Wang. CrossGNN: Confronting noisy multivariate time series via cross interaction refinement. In Thirty-seventh Conference on Neural Information Processing Systems, 2023. URL https://openreview.net/forum?id=x0zlW2vUYc.
[12] Qihe Huang, Zhengyang Zhou, Yangze Li, Kuo Yang, Binwu Wang, and Yang Wang. Many minds, one goal: Time series forecasting via sub-task specialization and inter-agent cooperation. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=Uon41HfqR3.
[13] Qihe Huang, Zhengyang Zhou, Kuo Yang, Zhongchao Yi, Xu Wang, and Yang Wang. Timebase: The power of minimalism in efficient long-term time series forecasting. In Forty-second International Conference on Machine Learning, 2025. URL https://openreview.net/forum?id=GhTdNOMfOD.
[14] Qihe Huang, Zhengyang Zhou, Yangze Li, Jiaming Ma, Kuo Yang, Binwu Wang, Xu Wang, and Yang Wang. STORM: Synergistic cross-scale spatio-temporal modeling for weather forecasting. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=JLF6XDnscF.
[15] Taesung Kim, Jinhee Kim, Yunwon Tae, Cheonbok Park, Jang-Ho Choi, and Jaegul Choo. Reversible instance normalization for accurate time-series forecasting against distribution shift. In International Conference on Learning Representations, 2022. URL https://openreview.net/forum?id=cGDAkQo1COp.
[16] Diederik P. Kingma and Jimmy Ba. Adam: A method for stochastic optimization. In ICLR (Poster), 2015.
[17] Zhe Li, Shiyi Qi, Yiduo Li, and Zenglin Xu. Revisiting long-term time series forecasting: An investigation on linear mapping, 2026. URL https://arxiv.org/abs/2305.10721.
[18] Zida Liang, Jiayi Zhu, and Weiqiang Sun. Why attention fails: The degeneration of transformers into mlps in time series forecasting, 2025. URL https://arxiv.org/abs/2509.20942.
[19] Shengsheng Lin, Weiwei Lin, Xinyi HU, Wentai Wu, Ruichao Mo, and Haocheng Zhong. Cyclenet: Enhancing time series forecasting through modeling periodic patterns. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024. URL https://openreview.net/forum?id=clBiQUgj4w.
[20] Shengsheng Lin, Weiwei Lin, Wentai Wu, Haojun Chen, and Junjie Yang. SparseTSF: Modeling long-term time series forecasting with 1k parameters. In Forty-first International Conference on Machine Learning, 2024. URL https://openreview.net/forum?id=54NSH001Fe.
[21] Shengsheng Lin, Haojun Chen, Haijie Wu, Chunyun Qiu, and Weiwei Lin. Temporal query network for efficient multivariate time series forecasting. In Forty-second International Conference on Machine Learning, 2025. URL https://openreview.net/forum?id=e24CueVty2.
[22] Shengsheng Lin, Weiwei Lin, Wentai Wu, Feiyu Zhao, Ruichao Mo, and Haotong Zhang. Segrnn: Segment recurrent neural network for long-term time-series forecasting. IEEE Internet Things J., 13(5):9861–9871, 2026.
[23] Minhao LIU, Ailing Zeng, Muxi Chen, Zhijian Xu, Qiuxia LAI, Lingna Ma, and Qiang Xu. SCINet: Time series modeling and forecasting with sample convolution and interaction. In Alice H. Oh, Alekh Agarwal, Danielle Belgrave, and Kyunghyun Cho, editors, Advances in Neural Information Processing Systems, 2022. URL https://openreview.net/forum?id=AyajSjTAzmg.
[24] Peiyuan Liu, Beiliang Wu, Yifan Hu, Naiqi Li, Tao Dai, Jigang Bao, and Shu-Tao Xia. Timebridge: Non-stationarity matters for long-term time series forecasting. In Forty-second International Conference on Machine Learning, 2025. URL https://openreview.net/forum?id=pyK00ZZ51z.
[25] Jiaming Ma, Binwu Wang, Qihe Huang, Guanjun Wang, Pengkun Wang, Zhengyang Zhou, and Yang Wang. Mofo: Empowering long-term time series forecasting with periodic pattern modeling. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=sbvLts2HqR.
[26] Jiaming Ma, Guanjun Wang, Sheng Huang, Kuo Yang, Binwu Wang, Pengkun Wang, and Yang Wang. Spatiotemporal causal decoupling model for air quality forecasting. In ICASSP 2025-2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5. IEEE, 2025.
[27] Jiaming Ma, Qihe Huang, Haofeng Ma, Guanjun Wang, Sheng Huang, Zhengyang Zhou, Pengkun Wang, Xu Wang, Binwu Wang, and Yang Wang. PHAT: Modeling period heterogeneity for multivariate time series forecasting. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=lr4R1ISR6x.
[28] Yuqi Nie, Nam H Nguyen, Phanwadee Sinthong, and Jayant Kalagnanam. A time series is worth 64 words: Long-term forecasting with transformers. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=Jbdc0vT0col.
[29] Yiming Niu, Jinliang Deng, and Yongxin Tong. Phaseformer: From patches to phases for efficient and effective time series forecasting. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=Lk9SqMQzhX.
[30] Xiangfei Qiu, Jilin Hu, Lekui Zhou, Xingjian Wu, Junyang Du, Buang Zhang, Chenjuan Guo, Aoying Zhou, Christian S. Jensen, Zhenli Sheng, and Bin Yang. TFB: towards comprehensive and fair benchmarking of time series forecasting methods. Proc. VLDB Endow., 17(9):2363–2377, 2024.
[31] Xiangfei Qiu, Xingjian Wu, Yan Lin, Chenjuan Guo, Jilin Hu, and Bin Yang. DUET: dual clustering enhanced multivariate time series forecasting. In KDD (1), pages 1185–1196. ACM, 2025.
[32] Mark Rhee, Dhruva Karkada, and Jamie Simon. Deep linear networks are a surprisingly useful toy model of weight-space dynamics. Learning Mechanics, 2026. URL https://learningmechanics.pub/deep-linear-nets.
[33] Mingtian Tan, Mike A Merrill, Vinayak Gupta, Tim Althoff, and Thomas Hartvigsen. Are language models actually useful for time series forecasting? In The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024. URL https://openreview.net/forum?id=DV15UbHCY1.
[34] Hao Wang, Lichen Pan, Yuan Shen, Zhichao Chen, Degui Yang, Yifei Yang, Sen Zhang, Xinggao Liu, Haoxuan Li, and Dacheng Tao. FreDF: Learning to forecast in the frequency domain. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=4A9IdSalul.
[35] Huiqiang Wang, Jian Peng, Feihu Huang, Jince Wang, Junhui Chen, and Yifei Xiao. MICN: Multi-scale local and global context modeling for long-term series forecasting. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=zt53IDUR1U.
[36] Shiyu Wang, Haixu Wu, Xiaoming Shi, Tengge Hu, Huakun Luo, Lintao Ma, James Y. Zhang, and JUN ZHOU. Timemixer: Decomposable multiscale mixing for time series forecasting. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=7oLshfEIC2.
[37] Zheng Wang, Kaixuan Zhang, Wanfang Chen, Xiaonan Lu, Longyuan Li, and Tobias Schlangenhauf. Characteristic root analysis and regularization for linear time series forecasting. In The Fourteenth International Conference on Learning Representations, 2026. URL https://openreview.net/forum?id=JTtwGRACte.
[38] Gerhard Widmer and Miroslav Kubat. Learning in the presence of concept drift and hidden contexts. Mach. Learn., 23(1):69–101, 1996.
[39] Haixu Wu, Jiehui Xu, Jianmin Wang, and Mingsheng Long. Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting. In A. Beygelzimer, Y. Dauphin, P. Liang, and J. Wortman Vaughan, editors, Advances in Neural Information Processing Systems, 2021. URL https://openreview.net/forum?id=J4gRj6d5Qm.
[40] Haixu Wu, Tengge Hu, Yong Liu, Hang Zhou, Jianmin Wang, and Mingsheng Long. Timesnet: Temporal 2d-variation modeling for general time series analysis. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=ju_Uqw3840q.
[41] Xingjian Wu, Xiangfei Qiu, Hanyin Cheng, Zhengyu Li, Jilin Hu, Chenjuan Guo, and Bin Yang. Enhancing time series forecasting through selective representation spaces: A patch perspective. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=BirE0jYKt0.
[42] Mingyuan Xia, Chunxu Zhang, Zijian Zhang, Hao Miao, Qidong Liu, Yuanshao Zhu, and Bo Yang. Timeemb: A lightweight static-dynamic disentanglement framework for time series forecasting. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=sLfMvrkn6T.
[43] Zhijian Xu, Ailing Zeng, and Qiang Xu. FITS: Modeling time series with parameters. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=bWcnvZ3qMb.
[44] Ailing Zeng, Muxi Chen, Lei Zhang, and Qiang Xu. Are transformers effective for time series forecasting? In AAAI, pages 11121–11128. AAAI Press, 2023.
[45] Yunhao Zhang and Junchi Yan. Crossformer: Transformer utilizing cross-dimension dependency for multivariate time series forecasting. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=vSVLM2j9eie.
[46] Haoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang, Jianxin Li, Hui Xiong, and Wancai Zhang. Informer: Beyond efficient transformer for long sequence time-series forecasting. In AAAI, pages 11106–11115. AAAI Press, 2021.
[47] Tian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang, Liang Sun, and Rong Jin. Fedformer: Frequency enhanced decomposed transformer for long-term series forecasting. In ICML, volume 162 of Proceedings of Machine Learning Research, pages 27268–27286. PMLR, 2022.
Appendix
Catalogue
- Introduction ..... 1
- Related Work ..... 3
2.1 Temporal Dependency Modeling for Time Series Forecasting ..... 3
2.2 Explicit Temporal Structure Parameterization ..... 3 - Methodology ..... 4
3.1 Overview ..... 4
3.2 Patch Embedding ..... 4
3.3 Temporal Structure Encoder ..... 5
3.4 Parameter-efficient Channel Adaptation Head ..... 6 - Experiment ..... 6
4.1 Experiment Setup ..... 6
4.2 Main Results ..... 6
4.3 Ablation Study ..... 7
4.4 Generalization Analysis ..... 8
4.5 Effect of Look-back Length ..... 8
4.6 Interpretability of Learned Temporal Structures ..... 9 - Conclusion ..... 9
Appendix ..... 15
A. Dataset and Temporal Structure Analysis ..... 15
B. Implementation Details ..... 18
C. Additional Experimental Analyses ..... 19
D. Additional Interpretability Visualizations ..... 24
E. Detailed Experimental Results ..... 28
F. Limitations and Future Directions ..... 30
A Dataset and Temporal Structure Analysis
A.1 Dataset Details
We evaluate TStruct on seven widely used long-term forecasting benchmarks, including four ETT subsets, Weather, Electricity, and Traffic. The statistics of these datasets are summarized in Table 3. The ETT datasets [46] contain temperature and power load records collected from electricity transformers in two regions of China from 2016 to 2018. They include two temporal granularities: hourly records, denoted as ETTh1 and ETTh2, and 15-minute records, denoted as ETTm1 and ETTm2. The Weather dataset [40] contains 21 meteorological variables recorded at 10-minute intervals in 2020, including air temperature, humidity, visibility, and other weather-related indicators. The Electricity dataset [40] consists of hourly electricity consumption records from 321 clients, measured in kilowatt-hours (kWh), and is derived from the UCI Machine Learning Repository. The Traffic dataset [40] records hourly road occupancy rates collected by 862 sensors on freeways in the San Francisco Bay Area, reflecting large-scale traffic flow dynamics.
Table 3: Detailed descriptions of datasets.
| Dataset | Variables | Timestamps | Split | Prediction Length | Sampling | Information |
|---|---|---|---|---|---|---|
| ETTh1 | 14400 | 6:2:2 | Hourly | Electricity | ||
| ETTh2 | 14400 | 6:2:2 | Hourly | Electricity | ||
| ETTm1 | 57600 | 6:2:2 | 15min | Electricity | ||
| ETTm2 | 57600 | 6:2:2 | 15min | Electricity | ||
| Weather | 52696 | 7:1:2 | 10min | Weather | ||
| ECL | 26304 | 7:1:2 | Hourly | Electricity | ||
| Traffic | 17544 | 7:1:2 | Hourly | Transport |
A.2 Temporal Structure Analysis
Patch-level temporal relationship matrix. Real-world time series often have low-SNR, and temporal interactions observed in individual windows may reflect incidental fluctuations. We hypothesize that these observations nevertheless contain relatively stable temporal structures associated with the underlying evolution, which can be extracted from recurring relationships across windows and variables. To examine this hypothesis, we construct patch-level temporal relationship matrices that describe relationships among relative temporal positions. For each dataset, we first standardize each variable and randomly sample input windows of length . Given the -th input window , we apply instance-level normalization along the temporal dimension:
where and are computed along the temporal dimension for each variable.
Then, for each variable , the normalized sequence is divided into non-overlapping patches with patch length :
where for non-overlapping patches, and we assume is divisible by .
Each patch vector is further normalized by its -norm:
We then construct the patch-level temporal relationship matrix as
where measures the normalized relationship strength between the -th and -th relative patch positions.
Shared temporal structures across samples and variables. To examine shared temporal structures, we stack the vectorized relationship matrices across samples and across variables. For the sample-side analysis, each variable c is fixed and the matrices from all B windows are collected; for the variable-side analysis, each sample b is fixed and the matrices from all C variables are collected:
(16)
Before performing SVD, the rows of both matrices are normalized to compare temporal relationship patterns on a common scale:
where denotes either stacked matrix and indexes its rows. This normalization removes differences in vector magnitude while preserving the directions of the temporal relationship representations.
Let and denote the ordered singular values of and , respectively. The averaged spectral energies are defined as
These spectra indicate the extent to which temporal relationship patterns are concentrated in a small number of directions across samples and variables, respectively.
Spectral concentration metrics. We quantify spectral concentration by measuring how many singular components are required to explain 95% of the spectral energy. Given an averaged spectral energy sequence , the 95% energy rank is defined as
Here R denotes the reference dimension of the full vectorized representation:
To make the degree of spectral concentration more intuitive, we report the rank compression factor:
A larger indicates that 95% of the spectral energy is captured by a smaller fraction of the reference dimension, corresponding to stronger spectral concentration. However, spectral concentration can also arise from the Gram construction itself: symmetry introduces redundant coordinates in the vectorized representation, while patch normalization produces a common unit diagonal across matrices. A reference level is therefore needed to assess the additional concentration associated with temporal structure. To this end, we evaluate two null controls through the same analysis pipeline and compare their values with those of the real data.
Quantitative analysis. Table 4 reports the spectral concentration statistics under , , and (), together with two null controls evaluated through the same pipeline. (1) Patch shuffle evaluates the role of temporal ordering by independently permuting patch positions for each sample-variable pair, giving . This preserves the spectrum and similarity values of each Gram matrix while disrupting the correspondence between relative patch positions across matrices. Comparing the resulting concentration with that of real data therefore assesses whether the observed concentration depends on temporal relationships recurring at aligned patch positions. (2) IID Gaussian provides a complementary reference by replacing the observed windows with independent Gaussian noise. Applying the same analysis to these inputs gives the spectral concentration that can arise without temporal dependencies, against which the additional concentration in real data can be assessed.
Table 4: Shuffle denotes independent patch permutations and IID denotes independent Gaussian windows. Results are averaged over repeated runs of each null control.
(a) Sample side: across temporal windows
| Dataset | Patch size P | Patch number N | Variables C | Real | Shuffle | IID | Real/Shuffle | Real/IID |
|---|---|---|---|---|---|---|---|---|
| ETTh1 | 24 | 30 | 7 | 5.59 | 2.80 | 2.61 | 2.00× | 2.14× |
| ETTh2 | 24 | 30 | 7 | 5.73 | 2.68 | 2.61 | 2.14× | 2.20× |
| ETTm1 | 24 | 30 | 7 | 4.74 | 2.41 | 2.61 | 1.96× | 1.82× |
| ETTm2 | 24 | 30 | 7 | 4.27 | 2.43 | 2.61 | 1.76× | 1.64× |
| Weather | 24 | 30 | 21 | 5.92 | 2.44 | 2.61 | 2.43× | 2.27× |
| Electricity | 24 | 30 | 321 | 90.00 | 8.04 | 2.61 | 11.20× | 34.50× |
| Traffic | 24 | 30 | 862 | 64.29 | 6.12 | 2.61 | 10.50× | 24.64× |
(b) Variable side: across variables within a window
| Dataset | Patch size P | Patch number N | Variables C | Real | Shuffle | IID | Real/Shuffle | Real/IID |
|---|---|---|---|---|---|---|---|---|
| ETTh1 | 24 | 30 | 7 | 1.75 | 1.17 | 1.00 | 1.50× | 1.75× |
| ETTh2 | 24 | 30 | 7 | 1.40 | 1.00 | 1.00 | 1.40× | 1.40× |
| ETTm1 | 24 | 30 | 7 | 1.40 | 1.00 | 1.00 | 1.40× | 1.40× |
| ETTm2 | 24 | 30 | 7 | 1.40 | 1.00 | 1.00 | 1.40× | 1.40× |
| Weather | 24 | 30 | 21 | 2.33 | 1.11 | 1.11 | 2.11× | 2.11× |
| Electricity | 24 | 30 | 321 | 64.20 | 12.84 | 1.66 | 5.00× | 38.60× |
| Traffic | 24 | 30 | 862 | 287.33 | 8.62 | 2.90 | 33.33× | 99.00× |
Table 4 reveals four findings:
(i) Shared structures at aligned temporal positions. Across all seven datasets, Real/Shuffle is substantially greater than one on both the sample and variable sides. The reduction in concentration after shuffling supports shared temporal relationship patterns that recur at corresponding relative patch positions across windows and variables.
(ii) Concentration beyond the random-input reference. Real/IID is also substantially greater than one across all datasets on both sides. Temporal relationships in real time series are therefore more concentrated than those obtained from independent random inputs under the same analysis pipeline, supporting their representation through a compact set of shared patterns.
(iii) Larger gains in Electricity and Traffic. Electricity and Traffic exhibit substantially larger Real/Shuffle and Real/IID gains than ETT and Weather on both sides. Their temporal relationships show more pronounced concentration relative to their respective controls, with the larger Real/Shuffle gains indicating a greater dependence of this concentration on the original patch-position alignment.
(iv) Shared regularities preserved under shuffling. For Electricity and Traffic, shuffled-data concentration remains well above the corresponding IID reference on both sides, whereas the two controls yield closer values for ETT and Weather. This suggests that shared regularities preserved under patch permutation coexist with reusable temporal relationships tied to the original relative positions.
From temporal relationships to dependency parameterization. The above analysis provides evidence of shared temporal relationship structures across windows and variables. To connect these historical relationships with forecasting, we consider an idealized model in which historical and future patch representations are related by a shared temporal evolution operator.
For a sample-variable context , let and denote row-normalized historical and future patch representations in a common state space, where and , assuming both lengths are divisible by . Suppose
where T is shared across the contexts under consideration and captures residual variation. The historical auto-relation and history–future cross-relation then satisfy
and hence .
Motivated by the observed spectral concentration, suppose the historical relation family admits an approximate representation through a mean structure and r shared directions:
where denotes the approximation residual. It follows that
Thus, under shared temporal evolution, the historical directions give rise to shared directions in the history–future relation family. When the residual terms are small, the same coefficients organize both families. This provides a conditional link between reusable historical relationships and a compact description of relationships relevant to forecasting.
Motivated by this connection, TStruct parameterizes temporal aggregation through shared structure matrices:
where denotes projected historical features. Learned jointly across training observations under forecasting supervision, the shared matrices define a compact family of temporal aggregation operators on historical patch coordinates. This parameterization is intended to capture stable temporal dependency patterns relevant to forecasting, while the forecasting head maps the aggregated features to the future horizon. The connection motivates the shared structural parameterization of without requiring equality with or , or inheritance of their spectra. By drawing on patterns shared across observations, TStruct aims to reduce reliance on incidental relationships in noisy time series and improve forecasting generalization. These intended benefits are evaluated in Section 4.4 and Appendix C.4.
B Implementation Details
All experiments performed in this study are conducted on a workstation equipped with NVIDIA RTX PRO 6000 GPUs with 96GB memory. TStruct is implemented in PyTorch 2.8.0. We fix the random seed to 2026 for our runs. Following the standard evaluation protocol [30], we set drop_last=False for the data loader during testing to ensure that all test samples are evaluated.
For the main forecasting experiments, TStruct uses a fixed input look-back length of . We train TStruct using the Adam optimizer [16] for at most 25 epochs with an early stopping patience of 10 epochs. The best checkpoint is selected according to the validation loss.
Baseline configurations. To compare the best performance of each method within the evaluated configurations, we retain the training objectives used by the respective methods and allow look-back selection where specified below. The sources and configurations of the results in Table 1 are as follows: TStruct. We report our results using the Huber+FFT objective described below and a fixed look-back length of . DUET. We use the paper reported results obtained with the L1 objective, selecting the best performing look-back length from for each dataset horizon setting. PhaseFormer. We use the paper reported results obtained with the Huber objective and . Other baselines. We run their released implementations with their native training objectives and select the best performing look-back length from for each dataset horizon setting.
Training objective. We optimize TStruct with a hybrid objective that combines Huber loss and FFT loss [34]. Given the prediction and ground truth Y, the Huber loss is defined as
(27) where denotes all predicted entries and we set in all experiments. The element-wise Huber loss is defined as
The FFT loss measures the discrepancy between predictions and ground truth in the frequency domain:
where denotes the real-valued fast Fourier transform along the temporal dimension, and is implemented as the mean absolute value over all frequency-domain entries. The final training objective is
where is selected from .
Evaluation metrics. Following prior LTSF studies [46, 39], we use Mean Squared Error (MSE) and Mean Absolute Error (MAE) as evaluation metrics:
Hyperparameter search space. We tune the hyperparameters over the following search space. The patch size is selected from , the number of encoder layers from , the hidden dimension from , and the number of shared temporal structures from . For regularization, the MLP dropout rate is selected from , the TSM dropout rate from , and the PCAhead dropout rate from . For optimization, the batch size is selected from , and the learning rate is selected from .
C Additional Experimental Analyses
C.1 Random Seed Stability
Table 5: Stability analysis under different random seeds.
| Seed | 2024 | 2025 | 2026 | 2027 | 2028 | Mean | Std | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Dataset | Metric | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE |
| ETTh1 | 96 | 0.345 | 0.380 | 0.344 | 0.380 | 0.345 | 0.381 | 0.344 | 0.390 | 0.345 | 0.380 | 0.345 | 0.382 | 0.001 | 0.004 |
| 192 | 0.382 | 0.404 | 0.383 | 0.406 | 0.383 | 0.405 | 0.384 | 0.406 | 0.384 | 0.406 | 0.383 | 0.405 | 0.001 | 0.001 | |
| 336 | 0.407 | 0.421 | 0.405 | 0.421 | 0.405 | 0.420 | 0.407 | 0.422 | 0.407 | 0.421 | 0.406 | 0.421 | 0.001 | 0.001 | |
| 720 | 0.424 | 0.453 | 0.426 | 0.453 | 0.431 | 0.456 | 0.428 | 0.456 | 0.424 | 0.450 | 0.427 | 0.454 | 0.003 | 0.003 | |
| Avg. | 0.390 | 0.415 | 0.390 | 0.415 | 0.391 | 0.416 | 0.391 | 0.419 | 0.390 | 0.414 | 0.390 | 0.416 | 0.001 | 0.002 | |
| Weather | 96 | 0.137 | 0.179 | 0.137 | 0.179 | 0.137 | 0.181 | 0.138 | 0.180 | 0.138 | 0.180 | 0.137 | 0.180 | 0.001 | 0.001 |
| 192 | 0.181 | 0.225 | 0.182 | 0.225 | 0.181 | 0.226 | 0.180 | 0.225 | 0.181 | 0.225 | 0.181 | 0.225 | 0.001 | 0.000 | |
| 336 | 0.231 | 0.267 | 0.231 | 0.268 | 0.230 | 0.267 | 0.231 | 0.269 | 0.230 | 0.268 | 0.231 | 0.268 | 0.001 | 0.001 | |
| 720 | 0.306 | 0.325 | 0.305 | 0.325 | 0.304 | 0.324 | 0.305 | 0.325 | 0.305 | 0.326 | 0.305 | 0.325 | 0.001 | 0.001 | |
| Avg. | 0.214 | 0.249 | 0.214 | 0.249 | 0.213 | 0.250 | 0.214 | 0.250 | 0.214 | 0.250 | 0.214 | 0.249 | 0.000 | 0.000 | |
To examine the stability of TStruct under different random initializations and stochastic training processes, we repeat experiments with five random seeds, i.e., 2024, 2025, 2026, 2027, and 2028. Table 5 reports the results on ETTh1 and Weather, including the mean and standard deviation across seeds.
The results show that TStruct is highly stable across different random seeds. The standard deviation is consistently very small, mostly ranging from 0.000 to 0.002 for both MSE and MAE. This indicates that the performance of TStruct is not sensitive to random initialization or stochastic optimization, and the observed improvements are reproducible rather than caused by favorable random seeds.
Table 6: Sensitivity analysis under different initialization strategies.
| Initialization | Random | Orthogonal | Xavier | Kaiming | |||||
|---|---|---|---|---|---|---|---|---|---|
| Dataset | Metric | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE |
| ETTh1 | 96 | 0.366 | 0.398 | 0.345 | 0.380 | 0.345 | 0.380 | 0.345 | 0.380 |
| 192 | 0.421 | 0.439 | 0.383 | 0.405 | 0.383 | 0.405 | 0.383 | 0.405 | |
| 336 | 0.426 | 0.442 | 0.407 | 0.420 | 0.407 | 0.420 | 0.407 | 0.420 | |
| 720 | 0.497 | 0.503 | 0.433 | 0.456 | 0.434 | 0.459 | 0.430 | 0.458 | |
| Avg. | 0.428 | 0.446 | 0.392 | 0.415 | 0.392 | 0.416 | 0.391 | 0.416 | |
| Weather | 96 | 0.142 | 0.187 | 0.137 | 0.181 | 0.137 | 0.180 | 0.137 | 0.180 |
| 192 | 0.187 | 0.230 | 0.181 | 0.226 | 0.182 | 0.226 | 0.181 | 0.225 | |
| 336 | 0.247 | 0.282 | 0.230 | 0.267 | 0.231 | 0.267 | 0.230 | 0.268 | |
| 720 | 0.327 | 0.347 | 0.304 | 0.324 | 0.304 | 0.325 | 0.305 | 0.325 | |
| Avg. | 0.226 | 0.262 | 0.213 | 0.250 | 0.214 | 0.250 | 0.213 | 0.250 | |
C.2 Initialization Study
We study the effect of different initialization strategies for the shared temporal structures . Specifically, we compare Random, Orthogonal, Xavier, and Kaiming initialization, as reported in Table 6. The results show that the Random baseline yields noticeably higher forecasting errors on both ETTh1 and Weather, whereas Orthogonal, Xavier, and Kaiming achieve consistently strong and comparable performance.
All initialization strategies are applied directly to the basis tensor. Orthogonal initialization gives the vectorized bases mutually orthogonal directions with unit Frobenius norm, while Xavier and Kaiming scale the sampling variance according to the tensor dimensions. These strategies control the initial magnitude of the dependency scores, which are subsequently converted into aggregation weights through softmax. This provides a plausible explanation for their favorable performance: appropriately scaled initial scores moderate arbitrary preferences over patch positions, allowing temporal dependency patterns to develop through forecasting supervision. The role of initialization scale is also consistent with observations on learning dynamics in deep linear networks [32].
We use Orthogonal initialization as the default. It provides diverse initial structure directions with a common scale, reducing initial redundancy among the shared bases while achieving consistently strong empirical performance.
C.3 Training Objective Comparison
We investigate the effect of the training objective on forecasting performance by evaluating TStruct, DUET, and PhaseFormer under the same two objectives, Huber+FFT and plain MSE. The remaining experimental settings follow Appendix B.
Table 7 shows that TStruct ranks first in MSE on all seven datasets and in MAE on six under both objectives, with PhaseFormer leading in MAE on Traffic. Huber+FFT further improves TStruct's MSE and MAE across all seven datasets compared with plain MSE. Its strong performance under plain MSE supports the effectiveness of shared temporal structure modeling, while the hybrid objective provides additional gains.
C.4 Noise Injection Robustness
To evaluate robustness under local abnormal perturbations, we conduct noise injection experiments on ETTh1. For each normalized input window, whose values are standardized to approximately zero mean and unit variance, we randomly select a continuous segment and inject Gaussian noise into this segment. The noise ratio controls the length of the perturbed segment relative to the input window, while the noise strength controls the magnitude of the injected Gaussian noise. The start position of the noisy segment is randomly sampled within each input window.
We compare TSM and MHA across different noise ratios and strengths, with the results summarized in Table 8. TSM achieves lower MSE and MAE throughout both experiments. As the noise ratio
Table 7: Forecasting performance under two training objectives with for all methods. The lowest MSE and MAE for each dataset within each objective are highlighted in bold.
| Loss | Huber+FFT | Plain MSE | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | TStruct | DUET | PhaseFormer | TStruct | DUET | PhaseFormer | ||||||
| Datasets | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE |
| ETTh1 | 0.390 | 0.415 | 0.430 | 0.450 | 0.417 | 0.425 | 0.410 | 0.432 | 0.425 | 0.447 | 0.431 | 0.437 |
| ETTh2 | 0.331 | 0.381 | 0.364 | 0.410 | 0.374 | 0.401 | 0.349 | 0.400 | 0.358 | 0.405 | 0.358 | 0.402 |
| ETTm1 | 0.337 | 0.367 | 0.432 | 0.426 | 0.351 | 0.378 | 0.345 | 0.373 | 0.382 | 0.409 | 0.358 | 0.384 |
| ETTm2 | 0.243 | 0.304 | 0.282 | 0.342 | 0.253 | 0.314 | 0.246 | 0.311 | 0.279 | 0.338 | 0.266 | 0.329 |
| Weather | 0.213 | 0.249 | 0.218 | 0.252 | 0.231 | 0.271 | 0.217 | 0.258 | 0.249 | 0.293 | 0.231 | 0.275 |
| Electricity | 0.151 | 0.244 | 0.158 | 0.251 | 0.159 | 0.249 | 0.157 | 0.251 | 0.158 | 0.256 | 0.161 | 0.252 |
| Traffic | 0.381 | 0.252 | 0.387 | 0.267 | 0.387 | 0.249 | 0.385 | 0.264 | 0.388 | 0.270 | 0.393 | 0.259 |
increases from 0.05 to 0.30, its MSE ranges from 0.392 to 0.400, remaining 0.042–0.047 below MHA. At a noise strength of 8, the MSE gap reaches 0.075, with TSM obtaining 0.404 compared with 0.479 for MHA.
Table 8: Noise injection robustness on ETTh1 under varying noise ratios (left) and strengths (right). denotes the error reduction of TSM relative to MHA.
| Setting | Varying noise ratio | Setting | Varying noise strength | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | TSM | MHA | Δ | Method | TSM | MHA | Δ | ||||||
| Ratio | MSE | MAE | MSE | MAE | MSE | MAE | Strength | MSE | MAE | MSE | MAE | MSE | MAE |
| 0.05 | 0.392 | 0.417 | 0.434 | 0.449 | 0.042 | 0.033 | 2 | 0.393 | 0.417 | 0.437 | 0.452 | 0.044 | 0.035 |
| 0.10 | 0.394 | 0.418 | 0.441 | 0.455 | 0.047 | 0.036 | 3 | 0.394 | 0.418 | 0.441 | 0.455 | 0.047 | 0.036 |
| 0.20 | 0.397 | 0.425 | 0.443 | 0.457 | 0.046 | 0.033 | 5 | 0.396 | 0.420 | 0.434 | 0.449 | 0.038 | 0.029 |
| 0.30 | 0.400 | 0.427 | 0.442 | 0.458 | 0.042 | 0.031 | 8 | 0.404 | 0.426 | 0.479 | 0.473 | 0.075 | 0.047 |
These results support the robustness of shared temporal structure modeling under local perturbations. By aggregating temporal information through structures learned across observations, TSM provides a shared basis for processing corrupted inputs, which may help explain its consistently lower forecasting errors across the tested noise conditions.
C.5 Hyperparameter Sensitivity
We further analyze the sensitivity of TStruct to two key hyperparameters: the number of shared temporal structures and the number of patches . Experiments are conducted on the ETT benchmarks under different prediction horizons.
Figure 6 reports the forecasting performance under different values of . Overall, TStruct remains stable across a wide range of . A very small may limit the diversity of shared temporal structures, making it difficult to represent heterogeneous temporal dependencies. In contrast, an overly large may introduce redundant structures and increase optimization difficulty. The results show that a moderate number of shared structures is sufficient for strong performance, and we use as the default setting in our main experiments.
Figure 7 shows the sensitivity to the number of patches , which controls the resolution of the patch-level temporal dependency matrix. TStruct achieves robust performance within a broad middle range, especially when . When is too small, the temporal relationship matrix becomes overly coarse and may underfit fine-grained temporal dependencies. When is too large, each patch contains fewer time points, which may make the learned dependency structures more sensitive to local noise and increase the risk of overfitting. These results indicate that TStruct is robust to reasonable patch-level resolutions while benefiting from a balanced choice of .
C.6 Efficiency and Complexity Analysis
We provide an additional efficiency analysis on the Electricity dataset to evaluate the accuracy-efficiency trade-off of TStruct. Since TStruct models temporal dependencies at the patch level, we compare it with representative patch-based Transformer baselines, including Crossformer and PatchTST. All models are evaluated under the same setting with input length , patch size and stride , and hidden dimension . We report forecasting accuracy, parameter number, multiply-accumulate operations (MACs), GPU memory usage, training time per step, and inference time per batch in Table 9.
Complexity analysis. The efficiency of TStruct mainly comes from its structured temporal dependency modeling. In attention-based patch-level temporal mixing, the dependency score matrix is computed from input-dependent query-key interactions, which introduces a score estimation cost of , where is the number of patches and is the hidden dimension. In contrast, TSM constructs temporal dependency scores by combining shared temporal structures, with a score construction cost of . Since , TSM provides a more compact way to estimate temporal dependency scores and avoids fully input-dependent pairwise attention computation.
After obtaining the normalized dependency matrix, TSM still performs patch-level feature aggregation, so the overall temporal mixing remains quadratic in . The key difference is that TSM replaces unconstrained input-dependent attention score estimation with shared-adaptive structure composition. This makes temporal dependency modeling more structured and computationally efficient while preserving sample- and variable-specific adaptability.
Empirical efficiency. As shown in Table 9, TStruct achieves the best MSE while requiring fewer parameters, lower MACs, less GPU memory, and faster training and inference than the patch-based Transformer baselines. Compared with PatchTST, TStruct reduces parameters from 5.496M to 3.324M and MACs from 23.134G to 11.779G, while reducing MSE from 0.171 to 0.151. Compared with Crossformer, TStruct also achieves substantially lower memory usage and faster runtime. These results show that TStruct improves forecasting accuracy with a favorable efficiency profile by replacing fully input-dependent attention with shared-adaptive temporal dependency modeling.
Table 9: Efficiency comparison on the Electricity dataset. Crossformer [45] and PatchTST [28] are included as representative patch-based Transformer baselines. All models are evaluated under the same setting. We report MSE, parameters, MACs, GPU memory, training time per step, and inference time per batch. Bold indicates the best result, and underline indicates the second-best result.
| Model | MSE | Params (M) | MACs (G) | Memory (GB) | Train Time (s) | Infer Time (ms) |
|---|---|---|---|---|---|---|
| Crossformer | 0.171 | 36.936 | 47.543 | 22.932 | 0.184 | 75.474 |
| PatchTST | 0.171 | 5.496 | 23.134 | 12.848 | 0.269 | 326.133 |
| TStruct | 0.151 | 3.324 | 11.779 | 7.143 | 0.059 | 56.059 |
| Improvement (↓) | 1.13× | 1.65× | 1.96× | 1.80× | 4.56× | 1.35× |

Figure 6: Hyperparameter sensitivity analysis for the number of shared temporal structures K on the ETT benchmarks. Bar plots denote MSE and line plots denote MAE under different prediction horizons.

Figure 7: Hyperparameter sensitivity analysis for the number of patches N on the ETT benchmarks. TStruct remains stable within a broad middle range of patch-level resolutions, while overly small or overly large N may lead to underfitting or overfitting.
D Additional Interpretability Visualizations
We provide additional visualizations of the learned temporal structures across all benchmark datasets. Figures 8 to 14 directly visualize the learned shared temporal structure matrices before softmax normalization, as the concentration of weights after softmax can make finer structural differences difficult to distinguish visually. Red and blue indicate higher and lower relative aggregation preferences, respectively, rather than positive and negative dependencies. The visualizations show that the learned structures are not random mixing patterns. Instead, they exhibit structured and reusable temporal dependency patterns across datasets, including diagonal-dominant local continuity, repeated stripe-like interactions, smooth long-range transitions, and more abstract patch-level dependency patterns.
Several observations can be made. First, many structures contain clear diagonal or near-diagonal patterns, indicating that neighboring patches often preserve strong local temporal continuity. Second, repeated stripe-like or checkerboard patterns appear in several datasets, suggesting recurrent interactions between relative patch positions. Third, some structures exhibit smooth low-to-high transitions across rows or columns, reflecting broader temporal dependency tendencies beyond local neighborhoods. These patterns show that TStruct does not rely on a single predefined temporal prior, such as periodicity alone.
The learned structures also vary across datasets. The ETT datasets often contain a mixture of local continuity, alternating recurrent patterns, and smooth transition structures, reflecting heterogeneous temporal dynamics. Weather, Electricity, and Traffic exhibit more regular banded or repeated structures, indicating that TStruct can capture dataset-specific temporal regularities through shared dependency matrices. Overall, these visualizations provide qualitative evidence that the temporal structures learned by TStruct are interpretable, structured, and adaptive to different datasets.

Figure 8: Learned Temporal Structures on ETTh1.

Figure 9: Learned Temporal Structures on ETTh2.

Figure 10: Learned Temporal Structures on ETTm1.

Figure 11: Learned Temporal Structures on ETTm2.



Figure 12: Learned Temporal Structures on Weather.



Figure 13: Learned Temporal Structures on Electricity.

Figure 14: Learned Temporal Structures on Traffic.
E Detailed Experimental Results
This section provides the complete experimental results corresponding to the summarized tables in the main paper. While the main text reports average results over all prediction horizons for compactness, here we present the detailed results under each prediction length . These results provide a more fine-grained comparison across horizons and further support the consistency of TStruct under different forecasting settings.
E.1 Detailed Forecasting Results
Table 10 reports the full forecasting results of TStruct and all baseline methods on seven benchmarks. The results include both MSE and MAE under each prediction horizon, providing the detailed counterpart to the averaged results reported in the main paper.
Table 10: Full multivariate time series forecasting results. The best results are marked in bold red, and the second-best results are marked in blue underline.
| Methods | TStruct (ours) | DUET [2025] | PhaseFormer [2026] | GTR [2026] | TimeEmb [2025] | TQNet [2025] | CycleNet [2024] | PatchTST [2023] | DLinear [2023] | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Datasets | Metric | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE |
| ETTh1 | 96 | 0.345 | 0.380 | 0.352 | 0.384 | 0.359 | 0.382 | 0.367 | 0.391 | 0.372 | 0.400 | 0.371 | 0.393 | 0.374 | 0.396 | 0.375 | 0.399 | 0.379 | 0.403 |
| 192 | 0.383 | 0.405 | 0.398 | 0.409 | 0.397 | 0.404 | 0.409 | 0.420 | 0.413 | 0.427 | 0.410 | 0.418 | 0.406 | 0.415 | 0.414 | 0.421 | 0.408 | 0.419 | |
| 336 | 0.407 | 0.421 | 0.414 | 0.426 | 0.425 | 0.424 | 0.432 | 0.434 | 0.438 | 0.443 | 0.432 | 0.433 | 0.431 | 0.430 | 0.431 | 0.436 | 0.440 | 0.440 | |
| 720 | 0.427 | 0.454 | 0.429 | 0.455 | 0.431 | 0.450 | 0.451 | 0.463 | 0.449 | 0.462 | 0.466 | 0.468 | 0.450 | 0.464 | 0.449 | 0.466 | 0.471 | 0.493 | |
| Avg. | 0.390 | 0.415 | 0.398 | 0.419 | 0.403 | 0.415 | 0.415 | 0.419 | 0.418 | 0.433 | 0.420 | 0.428 | 0.415 | 0.426 | 0.417 | 0.431 | 0.425 | 0.439 | |
| ETTh2 | 96 | 0.267 | 0.330 | 0.270 | 0.336 | 0.275 | 0.338 | 0.274 | 0.341 | 0.290 | 0.348 | 0.290 | 0.349 | 0.271 | 0.337 | 0.274 | 0.337 | 0.300 | 0.364 |
| 192 | 0.322 | 0.371 | 0.332 | 0.374 | 0.341 | 0.376 | 0.340 | 0.385 | 0.347 | 0.387 | 0.367 | 0.397 | 0.332 | 0.380 | 0.348 | 0.384 | 0.387 | 0.423 | |
| 336 | 0.357 | 0.400 | 0.353 | 0.397 | 0.369 | 0.405 | 0.363 | 0.409 | 0.376 | 0.411 | 0.363 | 0.406 | 0.362 | 0.408 | 0.377 | 0.416 | 0.490 | 0.487 | |
| 720 | 0.381 | 0.426 | 0.382 | 0.425 | 0.402 | 0.436 | 0.405 | 0.439 | 0.399 | 0.439 | 0.412 | 0.443 | 0.415 | 0.449 | 0.406 | 0.441 | 0.704 | 0.597 | |
| Avg. | 0.331 | 0.381 | 0.334 | 0.383 | 0.347 | 0.389 | 0.346 | 0.394 | 0.353 | 0.396 | 0.358 | 0.399 | 0.345 | 0.394 | 0.351 | 0.395 | 0.470 | 0.468 | |
| ETTm1 | 96 | 0.275 | 0.325 | 0.279 | 0.333 | 0.293 | 0.344 | 0.283 | 0.337 | 0.293 | 0.346 | 0.294 | 0.345 | 0.299 | 0.348 | 0.289 | 0.343 | 0.300 | 0.345 |
| 192 | 0.320 | 0.354 | 0.320 | 0.358 | 0.323 | 0.361 | 0.323 | 0.365 | 0.326 | 0.366 | 0.336 | 0.372 | 0.334 | 0.367 | 0.329 | 0.368 | 0.336 | 0.366 | |
| 336 | 0.355 | 0.378 | 0.348 | 0.377 | 0.358 | 0.381 | 0.355 | 0.384 | 0.356 | 0.382 | 0.368 | 0.392 | 0.364 | 0.387 | 0.362 | 0.390 | 0.367 | 0.386 | |
| 720 | 0.400 | 0.411 | 0.405 | 0.408 | 0.412 | 0.410 | 0.420 | 0.422 | 0.405 | 0.410 | 0.412 | 0.443 | 0.410 | 0.411 | 0.416 | 0.423 | 0.419 | 0.416 | |
| Avg. | 0.337 | 0.367 | 0.338 | 0.369 | 0.347 | 0.374 | 0.345 | 0.377 | 0.345 | 0.376 | 0.353 | 0.388 | 0.352 | 0.378 | 0.349 | 0.381 | 0.356 | 0.378 | |
| ETTm2 | 96 | 0.153 | 0.241 | 0.161 | 0.248 | 0.163 | 0.256 | 0.161 | 0.252 | 0.163 | 0.251 | 0.166 | 0.255 | 0.159 | 0.247 | 0.165 | 0.255 | 0.164 | 0.255 |
| 192 | 0.209 | 0.282 | 0.214 | 0.286 | 0.219 | 0.293 | 0.221 | 0.292 | 0.219 | 0.290 | 0.222 | 0.294 | 0.214 | 0.286 | 0.221 | 0.293 | 0.224 | 0.304 | |
| 336 | 0.264 | 0.321 | 0.267 | 0.321 | 0.269 | 0.326 | 0.278 | 0.326 | 0.265 | 0.320 | 0.277 | 0.337 | 0.268 | 0.326 | 0.276 | 0.327 | 0.277 | 0.337 | |
| 720 | 0.344 | 0.372 | 0.348 | 0.374 | 0.351 | 0.379 | 0.359 | 0.388 | 0.343 | 0.372 | 0.366 | 0.386 | 0.353 | 0.384 | 0.362 | 0.381 | 0.371 | 0.401 | |
| Avg. | 0.243 | 0.304 | 0.248 | 0.307 | 0.251 | 0.314 | 0.255 | 0.315 | 0.248 | 0.308 | 0.258 | 0.318 | 0.249 | 0.311 | 0.256 | 0.314 | 0.259 | 0.324 | |
| Weather | 96 | 0.137 | 0.181 | 0.146 | 0.191 | 0.148 | 0.195 | 0.147 | 0.199 | 0.143 | 0.193 | 0.155 | 0.201 | 0.164 | 0.220 | 0.150 | 0.200 | 0.170 | 0.230 |
| 192 | 0.181 | 0.226 | 0.188 | 0.231 | 0.193 | 0.237 | 0.192 | 0.240 | 0.188 | 0.237 | 0.200 | 0.242 | 0.209 | 0.258 | 0.191 | 0.239 | 0.216 | 0.273 | |
| 336 | 0.230 | 0.267 | 0.234 | 0.268 | 0.242 | 0.278 | 0.243 | 0.281 | 0.236 | 0.274 | 0.248 | 0.284 | 0.255 | 0.292 | 0.242 | 0.279 | 0.258 | 0.307 | |
| 720 | 0.304 | 0.324 | 0.305 | 0.319 | 0.309 | 0.332 | 0.324 | 0.337 | 0.306 | 0.325 | 0.318 | 0.335 | 0.320 | 0.338 | 0.312 | 0.330 | 0.323 | 0.362 | |
| Avg. | 0.213 | 0.249 | 0.218 | 0.252 | 0.223 | 0.261 | 0.227 | 0.264 | 0.218 | 0.257 | 0.230 | 0.266 | 0.237 | 0.277 | 0.224 | 0.262 | 0.242 | 0.293 | |
| Electricity | 96 | 0.123 | 0.216 | 0.128 | 0.219 | 0.129 | 0.221 | 0.127 | 0.222 | 0.129 | 0.225 | 0.129 | 0.224 | 0.128 | 0.223 | 0.130 | 0.222 | 0.140 | 0.237 |
| 192 | 0.141 | 0.232 | 0.145 | 0.235 | 0.148 | 0.238 | 0.147 | 0.242 | 0.145 | 0.241 | 0.151 | 0.245 | 0.143 | 0.237 | 0.148 | 0.240 | 0.154 | 0.251 | |
| 336 | 0.155 | 0.250 | 0.163 | 0.255 | 0.165 | 0.257 | 0.165 | 0.260 | 0.161 | 0.257 | 0.166 | 0.261 | 0.159 | 0.254 | 0.167 | 0.261 | 0.169 | 0.268 | |
| 720 | 0.185 | 0.279 | 0.193 | 0.281 | 0.201 | 0.285 | 0.199 | 0.292 | 0.197 | 0.289 | 0.201 | 0.294 | 0.197 | 0.287 | 0.202 | 0.291 | 0.204 | 0.301 | |
| Avg. | 0.151 | 0.244 | 0.157 | 0.248 | 0.161 | 0.250 | 0.160 | 0.254 | 0.158 | 0.253 | 0.162 | 0.256 | 0.157 | 0.250 | 0.162 | 0.254 | 0.167 | 0.264 | |
| Traffic | 96 | 0.352 | 0.235 | 0.360 | 0.238 | 0.361 | 0.238 | 0.367 | 0.257 | 0.374 | 0.268 | 0.362 | 0.260 | 0.381 | 0.266 | 0.367 | 0.251 | 0.395 | 0.275 |
| 192 | 0.368 | 0.244 | 0.383 | 0.249 | 0.373 | 0.243 | 0.382 | 0.266 | 0.387 | 0.268 | 0.384 | 0.269 | 0.394 | 0.273 | 0.385 | 0.259 | 0.407 | 0.280 | |
| 336 | 0.383 | 0.253 | 0.395 | 0.259 | 0.385 | 0.248 | 0.399 | 0.275 | 0.401 | 0.275 | 0.423 | 0.297 | 0.406 | 0.279 | 0.398 | 0.265 | 0.417 | 0.286 | |
| 720 | 0.422 | 0.277 | 0.435 | 0.278 | 0.428 | 0.270 | 0.441 | 0.298 | 0.434 | 0.275 | 0.447 | 0.303 | 0.441 | 0.300 | 0.434 | 0.287 | 0.454 | 0.308 | |
| Avg. | 0.381 | 0.252 | 0.393 | 0.256 | 0.387 | 0.250 | 0.397 | 0.274 | 0.399 | 0.272 | 0.404 | 0.282 | 0.406 | 0.280 | 0.396 | 0.266 | 0.418 | 0.287 | |
| 1st Count | 32 | 23 | 3 | 5 | 0 | 7 | 0 | 0 | 1 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
E.2 Detailed Ablation Results
Table 11 reports the full ablation results under different prediction horizons. These results complement the averaged ablation table in the main paper and show that the benefits of the proposed Temporal Structure Mixer and PCAHead remain consistent across forecasting horizons.
Table 11: Complete ablation results of TStruct under different prediction horizons. TSM→MHA replaces the Temporal Structure Mixer with multi-head attention, TSM→Linear replaces it with a shared linear temporal mixer, and PCAHead→Linear replaces the proposed prediction head with a linear head.
| Datasets | ETTh1 | ETTh2 | ETTm1 | ETTm2 | Weather | Electricity | Traffic | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Method | Metric | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE | MSE | MAE |
| TSM → MHA | 96 | 0.367 | 0.399 | 0.285 | 0.350 | 0.298 | 0.340 | 0.191 | 0.272 | 0.143 | 0.189 | 0.131 | 0.225 | 0.377 | 0.255 |
| 192 | 0.421 | 0.440 | 0.360 | 0.395 | 0.344 | 0.369 | 0.222 | 0.293 | 0.188 | 0.232 | 0.148 | 0.240 | 0.390 | 0.262 | |
| 336 | 0.434 | 0.447 | 0.360 | 0.402 | 0.424 | 0.426 | 0.266 | 0.322 | 0.260 | 0.295 | 0.167 | 0.258 | 0.405 | 0.272 | |
| 720 | 0.478 | 0.491 | 0.393 | 0.433 | 0.437 | 0.429 | 0.356 | 0.383 | 0.326 | 0.344 | 0.203 | 0.291 | 0.439 | 0.289 | |
| Avg. | 0.425 | 0.444 | 0.350 | 0.395 | 0.376 | 0.391 | 0.259 | 0.318 | 0.229 | 0.265 | 0.162 | 0.254 | 0.403 | 0.270 | |
| TSM → Linear | 96 | 0.364 | 0.393 | 0.271 | 0.327 | 0.278 | 0.331 | 0.158 | 0.243 | 0.140 | 0.185 | 0.125 | 0.218 | 0.352 | 0.235 |
| 192 | 0.395 | 0.413 | 0.338 | 0.373 | 0.334 | 0.362 | 0.218 | 0.285 | 0.187 | 0.232 | 0.143 | 0.234 | 0.368 | 0.245 | |
| 336 | 0.418 | 0.428 | 0.365 | 0.404 | 0.359 | 0.382 | 0.266 | 0.322 | 0.236 | 0.273 | 0.157 | 0.250 | 0.383 | 0.254 | |
| 720 | 0.433 | 0.461 | 0.391 | 0.431 | 0.418 | 0.413 | 0.351 | 0.381 | 0.309 | 0.327 | 0.187 | 0.280 | 0.423 | 0.277 | |
| Avg. | 0.403 | 0.424 | 0.341 | 0.384 | 0.347 | 0.372 | 0.248 | 0.308 | 0.218 | 0.254 | 0.153 | 0.246 | 0.382 | 0.253 | |
| PCAHead → Linear | 96 | 0.348 | 0.382 | 0.268 | 0.331 | 0.275 | 0.325 | 0.160 | 0.248 | 0.137 | 0.179 | 0.124 | 0.217 | 0.353 | 0.236 |
| 192 | 0.385 | 0.405 | 0.330 | 0.374 | 0.323 | 0.354 | 0.212 | 0.283 | 0.184 | 0.227 | 0.142 | 0.232 | 0.369 | 0.245 | |
| 336 | 0.411 | 0.423 | 0.364 | 0.405 | 0.357 | 0.379 | 0.267 | 0.322 | 0.230 | 0.268 | 0.156 | 0.250 | 0.383 | 0.254 | |
| 720 | 0.431 | 0.459 | 0.393 | 0.432 | 0.408 | 0.412 | 0.354 | 0.376 | 0.310 | 0.328 | 0.186 | 0.279 | 0.423 | 0.277 | |
| Avg. | 0.394 | 0.417 | 0.339 | 0.386 | 0.341 | 0.368 | 0.248 | 0.307 | 0.215 | 0.251 | 0.152 | 0.245 | 0.382 | 0.253 | |
| TStruct | 96 | 0.345 | 0.380 | 0.267 | 0.330 | 0.275 | 0.325 | 0.155 | 0.241 | 0.137 | 0.181 | 0.123 | 0.216 | 0.352 | 0.235 |
| 192 | 0.383 | 0.405 | 0.322 | 0.371 | 0.320 | 0.354 | 0.209 | 0.282 | 0.181 | 0.226 | 0.141 | 0.232 | 0.368 | 0.244 | |
| 336 | 0.407 | 0.421 | 0.357 | 0.400 | 0.355 | 0.378 | 0.265 | 0.320 | 0.230 | 0.267 | 0.155 | 0.249 | 0.383 | 0.253 | |
| 720 | 0.427 | 0.454 | 0.381 | 0.426 | 0.400 | 0.411 | 0.344 | 0.372 | 0.304 | 0.324 | 0.185 | 0.279 | 0.422 | 0.277 | |
| Avg. | 0.390 | 0.416 | 0.331 | 0.381 | 0.337 | 0.367 | 0.243 | 0.303 | 0.213 | 0.249 | 0.151 | 0.244 | 0.381 | 0.252 | |
F Limitations and Future Directions
TStruct models temporal dependencies through a compact set of shared temporal structure matrices, with controlled initialization and softmax normalized composition and aggregation. This parameterization provides an effective way to learn reusable temporal structures for LTSF. Their adaptation across patch resolutions and transfer across datasets and domains at scale remain directions for further exploration.
Patch resolution dependency. The learned temporal structures are tied to a specific patch resolution. Since each temporal dependency matrix is parameterized over N patch positions, changing the patch size or look-back length can alter the matrix dimensions or the temporal meaning of its coordinates. Although TStruct remains effective under different look-back lengths, directly sharing temporal structures across different patch resolutions remains non-trivial. A promising direction is to develop resolution-adaptive temporal structures that can be transferred, interpolated, or composed across different patch scales.
Temporal structure foundation models. Even after fine-tuning, time series foundation models can struggle to outperform small models trained on individual datasets. One possible explanation is the difficulty of learning input representations that generalize across heterogeneous time series, motivating the exploration of temporal dependency structures as an alternative focus of pretraining. Our analysis provides evidence of reusable temporal relationships across temporal positions and variables, while their transfer and generalization across datasets and domains at scale remain untested. A potential direction is to develop a time series foundation model built around a pretrained dictionary of shared temporal dependency structures, with downstream forecasting tasks selecting and composing these structures to form temporal aggregation operators.