mlsanityData to 14 Oct 2026

Attention-likelihood relationship in transformers

arXiv 2303.08288 ↗First posted 15 Mar 2023cs.CL cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

We analyze how large language models (LLMs) represent out-of-context words, investigating their reliance on the given context to capture their semantics. Our likelihood-guided text perturbations reveal a correlation between token likelihood and attention values in transformer-based language models. Extensive experiments reveal that unexpected tokens cause the model to attend less to the information coming from themselves to compute their representations, particularly at higher layers. These findings have valuable implications for assessing the robustness of LLMs in real-world scenarios. Fully reproducible codebase at https://github.com/Flegyas/AttentionLikelihood.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 14 of its 19 references that are in the map. First posted on arXiv 15 Mar 2023.

Builds on

14 of 19 references.

References · 14

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  6. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
  7. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
  8. 2019Attention is not Explanationcited by 929
  9. 2020A Primer in BERTology: What we know about how BERT workscited by 815
  10. 2019Attention is not not Explanationcited by 636
  11. 2021Datasets: A Community Library for Natural Language Processingcited by 530
  12. 2019Linguistic Knowledge and Transferability of Contextual Representationscited by 383
2 more
  1. 2019Revealing the Dark Secrets of BERTcited by 301
  2. 2019Analyzing the Structure of Attention in a Transformer Language Modelcited by 243

Built on by

Not cited yet.