mlsanityData to 7 Oct 2026

Learning to Encode Position for Transformer with Continuous Dynamical Model

arXiv 2003.09229 ↗First posted 13 Mar 2020cs.LG cs.CL stat.MLcited by 61

Not on the map. Why?

Abstract (arXiv)

We introduce a new way of learning to encode position information for non-recurrent models, such as Transformer models. Unlike RNN and LSTM, which contain inductive bias by loading the input tokens sequentially, non-recurrent models are less sensitive to position. The main reason is that position information among input units is not inherently encoded, i.e., the models are permutation equivalent; this problem justifies why all of the existing models are accompanied by a sinusoidal encoding/embedding layer at the input. However, this solution has clear limitations: the sinusoidal encoding is not flexible enough as it is manually designed and does not contain any learnable parameters, whereas the position embedding restricts the maximum length of input sequences. It is thus desirable to design a new position layer that contains learnable parameters to adjust to different datasets and different architectures. At the same time, we would also like the encodings to extrapolate in accordance with the variable length of inputs. In our proposed solution, we borrow from the recent Neural ODE approach, which may be viewed as a versatile continuous version of a ResNet. This model is capable of modeling many kinds of dynamical systems. We model the evolution of encoded results along position index by such a dynamical system, thereby overcoming the above limitations of existing methods. We evaluate our new position layers on a variety of neural machine translation and language understanding tasks, the experimental results show consistent improvements over the baselines.

Key facts. Cited by 61 papers in the map (data through 7 Oct 2026). First posted on arXiv 13 Mar 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 16; 2022: 14; 2023: 7; 2024: 7; 2025: 15; 2026: 2.

61 papers.

Sort:

By area:

  1. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  2. 2021Conditional Positional Encodings for Vision Transformerscited by 402
  3. 2021A Survey of Transformerscited by 399
  4. 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 114
  5. 2021Position Information in Transformers: An Overviewcited by 103
  6. 2021Learnable Fourier Features for Multi-Dimensional Spatial Positional Encodingcited by 93
  7. 2024Graph Mamba: Towards Learning on Graphs with State Space Modelscited by 84
  8. 2021Relating transformers to models and neural representations of the hippocampal formationcited by 62
  9. 2021SAPE: Spatially-Adaptive Progressive Encoding for Neural Optimizationcited by 59
  10. 2022Your Transformer May Not be as Powerful as You Expectcited by 55
  11. 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 36
  12. 2021Rethinking Positional Encodingcited by 36
38 more
  1. 2023Length Extrapolation of Transformers: A Survey from the Perspective of Positional Encodingcited by 32
  2. 2024DAPE: Data-Adaptive Positional Encoding for Length Extrapolationcited by 30
  3. 2022Attention Mechanism in Neural Networks: Where it Comes and Where it Goescited by 29
  4. 2021Neural Delay Differential Equationscited by 26
  5. 2021The Case for Translation-Invariant Self-Attention in Transformer-Based Language Modelscited by 23
  6. 2021ROPE: Reading Order Equivariant Positional Encoding for Graph-based Document Information Extractioncited by 22
  7. 2025Key-value memory in the braincited by 22
  8. 2022Learning Object Placement via Dual-path Graph Completioncited by 20
  9. 2025Learning the RoPEs: Better 2D and 3D Position Encodings with STRINGcited by 19
  10. 2022Trading Positional Complexity vs. Deepness in Coordinate Networkscited by 16
  11. 2022Generalized Classification of Satellite Image Time Series with Thermal Positional Encodingcited by 14
  12. 2022Induced Natural Language Rationales and Interleaved Markup Tokens Enable Extrapolation in Large Language Modelscited by 10
  13. 2024Ex3: Automatic Novel Writing by Extracting, Excelsior and Expandingcited by 10
  14. 2024DAPE V2: Process Attention Score as Feature Map for Length Extrapolationcited by 10
  15. 2022PulseImpute: A Novel Benchmark Task for Pulsative Physiological Signal Imputationcited by 9
  16. 2024RadCLIP: Enhancing Radiologic Image Analysis through Contrastive Language-Image Pre-trainingcited by 8
  17. 2021Learning Positional Embeddings for Coordinate-MLPscited by 7
  18. 2023Encoding Sentence Position in Context-Aware Neural Machine Translation with Concatenationcited by 6
  19. 2022Expressing Multivariate Time Series as Graphs with Time Series Attention Transformercited by 5
  20. 2022P-Transformer: Towards Better Document-to-Document Neural Machine Translationcited by 5
  21. 2023Koopman Invertible Autoencoder: Leveraging Forward and Backward Dynamics for Temporal Modelingcited by 5
  22. 2025Group Representational Position Encodingcited by 5
  23. 2022Multi-branch Cascaded Swin Transformers with Attention to k-space Sampling Pattern for Accelerated MRI Reconstructioncited by 4
  24. 2023AnyPose: Anytime 3D Human Pose Forecasting via Neural Ordinary Differential Equationscited by 4
  25. 2021Conformer-based End-to-end Speech Recognition With Rotary Position Embeddingcited by 3
  26. 2021PESTO: Switching Point based Dynamic and Relative Positional Encoding for Code-Mixed Languagescited by 3
  27. 2022Investigating Neural Architectures by Synthetic Dataset Designcited by 3
  28. 2024Continuous-Time Linear Positional Embedding for Irregular Time Series Forecastingcited by 3
  29. 2023CONFLATOR: Incorporating Switching Point based Rotatory Positional Encodings for Code-Mixed Language Modelingcited by 2
  30. 2025ID-Align: RoPE-Conscious Position Remapping for Dynamic High-Resolution Adaptation in Vision-Language Modelscited by 2
  31. 2025SeqPE: Transformer with Sequential Position Encodingcited by 2
  32. 2025A Circular Argument : Does RoPE need to be Equivariant for Vision?cited by 2
  33. 2021Hierarchical RNNs-Based Transformers MADDPG for Mixed Cooperative-Competitive Environmentscited by 1
  34. 2022DecBERT: Enhancing the Language Understanding of BERT with Causal Attention Maskscited by 1
  35. 2024Cross-variable Linear Integrated ENhanced Transformer for Photovoltaic power forecastingcited by 1
  36. 2025PIPE: Physics-Informed Position Encoding for Alignment of Satellite Images and Time Seriescited by 1
  37. 2025Pre-trained Transformer-models using chronic invasive electrophysiology for symptom decoding without patient-individual trainingcited by 1
  38. 2025Rotary Position Encodings for Graphscited by 1

50 most cited of 61 All 61 (JSON)