Saved in:
Bibliographic Details
Main Authors: Guerner, Clément, Liu, Tianyu, Svete, Anej, Warstadt, Alexander, Cotterell, Ryan
Format: Preprint
Published: 2023
Subjects:
Online Access:https://arxiv.org/abs/2307.15054
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908284490874880
author Guerner, Clément
Liu, Tianyu
Svete, Anej
Warstadt, Alexander
Cotterell, Ryan
author_facet Guerner, Clément
Liu, Tianyu
Svete, Anej
Warstadt, Alexander
Cotterell, Ryan
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2307_15054
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle A Geometric Notion of Causal Probing
Guerner, Clément
Liu, Tianyu
Svete, Anej
Warstadt, Alexander
Cotterell, Ryan
Computation and Language
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.
title A Geometric Notion of Causal Probing
topic Computation and Language
url https://arxiv.org/abs/2307.15054