Skip to main content
QUICK REVIEW

[Paper Review] Explain Any Concept: Segment Anything Meets Concept-Based Explanation

Ao Sun, Pingchuan Ma|arXiv (Cornell University)|May 17, 2023
Explainable Artificial Intelligence (XAI)Computer Science10 citations
TL;DR

EAC combines SAM-driven concept discovery with a lightweight PIE surrogate and Shapley value to explain DNN decisions with arbitrary concepts, achieving superior faithfulness and understandability vs baselines on ImageNet and COCO.

ABSTRACT

EXplainable AI (XAI) is an essential topic to improve human understanding of deep neural networks (DNNs) given their black-box internals. For computer vision tasks, mainstream pixel-based XAI methods explain DNN decisions by identifying important pixels, and emerging concept-based XAI explore forming explanations with concepts (e.g., a head in an image). However, pixels are generally hard to interpret and sensitive to the imprecision of XAI methods, whereas "concepts" in prior works require human annotation or are limited to pre-defined concept sets. On the other hand, driven by large-scale pre-training, Segment Anything Model (SAM) has been demonstrated as a powerful and promotable framework for performing precise and comprehensive instance segmentation, enabling automatic preparation of concept sets from a given image. This paper for the first time explores using SAM to augment concept-based XAI. We offer an effective and flexible concept-based explanation method, namely Explain Any Concept (EAC), which explains DNN decisions with any concept. While SAM is highly effective and offers an "out-of-the-box" instance segmentation, it is costly when being integrated into defacto XAI pipelines. We thus propose a lightweight per-input equivalent (PIE) scheme, enabling efficient explanation with a surrogate model. Our evaluation over two popular datasets (ImageNet and COCO) illustrate the highly encouraging performance of EAC over commonly-used XAI methods.

Motivation & Objective

  • Motivate open and interpretable AI by addressing faithfulness, understandability, and efficiency in concept-based explanations for vision models.
  • Leverage Segment Anything Model (SAM) to automatically extract human-understandable concepts from images.
  • Develop a lightweight per-input equivalent (PIE) surrogate to enable efficient Shapley-value based explanations.
  • Provide a general pipeline (EAC) that explains predictions with any concept and evaluate its effectiveness.

Proposed method

  • Use SAM to produce a set of concepts C from each input image.
  • Train a PIE surrogate that shares the target model's FC layer to approximate the target model over the given input, enabling efficient Shapley-value computation.
  • Compute concept-level Shapley values to identify the most contributive concepts for the target prediction using Monte Carlo sampling.
  • Form explanations as a subset of concepts that maximizes the Shapley-value-based utility and present a masked image highlighting selected concepts.
  • Compare EAC against multiple baselines (pixel-, superpixel-, and concept-based) in faithfulness, using insertion/deletion AUC metrics on ImageNet and COCO.
  • Conduct human studies to assess understandability of explanations and perform ablation studies to validate PIE’s efficiency and fidelity.

Experimental results

Research questions

  • RQ1Can SAM-derived concepts provide faithful and understandable explanations for DNN decisions in vision tasks?
  • RQ2Does the PIE surrogate enable efficient and accurate Shapley-value computation for concept-based explanations?
  • RQ3How does EAC compare to existing pixel-, superpixel-, and concept-based XAI methods on standard benchmarks and human judgments?

Key findings

  • EAC achieves higher insertion AUC than baselines on ImageNet (83.400 vs 75.235) and COCO (83.404 vs 78.199).
  • EAC achieves higher deletion AUC than baselines on ImageNet (23.799) and COCO (16.640) in the reported settings.
  • Human evaluation shows EAC is favored over all baselines on 184 of 200 images (92.0%), with EAC preferred in 137 of 184 cases (74.5%).
  • PIE significantly reduces computation time and maintains high AUC (ImageNet Insertion: PIE 81.78 with 245s vs Original >24 hours; COCO Insertion: PIE 87.08 with 252s).
  • Ablation shows PIE outperforms a linear surrogate and PIE without parameter sharing degrades performance, underscoring the importance of the PIE design.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.