Word Order Matters when you Increase Masking
Not on the map. Why?
Abstract (arXiv)
Word order, an essential property of natural languages, is injected in Transformer-based neural language models using position encoding. However, recent experiments have shown that explicit position encoding is not always useful, since some models without such feature managed to achieve state-of-the art performance on some tasks. To understand better this phenomenon, we examine the effect of removing position encodings on the pre-training objective itself (i.e., masked language modelling), to test whether models can reconstruct position information from co-occurrences alone. We do so by controlling the amount of masked tokens in the input sentence, as a proxy to affect the importance of position information for the task. We find that the necessity of position information increases with the amount of masking, and that masked language models without position encodings are not able to reconstruct this information on the task. These findings point towards a direct relationship between the amount of masking and the ability of Transformers to capture order-sensitive aspects of language using position encoding.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 16 of its 20 references that are in the map. First posted on arXiv 8 Nov 2022.
Builds on
16 of 20 references.
References · 16
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
- 2021Masked Language Modeling and the Distributional Hypothesis: Order Word Matters Pre-training for Littlecited by 176
- 2022Transformer Language Models without Positional Encodings Still Learn Positional Informationcited by 148
- 2022Should You Mask 15% in Masked Language Modeling?cited by 117
- 2021Position Information in Transformers: An Overviewcited by 103
- 2020Out of Order: How Important Is The Sequential Order of Words in a Sentence in Natural Language Understanding Tasks?cited by 72
- 2021Examining the Inductive Bias of Neural Language Models with Artificial Languagescited by 40
- 2021A Simple and Effective Positional Encoding for Transformerscited by 37
4 more
- 2022Word Order Does Matter (And Shuffled Language Models Know It)cited by 32
- 2017The Galactic Dependencies Treebanks: Getting More Data by Synthesizing New Languagescited by 19
- 2021PermuteFormer: Efficient Relative Position Encoding for Long Sequencescited by 14
- 2021Convolutions and Self-Attention: Re-interpreting Relative Positions in Pre-trained Language Modelscited by 11
Built on by
Citing papers per year: 2023: 3; 2024: 0; 2025: 0; 2026: 1.
4 papers.
- 2023Language Model Behavior: A Comprehensive Surveycited by 92
- 2023Dynamic Masking Rate Schedules for MLM Pretrainingcited by 11
- 2023The Role of Linguistic Priors in Measuring Compositional Generalization of Vision-Language Modelscited by 5
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Modelscited by 1
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Models9 Jan 2026
- 2023The Role of Linguistic Priors in Measuring Compositional Generalization of Vision-Language Models4 Oct 2023
- 2023Dynamic Masking Rate Schedules for MLM Pretraining24 May 2023
- 2023Language Model Behavior: A Comprehensive Survey20 Mar 2023