StretchTime: Adaptive Time Series Forecasting via Symplectic Attention
Yubin Kim, Viresh Pati, Jevon Twitty, Vinh Pham, Shihao Yang, Jiecheng Lu

TL;DR
StretchTime introduces Symplectic Positional Embeddings (SyPE) to enable transformers to adaptively model non-linear, non-stationary time-warped dynamics in time series forecasting, outperforming traditional methods on benchmarks.
Contribution
The paper proposes SyPE, a novel learnable positional encoding based on Hamiltonian mechanics, extending rotary embeddings to handle complex temporal warping in time series forecasting.
Findings
Achieves state-of-the-art results on benchmark datasets.
Demonstrates robustness on non-stationary, time-warped data.
Outperforms existing transformer-based forecasting methods.
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 to the symplectic group , modulated by a novel input-dependent adaptive warp module. By…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTime Series Analysis and Forecasting · Machine Learning in Healthcare · Stock Market Forecasting Methods
