Concept-Localized Generative Representations

Amanda MerkleyNeurIPS 2026

TL;DR

Generative models are remarkably good at recreating complex data, yet they usually entangle specific, human-interpretable concepts with unrelated background noise inside their internal representations. This paper introduces CLARE, a model that neatly separates a target concept into its own dedicated "control knob" while sweeping all remaining data variation into a separate, leak-free pathway. By doing so, it gives scientists a trustworthy way to intervene on models and study complex systems—like how brain activity encodes specific visual events—without sacrificing the ability to generate realistic data.

What Problem Does This Paper Address?

Imagine listening to an orchestra of hundreds of neurons firing in a mouse’s brain while it watches images flash on a screen. A neuroscientist wants to know how a single concept—say, a sudden change in the image—is represented in that neural activity.

Generative models, like Variational Autoencoders (VAEs), simplify high-dimensional data ($X$) by compressing it into lower-dimensional latent variables. However, standard reconstruction objectives just want the output to look like the input; they don't care how the latent space is organized, leading to tangled, uninterpretable representations.

Even semi-supervised models that use concept labels ($M$) to split latent variables into a "concept" space ($Z$) and a "residual/everything-else" space ($V$) run into two subtle traps:

  1. Concept Leakage: Information about the concept $M$ sneaks into the residual space $V$. If you tweak $Z$ to see what happens, $V$ might still hold onto the old concept, ruining your experiment.
  2. Shortcut Copying: Many models feed the concept label $M$ directly into the encoder during inference. Instead of learning how the concept actually manifests in the data, the model can lazily copy the label.
Figure 1: (a) Concept localization during data generation. Localizing the concept M combines generation of concept-relevant data variation through Z with reduced concept leakage into V. Solid green lines are desirable, dashed red lines indicate leakage. Shaded variables are observed, unshaded are latent. (b,c) CLARE’s generative and inference models.

Methods

To balance concept localization with generative fidelity (reconstruction quality), the authors propose CLARE (Concept-Localized Generative Representations), built on a standard VAE backbone with two crucial design choices:

  • Data-Only Inference: During inference, both the concept latent ($Z$) and residual latent ($V$) are inferred strictly from the data $X$, never directly from the label $M$ (see Figure 1c). This forces the model to genuinely discover the concept's footprint within the data.
  • Dual-Role Projection & Leakage Penalty: CLARE’s training objective combines standard data reconstruction with two specialized mechanisms. First, a Kullback-Leibler (KL) divergence term aligns the encoder $q(Z|X)$ with a concept-conditioned prior $p(Z|M)$. The authors prove mathematically that this standard variational term doubles as a tractable upper bound on the Information Bottleneck objective—simultaneously compressing $X$ while keeping $Z$ maximally informative about $M$. Second, to shut down concept leakage into $V$, CLARE explicitly penalizes statistical dependence between $M$ and $V$ using the Hilbert-Schmidt Independence Criterion (HSIC).
Figure 2: High-level comparison of CLARE to baselines.

Datasets

The authors stress-test CLARE across three increasingly complex settings (no new datasets are introduced, though a custom synthetic benchmark is constructed):

  • Controlled Synthetic Data: Simulated features with ground-truth latents tested across low, medium, and high signal-to-noise ratios (SNRs), where the concept influences some features fully, some partially, and others not at all.
  • MorphoMNIST: Modified handwritten digits with measurable geometric traits. Digit slant is used as the target concept $M$, which naturally covaries with traits like digit height and area.
  • Allen Institute Visual Behavior Dataset: Real-world, Poisson-distributed neural spiking activity from the primary visual cortex of five mice viewing naturalistic images. The target concept $M$ is binary: did the displayed image just change, or is it a repeat?

Key Insights and Ideas

  • High reconstruction and prediction accuracy can be an illusion: Baseline models often reconstruct data beautifully and allow linear probes to decode concepts from $Z$, yet fail completely when you intervene on them because concept information has leaked into $V$ or was copied from the label.
  • Localization reveals true biological structure: In the mouse brain case study, CLARE wasn't explicitly trained to match how individual neurons fire up or down in response to an image change. Yet, simply by forcing the concept to localize cleanly without leaking, CLARE's generated neural patterns aligned better with real observed biological responses than any baseline.
  • Zero-shot generalization across behavioral states: Models trained while mice were actively responding to images transferred their localized structure directly to passive viewing sessions unseen during training, proving CLARE captured genuine sensory representations rather than task-specific artifacts.

Key Results

The authors evaluate three main metrics: Reconstruction Score ($S$) (higher is better, $1$ is perfect), Functional Sensitivity ($\delta(Z, \hat{M})$) via counterfactual interventions (measures how exclusively $Z$ controls the concept in generated data; $1$ is ideal), and Concept Leakage ($dCor(M, V)$) via distance correlation ($0$ means total independence).

  • Synthetic Data: CLARE tracks the ground-truth oracle nearly perfectly across all SNRs, achieving the lowest average absolute errors across the board: $0.009$ in reconstruction, $0.007$ in functional sensitivity, and $0.004$ in leakage.
  • MorphoMNIST: CLARE achieves near-perfect functional control over digit slant ($\delta = 0.98$) and the lowest leakage ($0.12$), while maintaining a $0.77$ reconstruction score (virtually tied with the $0.78$ top score of baselines CCVAE and S-CVAE, which suffered severe leakage of $0.43$ and $0.30$).
  • Allen Neural Data: CLARE achieves the lowest leakage ($0.13$), strong reconstruction ($0.35$, second best) and functional sensitivity ($0.78$, second best). Crucially, when ablating $Z$, concept classification on CLARE's generated spikes drops to $52\%$ (near $50\%$ random chance, proving $V$ isn't hiding the answer), whereas GKVAE and S-CVAE remain stuck above $90\%$. CLARE also achieves the highest signed correlation ($0.72$) with real single-neuron firing differences.
Table 2: Comparison of generative fidelity and concept localization in MNIST and Allen datasets.

Limitations and Future Work

  • The Interpretability-Fidelity Tradeoff: Because CLARE strictly enforces independence and data-only inference, it occasionally sacrifices a sliver of raw reconstruction quality compared to unconstrained models. If pure generation quality is all that matters, CLARE may not be the optimal choice.
  • Theoretical Identifiability Gaps: While the authors show CLARE enjoys partial mathematical identifiability for $Z$ when data are continuous and concepts are sufficiently rich, these theoretical guarantees do not yet extend to the residual pathway $V$ or to discrete data (like spike counts). Establishing formal identifiability guarantees for discrete scientific data remains a vital next step.

Summary updated

Abstract

Motivated by interpretable generative models for applications such as scientific inquiry, we aim to learn representations that localize human-interpretable concepts and separate them from residual variation in the data. Reconstruction and prediction objectives alone are insufficient for this purpose, as concept-relevant variation can be distributed across multiple latent factors while still achieving high performance. We address this limitation with CLARE, a generative model that learns concept-localized and residual representations inferred only from data observations. The objective encourages localization through an upper bound on the concept information bottleneck while reducing dependence between the concept and residual latent. Across synthetic and real datasets, the learned representations localize concepts while preserving generative fidelity. A case study on neural data shows that localized representations align more strongly with structured variation in observed neural responses. This supports localization, rather than prediction accuracy alone, as a more faithful criterion for interpretable concept-relevant structure in generative models.
BibTeX
@inproceedings{merkley2026concept,
  author = {Amanda Merkley},
  title = {{Concept-Localized Generative Representations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=fDLPVya86p},
}
Figure