What Do Position Embeddings Learn? An Empirical Study of Pre-Trained Language Model Positional Encoding
Not on the map. Why?
Abstract (arXiv)
In recent years, pre-trained Transformers have dominated the majority of NLP benchmark tasks. Many variants of pre-trained Transformers have kept breaking out, and most focus on designing different pre-training objectives or variants of self-attention. Embedding the position information in the self-attention mechanism is also an indispensable factor in Transformers however is often discussed at will. Therefore, this paper carries out an empirical study on position embeddings of mainstream pre-trained Transformers, which mainly focuses on two questions: 1) Do position embeddings really learn the meaning of positions? 2) How do these different learned position embeddings affect Transformers for NLP tasks? This paper focuses on providing a new insight of pre-trained position embeddings through feature-level analysis and empirical experiments on most of iconic NLP tasks. It is believed that our experimental results can guide the future work to choose the suitable positional encoding function for specific tasks given the application property.
Key facts. Cited by 52 papers in the map (data through 14 Oct 2026). First posted on arXiv 10 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 11; 2022: 14; 2023: 8; 2024: 9; 2025: 8; 2026: 2.
52 papers.
Sort:
By area:
- 2021Position Information in Transformers: An Overviewcited by 103
- 2021Pre-trained Language Models in Biomedical Domain: A Systematic Surveycited by 87
- 2022ATTEMPT: Parameter-Efficient Multi-task Tuning via Attentional Mixtures of Soft Promptscited by 85
- 2022Regression Transformer: Concurrent sequence regression and generation for molecular language modelingcited by 50
- 2022Rethinking Video ViTs: Sparse Video Tubes for Joint Image and Video Learningcited by 49
- 2022Transformers in Time-series Analysis: A Tutorialcited by 46
- 2021A Simple and Effective Positional Encoding for Transformerscited by 37
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 37
- 2021The Grammar-Learning Trajectories of Neural Language Modelscited by 36
- 2022Deep Transformer Q-Networks for Partially Observable Reinforcement Learningcited by 36
- 2022Masked Jigsaw Puzzle: A Versatile Position Embedding for Vision Transformerscited by 33
- 2022Word Order Does Matter (And Shuffled Language Models Know It)cited by 32
38 more
- 2024Unveiling the Statistical Foundations of Chain-of-Thought Prompting Methodscited by 29
- 2022UniTE: Unified Translation Evaluationcited by 28
- 2022Multitrack Music Transformercited by 28
- 2021RuleBert: Teaching Soft Rules to Pre-trained Language Modelscited by 25
- 2022Federated Learning with Position-Aware Neuronscited by 24
- 2021The Case for Translation-Invariant Self-Attention in Transformer-Based Language Modelscited by 23
- 2023It's Just a Matter of Time: Detecting Depression with Time-Enriched Multimodal Transformerscited by 18
- 2023Uncovering hidden geometry in Transformers via disentangling position and contextcited by 18
- 2022The Curious Case of Absolute Position Embeddingscited by 17
- 2023Knowledge Distillation in Vision Transformers: A Critical Reviewcited by 13
- 2024Reading Between the Frames: Multi-Modal Depression Detection in Videos from Non-Verbal Cuescited by 11
- 2021Shaking Syntactic Trees on the Sesame Street: Multilingual Probing with Controllable Perturbationscited by 10
- 2025HoPE: Hyperbolic Rotary Positional Encoding for Stable Long-Range Dependency Modeling in Large Language Modelscited by 10
- 2025All You Need is One: Capsule Prompt Tuning with a Single Vectorcited by 8
- 2022Striking a Balance: Alleviating Inconsistency in Pre-trained Models for Symmetric Classification Taskscited by 6
- 2021"Average" Approximates "First Principal Component"? An Empirical Analysis on Representations from Neural Language Modelscited by 4
- 2022Experiencer-Specific Emotion and Appraisal Predictioncited by 4
- 2023Probing the Role of Positional Information in Vision-Language Modelscited by 4
- 2021Position Masking for Improved Layout-Aware Document Understandingcited by 3
- 2024TEE4EHR: Transformer Event Encoder for Better Representation Learning in Electronic Health Recordscited by 3
- 2024Neural Fourier Modelling: A Highly Compact Approach to Time-Series Analysiscited by 3
- 2025Learning the symmetric group: large from smallcited by 3
- 2023Investigating the Effect of Relative Positional Embeddings on AMR-to-Text Generation with Structural Adapterscited by 2
- 2024Effective Message Hiding with Order-Preserving Mechanismscited by 2
- 2024LeaPformer: Enabling Linear Transformers for Autoregressive and Simultaneous Tasks via Learned Proportionscited by 2
- 2024Generating Accurate Synthetic Survival Data by Conditioning on Outcomescited by 2
- 2026Character-aware Transformers Learn an Irregular Morphological Pattern Yet None Generalize Like Humanscited by 2
- 2022Position Embedding Needs an Independent Layer Normalizationcited by 1
- 2023Technical Report: Impact of Position Bias on Language Models in Token Classificationcited by 1
- 2023The Locality and Symmetry of Positional Encodingscited by 1
- 2025Neural Correlates of Language Models Are Specific to Human Languagecited by 1
- 2025On the Interplay between Positional Encodings, Morphological Complexity, and Word Order Flexibilitycited by 1
- 2021Topic Detection and Tracking with Time-Aware Document Embeddingscited by 0
- 2023The Double Helix inside the NLP Transformercited by 0
- 2024Learning Positional Attention for Sequential Recommendationcited by 0
- 2024Set2Seq Transformer: Temporal and Position-Aware Set Representations for Sequential Multiple-Instance Learningcited by 0
- 2025AttentionSmithy: A Modular Framework for Rapid Transformer Development and Customizationcited by 0
- 2025Representation learning with a transformer by contrastive learning for money laundering detectioncited by 0
50 most cited of 52 All 52 (JSON)
- 2026Give it Space! Explicit Disentangling of Positional and Semantic Representations in Encoders28 May 2026
- 2026Character-aware Transformers Learn an Irregular Morphological Pattern Yet None Generalize Like Humans15 Feb 2026
- 2025A symbolic Perl algorithm for the unification of Nahuatl word spellings24 Nov 2025
- 2025On the Interplay between Positional Encodings, Morphological Complexity, and Word Order Flexibility11 Nov 2025
- 2025All You Need is One: Capsule Prompt Tuning with a Single Vector19 Oct 2025
- 2025Neural Correlates of Language Models Are Specific to Human Language3 Oct 2025
- 2025HoPE: Hyperbolic Rotary Positional Encoding for Stable Long-Range Dependency Modeling in Large Language Models5 Sep 2025
- 2025Representation learning with a transformer by contrastive learning for money laundering detection7 Jul 2025
- 2025Learning the symmetric group: large from small18 Feb 2025
- 2025AttentionSmithy: A Modular Framework for Rapid Transformer Development and Customization13 Feb 2025
- 2024Neural Fourier Modelling: A Highly Compact Approach to Time-Series Analysis7 Oct 2024
- 2024Unveiling the Statistical Foundations of Chain-of-Thought Prompting Methods25 Aug 2024
38 more
- 2024Set2Seq Transformer: Temporal and Position-Aware Set Representations for Sequential Multiple-Instance Learning6 Aug 2024
- 2024Learning Positional Attention for Sequential Recommendation3 Jul 2024
- 2024Generating Accurate Synthetic Survival Data by Conditioning on Outcomes27 May 2024
- 2024LeaPformer: Enabling Linear Transformers for Autoregressive and Simultaneous Tasks via Learned Proportions18 May 2024
- 2024Effective Message Hiding with Order-Preserving Mechanisms29 Feb 2024
- 2024TEE4EHR: Transformer Event Encoder for Better Representation Learning in Electronic Health Records9 Feb 2024
- 2024Reading Between the Frames: Multi-Modal Depression Detection in Videos from Non-Verbal Cues5 Jan 2024
- 2023The Locality and Symmetry of Positional Encodings19 Oct 2023
- 2023Uncovering hidden geometry in Transformers via disentangling position and context7 Oct 2023
- 2023The Double Helix inside the NLP Transformer23 Jun 2023
- 2023Probing the Role of Positional Information in Vision-Language Models17 May 2023
- 2023Technical Report: Impact of Position Bias on Language Models in Token Classification26 Apr 2023
- 2023Investigating the Effect of Relative Positional Embeddings on AMR-to-Text Generation with Structural Adapters12 Feb 2023
- 2023Knowledge Distillation in Vision Transformers: A Critical Review4 Feb 2023
- 2023It's Just a Matter of Time: Detecting Depression with Time-Enriched Multimodal Transformers13 Jan 2023
- 2022Position Embedding Needs an Independent Layer Normalization10 Dec 2022
- 2022Rethinking Video ViTs: Sparse Video Tubes for Joint Image and Video Learning6 Dec 2022
- 2022The Curious Case of Absolute Position Embeddings23 Oct 2022
- 2022Experiencer-Specific Emotion and Appraisal Prediction21 Oct 2022
- 2022Multitrack Music Transformer14 Jul 2022
- 2022Deep Transformer Q-Networks for Partially Observable Reinforcement Learning2 Jun 2022
- 2022Masked Jigsaw Puzzle: A Versatile Position Embedding for Vision Transformers25 May 2022
- 2022ATTEMPT: Parameter-Efficient Multi-task Tuning via Attentional Mixtures of Soft Prompts24 May 2022
- 2022Transformers in Time-series Analysis: A Tutorial28 Apr 2022
- 2022UniTE: Unified Translation Evaluation28 Apr 2022
- 2022Federated Learning with Position-Aware Neurons28 Mar 2022
- 2022Striking a Balance: Alleviating Inconsistency in Pre-trained Models for Symmetric Classification Tasks25 Mar 2022
- 2022Word Order Does Matter (And Shuffled Language Models Know It)21 Mar 2022
- 2022Regression Transformer: Concurrent sequence regression and generation for molecular language modeling1 Feb 2022
- 2021Topic Detection and Tracking with Time-Aware Document Embeddings12 Dec 2021
- 2021Pre-trained Language Models in Biomedical Domain: A Systematic Survey11 Oct 2021
- 2021Shaking Syntactic Trees on the Sesame Street: Multilingual Probing with Controllable Perturbations28 Sep 2021
- 2021RuleBert: Teaching Soft Rules to Pre-trained Language Models24 Sep 2021
- 2021The Grammar-Learning Trajectories of Neural Language Models13 Sep 2021
- 2021Position Masking for Improved Layout-Aware Document Understanding1 Sep 2021
- 2021The Case for Translation-Invariant Self-Attention in Transformer-Based Language Models3 Jun 2021
- 2021Relative Positional Encoding for Transformers with Linear Complexity18 May 2021
- 2021A Simple and Effective Positional Encoding for Transformers18 Apr 2021
50 newest of 52 All 52 (JSON)
- 2021Position Information in Transformers: An Overviewcited by 103
- 2021Pre-trained Language Models in Biomedical Domain: A Systematic Surveycited by 87
- 2022ATTEMPT: Parameter-Efficient Multi-task Tuning via Attentional Mixtures of Soft Promptscited by 85
- 2022Regression Transformer: Concurrent sequence regression and generation for molecular language modelingcited by 50
- 2022Rethinking Video ViTs: Sparse Video Tubes for Joint Image and Video Learningcited by 49
- 2022Transformers in Time-series Analysis: A Tutorialcited by 46
- 2021A Simple and Effective Positional Encoding for Transformerscited by 37
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 37
- 2021The Grammar-Learning Trajectories of Neural Language Modelscited by 36
- 2022Deep Transformer Q-Networks for Partially Observable Reinforcement Learningcited by 36
- 2022Masked Jigsaw Puzzle: A Versatile Position Embedding for Vision Transformerscited by 33
- 2022Word Order Does Matter (And Shuffled Language Models Know It)cited by 32
12 most cited of 49 All 49 (JSON)
- 2026Give it Space! Explicit Disentangling of Positional and Semantic Representations in Encoders28 May 2026
- 2026Character-aware Transformers Learn an Irregular Morphological Pattern Yet None Generalize Like Humans15 Feb 2026
- 2025A symbolic Perl algorithm for the unification of Nahuatl word spellings24 Nov 2025
- 2025On the Interplay between Positional Encodings, Morphological Complexity, and Word Order Flexibility11 Nov 2025
- 2025All You Need is One: Capsule Prompt Tuning with a Single Vector19 Oct 2025
- 2025Neural Correlates of Language Models Are Specific to Human Language3 Oct 2025
- 2025HoPE: Hyperbolic Rotary Positional Encoding for Stable Long-Range Dependency Modeling in Large Language Models5 Sep 2025
- 2025Representation learning with a transformer by contrastive learning for money laundering detection7 Jul 2025
- 2025Learning the symmetric group: large from small18 Feb 2025
- 2025AttentionSmithy: A Modular Framework for Rapid Transformer Development and Customization13 Feb 2025
- 2024Neural Fourier Modelling: A Highly Compact Approach to Time-Series Analysis7 Oct 2024
- 2024Set2Seq Transformer: Temporal and Position-Aware Set Representations for Sequential Multiple-Instance Learning6 Aug 2024
12 newest of 49 All 49 (JSON)