A Self-explaining Neural Architecture for Generalizable Concept Learning

Sanchit Sinha, Guangzhi Xiong, Aidong Zhang, Zejian Chen, Litian Zhang, Zheng Liu, Lirong Qiu, Zaisheng Ye

Abstract

Deep Neural Networks (DNNs) are often criticized as "black boxes," limiting their deployment in high-stakes domains. Concept Learning Models (CLMs) attempt to address this by basing predictions on human-understandable concepts. However, existing CLMs often suffer from low concept fidelity and poor generalization across different data domains. This paper presents a novel self-explaining architecture that utilizes Representative Concept Extraction (RCE). By integrating contrastive learning with a prototype-grounding technique, the proposed model ensures that learned concepts remain consistent and interpretable even under significant domain shifts, such as transitioning from real-world photographs to sketches.

Introduction

The lack of transparency in Deep Neural Networks (DNNs) poses significant risks in fields like healthcare and finance. Concept Learning Models (CLMs) have emerged as a solution, forcing models to justify their decisions using high-level, human-interpretable "concepts" (e.g., identifying a bird based on "wings" and "beaks"). Despite their promise, current CLMs face two major hurdles: (1) Low Concept Fidelity, where the model fails to learn consistent representations for the same concept across different images, and (2) Limited Interoperability, where concepts learned in a source domain fail to generalize to a target domain with different visual characteristics.

The RCE Framework

To overcome these limitations, the authors propose the Representative Concept Extraction (RCE) framework. RCE is designed to be inherently explainable and robust to domain shifts through three innovative components.

Figure 1: The RCE architecture overview. It includes a concept extraction module (F), a relevance scoring module (H), and a reconstruction module (G) to ensure the learned concepts (C) are both predictive and representative of the input.
  1. Salient Concept Selection Network (T): Rather than using fixed mathematical operations to aggregate concepts, RCE employs a shallow network to dynamically identify which concepts are most "salient" for a specific prediction, enhancing the model's decision-making transparency.
  2. Self-Supervised Contrastive Concept Learning (CCL): Drawing on contrastive learning principles, this component ensures that concept representations are invariant to domain-specific noise. By focusing on the "essence" of a concept rather than superficial textures, the model achieves greater robustness.
  3. Prototype-based Concept Grounding (PCG): PCG serves as the framework's anchor. It maintains a set of "prototypes" for each class. During training, concept representations from disparate domains—such as a "real-world car" and a "sketched car"—are forced to align with the same shared prototype, effectively preventing "concept-shift" during domain adaptation.
Figure 4: Illustration of Representative Update and Concept Grounding. Source data (blue) and target data (yellow) are aligned with shared concept prototypes (green), ensuring consistent concept definitions across domains.

Experimental Evaluation

The RCE framework was evaluated on several benchmark datasets for domain adaptation, including Digits (MNIST, USPS, SVHN), VisDA-2017, DomainNet, and Office-Home.

Key Findings

  • Performance Gains: On the challenging Office-Home dataset, RCE consistently outperformed state-of-the-art self-explaining models. For instance, in the Art $\to$ Clipart transition, RCE achieved an accuracy of 58.7%, compared to 52.5% for the SENN baseline.
  • Improved Fidelity: The model demonstrated significantly higher "Fidelity Scores" (measured via Intersection over Union), indicating that the concepts it identifies are more consistent across different visual styles of the same object class.
  • Qualitative Interpretability: Visual analysis confirmed that the model successfully grounds human-recognizable features—such as "wings" for airplanes or "screens" for monitors—across wildly different domains like sketches and real photos.

Conclusion and Future Work

The RCE framework successfully bridges the gap between model interpretability and domain generalization. By grounding concepts in shared prototypes and leveraging contrastive learning, it provides a robust foundation for "self-explaining" AI. Future research will focus on automating hyperparameter tuning and extending the architecture to non-visual data types where concepts are less visually defined.

Summary updated

BibTeX
@inproceedings{sinha2024self,
  author = {Sanchit Sinha and Guangzhi Xiong and Aidong Zhang and Zejian Chen and Litian Zhang and Zheng Liu and Lirong Qiu and Zaisheng Ye},
  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