Encoding word order in complex embeddings
Not on the map. Why?
Abstract (arXiv)
Sequential word order is important when processing text. Currently, neural networks (NNs) address this by modeling word position using position embeddings. The problem is that position embeddings capture the position of individual words, but not the ordered relationship (e.g., adjacency or precedence) between individual word positions. We present a novel and principled solution for modeling both the global absolute positions of words and their order relationships. Our solution generalizes word embeddings, previously defined as independent vectors, to continuous word functions over a variable (position). The benefit of continuous functions over variable positions is that word representations shift smoothly with increasing positions. Hence, word representations in different positions can correlate with each other in a continuous function. The general solution of these functions is extended to complex-valued domain due to richer representations. We extend CNN, RNN and Transformer NNs to complex-valued versions to incorporate our complex embedding (we make all code available). Experiments on text classification, machine translation and language modeling show gains over both classical word embeddings and position-enriched word embeddings. To our knowledge, this is the first work in NLP to link imaginary numbers in complex-valued representations to concrete meanings (i.e., word order).
Key facts. Cited by 53 papers in the map (data through 13 Oct 2026). First posted on arXiv 27 Dec 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 17; 2022: 6; 2023: 8; 2024: 11; 2025: 8; 2026: 3.
53 papers.
Sort:
By area:
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,628
- 2021Conditional Positional Encodings for Vision Transformerscited by 406
- 2021A Survey of Transformerscited by 400
- 2022LIFT: Language-Interfaced Fine-Tuning for Non-Language Machine Learning Taskscited by 146
- 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 138
- 2021Self-Attention Networks Can Process Bounded Hierarchical Languagescited by 105
- 2021Position Information in Transformers: An Overviewcited by 103
- 2021Learnable Fourier Features for Multi-Dimensional Spatial Positional Encodingcited by 93
- 2021Pre-trained Language Models in Biomedical Domain: A Systematic Surveycited by 87
- 2022Your Transformer May Not be as Powerful as You Expectcited by 55
- 2021CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddingscited by 47
- 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalizationcited by 39
38 more
- 2021Relative Positional Encoding for Transformers with Linear Complexitycited by 36
- 2021Rethinking Positional Encodingcited by 36
- 2023Length Extrapolation of Transformers: A Survey from the Perspective of Positional Encodingcited by 32
- 2021Dynamic Memory based Attention Network for Sequential Recommendationcited by 16
- 2022Trading Positional Complexity vs. Deepness in Coordinate Networkscited by 16
- 2023Building Blocks for a Complex-Valued Transformer Architecturecited by 16
- 20243D-RPE: Enhancing Long-Context Modeling Through 3D Rotary Position Encodingcited by 13
- 2024Open Challenges and Opportunities in Federated Foundation Models Towards Biomedical Healthcarecited by 12
- 2021TE-ESN: Time Encoding Echo State Network for Prediction Based on Irregularly Sampled Time Series Datacited by 10
- 2023Algebraic Positional Encodingscited by 10
- 2025Decoupling the "What" and "Where" With Polar Coordinate Positional Embeddingscited by 10
- 2023Monotonic Location Attention for Length Generalizationcited by 9
- 2025BodyGen: Advancing Towards Efficient Embodiment Co-Designcited by 9
- 2021Learning Positional Embeddings for Coordinate-MLPscited by 7
- 2025Group Representational Position Encodingcited by 5
- 2024Expanding Expressivity in Transformer Models with M"obiusAttentioncited by 4
- 2021Conformer-based End-to-end Speech Recognition With Rotary Position Embeddingcited by 3
- 2021Ultra-high Resolution Image Segmentation via Locality-aware Context Fusion and Alternating Local Enhancementcited by 3
- 2023Adapting Pre-trained Language Models for Quantum Natural Language Processingcited by 2
- 2024LeaPformer: Enabling Linear Transformers for Autoregressive and Simultaneous Tasks via Learned Proportionscited by 2
- 2024Movie Trailer Genre Classification Using Multimodal Pretrained Featurescited by 2
- 2025Video Soundtrack Generation by Aligning Emotions and Temporal Boundariescited by 2
- 2025ID-Align: RoPE-Conscious Position Remapping for Dynamic High-Resolution Adaptation in Vision-Language Modelscited by 2
- 2025SeqPE: Transformer with Sequential Position Encodingcited by 2
- 2022FastRPB: a Scalable Relative Positional Encoding for Long Sequence Taskscited by 1
- 2022DecBERT: Enhancing the Language Understanding of BERT with Causal Attention Maskscited by 1
- 2022Document-aware Positional Encoding and Linguistic-guided Encoding for Abstractive Multi-document Summarizationcited by 1
- 2023The Locality and Symmetry of Positional Encodingscited by 1
- 2024How do Hyenas deal with Human Speech? Speech Recognition and Translation with ConfHyenacited by 1
- 2024SPformer: A Transformer Based DRL Decision Making Method for Connected Automated Vehiclescited by 1
- 2025CoPE: A Lightweight Complex Positional Encodingcited by 1
- 2021Spiral Language Modelingcited by 0
- 2023Channel-aware Decoupling Network for Multi-turn Dialogue Comprehensioncited by 0
- 2023Syntax-Aware Complex-Valued Neural Machine Translationcited by 0
- 2024GridPE: A Grid Cell-Inspired Unified Position Embedding for Arbitrary-Dimensional Spacescited by 0
- 2024eDOC: Explainable Decoding Out-of-domain Cell Types with Evidential Learningcited by 0
- 2024Rethinking Associative Memory Mechanism in Induction Headcited by 0
- 2025Comply: Learning Sentences with Complex Weights inspired by Fruit Fly Olfactioncited by 0
50 most cited of 53 All 53 (JSON)
- 2026Beyond Cosine Similarity: Zero-Initialized Residual Complex Projection for Aspect-Based Sentiment Analysis30 Mar 2026
- 2026A Typologically Grounded Evaluation Framework for Word Order and Morphology Sensitivity in Multilingual Masked LMs28 Feb 2026
- 2026CRoPE: Efficient Parametrization of Rotary Positional Embedding6 Jan 2026
- 2025Group Representational Position Encoding8 Dec 2025
- 2025Decoupling the "What" and "Where" With Polar Coordinate Positional Embeddings5 Sep 2025
- 2025CoPE: A Lightweight Complex Positional Encoding23 Aug 2025
- 2025SeqPE: Transformer with Sequential Position Encoding16 Jun 2025
- 2025ID-Align: RoPE-Conscious Position Remapping for Dynamic High-Resolution Adaptation in Vision-Language Models27 May 2025
- 2025BodyGen: Advancing Towards Efficient Embodiment Co-Design1 Mar 2025
- 2025Video Soundtrack Generation by Aligning Emotions and Temporal Boundaries14 Feb 2025
- 2025Comply: Learning Sentences with Complex Weights inspired by Fruit Fly Olfaction3 Feb 2025
- 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalization23 Dec 2024
38 more
- 2024Rethinking Associative Memory Mechanism in Induction Head16 Dec 2024
- 2024eDOC: Explainable Decoding Out-of-domain Cell Types with Evidential Learning30 Oct 2024
- 2024Movie Trailer Genre Classification Using Multimodal Pretrained Features11 Oct 2024
- 2024SPformer: A Transformer Based DRL Decision Making Method for Connected Automated Vehicles23 Sep 2024
- 2024Expanding Expressivity in Transformer Models with M"obiusAttention8 Sep 2024
- 20243D-RPE: Enhancing Long-Context Modeling Through 3D Rotary Position Encoding14 Jun 2024
- 2024GridPE: A Grid Cell-Inspired Unified Position Embedding for Arbitrary-Dimensional Spaces11 Jun 2024
- 2024LeaPformer: Enabling Linear Transformers for Autoregressive and Simultaneous Tasks via Learned Proportions18 May 2024
- 2024Open Challenges and Opportunities in Federated Foundation Models Towards Biomedical Healthcare10 May 2024
- 2024How do Hyenas deal with Human Speech? Speech Recognition and Translation with ConfHyena20 Feb 2024
- 2023Length Extrapolation of Transformers: A Survey from the Perspective of Positional Encoding28 Dec 2023
- 2023Algebraic Positional Encodings26 Dec 2023
- 2023The Locality and Symmetry of Positional Encodings19 Oct 2023
- 2023Syntax-Aware Complex-Valued Neural Machine Translation17 Jul 2023
- 2023Building Blocks for a Complex-Valued Transformer Architecture16 Jun 2023
- 2023Monotonic Location Attention for Length Generalization31 May 2023
- 2023Adapting Pre-trained Language Models for Quantum Natural Language Processing24 Feb 2023
- 2023Channel-aware Decoupling Network for Multi-turn Dialogue Comprehension10 Jan 2023
- 2022Document-aware Positional Encoding and Linguistic-guided Encoding for Abstractive Multi-document Summarization13 Sep 2022
- 2022LIFT: Language-Interfaced Fine-Tuning for Non-Language Machine Learning Tasks14 Jun 2022
- 2022Your Transformer May Not be as Powerful as You Expect26 May 2022
- 2022Trading Positional Complexity vs. Deepness in Coordinate Networks18 May 2022
- 2022DecBERT: Enhancing the Language Understanding of BERT with Causal Attention Masks19 Apr 2022
- 2022FastRPB: a Scalable Relative Positional Encoding for Long Sequence Tasks23 Feb 2022
- 2021Learning Positional Embeddings for Coordinate-MLPs21 Dec 2021
- 2021Spiral Language Modeling20 Dec 2021
- 2021Pre-trained Language Models in Biomedical Domain: A Systematic Survey11 Oct 2021
- 2021Ultra-high Resolution Image Segmentation via Locality-aware Context Fusion and Alternating Local Enhancement6 Sep 2021
- 2021Conformer-based End-to-end Speech Recognition With Rotary Position Embedding13 Jul 2021
- 2021Rethinking Positional Encoding6 Jul 2021
- 2021A Survey of Transformers8 Jun 2021
- 2021CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddings6 Jun 2021
- 2021Learnable Fourier Features for Multi-Dimensional Spatial Positional Encoding5 Jun 2021
- 2021Self-Attention Networks Can Process Bounded Hierarchical Languages24 May 2021
- 2021Relative Positional Encoding for Transformers with Linear Complexity18 May 2021
- 2021TE-ESN: Time Encoding Echo State Network for Prediction Based on Irregularly Sampled Time Series Data2 May 2021
- 2021RoFormer: Enhanced Transformer with Rotary Position Embedding20 Apr 2021
- 2021Investigating the Limitations of Transformers with Simple Arithmetic Tasks25 Feb 2021
50 newest of 53 All 53 (JSON)
- 2024Rethinking Associative Memory Mechanism in Induction Head16 Dec 2024
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,628
- 2021Conditional Positional Encodings for Vision Transformerscited by 406
- 2021A Survey of Transformerscited by 400
- 2022LIFT: Language-Interfaced Fine-Tuning for Non-Language Machine Learning Taskscited by 146
- 2021Investigating the Limitations of Transformers with Simple Arithmetic Taskscited by 138
- 2021Self-Attention Networks Can Process Bounded Hierarchical Languagescited by 105
- 2021Position Information in Transformers: An Overviewcited by 103
- 2021Learnable Fourier Features for Multi-Dimensional Spatial Positional Encodingcited by 93
- 2021Pre-trained Language Models in Biomedical Domain: A Systematic Surveycited by 87
- 2022Your Transformer May Not be as Powerful as You Expectcited by 55
- 2021CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddingscited by 47
- 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalizationcited by 39
12 most cited of 50 All 50 (JSON)
- 2026Beyond Cosine Similarity: Zero-Initialized Residual Complex Projection for Aspect-Based Sentiment Analysis30 Mar 2026
- 2026A Typologically Grounded Evaluation Framework for Word Order and Morphology Sensitivity in Multilingual Masked LMs28 Feb 2026
- 2026CRoPE: Efficient Parametrization of Rotary Positional Embedding6 Jan 2026
- 2025Group Representational Position Encoding8 Dec 2025
- 2025Decoupling the "What" and "Where" With Polar Coordinate Positional Embeddings5 Sep 2025
- 2025CoPE: A Lightweight Complex Positional Encoding23 Aug 2025
- 2025SeqPE: Transformer with Sequential Position Encoding16 Jun 2025
- 2025BodyGen: Advancing Towards Efficient Embodiment Co-Design1 Mar 2025
- 2025Video Soundtrack Generation by Aligning Emotions and Temporal Boundaries14 Feb 2025
- 2025Comply: Learning Sentences with Complex Weights inspired by Fruit Fly Olfaction3 Feb 2025
- 2024Fourier Position Embedding: Enhancing Attention's Periodic Extension for Length Generalization23 Dec 2024
- 2024eDOC: Explainable Decoding Out-of-domain Cell Types with Evidential Learning30 Oct 2024
12 newest of 50 All 50 (JSON)