DirectProbe: Studying Representations without Classifiers

Yichu Zhou, Vivek Srikumar
4/13/2021
cs.CL

Official code: utahnlp/DirectProbe (21 stars, Python, MIT, last commit 2022-10-15).

Abstract

Understanding how linguistic structures are encoded in contextualized embedding could help explain their impressive performance across NLP@. Existing approaches for probing them usually call for training classifiers and use the accuracy, mutual information, or complexity as a proxy for the representation's goodness.

Show full abstract

In this work, we argue that doing so can be unreliable because different representations may need different classifiers. We develop a heuristic, DirectProbe, that directly studies the geometry of a representation by building upon the notion of a version space for a task. Experiments with several linguistic tasks and contextualized embeddings show that, even without training classifiers, DirectProbe can shine light into how an embedding space represents labels, and also anticipate classifier performance for the representation.

View on arXivView PDF

Code Implementations(1)

MIT
213Python, ShellApr 5, 20214 years agoMIT

Similar Papers

Cite this paper

@article{zhou2021directprobe,
  title  = {DirectProbe: Studying Representations without Classifiers},
  author = {Yichu Zhou and Vivek Srikumar},
  year   = {2021},
  eprint = {2104.05904},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.05904}
}

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

Discussion