Information-Theoretic Probing for Linguistic Structure

Tiago Pimentel, Josef Valvoda, Rowan Hall Maudslay, Ran Zmigrod, Adina Williams +1 more
4/7/2020
cs.CLcs.LG

Official code: rycolab/info-theoretic-probing (22 stars, Python, MIT, last commit 2020-04-27).

Abstract

The success of neural networks on a diverse set of NLP tasks has led researchers to question how much these networks actually ``know'' about natural language. Probes are a natural way of assessing this.

Show full abstract

When probing, a researcher chooses a linguistic task and trains a supervised model to predict annotations in that linguistic task from the network's learned representations. If the probe does well, the researcher may conclude that the representations encode knowledge related to the task. A commonly held belief is that using simpler models as probes is better; the logic is that simpler models will identify linguistic structure, but not learn the task itself. We propose an information-theoretic operationalization of probing as estimating mutual information that contradicts this received wisdom: one should always select the highest performing probe one can, even if it is more complex, since it will result in a tighter estimate, and thus reveal more of the linguistic information inherent in the representation. The experimental portion of our paper focuses on empirically estimating the mutual information between a linguistic property and BERT, comparing these estimates to several baselines. We evaluate on a set of ten typologically diverse languages often underrepresented in NLP research---plus English---totalling eleven languages.

View on arXivView PDF

Code Implementations(1)

MIT

This code accompanies the paper "Information-Theoretic Probing for Linguistic Structure" published in ACL 2020.

221Python, MakefileApr 26, 20206 years agoMIT

Similar Papers

Cite this paper

@article{pimentel2020informationtheoretic,
  title  = {Information-Theoretic Probing for Linguistic Structure},
  author = {Tiago Pimentel and Josef Valvoda and Rowan Hall Maudslay and Ran Zmigrod and Adina Williams and Ryan Cotterell},
  year   = {2020},
  eprint = {2004.03061},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2004.03061}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2004.03061.svg)](https://codeofpaper.com/paper/2004.03061)

Discussion