Rethinking Positional Encoding in Language Pre-training
Not on the map. Why?
Abstract (arXiv)
In this work, we investigate the positional encoding methods used in language pre-training (e.g., BERT) and identify several problems in the existing formulations. First, we show that in the absolute positional encoding, the addition operation applied on positional embeddings and word embeddings brings mixed correlations between the two heterogeneous information resources. It may bring unnecessary randomness in the attention and further limit the expressiveness of the model. Second, we question whether treating the position of the symbol texttt[CLS] the same as other words is a reasonable design, considering its special role (the representation of the entire sentence) in the downstream tasks. Motivated from above analysis, we propose a new positional encoding method called Transformer with Untied Positional Encoding (TUPE). In the self-attention module, TUPE computes the word contextual correlation and positional correlation separately with different parameterizations and then adds them together. This design removes the mixed and noisy correlations over heterogeneous embeddings and offers more expressiveness by using different projection matrices. Furthermore, TUPE unties the texttt[CLS] symbol from other positions, making it easier to capture information from all positions. Extensive experiments and ablation studies on GLUE benchmark demonstrate the effectiveness of the proposed method. Codes and models are released at https://github.com/guolinke/TUPE.
Key facts. Cited by 197 papers in the map (data through 7 Oct 2026). First posted on arXiv 28 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 41; 2022: 43; 2023: 41; 2024: 35; 2025: 27; 2026: 10.
197 papers.
Sort:
By area:
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
- 2022OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Frameworkcited by 742
- 2024Large Language Models: A Surveycited by 506
- 2022Transformers in Time Series: A Surveycited by 489
- 2021Conditional DETR for Fast Training Convergencecited by 422
- 2021A Survey of Transformerscited by 399
- 2021Do Transformers Really Perform Bad for Graph Representation?cited by 318
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2021Large-Scale Chemical Language Representations Capture Molecular Structure and Propertiescited by 203
- 2023BiomedGPT: A Generalist Vision-Language Foundation Model for Diverse Biomedical Taskscited by 201
- 2022Mega: Moving Average Equipped Gated Attentioncited by 178
38 more
- 2021SpectralFormer: Rethinking Hyperspectral Image Classification with Transformerscited by 168
- 2023PolyFormer: Referring Image Segmentation as Sequential Polygon Generationcited by 147
- 2022LIFT: Language-Interfaced Fine-Tuning for Non-Language Machine Learning Taskscited by 146
- 2021Towards Robust Vision Transformercited by 137
- 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 136
- 2024LLM Maybe LongLM: Self-Extend LLM Context Window Without Tuningcited by 133
- 2021COCO-LM: Correcting and Contrasting Text Sequences for Language Model Pretrainingcited by 126
- 2021SwinTrack: A Simple and Strong Baseline for Transformer Trackingcited by 126
- 2023LM-Infinite: Zero-Shot Extreme Length Generalization for Large Language Modelscited by 120
- 2023What and How does In-Context Learning Learn? Bayesian Model Averaging, Parameterization, and Generalizationcited by 112
- 2021Compound Word Transformer: Learning to Compose Full-Song Music over Dynamic Directed Hypergraphscited by 109
- 2021Learning to Iteratively Solve Routing Problems with Dual-Aspect Collaborative Transformercited by 108
- 2021Self-Attention Networks Can Process Bounded Hierarchical Languagescited by 105
- 2021Position Information in Transformers: An Overviewcited by 103
- 2023Hierarchically Gated Recurrent Neural Network for Sequence Modelingcited by 100
- 2022What Makes Convolutional Models Great on Long Sequence Modeling?cited by 86
- 2022KERPLE: Kernelized Relative Positional Embedding for Length Extrapolationcited by 84
- 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
- 2022General-purpose, long-context autoregressive modeling with Perceiver ARcited by 60
- 2021SAPE: Spatially-Adaptive Progressive Encoding for Neural Optimizationcited by 59
- 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
- 2022Your Transformer May Not be as Powerful as You Expectcited by 55
- 2021Stable, Fast and Accurate: Kernelized Attention with Relative Positional Encodingcited by 50
- 2022Towards Robust Referring Video Object Segmentation with Cyclic Relational Consensuscited by 49
- 2024Base of RoPE Bounds Context Lengthcited by 49
- 2024Mitigating Object Hallucination via Concentric Causal Attentioncited by 48
- 2021CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddingscited by 47
- 2021MSG-Transformer: Exchanging Local Spatial Information by Manipulating Messenger Tokenscited by 46
- 2023Ankh: Optimized Protein Language Model Unlocks General-Purpose Modellingcited by 44
- 2025Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understandingcited by 44
- 2022You Need Multiple Exiting: Dynamic Early Exiting for Accelerating Unified Vision Language Modelcited by 42
- 2021MuseMorphose: Full-Song and Fine-Grained Piano Music Style Transfer with One Transformer VAEcited by 39
- 2021A Simple and Effective Positional Encoding for Transformerscited by 37
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 36
- 2021Rethinking Positional Encodingcited by 36
- 2022Rewiring with Positional Encodings for Graph Neural Networkscited by 35
- 2023TransNormerLLM: A Faster and Better Large Language Model with Improved TransNormercited by 34
- 2023Mixture of Quantized Experts (MoQE): Complementary Effect of Low-bit Quantization and Robustnesscited by 34
50 most cited of 197 All 197 (JSON)
- 2026TabuLM: Morphology-Aware Tabular Pre-training for Low-Resource Languages27 Aug 2026
- 2026DPPE: Rethinking Camera-Based Positional Encoding for Scaling Multi-View Transformers30 Jun 2026
- 2026An Empirical Audit of Input Encoders for Multi-Channel Signal Transformers3 Jun 2026
- 2026Transformer-Enhanced Reinforcement Learning: Fundamentals and Applications in Communication Networks26 May 2026
- 2026Learning to Rotate: Temporal and Semantic Rotary Encoding for Sequential Modeling27 Apr 2026
- 2026Seeing Beyond: Extrapolative Domain Adaptive Panoramic Segmentation16 Mar 2026
- 2026Position-Aware Sequential Attention for Accurate Next Item Recommendations24 Feb 2026
- 2026Fusion Matters: Length-Aware Analysis of Positional-Encoding Fusion in Transformers9 Jan 2026
- 2026CRoPE: Efficient Parametrization of Rotary Positional Embedding6 Jan 2026
- 2026BSAT: B-Spline Adaptive Tokenizer for Long-Term Time Series Forecasting2 Jan 2026
- 2025SpaceDrive: Infusing Spatial Awareness into VLM-based Autonomous Driving11 Dec 2025
- 2025Group Representational Position Encoding8 Dec 2025
38 more
- 2025On the Interplay between Positional Encodings, Morphological Complexity, and Word Order Flexibility11 Nov 2025
- 2025Vocabulary In-Context Learning in Transformers: Benefits of Positional Encoding9 Nov 2025
- 2025All You Need is One: Capsule Prompt Tuning with a Single Vector19 Oct 2025
- 2025Extending Audio Context for Long-Form Understanding in Large Audio-Language Models17 Oct 2025
- 2025Causality-Induced Positional Encoding for Transformer-Based Representation Learning of Non-Sequential Features20 Sep 2025
- 2025DyWPE: Signal-Aware Dynamic Wavelet Positional Encoding for Time Series Transformers18 Sep 2025
- 2025Positional Encoding via Token-Aware Phase Attention16 Sep 2025
- 2025AuroraLong: Bringing RNNs Back to Efficient Open-Ended Video Understanding3 Jul 2025
- 2025SeqPE: Transformer with Sequential Position Encoding16 Jun 2025
- 2025Revisiting Transformers with Insights from Image Filtering and Boosting12 Jun 2025
- 2025Towards Biosignals-Free Autonomous Prosthetic Hand Control via Imitation Learning10 Jun 2025
- 2025RiemannFormer: A Framework for Attention in Curved Spaces9 Jun 2025
- 2025Theoretical Analysis of Positional Encodings in Transformer Models: Impact on Expressiveness and Generalization5 Jun 2025
- 2025A Word is Worth 4-bit: Efficient Log Parsing with Binary Coded Decimal Recognition1 Jun 2025
- 2025PIPE: Physics-Informed Position Encoding for Alignment of Satellite Images and Time Series27 May 2025
- 2025PaTH Attention: Position Encoding via Accumulating Householder Transformations22 May 2025
- 2025Enhancing Latent Computation in Transformers with Latent Tokens19 May 2025
- 2025LOOPE: Learnable Optimal Patch Order in Positional Embeddings for Vision Transformers19 Apr 2025
- 2025Of All StrIPEs: Investigating Structure-informed Positional Encoding for Efficient Music Generation7 Apr 2025
- 2025Spline-based Transformers3 Apr 2025
- 2025Parameter-Efficient Adaptation of Geospatial Foundation Models through Embedding Deflection12 Mar 2025
- 2025The Role of Sparsity for Length Generalization in Transformers24 Feb 2025
- 2025Positional Encoding in Transformer-Based Time Series Models: A Survey17 Feb 2025
- 2025Massive Values in Self-Attention Modules are the Key to Contextual Knowledge Understanding3 Feb 2025
- 2025ExLM: Rethinking the Impact of [MASK] Tokens in Masked Language Models23 Jan 2025
- 2024Rethinking Associative Memory Mechanism in Induction Head16 Dec 2024
- 2024V2PE: Improving Multimodal Long-Context Capability of Vision-Language Models with Variable Visual Position Encoding12 Dec 2024
- 2024ArtFormer: Controllable Generation of Diverse 3D Articulated Objects10 Dec 2024
- 2024TREND: Unsupervised 3D Representation Learning via Temporal Forecasting for LiDAR Perception4 Dec 2024
- 2024When Precision Meets Position: BFloat16 Breaks Down RoPE in Long-Context Training20 Nov 2024
- 2024Circuit Complexity Bounds for RoPE-based Transformer Architecture12 Nov 2024
- 2024Spatioformer: A Geo-encoded Transformer for Large-Scale Plant Species Richness Prediction25 Oct 2024
- 2024Just In Time Transformers22 Oct 2024
- 2024Mitigating Object Hallucination via Concentric Causal Attention21 Oct 2024
- 2024DAPE V2: Process Attention Score as Feature Map for Length Extrapolation7 Oct 2024
- 2024Efficient transformer with reinforced position embedding for language models7 Oct 2024
- 2024Towards LifeSpan Cognitive Systems20 Sep 2024
- 2024TeXBLEU: Automatic Metric for Evaluate LaTeX Format10 Sep 2024
50 newest of 197 All 197 (JSON)
- 2024Mitigating Object Hallucination via Concentric Causal Attentioncited by 48
- 2022Visual Abductive Reasoningcited by 30
- 2025SpaceDrive: Infusing Spatial Awareness into VLM-based Autonomous Drivingcited by 28
- 2025ExLM: Rethinking the Impact of [MASK] Tokens in Masked Language Modelscited by 2
- 2024Rethinking Associative Memory Mechanism in Induction Headcited by 0
- 2025SpaceDrive: Infusing Spatial Awareness into VLM-based Autonomous Driving11 Dec 2025
- 2025ExLM: Rethinking the Impact of [MASK] Tokens in Masked Language Models23 Jan 2025
- 2024Rethinking Associative Memory Mechanism in Induction Head16 Dec 2024
- 2024Mitigating Object Hallucination via Concentric Causal Attention21 Oct 2024
- 2022Visual Abductive Reasoning26 Mar 2022
- 2023BiomedGPT: A Generalist Vision-Language Foundation Model for Diverse Biomedical Taskscited by 201
- 2022You Need Multiple Exiting: Dynamic Early Exiting for Accelerating Unified Vision Language Modelcited by 42
- 2024V2PE: Improving Multimodal Long-Context Capability of Vision-Language Models with Variable Visual Position Encodingcited by 28
- 2023Probing the Role of Positional Information in Vision-Language Modelscited by 4
- 2023Musketeer: Joint Training for Multi-task Vision Language Model with Task Explanation Promptscited by 3
- 2024V2PE: Improving Multimodal Long-Context Capability of Vision-Language Models with Variable Visual Position Encoding12 Dec 2024
- 2023BiomedGPT: A Generalist Vision-Language Foundation Model for Diverse Biomedical Tasks26 May 2023
- 2023Probing the Role of Positional Information in Vision-Language Models17 May 2023
- 2023Musketeer: Joint Training for Multi-task Vision Language Model with Task Explanation Prompts11 May 2023
- 2022You Need Multiple Exiting: Dynamic Early Exiting for Accelerating Unified Vision Language Model21 Nov 2022
- 2023Mixture of Quantized Experts (MoQE): Complementary Effect of Low-bit Quantization and Robustnesscited by 34
- 2022Who Says Elephants Can't Run: Bringing Large Scale MoE Models into Cloud Scale Productioncited by 24
- 2023FineQuant: Unlocking Efficiency with Fine-Grained Weight-Only Quantization for LLMscited by 22
- 2023Mixture of Quantized Experts (MoQE): Complementary Effect of Low-bit Quantization and Robustness3 Oct 2023
- 2023FineQuant: Unlocking Efficiency with Fine-Grained Weight-Only Quantization for LLMs16 Aug 2023
- 2022Who Says Elephants Can't Run: Bringing Large Scale MoE Models into Cloud Scale Production18 Nov 2022
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
- 2022OFA: Unifying Architectures, Tasks, and Modalities Through a Simple Sequence-to-Sequence Learning Frameworkcited by 742
- 2024Large Language Models: A Surveycited by 506
- 2022Transformers in Time Series: A Surveycited by 489
- 2021Conditional DETR for Fast Training Convergencecited by 422
- 2021A Survey of Transformerscited by 399
- 2021Do Transformers Really Perform Bad for Graph Representation?cited by 318
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2021Large-Scale Chemical Language Representations Capture Molecular Structure and Propertiescited by 203
- 2022Mega: Moving Average Equipped Gated Attentioncited by 178
- 2021SpectralFormer: Rethinking Hyperspectral Image Classification with Transformerscited by 168
12 most cited of 184 All 184 (JSON)
- 2026TabuLM: Morphology-Aware Tabular Pre-training for Low-Resource Languages27 Aug 2026
- 2026DPPE: Rethinking Camera-Based Positional Encoding for Scaling Multi-View Transformers30 Jun 2026
- 2026An Empirical Audit of Input Encoders for Multi-Channel Signal Transformers3 Jun 2026
- 2026Transformer-Enhanced Reinforcement Learning: Fundamentals and Applications in Communication Networks26 May 2026
- 2026Learning to Rotate: Temporal and Semantic Rotary Encoding for Sequential Modeling27 Apr 2026
- 2026Seeing Beyond: Extrapolative Domain Adaptive Panoramic Segmentation16 Mar 2026
- 2026Position-Aware Sequential Attention for Accurate Next Item Recommendations24 Feb 2026
- 2026Fusion Matters: Length-Aware Analysis of Positional-Encoding Fusion in Transformers9 Jan 2026
- 2026CRoPE: Efficient Parametrization of Rotary Positional Embedding6 Jan 2026
- 2026BSAT: B-Spline Adaptive Tokenizer for Long-Term Time Series Forecasting2 Jan 2026
- 2025Group Representational Position Encoding8 Dec 2025
- 2025On the Interplay between Positional Encodings, Morphological Complexity, and Word Order Flexibility11 Nov 2025
12 newest of 184 All 184 (JSON)