Spying on your neighbors: Fine-grained probing of contextual embeddings for information about surrounding words
Not on the map. Why?
Abstract (arXiv)
Although models using contextual word embeddings have achieved state-of-the-art results on a host of NLP tasks, little is known about exactly what information these embeddings encode about the context words that they are understood to reflect. To address this question, we introduce a suite of probing tasks that enable fine-grained testing of contextual embeddings for encoding of information about surrounding words. We apply these tasks to examine the popular BERT, ELMo and GPT contextual encoders, and find that each of our tested information types is indeed encoded as contextual information across tokens, often with near-perfect recoverability-but the encoders vary in which features they distribute to which tokens, how nuanced their distributions are, and how robust the encoding of each feature is to distance. We discuss implications of these results for how different types of models breakdown and prioritize word-level context information when constructing token embeddings.
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). First posted on arXiv 4 May 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 7; 2023: 4; 2024: 4; 2025: 5; 2026: 2.
28 papers.
Sort:
- 2022Probing for the Usage of Grammatical Numbercited by 57
- 2021Local Interpretations for Explainable Natural Language Processing: A Surveycited by 31
- 2021Exploring the Role of BERT Token Representations to Explain Sentence Probing Resultscited by 29
- 2021Sorting through the noise: Testing robustness of information processing in pre-trained language modelscited by 27
- 2024Holmes: A Benchmark to Assess the Linguistic Competence of Language Modelscited by 26
- 2022Neural reality of argument structure constructionscited by 25
- 2022AdapLeR: Speeding up Inference by Adaptive Length Reductioncited by 19
- 2022On the Importance of Data Size in Probing Fine-tuned Modelscited by 12
- 2023Chunk, Align, Select: A Simple Long-sequence Processing Method for Transformerscited by 9
- 2024Towards a Similarity-adjusted Surprisal Theorycited by 9
- 2022Assessing the Capacity of Transformer to Abstract Syntactic Representations: A Contrastive Analysis Based on Long-distance Agreementcited by 7
- 2025Linguistic Interpretability of Transformer-based Language Models: a systematic reviewcited by 7
16 more
- 2021On the Interplay Between Fine-tuning and Composition in Transformerscited by 6
- 2021Learning Sense-Specific Static Embeddings using Contextualised Word Embeddings as a Proxycited by 6
- 2022Representing Affect Information in Word Embeddingscited by 3
- 2023Automatic Scoring of Dream Reports' Emotional Content with Large Language Modelscited by 3
- 2023From Transcripts to Insights: Uncovering Corporate Risks Using Generative AIcited by 3
- 2025Understanding Subword Compositionality of Large Language Modelscited by 3
- 2021Variation and generality in encoding of syntactic anomaly information in sentence embeddingscited by 2
- 2022Reconstruction Probingcited by 2
- 2025Steering Language Models in Multi-Token Generation: A Case Study on Tense and Aspectcited by 2
- 2023Counteracts: Testing Stereotypical Representation in Pre-trained Language Modelscited by 1
- 2024Do Pretrained Contextual Language Models Distinguish between Hebrew Homograph Analyses?cited by 1
- 2025A Representation Level Analysis of NMT Model Robustness to Grammatical Errorscited by 1
- 2025Learning to Look at the Other Side: A Semantic Probing Study of Word Embeddings in LLMs with Enabled Bidirectional Attentioncited by 1
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Modelscited by 1
- 2024Probing structural constraints of negation in Pretrained Language Modelscited by 0
- 2026Exposure is Optional: Learning Unlike Coordination in Language Modelscited by 0
- 2026Exposure is Optional: Learning Unlike Coordination in Language Models22 Jul 2026
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Models9 Jan 2026
- 2025Learning to Look at the Other Side: A Semantic Probing Study of Word Embeddings in LLMs with Enabled Bidirectional Attention2 Oct 2025
- 2025Steering Language Models in Multi-Token Generation: A Case Study on Tense and Aspect15 Sep 2025
- 2025Understanding Subword Compositionality of Large Language Models25 Aug 2025
- 2025A Representation Level Analysis of NMT Model Robustness to Grammatical Errors27 May 2025
- 2025Linguistic Interpretability of Transformer-based Language Models: a systematic review9 Apr 2025
- 2024Towards a Similarity-adjusted Surprisal Theory23 Oct 2024
- 2024Probing structural constraints of negation in Pretrained Language Models6 Aug 2024
- 2024Do Pretrained Contextual Language Models Distinguish between Hebrew Homograph Analyses?11 May 2024
- 2024Holmes: A Benchmark to Assess the Linguistic Competence of Language Models29 Apr 2024
- 2023From Transcripts to Insights: Uncovering Corporate Risks Using Generative AI26 Oct 2023
16 more
- 2023Chunk, Align, Select: A Simple Long-sequence Processing Method for Transformers25 Aug 2023
- 2023Automatic Scoring of Dream Reports' Emotional Content with Large Language Models28 Feb 2023
- 2023Counteracts: Testing Stereotypical Representation in Pre-trained Language Models11 Jan 2023
- 2022Reconstruction Probing21 Dec 2022
- 2022Assessing the Capacity of Transformer to Abstract Syntactic Representations: A Contrastive Analysis Based on Long-distance Agreement8 Dec 2022
- 2022Representing Affect Information in Word Embeddings21 Sep 2022
- 2022Probing for the Usage of Grammatical Number19 Apr 2022
- 2022On the Importance of Data Size in Probing Fine-tuned Models17 Mar 2022
- 2022AdapLeR: Speeding up Inference by Adaptive Length Reduction16 Mar 2022
- 2022Neural reality of argument structure constructions24 Feb 2022
- 2021Variation and generality in encoding of syntactic anomaly information in sentence embeddings12 Nov 2021
- 2021Learning Sense-Specific Static Embeddings using Contextualised Word Embeddings as a Proxy5 Oct 2021
- 2021Sorting through the noise: Testing robustness of information processing in pre-trained language models25 Sep 2021
- 2021On the Interplay Between Fine-tuning and Composition in Transformers31 May 2021
- 2021Exploring the Role of BERT Token Representations to Explain Sentence Probing Results3 Apr 2021
- 2021Local Interpretations for Explainable Natural Language Processing: A Survey20 Mar 2021
- 2022Probing for the Usage of Grammatical Numbercited by 57
- 2021Local Interpretations for Explainable Natural Language Processing: A Surveycited by 31
- 2021Exploring the Role of BERT Token Representations to Explain Sentence Probing Resultscited by 29
- 2021Sorting through the noise: Testing robustness of information processing in pre-trained language modelscited by 27
- 2024Holmes: A Benchmark to Assess the Linguistic Competence of Language Modelscited by 26
- 2022Neural reality of argument structure constructionscited by 25
- 2022AdapLeR: Speeding up Inference by Adaptive Length Reductioncited by 19
- 2022On the Importance of Data Size in Probing Fine-tuned Modelscited by 12
- 2023Chunk, Align, Select: A Simple Long-sequence Processing Method for Transformerscited by 9
- 2024Towards a Similarity-adjusted Surprisal Theorycited by 9
- 2022Assessing the Capacity of Transformer to Abstract Syntactic Representations: A Contrastive Analysis Based on Long-distance Agreementcited by 7
- 2025Linguistic Interpretability of Transformer-based Language Models: a systematic reviewcited by 7
12 most cited of 28 All 28 (JSON)
- 2026Exposure is Optional: Learning Unlike Coordination in Language Models22 Jul 2026
- 2026The Grammar of Transformers: A Systematic Review of Interpretability Research on Syntactic Knowledge in Language Models9 Jan 2026
- 2025Learning to Look at the Other Side: A Semantic Probing Study of Word Embeddings in LLMs with Enabled Bidirectional Attention2 Oct 2025
- 2025Steering Language Models in Multi-Token Generation: A Case Study on Tense and Aspect15 Sep 2025
- 2025Understanding Subword Compositionality of Large Language Models25 Aug 2025
- 2025A Representation Level Analysis of NMT Model Robustness to Grammatical Errors27 May 2025
- 2025Linguistic Interpretability of Transformer-based Language Models: a systematic review9 Apr 2025
- 2024Towards a Similarity-adjusted Surprisal Theory23 Oct 2024
- 2024Probing structural constraints of negation in Pretrained Language Models6 Aug 2024
- 2024Do Pretrained Contextual Language Models Distinguish between Hebrew Homograph Analyses?11 May 2024
- 2024Holmes: A Benchmark to Assess the Linguistic Competence of Language Models29 Apr 2024
- 2023From Transcripts to Insights: Uncovering Corporate Risks Using Generative AI26 Oct 2023
12 newest of 28 All 28 (JSON)