mlsanityData to 14 Oct 2026

Positional Encoding in Transformer-Based Time Series Models: A Survey

arXiv 2502.12370 ↗First posted 17 Feb 2025cs.LGcited by 14

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 44 of its 84 references that are in the map. First posted on arXiv 17 Feb 2025.

Builds on

44 of 84 references.

References · 44

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  6. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  7. 2020Longformer: The Long-Document Transformercited by 3,413
  8. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
  9. 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,676
  10. 2020Reformer: The Efficient Transformercited by 1,668
  11. 2022Are Transformers Effective for Time Series Forecasting?cited by 1,424
  12. 2022FEDformer: Frequency Enhanced Decomposed Transformer for Long-term Series Forecastingcited by 1,210
32 more
  1. 2018Self-Attention with Relative Position Representationscited by 1,120
  2. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  3. 2015Effective Approaches to Attention-based Neural Machine Translationcited by 1,026
  4. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  5. 2020Efficient Transformers: A Surveycited by 790
  6. 2019Temporal Fusion Transformers for Interpretable Multi-horizon Time Series Forecastingcited by 761
  7. 2019Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecastingcited by 607
  8. 2018Deep learning for time series classification: a reviewcited by 576
  9. 2022Transformers in Time Series: A Surveycited by 497
  10. 2020Time Series Forecasting With Deep Learning: A Surveycited by 459
  11. 2020A Transformer-based Framework for Multivariate Time Series Representation Learningcited by 453
  12. 2018The UCR Time Series Archivecited by 431
  13. 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 406
  14. 2015Attention-Based Models for Speech Recognitioncited by 401
  15. 2021Anomaly Transformer: Time Series Anomaly Detection with Association Discrepancycited by 394
  16. 2016Time Series Classification from Scratch with Deep Neural Networks: A Strong Baselinecited by 360
  17. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 327
  18. 2021Monash Time Series Forecasting Archivecited by 267
  19. 2017A Dual-Stage Attention-Based Recurrent Neural Network for Time Series Predictioncited by 245
  20. 2022TranAD: Deep Transformer Networks for Anomaly Detection in Multivariate Time Series Datacited by 214
  21. 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 213
  22. 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
  23. 2018Temporal Pattern Attention for Multivariate Time Series Forecastingcited by 125
  24. 2017Attend and Diagnose: Clinical Time Series Analysis using Attention Modelscited by 105
  25. 2020Improve Transformer Models with Better Relative Position Embeddingscited by 73
  26. 2021Differentiable Patch Selection for Image Recognitioncited by 68
  27. 2021Gated Transformer Networks for Multivariate Time Series Classificationcited by 58
  28. 2016UniMiB SHAR: a new dataset for human activity recognition using acceleration data from smartphonescited by 54
  29. 2023Improving Position Encoding of Transformers for Multivariate Time Series Classificationcited by 45
  30. 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 37
  31. 2023Length Extrapolation of Transformers: A Survey from the Perspective of Positional Encodingcited by 32
  32. 2014Flying Insect Classification with Inexpensive Sensorscited by 11

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 9.

14 papers.

Sort:

By area: