Skip to content
AI.info

Research

TStruct: Learning Shared Temporal Structures for Long-Term Time-Series Forecasting

Overview Research area: Long-term time-series forecasting (LTSF) with deep learning, specifically explicit parameterization of temporal dependency structures. Technical level: Intermediate. The core i

TStruct: Learning Shared Temporal Structures for Long-Term Time-Series Forecasting
arXiv
2610.17864
Published
2026-10-13
Authors
Yangze Li, Zhengyang Zhou, Qihe Huang, Pengkun Wang, Binwu Wang, Yang Wang

AI summary

Overview

Research area: Long-term time-series forecasting (LTSF) with deep learning, specifically explicit parameterization of temporal dependency structures.

Technical level: Intermediate. The core idea is intuitive (learning a small library of shared "relationship templates" and mixing them per sample and variable), but the paper includes spectral analysis of patch-level relationship matrices and low-rank parameterization math.

Scope: The paper analyzes whether temporal relationship structures recur across samples and variables in real-world time series, then proposes TStruct, a network that learns a small set of shared temporal dependency matrices and adaptively combines them per sample-variable pair.

What This Paper Is About

Real-world time series are noisy and non-stationary, so flexible deep models risk fitting incidental interactions that do not generalize, while rigid shared transformations may fail to capture heterogeneity across samples and variables. The authors ask whether some temporal relationship structures recur stably across different temporal positions and different variables, and if so, whether those structures can be learned explicitly rather than left to generic architectures. Their answer is TStruct, a network that parameterizes shared patch-level dependency matrices and mixes them with sample-dynamic and variable-static weights.

Key Contributions

  1. An empirical finding about shared structure. The authors analyze patch-level temporal relationship matrices on commonly used forecasting datasets and report that samples from different temporal positions and different variables exhibit shared dominant temporal relationship structures, supported by spectral concentration and by patch-shuffled and IID Gaussian controls.

  2. The TStruct architecture. A shared-adaptive temporal dependency modeling method that learns a set of shared temporal dependency matrices and uses dynamic sample information plus a static variable prior to build sample- and variable-specific dependencies, which are normalized into soft aggregation weights.

  3. PCAHead. A parameter-efficient channel adaptation head that uses shared low-rank projection banks to generate variable-specific prediction projections, reducing head complexity from O(C·D_in·H) to O(D_in·H + K·r·(D_in + H) + C·K).

  4. Extensive evaluation. Experiments on seven long-term forecasting benchmarks against eight baselines, plus ablation, generalization (temporal distribution shift and sample efficiency), look-back length, and interpretability analyses.

