mlsanityData to 14 Oct 2026

Testing the assumptions about the geometry of sentence embedding spaces: the cosine measure need not apply

arXiv 2509.01606 ↗First posted 1 Sep 2025cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Transformer models learn to encode and decode an input text, and produce contextual token embeddings as a side-effect. The mapping from language into the embedding space maps words expressing similar concepts onto points that are close in the space. In practice, the reverse implication is also assumed: words corresponding to close points in this space are similar or related, those that are further are not. Does closeness in the embedding space extend to shared properties for sentence embeddings? We present an investigation of sentence embeddings and show that the geometry of their embedding space is not predictive of their relative performances on a variety of tasks. We compute sentence embeddings in three ways: as averaged token embeddings, as the embedding of the special [CLS] token, and as the embedding of a random token from the sentence. We explore whether there is a correlation between the distance between sentence embedding variations and their performance on linguistic tasks, and whether despite their distances, they do encode the same information in the same manner. The results show that the cosine similarity -- which treats dimensions shallowly -- captures (shallow) commonalities or differences between sentence embeddings, which are not predictive of their performance on specific tasks. Linguistic information is rather encoded in weighted combinations of different dimensions, which are not reflected in the geometry of the sentence embedding space.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 26 of its 45 references that are in the map. First posted on arXiv 1 Sep 2025.

Builds on

26 of 45 references.

References · 26

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  4. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,170
  5. 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
  6. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
  7. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  8. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  9. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,181
  10. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
  11. 2019What do you learn from context? Probing for sentence structure in contextualized word representationscited by 438
  12. 2021All Bark and No Bite: Rogue Dimensions in Transformer Language Models Obscure Representational Qualitycited by 156
14 more
  1. 2020Finding Universal Grammatical Relations in Multilingual BERTcited by 110
  2. 2019Generating Sentences from Disentangled Syntactic and Semantic Spacescited by 59
  3. 2018Towards Understanding Linear Word Analogiescited by 57
  4. 2021Deep Subjecthood: Higher-Order Grammatical Features in Multilingual BERTcited by 41
  5. 2019A Multi-Task Approach for Disentangling Syntax and Semantics in Sentence Representationscited by 37
  6. 2022SBERT studies Meaning Representations: Decomposing Sentence Embeddings into Explainable Semantic Featurescited by 33
  7. 2024Simple Techniques for Enhancing Sentence Embeddings in Generative Language Modelscited by 26
  8. 2024Holmes: A Benchmark to Assess the Linguistic Competence of Language Modelscited by 26
  9. 2021Disentangling Generative Factors in Natural Language with Discrete Variational Autoencoderscited by 19
  10. 2020Toward Better Storylines with Sentence-Level Language Modelscited by 14
  11. 2022Learning Disentangled Representations for Natural Language Definitionscited by 12
  12. 2023Investigating semantic subspaces of Transformer sentence embeddings through linear structural probingcited by 12
  13. 2024Are there identifiable structural parts in the sentence embedding whole?cited by 6
  14. 2024Exploring syntactic information in sentence embeddings through multilingual subject-verb agreementcited by 6

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.