A Bayesian Framework for Information-Theoretic Probing

Tiago Pimentel, Ryan Cotterell
9/8/2021
cs.CLcs.IT
bayesian

Official code: rycolab/bayesian-mi (10 stars, Python, last commit 2021-08-23).

Abstract

Pimentel et al. (2020) recently analysed probing from an information-theoretic perspective. They argue that probing should be seen as approximating a mutual information.

Show full abstract

This led to the rather unintuitive conclusion that representations encode exactly the same information about a target task as the original sentences. The mutual information, however, assumes the true probability distribution of a pair of random variables is known, leading to unintuitive results in settings where it is not. This paper proposes a new framework to measure what we term Bayesian mutual information, which analyses information from the perspective of Bayesian agents -- allowing for more intuitive findings in scenarios with finite data. For instance, under Bayesian MI we have that data can add information, processing can help, and information can hurt, which makes it more intuitive for machine learning applications. Finally, we apply our framework to probing where we believe Bayesian mutual information naturally operationalises ease of extraction by explicitly limiting the available background knowledge to solve a task.

View on arXivView PDF

Code Implementations(1)

This code accompanies the paper "Bayesian Framework for Information-Theoretic Probing" published in EMNLP 2021.

100Python, MakefileAug 23, 20215 years ago

Similar Papers

Cite this paper

@article{pimentel2021bayesian,
  title  = {A Bayesian Framework for Information-Theoretic Probing},
  author = {Tiago Pimentel and Ryan Cotterell},
  year   = {2021},
  eprint = {2109.03853},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.03853}
}

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

Discussion