Positional encoding in transformer-based time series models: a survey
Habib Irani, Vangelis Metsis
Texas State University
Abstract
Abstract Recent advancements in transformer-based models have greatly improved time series analysis, providing robust solutions for tasks such as forecasting, anomaly detection, and classification. A crucial element of these models is positional encoding, which allows transformers to capture the intrinsic sequential nature of time series data. This survey systematically examines existing techniques for positional encoding in transformer-based time series models. We investigate a variety of methods, including fixed, learnable, relative, and hybrid approaches, and evaluate their effectiveness in different time series classification tasks. Our findings indicate that data characteristics like sequence length, signal complexity, and dimensionality significantly influence method effectiveness. Advanced positional encoding methods exhibit performance gains in terms of prediction accuracy, however, they come at the cost of increased computational complexity. Furthermore, we outline key challenges and suggest potential research directions to enhance positional encoding strategies. By delivering a comprehensive overview and quantitative benchmarking, this survey intends to assist researchers and practitioners in selecting and designing effective positional encoding methods for transformer-based time series models.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A survey of transformer networks for time series forecastingComputer Science Review · 2025
- TimeFormer: Transformer with attention modulation empowered by temporal characteristics for time series forecastingExpert Systems with Applications · 2025
- Beyond Static Positional Encoding: Bayesian Time-aware Attention for Non-Stationary Long-term Time Series ForecastingarXiv · 2026
- Wavelet-Enhanced Transformer for Adaptive Multi-Period Time Series ForecastingApplied Sciences · 2025
- Scaling transformers for time series forecasting: do pretrained large models outperform small-scale alternatives?Artificial Intelligence Review · 2026
- On the Encoding of Calendar Features in Covariate-Informed Time Series Foundation ModelsarXiv · 2026