mlsanityData to 14 Oct 2026

Why bother with geometry? On the relevance of linear decompositions of Transformer embeddings

arXiv 2310.06977 ↗First posted 10 Oct 2023cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

A recent body of work has demonstrated that Transformer embeddings can be linearly decomposed into well-defined sums of factors, that can in turn be related to specific network inputs or components. There is however still a dearth of work studying whether these mathematical reformulations are empirically meaningful. In the present work, we study representations from machine-translation decoders using two of such embedding decomposition methods. Our results indicate that, while decomposition-derived indicators effectively correlate with model performance, variation across different runs suggests a more nuanced take on this question. The high variability of our measurements indicate that geometry reflects model-specific characteristics more than it does sentence-specific computations, and that similar training conditions do not guarantee similar vector spaces.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 22 of its 35 references that are in the map. First posted on arXiv 10 Oct 2023.

Builds on

22 of 35 references.

References · 22

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
  3. 2020COMET: A Neural Framework for MT Evaluationcited by 1,033
  4. 2019Attention is not Explanationcited by 929
  5. 2020A Primer in BERTology: What we know about how BERT workscited by 815
  6. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 784
  7. 2019Attention is not not Explanationcited by 636
  8. 2019Is Attention Interpretable?cited by 389
  9. 2018Marian: Fast Neural Machine Translation in C++cited by 203
  10. 2021All Bark and No Bite: Rogue Dimensions in Transformer Language Models Obscure Representational Qualitycited by 156
  11. 2022Analyzing Transformers in Embedding Spacecited by 132
  12. 2020The Tatoeba Translation Challenge -- Realistic Data Sets for Low Resource and Multilingual MTcited by 128
10 more
  1. 2019Learning to Deceive with Attention-Based Explanationscited by 111
  2. 2020Analyzing the Source and Target Contributions to Predictions in Neural Machine Translationcited by 71
  3. 2022Measuring the Mixing of Contextual Information in the Transformercited by 65
  4. 2019Analogies Explained: Towards Understanding Word Embeddingscited by 64
  5. 2022Towards Opening the Black Box of Neural Machine Translation: Source and Target Interpretations of the Transformercited by 45
  6. 2022GlobEnc: Quantifying Global Token Attribution by Incorporating the Whole Encoder Layer in Transformerscited by 44
  7. 2023Explaining How Transformers Use Context to Build Predictionscited by 43
  8. 2022How to Dissect a Muppet: The Structure of Transformer Embedding Spacescited by 20
  9. 2021Of Non-Linearity and Commutativity in BERTcited by 16
  10. 2023Token-wise Decomposition of Autoregressive Language Model Hidden States for Analyzing Model Predictionscited by 6

Built on by

Cited by year

Citing papers per year: 2024: 2.

2 papers.