Concept-based Explainable Artificial Intelligence: A Survey

Eleonora Poeta, Gabriele Ciravegna, Eliana Pastor, Tania Cerquitelli, Elena Baralis

Introduction: Beyond Pixel-Level Explanations

Standard Explainable AI (XAI) techniques, such as saliency maps (e.g., Grad-CAM) or feature attribution methods (e.g., SHAP, LIME), typically operate at the raw feature level. For image classifiers, this results in highlighting specific pixels. However, pixels do not align with human reasoning; a doctor needs to know why a skin lesion is malignant (e.g., "irregular borders") rather than just seeing a heatmap over a patch of skin. Furthermore, these low-level explanations are often "brittle," changing significantly with minor input perturbations.

Concept-based Explainable AI (C-XAI) addresses these issues by utilizing concepts: higher-level, semantically meaningful units (like "wings," "stripes," or "beak shape") that bridge the gap between neural network mathematics and human intuition.

A Taxonomy of Concept-based Explainability

The field of C-XAI has grown rapidly between 2017 and 2023. To organize this landscape, we propose a taxonomy based on whether a model is interpreted after training or designed for transparency from the start.

Taxonomy of Concept-based Explainability methods, distinguishing between post-hoc and explainable-by-design approaches.

As shown in the taxonomy, methods are primarily divided into:

  1. Post-hoc Explanation Methods: These tools, such as Testing with Concept Activation Vectors (T-CAV), probe pre-trained "black box" models to determine if they have learned specific concepts.
  2. Explainable-by-design Models: These include Concept Bottleneck Models (CBMs), which force the network to predict human-understandable concepts as an intermediate step before the final classification.

The C-XAI Pipeline

The general workflow of a concept-based model involves projecting raw data into a concept space before generating a final prediction and explanation.

Overview of the Concept-based XAI pipeline, from input image to concept representation and final explanation output.

The pipeline typically consists of:

  • Data Projection: Mapping input features to a latent space.
  • Concept Representation: Representing concepts as symbolic attributes, unsupervised bases, prototypes, or textual descriptions.
  • Output/Explanations: Generating class-concept relations, node-concept associations, or concept visualizations.

Key Insights and Training Paradigms

Research in C-XAI focuses on several concept typologies: symbolic attributes, unsupervised concept bases, prototypes, and textual descriptions generated by Large Language Models (LLMs). A significant trend is the use of LLMs (e.g., GPT-4) to automatically generate concept sets, reducing the need for expensive manual labeling. This "label-free" approach allows for greater scalability across diverse domains.

One of the core challenges in C-XAI is the Concept Bottleneck trade-off: forcing a model through a human-understandable bottleneck can slightly reduce accuracy. However, newer architectures like Concept Embedding Models (CEM) are mitigating this performance gap. Another critical issue is Information Leakage, where concept layers may unintentionally encode non-concept information, potentially misleading the explanation.

Benchmarking and Future Directions

Several datasets serve as benchmarks for C-XAI, including CUB-200-2011 (Birds), which features 200 bird species with detailed attribute annotations, and BRODEN, which contains over 1,000 visual concepts. Medical datasets such as OAI (Osteoarthritis) and HAM10000 (Skin lesions) are also critical, as concept-level transparency is vital for clinical safety.

Future work in C-XAI aims to improve scalability to open-world datasets like ImageNet, expand into multi-modal data (audio, video), and standardize metrics for interpretability. Additionally, Generative C-XAI offers a promising path for creating counterfactual explanations, showing how changing a specific concept would alter the model's final decision.

Summary updated

BibTeX
@misc{poeta2023concept,
  author = {Eleonora Poeta and Gabriele Ciravegna and Eliana Pastor and Tania Cerquitelli and Elena Baralis},
  title = {{Concept-based Explainable Artificial Intelligence: A Survey}},
  year = {2023},
  eprint = {2312.12936},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.12936},
}
Figure