Concept Bottleneck Generative Models

Aya Abdelsalam Ismail, Julius Adebayo, Hector Corrada Bravo, Stephen Ra, Kyunghyun Cho

Generative models like Stable Diffusion and StyleGAN produce stunning results, but they are notoriously difficult to control and interpret. When a model makes a mistake, pinpointing the cause is often impossible. To address this, researchers have introduced Concept Bottleneck Generative Models (CBGMs), a framework that builds "interpretable knobs" directly into the architecture of generative models. By forcing internal representations through a layer of human-understandable concepts, CBGMs offer a way to precisely steer, debug, and understand model outputs.

The Black Box Problem

Current generative models largely operate as black boxes. While prompts or class labels can influence them, the internal features the model relies on remain opaque. This opacity leads to unreliable steering—traditional conditioning often fails or degrades image quality as requirements increase—and a lack of interpretability, making it difficult to debug biased or incorrect generations.

The Concept Bottleneck Architecture

To solve these issues, the authors propose inserting a Concept Bottleneck (CB) layer into existing architectures like GANs, VAEs, and Diffusion Models. The generative process is divided into three stages:

  1. Pre-CB Portion: Maps the initial input (e.g., noise) into a high-dimensional activation space.
  2. The CB Layer: Maps activations into a set of Concept Embeddings. Each predefined concept (e.g., "Male," "Glasses") has learned embeddings for "active" and "inactive" states. The layer outputs a weighted mixture based on the predicted probability of each concept.
  3. Post-CB Portion: Decodes these concept embeddings into the final generated image.
Man with glasses generated with concept conditioning

Crucially, the architecture accounts for Unknown Concepts. Because human-defined labels cannot capture every visual nuance, an "unknown concept" network captures residual information, ensuring image quality remains high. An Orthogonality Loss is applied to prevent this unknown capacity from secretly learning the known concepts, which would render the interpretable knobs useless.

Datasets and Performance

CBGMs were evaluated across diverse datasets, including Celeb-A and FFHQ for facial attributes, CUB for bird species, and LAION Aesthetics for artistic styles.

Barack Obama rendered in a Van Gogh artistic style

The results demonstrate significant improvements over traditional methods:

  • Steering Efficiency: In standard models, adding conditions often degrades performance. CBGMs remain stable even as the number of concepts grows. On the CUB dataset, CBGMs were up to 10 times more effective at following concept interventions than standard diffusion baselines. On Celeb-A, CB-GAN achieved a steerability accuracy of 25.6%, compared to just 8.7% for a standard Conditional GAN.
  • High-Fidelity Scaling: The method successfully scales to modern, high-resolution generation, demonstrated by 1024x1024 images on the FFHQ dataset.
  • Zero Quality Trade-off: Thanks to the unknown concept capacity, CBGMs achieve FID scores (measuring image quality) nearly identical to unconstrained, black-box models.

Interpretability and Debugging

Beyond steering, the CB layer acts as a built-in debugger. Because the layer predicts concept probabilities, users can inspect exactly what the model "thinks" it generated. If an intervention to add a "Van Gogh" style results in a "Picasso" look, developers can check the CB layer's activations to diagnose potential mislabeling in the training data.

Limitations and Future Directions

While powerful, CBGMs require annotated training data. Although the authors demonstrated success with only 20% of the data labeled, this still represents a higher supervision burden than standard unsupervised models. Furthermore, the current work focuses entirely on image generation; adapting concept bottlenecks to text or video presents new challenges. Finally, selecting which concepts are "important" enough to include in the bottleneck remains a subjective design choice.

Based on: Ismail, A. A., Adebayo, J., Bravo, H. C., Ra, S., & Cho, K. (2024). Concept Bottleneck Generative Models. ICLR 2024.

Summary updated

BibTeX
@inproceedings{ismail2024concept,
  author = {Aya Abdelsalam Ismail and Julius Adebayo and Hector Corrada Bravo and Stephen Ra and Kyunghyun Cho},
  title = {{Concept Bottleneck Generative Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=L9U5MJJleF},
}
Figure