Towards Automating Model Explanations with Certified Robustness Guarantees

Mengdi Huai, Jinduo Liu, Chenglin Miao, Liuyi Yao, Aidong Zhang

Introduction

Deep learning models have achieved remarkable performance across various domains but often operate as "black boxes," making their decision-making processes opaque. To address this, researchers have turned to concept-based explanations, which describe predictions using high-level features (e.g., identifying a "Stop" sign by its red color and octagonal shape) rather than individual pixels.

However, existing eXplainable AI (XAI) methods face two significant challenges. First, the human bottleneck: most methods require manual labeling of concepts, which is labor-intensive and subjective. Second, fragility: explanations can be easily manipulated by adversarial attacks, where a slight input perturbation causes the model to maintain its prediction but provide a completely different, misleading explanation. This paper introduces AutoRMI (Automatic and Robust Model Interpretation), a framework designed to automate concept discovery while providing mathematical guarantees of explanation stability.

The AutoRMI Framework

AutoRMI is a self-explaining model that integrates an autoencoder with a specialized interpretation network. Its architecture is designed to capture essential data features while ensuring that the resulting explanations are both human-understandable and robust.

The AutoRMI architecture, featuring an encoder-decoder pair for feature extraction and an importance network for concept-based prediction.

As shown in Figure 1, the framework consists of three primary components:

  1. Autoencoder: An encoder $f$ maps input $x$ to a latent space, and a decoder $g$ reconstructs the input. This ensures the latent representation preserves the most critical information.
  2. Concept Network: Instead of relying on human-defined labels, the model learns "prototypes"—representative data points from the training set that serve as the fundamental units of explanation.
  3. Importance Network: This component quantifies the contribution of each prototype to the final prediction, allowing the model to explain its output as a weighted combination of these learned concepts.

To ensure stability, the authors employ Interval Bound Propagation (IBP) during training. This technique minimizes the maximum possible change in an explanation when the input is perturbed within a specific range (an $\ell_\infty$ ball), providing a "certified robustness" that guarantees the explanation remains stable against adversarial manipulation.

Experimental Evaluation

The researchers evaluated AutoRMI on five diverse datasets, including image data (MNIST, CIFAR-10, and AT&T faces) and tabular data (Wine Quality and Diabetic Retinopathy). The model's complexity—specifically the number of concepts $M$—was automatically determined using "firefly neural architecture descent," further reducing the need for manual tuning.

Key Results and Visual Clarity

AutoRMI demonstrates that interpretability and robustness do not have to come at the cost of performance. On the MNIST dataset, the model achieved a testing accuracy of 98.16%.

A critical finding is the impact of the interpretability regularizer on the quality of learned concepts. Without this regularization, the prototypes often appear as random noise, providing no semantic value to a human observer. With the regularizer, the prototypes clearly resemble the digits or faces they represent.

Visualizing the impact of interpretability regularization: (a) shows meaningful prototypes with regularization, while (b) shows noisy, uninterpretable prototypes without it.

Beyond visual clarity, AutoRMI showed superior robustness in adversarial tests. For instance, on MNIST with a perturbation of $\epsilon=0.5$, AutoRMI maintained an explanation stability (top-$k$ intersection) of 0.89, significantly outperforming the baseline score of 0.79.

Conclusion and Future Work

AutoRMI represents a significant step toward automated, trustworthy XAI by providing provable stability for concept-based explanations. By using prototypes as concepts, the model avoids the human bottleneck while maintaining high fidelity.

Despite these advances, some limitations remain. Prototypes are examples rather than abstract linguistic concepts (like "stripes"), and IBP-based training introduces higher computational overhead than standard methods. Future research will focus on scaling these certified robustness guarantees to more complex domains, such as natural language processing and high-resolution video data.

Summary updated

BibTeX
@inproceedings{huai2022towards,
  author = {Mengdi Huai and Jinduo Liu and Chenglin Miao and Liuyi Yao and Aidong Zhang},
  title = {{Towards Automating Model Explanations with Certified Robustness Guarantees}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i6.20651},
}
Figure