Concept Embedding Models: Beyond the Accuracy-Explainability Trade-Off

Mateo Espinosa Zarlenga, Pietro Barbiero, Gabriele Ciravegna, Giuseppe Marra, Francesco Giannini, Michelangelo Diligenti, Zohreh Shams, Frédéric Precioso, Stefano Melacci, Adrian Weller, Pietro Lió, Mateja Jamnik

Introduction

Deep neural networks achieve remarkable predictive accuracy but are notoriously opaque, making them difficult to trust in high-stakes deployments. Concept Bottleneck Models (CBMs) were introduced to address this by forcing the network to first predict a set of human-understandable "concepts" (e.g., "is the bird's wing white?") before making a final classification. This allows humans to understand the model's reasoning and even intervene to correct mispredicted concepts.

However, CBMs face a significant "bottleneck" problem: if the predefined concepts do not capture every nuance of the input data, the model's final accuracy suffers compared to a standard black-box network. Previous attempts to fix this, such as adding "unsupervised" neurons (Hybrid CBMs), improved accuracy but compromised the model's interpretability and the effectiveness of human interventions.

Concept Embedding Models (CEMs) break this long-standing trade-off between predictive accuracy and interpretability. By representing human-understandable concepts as high-dimensional embeddings rather than simple scalars, CEMs match or exceed the performance of black-box models while remaining fully explainable and highly responsive to human intervention.

Methodology: Concept Embedding Models

The core innovation of CEMs is moving away from representing each concept as a single probability score. Instead, CEMs represent each concept as a high-dimensional embedding, providing the extra capacity needed for high accuracy while keeping that capacity tied to specific, supervised concepts.

The CEM architecture: learning dual embeddings for each concept and mixing them based on predicted probabilities.

Key technical features of the CEM architecture include:

  • Dual-State Embeddings: For every concept, the model learns two distinct embeddings: one representing the concept being "active" (true) and one for "inactive" (false).
  • Probabilistic Mixture: The model predicts a probability $\hat{p}_i$ for a given concept and then creates a weighted mixture of the active and inactive embeddings. This mixed embedding is what the final classifier processes.
  • RandInt Training: To ensure the model actually relies on these concepts rather than bypassing them, the authors employ a training strategy called "RandInt." This involves randomly forcing the model to use the ground-truth concept embedding during training, which strongly incentivizes the model to react to human interventions at test time.
  • Concept Alignment Score (CAS): The authors introduce a new metric to measure how well a high-dimensional embedding actually corresponds to its intended human concept, ensuring the embeddings remain interpretable.

Experimental Setup

The researchers evaluated CEMs across five datasets of increasing complexity to test their robustness and scalability:

  1. XOR: A synthetic Boolean task.
  2. Trigonometric: A task where inputs are non-linear functions of latent variables.
  3. Dot: A vector-based task where concepts are defined by the direction of latent vectors.
  4. CUB (Caltech-UCSD Birds-200-2011): A real-world image dataset for bird species classification featuring 112 concept annotations.
  5. CelebA (Large-scale CelebFaces Attributes): A face attribute dataset used to test "concept-incomplete" scenarios where concept supervision is scarce.

Key Results and Insights

Breaking the Trade-off

Using Information Plane analysis, the authors demonstrate that standard CBMs are forced to "forget" useful input information to satisfy their narrow scalar bottleneck. CEMs, by contrast, preserve relevant information within their high-dimensional concept activations. As a result, CEMs consistently sit in the "golden corner" of high task accuracy and high concept alignment, outperforming both vanilla CBMs and Hybrid versions.

The accuracy-vs-interpretability trade-off across different datasets. CEMs (blue) consistently reach the top-right corner.

Superior Accuracy in Real-World Conditions

On the CelebA dataset, CEMs achieved 5% higher task accuracy than a standard black-box model trained without concepts. This proves that concept supervision can actually improve generalization if the architecture handles the concepts correctly, rather than acting as a restrictive bottleneck.

Enhanced Intervention Power

Because the entire high-dimensional embedding shifts when a concept is corrected, human interventions have a much more significant and positive impact on the final prediction compared to previous models. In the CUB dataset, CEMs showed the highest responsiveness to test-time interventions; when a human expert corrects a mispredicted concept, the CEM's accuracy improves significantly more than in scalar-based CBMs.

Limitations and Future Work

While CEMs represent a major step forward for interpretable deep learning, the authors note a few areas for ongoing research:

  • Resource Intensity: Learning two distinct embeddings per concept increases the number of parameters and the computational cost during both training and inference.
  • Scaling: While CEMs scale well to the 112 concepts in the CUB dataset, deploying them on massive, real-world concept sets might require more efficient parameter-sharing strategies.
  • Societal Risk: As with any highly interpretable model, there is a risk that "transparency" could be used by malicious actors to manipulate or game the system if deployed without proper safeguards.

Future work could explore more complex generators for the embeddings or apply CEMs to challenging, high-stakes domains like medical diagnosis or legal analysis, where both accuracy and explainability are paramount.

Summary updated

BibTeX
@inproceedings{zarlenga2022concept,
  author = {Mateo Espinosa Zarlenga and Pietro Barbiero and Gabriele Ciravegna and Giuseppe Marra and Francesco Giannini and Michelangelo Diligenti and Zohreh Shams and Frédéric Precioso and Stefano Melacci and Adrian Weller and Pietro Lió and Mateja Jamnik},
  title = {{Concept Embedding Models: Beyond the Accuracy-Explainability Trade-Off}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=yl_fTvnVrEv},
}
Figure