Elamur Research
☰
home / papers / 2021 / Amnesic Probing: Behavioral Explanation with Amnesic Counterfactuals

Amnesic Probing: Behavioral Explanation with Amnesic Counterfactuals

Written for the Research library (claude-opus-5-5) from the paper text. Original — aclanthology.org/2021.tacl-1.10.pdf

Summary

Probing is a common way to inspect neural language models: a small classifier is trained to recover a linguistic property from hidden representations. However, a successful probe only shows that the information can be extracted. It says nothing about whether the model actually relies on it. Elazar et al. propose Amnesic Probing, a counterfactual test of usage. The target property is erased from the representation, and the authors measure how much the model's behavior on its main task degrades. The erasure uses Iterative Nullspace Projection (INLP), which removes linearly decodable information without retraining the encoder. Applying this to BERT-base for word prediction, they study properties such as part-of-speech and dependency labels. Their central finding is that high probing accuracy does not predict how important a property is for the task. Usage also differs between masked and non-masked inputs, and individual labels within a property matter to different degrees. The work is a warning against drawing causal or behavioral conclusions from probing scores alone. It also offers a reusable intervention-based analysis tool.

Key points

  • How INLP erases a property: It repeatedly trains linear classifiers (linear SVM) to predict the property and projects the representations onto each classifier's nullspace. This continues until a probe scores within about one point of majority accuracy on the development set.
  • Two controls:
    • Rand removes the same number of directions, chosen at random, to account for generic information loss.
    • Selectivity reattaches gold property values as learned 32-dimensional vectors and fine-tunes the following layers to check whether performance can be restored.
  • Masked vs. non-masked: Properties like POS and dependency labels are used differently when the token is masked (the LM training regime) than when it is visible (the regime typical for probing and fine-tuning).
  • NLP pipeline claim revisited: The authors re-examine the claim of Tenney et al. (2019a) that BERT's layers mirror a classical NLP pipeline. Their layer-wise amnesic analysis gives a new interpretation, but it covers BERT-base, whereas Tenney et al. studied BERT-Large.
  • Scope and availability: Published in TACL vol. 9 (2021), pp. 160–175. The method removes only linear information, and the authors call for non-linear removal methods. Code is at github.com/yanaiela/amnesic_probing.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

Fields: Natural language processing

Cited by

118 papers of our library cite it (of the 140673 whose bibliographies we read); 3 of them have a page here, 115 not yet.

Cite

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.1162/tacl_a_00359

@article{elazar2021amnesic,
  title = {{Amnesic Probing: Behavioral Explanation with Amnesic Counterfactuals}},
  author = {Elazar, Yanai and Ravfogel, Shauli and Jacovi, Alon and Goldberg, Yoav},
  journal = {Transactions of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.1162/tacl\_a\_00359},
  url = {https://doi.org/10.1162/tacl_a_00359}
}

References

2 references, 1 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Christoph Alt, Aleksandra Gabryszak, and Leonhard Hennig. 2020. Probing linguistic features of sentence-level representations in relation extraction. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 1534–1545, Online. Association for Computational Lin… find
  2. Yossi Adi, Einat Kermany, Yonatan Belinkov, Ofer Lavi, and Yoav Goldberg. 2016. Fine-grained analysis of sentence embeddings using auxiliary prediction tasks. CoRR, abs/1608 .04207. \#\# Conclusions find our card