Intrinsic Probing through Dimension Selection

Lucas Torroba Hennigen, Adina Williams, Ryan Cotterell
10/6/2020
cs.CL

Official code: rycolab/intrinsic-probing (5 stars, Python, MIT, last commit 2020-11-26).

Abstract

Most modern NLP systems make use of pre-trained contextual representations that attain astonishingly high performance on a variety of tasks. Such high performance should not be possible unless some form of linguistic structure inheres in these representations, and a wealth of research has sprung up on probing for it.

Show full abstract

In this paper, we draw a distinction between intrinsic probing, which examines how linguistic information is structured within a representation, and the extrinsic probing popular in prior work, which only argues for the presence of such information by showing that it can be successfully extracted. To enable intrinsic probing, we propose a novel framework based on a decomposable multivariate Gaussian probe that allows us to determine whether the linguistic information in word embeddings is dispersed or focal. We then probe fastText and BERT for various morphosyntactic attributes across 36 languages. We find that most attributes are reliably encoded by only a few neurons, with fastText concentrating its linguistic structure more than BERT.

View on arXivView PDF

Code Implementations(1)

MIT

Code and data for the EMNLP 2020 paper "Intrinsic Probing through Dimension Selection".

51Python, ShellSep 28, 20206 years agoMIT
bertdimension-selectionemnlp2020fasttextinterpretability+3 more

Similar Papers

Cite this paper

@article{hennigen2020intrinsic,
  title  = {Intrinsic Probing through Dimension Selection},
  author = {Lucas Torroba Hennigen and Adina Williams and Ryan Cotterell},
  year   = {2020},
  eprint = {2010.02812},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.02812}
}

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/2010.02812.svg)](https://codeofpaper.com/paper/2010.02812)

Discussion