paper-with-me

홈 › Papers

The Curious Case of Absolute Position Embeddings

2022-10-23 · Koustuv Sinha, Amirhossein Kazemnejad, Siva Reddy, Joelle Pineau, Dieuwke Hupkes, Adina Williams

Transformer language models encode the notion of word order using positional information. Most commonly, this positional information is represented by absolute position embeddings (APEs), that are learned from the pretraining data. However, in natural language, it is not absolute position that matters, but relative position, and the extent to which APEs can capture this type of information has not been investigated. In this work, we observe that models trained with APE over-rely on positional information to the point that they break-down when subjected to sentences with shifted position information. Specifically, when models are subjected to sentences starting from a non-zero position (excluding the effect of priming), they exhibit noticeably degraded performance on zero to full-shot tasks, across a range of model families and model sizes. Our findings raise questions about the efficacy of APEs to model the relativity of position information, and invite further introspection on the sentence and word order processing strategies employed by these models.

📄 PDF Abstract BibTeX arXiv:2210.12574

Code (1)

kazemnejad/lm_pos_investigations 공식 구현

Tasks

PositionSentence

Similar Papers 제목 키워드 기반

Word Embeddings vs Word Types for Sequence Labeling: the Curious Case of CV Parsing

2015-06-01 · WS 2015 6 · Melanie Tosik, Carsten Lygteskov Hansen, Gerard Goossen, Mihai Rotaru
Word Embeddings

Do traveling waves make good positional encodings?

2025-11-11 · Chase van de Geijn, Ayush Paliwal, Timo Lüddecke, Alexander S. Ecker arxiv

Transformers rely on positional encoding to compensate for the inherent permutation invariance of self-attention. Traditional approaches use absolute sinusoidal embeddings or learned positional vectors, while more recent…

CAPE: Encoding Relative Positions with Continuous Augmented Positional Embeddings

2021-06-06 · NeurIPS 2021 12 · Tatiana Likhomanenko, Qiantong Xu, Gabriel Synnaeve, Ronan Collobert 외

Without positional information, attention-based Transformer neural networks are permutation-invariant. Absolute or relative positional embeddings are the most popular ways to feed Transformer models with positional infor…

Machine Translationspeech-recognitionSpeech RecognitionTranslation

Of Spiky SVDs and Music Recommendation

2023-06-30 · Darius Afchar, Romain Hennequin, Vincent Guigue

The truncated singular value decomposition is a widely used methodology in music recommendation for direct similar-item retrieval or embedding musical items for downstream tasks. This paper investigates a curious effect …

Music RecommendationRetrieval

Geometry of Compositionality

2016-11-29 · Hongyu Gong, Suma Bhat, Pramod Viswanath

This paper proposes a simple test for compositionality (i.e., literal usage) of a word or phrase in a context-specific way. The test is computationally simple, relying on no external resources and only uses a set of trai…

Word Embeddings