A Geometric Notion of Causal Probing
Clément Guerner, Tianyu Liu, Anej Svete, Alexander Warstadt, Ryan Cotterell
TL;DR
The paper addresses how linguistic concepts are encoded in language model representations by introducing a geometric, intrinsic information-theoretic framework that identifies concept subspaces and disentangles them from spuriously correlated features. It formalizes erasure, encapsulation, containment, and stability within a counterfactual distribution, and builds a causal model with a latent concept variable to enable do-interventions for controlled generation. Empirically, it shows that a near one-dimensional subspace can encode verbal-number information and enable causal manipulation of generation in some models/languages, while findings for grammatical gender are more limited; CEBaB results suggest the approach can improve causal effect estimation over some baselines. The work advances understanding of how concepts are represented and manipulated in generation, offering a path toward principled, causal concept control in LM systems, albeit with assumptions and non-linearities that warrant further refinement.
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.
