TL;DR
This paper introduces an axiomatic, model-agnostic framework for concept-based explanations that requires only black-box query access rather than internal representations or gradients. By grounding concept importance in three intuitive axioms—linearity, recursivity, and similarity—the authors unify prior methods (like TCAV and completeness scores), clarifying whether they evaluate concept necessity or sufficiency, and demonstrate practical uses in model selection, optimizer auditing, and zero-shot prompt editing.
What Problem Does This Paper Address?
Concept-based explainable AI (XAI) explains model behavior using human-interpretable concepts (e.g., detecting "stripes" to predict "zebra") rather than raw input features or pixels. However, current techniques suffer from three main drawbacks:
- White-box dependence: Prominent methods like TCAV (Testing with Concept Activation Vectors) require access to intermediate neural network activations and gradients, making them unusable on proprietary APIs or non-neural models (such as decision trees).
- Computational overhead: Prior methods often require training auxiliary classifiers to learn concept vectors or mapping functions.
- Ambiguous semantics: It is rarely clear what mathematical property a concept score actually isolates—for example, whether a concept is necessary for an outcome or merely sufficient.
Methods
The authors derive a suite of simple, closed-form concept attribution measures directly from three natural axioms:
- Axiom 1 (Linearity over examples): Total concept importance is the sum of local impact across individual data points.
- Axiom 2 (Recursivity): Splitting an example’s probability mass across identical instances leaves the overall importance invariant (enforcing linearity in probability).
- Axiom 3 (Similarity): A local impact score $s(h(x), c(x))$ increases when the concept $c(x)$ and model prediction $h(x)$ align, and decreases when they disagree.
Depending on the choice of similarity function, this yields three core measures:
- Symmetric measure: $\mathbb{E}_{x}[h(x)c(x)]$
- Class-conditioned measure: $\mathbb{E}_{x}[c(x) \mid h(x) = 1]$, which quantifies necessity (how reliably the concept appears when the class is predicted).
- Concept-conditioned measure: $\mathbb{E}_{x}[h(x) \mid c(x) \ge \theta]$, which quantifies sufficiency (how reliably the class is predicted when the concept is present).
Because these expectations can be estimated via simple sample averaging, they are completely model-agnostic and avoid auxiliary model training.
Datasets
- ImageNet: Used for validating semantic necessity vs. sufficiency using a pretrained ResNet-18 across fine-grained Felidae categories (class IDs 281–293) and coarse predator classes.
- a-Pascal: 6,340 train and 6,355 test images across 20 object classes, annotated with 64 human-labeled attribute concepts (e.g., "wing", "tail", "metal").
- No new benchmarks were introduced, but the authors demonstrated automated concept extraction on a-Pascal using BLIP-2 (FlanT5-XL) to query visual attributes without human annotators.
Key Insights and Ideas
- Formalizing Necessity vs. Sufficiency:
- The authors prove that TCAV mathematically approximates the class-conditioned measure (testing whether a concept is necessary).
- In contrast, completeness-aware explanations (Yeh et al., 2020) aggregate the concept-conditioned measure (testing whether a concept is sufficient).
- Explaining Black-Box Model Discrepancies: When comparing Logistic Regression and Random Forest models achieving the exact same 87% accuracy on a-Pascal, concept attribution exposed hidden failure modes: the Random Forest relied heavily on spurious textures (e.g., "leather" for the class "chair").
- Auditing Optimizers at the Semantic Level: Training ResNet-18 with AdamW yielded higher raw accuracy (60.26%) than SGD (58.46%) on a-Pascal, but concept explanations revealed that AdamW over-indexed on irrelevant background features (e.g., associating "leg" with "motorbike").
- Fixing Spurious Correlations via Prompt Editing: For zero-shot CLIP classification, identifying spurious concepts with high class-conditioned measures allowed the authors to edit text embeddings directly: subtracting irrelevant concept vectors (e.g., human body parts from the "bottle" prompt) substantially cleaned up predictions.
Key Results
- Efficient Theoretical Equivalences: Proved that under mild regularity conditions ($\theta_h \ge 1 - \epsilon^2/8$ and sample size $\ge 2\ln(1/\delta)/\epsilon^2$), the sample average $\mathbb{E}[c(x) \mid h(x)]$ converges to continuous TCAV within $\epsilon$ with probability $\ge 1 - \delta$, without calculating any internal network gradients.
- CLIP Prompt Editing: Mitigating 13 spurious concepts across 10 classes boosted zero-shot CLIP (ViT-B/16) F1-score from 0.6796 to 0.7042 (and accuracy up to 78.48% when tuning subtraction weights $\lambda$ with few-shot examples).
- Automated Labeling via LLMs/VLMs: Using BLIP-2 with synonym-based prompting yielded 80.71% accuracy at Recall@5 (and 94.83% recall at Acc@1), demonstrating that manual attribute labeling can be replaced with automated VLM prompting.
Limitations and Future Work
- Predefined Concept Vocabularies: The approach requires predefined concept labels per image. While VLMs can assist with labeling, discovering novel or latent concepts end-to-end without human prior knowledge remains an open problem.
- Binary/Scalar Concepts: The current theory focuses primarily on binary labels ($y \in \{-1, +1\}$) and continuous/discrete scalar concepts; extending formal axioms to multi-class output dependencies or non-linear concept combinations is left for future work.
- Prompt Editing Generalization: Concept subtraction parameter $\lambda$ was tuned heuristically or via few-shot optimization; more adaptive mechanisms are needed to prevent over-subtraction across diverse tasks.
Summary updated