CLLGNENov 8, 2022

Word Order Matters when you Increase Masking

arXiv:2211.04427v1291 citationsh-index: 34
Originality Synthesis-oriented
AI Analysis

This work addresses the role of word order in language modeling for NLP researchers, providing insights into when position encodings are essential, though it is incremental in nature.

The study investigated how the necessity of position encodings in Transformer language models depends on the amount of masking during pre-training, finding that models without position encodings fail to reconstruct order information as masking increases.

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.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes