A Geometric Notion of Causal Probing
Abstract
The linear subspace hypothesis (Bolukbasi et al., 2016) states that, in a language model's representation space, all information about a concept such as verbal number is encoded in a linear subspace. Prior work has relied on auxiliary classification tasks to identify and evaluate candidate subspaces that might give support for this hypothesis. We instead give a set of intrinsic criteria which characterize an ideal linear concept subspace and enable us to identify the subspace using only the language model distribution. Our information-theoretic framework accounts for spuriously correlated features in the representation space (Kumar et al., 2022) by reconciling the statistical notion of concept information and the geometric notion of how concepts are encoded in the representation space. As a byproduct of this analysis, we hypothesize a causal process for how a language model might leverage concepts during generation. Empirically, we find that linear concept erasure is successful in erasing most concept information under our framework for verbal number as well as some complex aspect-level sentiment concepts from a restaurant review dataset. Our causal intervention for controlled generation shows that, for at least one concept across two languages models, the concept subspace can be used to manipulate the concept value of the generated word with precision.
Empirical ResultsBrowse all benchmarks →
| Benchmark | Method | Metric | Score | Protocol / Evidence |
|---|---|---|---|---|
| Partitioning of Concept Information; aggregate across all datasets and models | LEACE (linear concept erasure) | Erasure ratio | 0.64 ratio | Concept ErasureSource quoteL476: The mean erasure ratio across all datasets and models is 0.64 and the encapsulation ratio is 0.50. |
| Partitioning of Concept Information; aggregate across all datasets and models | LEACE (linear concept erasure) | Encapsulation ratio | 0.50 ratio | Concept ErasureSource quoteL476: The mean erasure ratio across all datasets and models is 0.64 and the encapsulation ratio is 0.50. |
| Partitioning of Concept Information; study mean | LEACE (linear concept erasure) | Containment ratio | 0.77 ratio | Concept ErasureSource quoteL482: A containment ratio less than 1 indicates that \rvHconcept generally contains some non-concept information, with a mean value of 0.77. |
| Partitioning of Concept Information; study mean | LEACE (linear concept erasure) | Stability ratio | 0.83 ratio | Concept ErasureSource quoteL485: The stability ratio has a mean of 0.83, confirming that LEACE does some damage to non-concept information in \rvHerase. We note, however, that for our simple linguistic concepts, this damage is minimal. \looseness=-1 |
BibTeX
@misc{guerner2023geometric,
author = {Clément Guerner and Tianyu Liu and Anej Svete and Alexander Warstadt and Ryan Cotterell},
title = {{A Geometric Notion of Causal Probing}},
year = {2023},
eprint = {2307.15054},
archivePrefix = {arXiv},
url = {https://arxiv.org/abs/2307.15054},
}Ask Althea to put this paper to the test.
Loading related content...