Back to Explorer
Research PaperResearchia:202602.10044[Artificial Intelligence > AI]

StretchTime: Adaptive Time Series Forecasting via Symplectic Attention

Yubin Kim

Abstract

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)\mathrm{SO}(2) to the symplectic group Sp(2,R)\mathrm{Sp}(2,\mathbb{R}), 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.


Source: arXiv:2602.08983v1 - http://arxiv.org/abs/2602.08983v1 PDF: https://arxiv.org/pdf/2602.08983v1 Original Link: http://arxiv.org/abs/2602.08983v1

Submission:2/10/2026
Comments:0 comments
Subjects:AI; Artificial Intelligence
Original Source:
View Original PDF
arXiv: This paper is hosted on arXiv, an open-access repository
Was this helpful?

Discussion (0)

Please sign in to join the discussion.

No comments yet. Be the first to share your thoughts!

StretchTime: Adaptive Time Series Forecasting via Symplectic Attention | Researchia | Researchia