Main Findings

  • Best average accuracy on all seven benchmarks. TStruct achieves the best average MSE on all seven datasets and the best average MAE on six, ranking first in 13 of the 14 dataset-metric comparisons. Average results over prediction horizons of {96, 192, 336, 720}: ETTh1 0.390 MSE / 0.415 MAE; ETTh2 0.331 / 0.381; ETTm1 0.337 / 0.367; ETTm2 0.243 / 0.304; Weather 0.213 / 0.249; Electricity 0.151 / 0.244; Traffic 0.381 / 0.252.

  • Strongest gains on non-stationary datasets. On the ETT subsets and Weather, TStruct shows clear advantages over existing methods, which the authors attribute to these datasets containing non-stationary temporal dynamics and distribution variations where overly flexible models fit incidental interactions and overly fixed transformations adapt poorly.

  • Competitive without explicit cross-variable interactions. On Electricity and Traffic, TStruct achieves the best average MSE on both and the best average MAE on Electricity and second-best on Traffic, despite not using explicit cross-variable interactions. The authors connect this to stronger spectral concentration in patch-level relationship matrices on these datasets.

  • Ablation: shared-adaptive mixing beats both extremes. Replacing the Temporal Structure Mixer with multi-head attention (①) degrades performance most (e.g., ETTh1 0.425 MSE / 0.444 MAE versus TStruct's 0.390 / 0.416). Replacing it with a shared linear mixer (②) is closer on Electricity and Traffic (0.153 / 0.246 for Electricity) but worse on ETT and Weather than TStruct. Replacing PCAHead with a shared linear head (③) causes moderate but consistent degradation.

  • Better generalization under temporal distribution shift. Training on the earliest 20%, 40%, 60%, 80%, and 100% of timestamp-ordered ETTh1 training samples, multi-head attention consistently performs worst; the structure mixer is close to the linear variant at 20% but clearly outperforms it from 40% onward.

  • Better sample efficiency. With randomly sampled training data, TStruct's mixer achieves the best performance even at 20% and converges quickly around 40%. TStruct trained on 40% of data outperforms attention and linear variants trained on the full training set.

  • Longer look-back helps TStruct. When look-back length is varied from 48 to 720 on ETTh1, explicit periodic-prior baselines (CycleNet, TQNet, TimeEmb, GTR) show limited improvement and may degrade with overly long histories, whereas TStruct consistently benefits from longer look-back windows.

  • Interpretable learned structures. On Weather, Var 16 has clear periodic autocorrelation and puts higher weight on Structure #1, which captures broader recurrent relations among patches, while Var 14 has rapidly decaying autocorrelation and puts higher weight on Structure #2, which shows strong diagonal dominance reflecting local temporal continuity.

  • Spectral evidence for shared structure. The analysis reports concentrated singular value spectra across samples and variables, with higher spectral concentration in real data than in patch-shuffled and IID Gaussian controls under the same pipeline. Concentration is quantified as the number of singular components needed to explain 95% of the spectral energy (the 95% energy rank).

Methodology in Plain English

The authors start by testing an assumption rather than jumping to a model. They split each input window into non-overlapping patches, normalize each patch by its L2 norm, and build a matrix of relationships between relative patch positions for every sample-variable pair. Stacking these matrices across samples (for a fixed variable) and across variables (for a fixed sample) and running SVD reveals that the relationship patterns concentrate in a few directions. Control experiments — shuffling patches independently and using IID Gaussian inputs — reduce this concentration, suggesting the patterns recur at corresponding relative temporal positions.

The model then builds on this. TStruct applies instance-wise normalization (following RevIN) before encoding and restores the original scale after prediction. Patch embedding converts each univariate sequence into patch-level representations through a linear projection shared across variables. The Temporal Structure Encoder stores K learnable shared dependency matrices of size N×N; these are initialized orthogonally with unit Frobenius norm so the initial dependency scores have a controlled scale. For each sample-variable pair, two things are combined: a static learnable variable prior, and a dynamic query produced by averaging the sample-variable representation over patches and passing it through a lightweight router. A softmax over the K structures turns the sum of these into nonnegative weights summing to one, so each sample-variable dependency matrix is a convex combination of the shared bases. A second row-wise softmax converts those scores into aggregation weights, meaning temporal aggregation is a weighted average of projected historical features rather than arbitrary signed amplification. A feed-forward network with residual connections follows.

The prediction head addresses variable heterogeneity cheaply. A shared base projection produces the base prediction, and a variable-specific correction is added through low-rank down- and up-projection matrices assembled from shared banks using per-variable softmax coefficients. The up-projection bank is zero-initialized so the residual branch starts at zero and the model first relies on the shared base prediction.

Why This Matters

Impact on research. The paper reframes explicit temporal parameterization: prior work in this direction (CycleNet, TQNet, TimeEmb, MOFO, GTR, among those cited) mostly parameterizes recurring periodic patterns or time-indexed representations in the input sequence. TStruct shifts the parameterization target to temporal dependency structures themselves, arguing that dependency structures can contain periodicity but are not equivalent to it. It also offers a middle path between fully input-dependent attention and a single fixed mixing rule, with an analysis pipeline (patch-level relationship matrices, spectral concentration, 95% energy rank, patch-shuffled and IID Gaussian controls) that other researchers can reuse to test shared structure on new data.

Real-world applications (drawn from the applications and datasets the paper discusses):

  • Energy scheduling and electricity load forecasting, evaluated on hourly consumption from 321 clients in kWh.
  • Traffic management, evaluated on hourly road occupancy rates from 862 freeway sensors in the San Francisco Bay Area.
  • Weather forecasting, evaluated on 21 meteorological variables at 10-minute intervals.
  • Financial risk control, cited as an application domain for long-term forecasting.

Industry relevance. The paper emphasizes computational efficiency alongside accuracy and reports consistently better performance than strong Transformer-based, Linear-based, and explicit temporal-pattern baselines. PCAHead is explicitly motivated by parameter cost: an independent head per variable would scale with the number of variables, which is impractical for large sensor networks like the 862-variable Traffic dataset. The claim that 40% of randomly sampled training data can outperform full-data training of alternative designs matters for settings where labeled history is expensive or where data arrives under shifting distributions.

Future Directions

  • The paper's own limitations and future-directions discussion is in Appendix F, whose content is not included in the provided text, so the authors' stated limitations are not reported here.

  • Cross-variable structure. TStruct deliberately avoids explicit cross-variable interactions; extending the shared-structure idea to relationships among variables, not just among relative patch positions, is a natural next step given how strongly it performs on the 321-variable Electricity and 862-variable Traffic data.

  • Choosing the number of shared structures and patch settings. The number of shared structures K, patch length P, and other hyperparameters are deferred to Appendix B, which is not included here. Understanding how K trades off against accuracy and how much shared structure exists in a new domain (given the 95% energy rank analysis) is an open practical question.

  • Combining dependency-structure parameterization with periodic priors. The look-back analysis shows TStruct and periodic-prior methods behave differently as history grows; whether combining the two forms of explicit parameterization helps is untested in the provided content.

  • Generalization beyond the tested shift types. Generalization is evaluated on ETTh1 only, using timestamp-ordered and randomly sampled training subsets; other forms of distribution shift, datasets, and domains are not reported.

Target Audience

Researchers and practitioners working on long-term time-series forecasting who are interested in explicit structure parameterization, efficiency-oriented architectures, or the debate between flexible attention and fixed mixing. It is also useful for engineers deploying forecasting models on large-variable-count sensor networks (electricity, traffic, weather), and for methodologists interested in the spectral-analysis approach for detecting shared structure in time series. Readers need comfort with matrix algebra, softmax normalization, and singular value decomposition to follow the analysis and methodology in full.

Authors’ 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 \textbf{T}emporal \textbf{Struct}ure Network (\textbf{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.

Read the original paper