Skip to main navigation Skip to search Skip to main content

Cross-Layer Discrete Concept Discovery for Interpreting Language Models

  • University of Calgary
  • Dalhousie University

Research output: Contribution to journal › Journal Article › peer-review

Abstract

Interpreting language models remains challenging due to the residual stream, which linearly mixes and duplicates features across adjacent layers, causing single-layer analyses to miss this cross-layer structure. Cross-layer sparse autoencoders (SAEs) address layer mixing but operate in continuous space, where concepts split across many neurons without clear boundaries. We introduce cross-layer vector quantized-variational autoencoder (CLVQ-VAE), a novel framework which maps representations from a lower layer to a higher layer through a discrete vector-quantization bottleneck, collapsing duplicated residual-stream features into compact, interpretable concept vectors. Our approach combines top-k temperature-based sampling with exponential moving average (EMA) codebook updates, providing controlled exploration of the discrete latent space while maintaining codebook diversity. Across both encoder-and decoder-based models on ERASER-Movie, Jigsaw, and AGNews, CLVQ-VAE outperforms clustering, single-layer vector quantized-variational autoencoder (VQ-VAE), and sparse autoencoder (SAE) baselines across three evaluation axes: removing identified concepts drops downstream probe accuracy by up to 93%, LLM judges rank our concepts first in 66.7% of comparisons, and human annotators recover model predictions from our visualizations with 78% accuracy versus 54% for clustering.1.

Original languageEnglish
JournalTransactions on Machine Learning Research
Volume2026-September
Publication statusPublished - Sept 2026
Externally publishedYes

Fingerprint

Dive into the research topics of 'Cross-Layer Discrete Concept Discovery for Interpreting Language Models'. These topics are generated from the title and abstract of the publication. Together, they form a unique fingerprint.

Cite this