Causal Differentiating Concepts: Interpreting LM Behavior via Causal Representation Learning

Navita Goyal, Hal Daumé, Alexandre Drouin, Dhanya Sridhar
1/1/2025

No confident code implementation found for this paper.

Abstract

Language model activations entangle concepts that mediate their behavior, making it difficult to interpret these factors, which has implications for generalizability and robustness. We introduce an approach for disentangling these concepts without supervision.

Show full abstract

Existing methods for concept discovery often rely on external labels, contrastive prompts, or known causal structures, which limits their scalability and biases them toward predefined, easily annotatable features. In contrast, we propose a new unsupervised algorithm that identifies causal differentiating concepts—interpretable latent directions in LM activations that must be changed to elicit a different model behavior. These concepts are discovered using a constrained contrastive learning objective, guided by the insight that eliciting a target behavior requires only sparse changes to the underlying concepts. We formalize this notion and show that, under a particular assumption about the sparsity of these causal differentiating concepts, our method learns disentangled representations that align with human-interpretable factors influencing LM decisions. We empirically show the ability of our method to recover ground-truth causal factors in synthetic and semi-synthetic settings. Additionally, we illustrate the utility of our method through a case study on refusal behavior in language models. Our approach offers a scalable and interpretable lens into the internal workings of LMs, providing a principled foundation for interpreting language model behavior.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{goyal2025causal,
  title  = {Causal Differentiating Concepts: Interpreting LM Behavior via Causal Representation Learning},
  author = {Navita Goyal and Hal Daumé and Alexandre Drouin and Dhanya Sridhar},
  year   = {2025},
  doi    = {10.52202/085713-2224},
  url    = {https://doi.org/10.52202/085713-2224},
  journal = {Neural Information Processing Systems}
}

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

Discussion