A Self-explaining Neural Architecture for Generalizable Concept Learning

Sanchit Sinha, Guangzhi Xiong, Aidong Zhang

Abstract

Deep Neural Networks (DNNs) often operate as "black boxes," hindering their adoption in high-stakes domains. While concept learning models aim to provide interpretability by mapping inputs to high-level human-understandable features, they frequently suffer from low concept fidelity and poor generalization across domains. This paper introduces a novel self-explaining architecture that integrates Representative Concept Extraction (RCE), contrastive learning, and prototype-based grounding. Our framework ensures that learned concepts are both representative of the data and robust across domain shifts, outperforming state-of-the-art explainable AI models on multiple benchmarks.

Introduction

The lack of transparency in DNNs poses significant challenges for trust and accountability. Concept-based models address this by decomposing predictions into intermediate "concepts" (e.g., identifying "wheels" to classify a "car"). However, existing models face two primary limitations: a lack of concept fidelity, where similar classes do not consistently activate the same concepts, and limited interoperability, where concepts fail to generalize from one domain (e.g., real photos) to another (e.g., sketches).

Methodology

We propose a multi-faceted approach to learn generalizable and interpretable concepts.

Representative Concept Extraction (RCE)

The core architecture consists of an encoder ($F$) for concept extraction and a relevance network ($H$) for scoring concept importance. A key component is the Salient Concept Selection Network ($T$), which identifies the concepts most critical for the final prediction $\hat{y}$. This ensures the model focuses on truly representative features rather than spurious correlations.

The RCE framework architecture integrates concept extraction, relevance scoring, and salient selection.

Self-supervised Contrastive Concept Learning (CCL)

To achieve domain invariance, we employ contrastive learning. By maximizing similarity between different augmentations of the same image and minimizing it against different images, the model learns to extract concepts that are robust to domain-specific noise such as lighting or texture.

Prototype-based Concept Grounding (PCG)

To mitigate "concept shift" between domains, we maintain a dynamic bank of prototypes—representative concept vectors for each class. These prototypes serve as anchors, grounding concept representations from both source and target domains to a shared, consistent point in the concept space.

Experimental Evaluation

The model was evaluated on four domain adaptation benchmarks: Digits (MNIST, USPS, SVHN), VisDA-2017, DomainNet, and Office-Home.

Performance and Fidelity

Our method (RCE+PCG+CCL) consistently outperformed baselines like SENN and BotCL. In the Office-Home dataset, it achieved significantly higher accuracy in challenging cross-domain transfers (e.g., Art to Clipart). Furthermore, the model attained superior fidelity scores, indicating more consistent internal concept activations for samples within the same class.

Qualitative Analysis

Qualitative results demonstrate the model's ability to identify visually consistent concepts across disparate domains. For instance, the "circular face" concept for an alarm clock is correctly identified in both realistic photographs and clipart representations.

Qualitative visualization of top prototypes associated with specific concepts for the 'Alarm Clock' and 'Bed' classes.

Discussion and Conclusion

A key insight of this work is the importance of salience over simple sparsity; conditioning concept selection on predictive performance leads to more meaningful explanations. Additionally, the use of prototypes effectively addresses data imbalance in target domains by aligning them with the well-learned source domain.

While increasing concept dimensionality improves performance, it can complicate direct human interpretation. Future work will explore human-in-the-loop refinement of discovered concepts and the application of this framework to zero-shot learning scenarios.

Summary updated

BibTeX
@inproceedings{sinha2024self,
  author = {Sanchit Sinha and Guangzhi Xiong and Aidong Zhang},
  title = {{A Self-explaining Neural Architecture for Generalizable Concept Learning}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=v1QvysZ5iz},
}
Figure