mlsanityData to 14 Oct 2026

StretchTime: Adaptive Time Series Forecasting via Symplectic Attention

arXiv 2602.08983 ↗First posted 9 Feb 2026cs.LG cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

Transformer architectures have established strong baselines in time series forecasting, yet they typically rely on positional encodings that assume uniform, index-based temporal progression. However, real-world systems, from shifting financial cycles to elastic biological rhythms, frequently exhibit "time-warped" dynamics where the effective flow of time decouples from the sampling index. In this work, we first formalize this misalignment and prove that rotary position embedding (RoPE) is mathematically incapable of representing non-affine temporal warping. To address this, we propose Symplectic Positional Embeddings (SyPE), a learnable encoding framework derived from Hamiltonian mechanics. SyPE strictly generalizes RoPE by extending the rotation group SO(2) to the symplectic group Sp(2,ℝ), modulated by a novel input-dependent adaptive warp module. By allowing the attention mechanism to adaptively dilate or contract temporal coordinates end-to-end, our approach captures locally varying periodicities without requiring pre-defined warping functions. We implement this mechanism in StretchTime, a multivariate forecasting architecture that achieves state-of-the-art performance on standard benchmarks, demonstrating superior robustness on datasets exhibiting non-stationary temporal dynamics.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 17 of its 34 references that are in the map. First posted on arXiv 9 Feb 2026.

Builds on

17 of 34 references.

References · 17

  1. 2017Attention Is All You Needcited by 60,361
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  4. 2022A Time Series is Worth 64 Words: Long-term Forecasting with Transformerscited by 2,039
  5. 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,676
  6. 2022Are Transformers Effective for Time Series Forecasting?cited by 1,424
  7. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  8. 2022TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysiscited by 1,058
  9. 2023iTransformer: Inverted Transformers Are Effective for Time Series Forecastingcited by 931
  10. 2017Modeling Long- and Short-Term Temporal Patterns with Deep Neural Networkscited by 879
  11. 2023Extending Context Window of Large Language Models via Positional Interpolationcited by 740
  12. 2022Transformers in Time Series: A Surveycited by 497
5 more
  1. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  2. 2024Rotary Position Embedding for Vision Transformercited by 236
  3. 2025OLinear: A Linear Model for Time Series Forecasting in Orthogonally Transformed Domaincited by 26
  4. 2024In-context Time Series Predictorcited by 23
  5. 2025Linear Transformers as VAR Models: Aligning Autoregressive Attention Mechanisms with Autoregressive Forecastingcited by 9

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.