Probing Context Localization of Polysemous Words in Pre-trained Language Model Sub-Layers
Not on the map. Why?
Abstract (arXiv)
In the era of high performing Large Language Models, researchers have widely acknowledged that contextual word representations are one of the key drivers in achieving top performances in downstream tasks. In this work, we investigate the degree of contextualization encoded in the fine-grained sub-layer representations of a Pre-trained Language Model (PLM) by empirical experiments using linear probes. Unlike previous work, we are particularly interested in identifying the strength of contextualization across PLM sub-layer representations (i.e. Self-Attention, Feed-Forward Activation and Output sub-layers). To identify the main contributions of sub-layers to contextualisation, we first extract the sub-layer representations of polysemous words in minimally different sentence pairs, and compare how these representations change through the forward pass of the PLM network. Second, by probing on a sense identification classification task, we try to empirically localize the strength of contextualization information encoded in these sub-layer representations. With these probing experiments, we also try to gain a better understanding of the influence of context length and context richness on the degree of contextualization. Our main conclusion is cautionary: BERT demonstrates a high degree of contextualization in the top sub-layers if the word in question is in a specific position in the sentence with a shorter context window, but this does not systematically generalize across different word positions and context sizes.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 13 of its 29 references that are in the map. First posted on arXiv 21 Sep 2024.
Builds on
13 of 29 references.
References · 13
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTcited by 1,178
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 1,003
- 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 784
- 2019Designing and Interpreting Probes with Control Taskscited by 640
- 2018Analysis Methods in Neural Language Processing: A Surveycited by 277
- 2020Information-Theoretic Probing with Minimum Description Lengthcited by 232
- 2020Pareto Probing: Trading Off Accuracy for Complexitycited by 55
- 2020Quantifying the Contextualization of Word Representations with Semantic Class Probingcited by 18
- 2020Picking BERT's Brain: Probing for Linguistic Dependencies in Contextualized Embeddings Using Representational Similarity Analysiscited by 18
- 2020Unsupervised Distillation of Syntactic Information from Contextualized Word Representationscited by 8
1 more
- 2023Where exactly does contextualization in a PLM happen?cited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Rethinking Contextualization by Reinterpreting Attention Head Channels
- 2025LLM-Microscope: Uncovering the Hidden Role of Punctuation in Context Memory of Transformers
- 2025Progressive Localisation in Localist LLMs
- 2022Rethinking the Role of Scale for In-Context Learning: An Interpretability-based Case Study at 66 Billion Scale
- 2025From Compression to Expression: A Layerwise Analysis of In-Context Learning
- 2024Can Large Language Models Understand Context?
- 2026Language Models Struggle to Use Representations Learned In-Context
- 2025Layer by Layer: Uncovering Hidden Representations in Language Models