mlsanityData to 7 Oct 2026

Black-box language model explanation by context length probing

arXiv 2212.14815 ↗First posted 30 Dec 2022cs.CL cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

The increasingly widespread adoption of large language models has highlighted the need for improving their explainability. We present context length probing, a novel explanation technique for causal language models, based on tracking the predictions of a model as a function of the length of available context, and allowing to assign differential importance scores to different contexts. The technique is model-agnostic and does not rely on access to model internals beyond computing token-level probabilities. We apply context length probing to large pre-trained language models and offer some initial analyses and insights, including the potential for studying long-range dependencies. The source code and an interactive demo of the method are available.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 23 of its 30 references that are in the map. First posted on arXiv 30 Dec 2022.

Builds on

23 of 30 references.

References · 23

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  3. 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
  4. 2020Reformer: The Efficient Transformercited by 1,658
  5. 2020Rethinking Attention with Performerscited by 1,584
  6. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  7. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,085
  8. 2022In-context Learning and Induction Headscited by 930
  9. 2019Attention is not Explanationcited by 916
  10. 2016Language Modeling with Gated Convolutional Networkscited by 688
  11. 2017Interpretable Explanations of Black Boxes by Meaningful Perturbationcited by 611
  12. 2021Knowledge Neurons in Pretrained Transformerscited by 590
11 more
  1. 2019Is Attention Interpretable?cited by 387
  2. 2017The (Un)reliability of saliency methodscited by 331
  3. 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
  4. 2020Universal Dependencies v2: An Evergrowing Multilingual Treebank Collectioncited by 269
  5. 2019Explaining Deep Neural Networks with a Polynomial Time Algorithm for Shapley Values Approximationcited by 115
  6. 2021Do Long-Range Language Models Actually Use Long-Range Context?cited by 92
  7. 2020Shortformer: Better Language Modeling using Shorter Inputscited by 76
  8. 2021What Context Features Can Transformer Language Models Use?cited by 49
  9. 2021Rationales for Sequential Predictionscited by 26
  10. 2022ChapterBreak: A Challenge Dataset for Long-Range Language Modelscited by 18
  11. 2021Investigating sanity checks for saliency maps with image and text classificationcited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2023: 3; 2024: 1; 2025: 2; 2026: 1.

7 papers.