arXiv:2610.17864cs.LGOct 2026

Manuscript Offprint

arXiv:2610.17864

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

Yangze Li, Zhengyang Zhou, Qihe Huang, Pengkun Wang, Binwu Wang, Yang Wang

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.

Figure

(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.

References (45)