Regularizing Explanations in Bayesian Convolutional Neural Networks
Yanzhe Bekkemoen, Helge Langseth
TL;DR
The paper tackles overfitting to spurious features and lack of interpretable uncertainty in neural networks by marrying explainable AI with Bayesian inference. It introduces an explanation-regularization approach that integrates explanation feedback into Bayesian CNN training via an activation-based likelihood term, preserving $ELBO$ optimization while guiding the model to focus on relevant features. Empirical results on four datasets show improved predictive performance when spurious cues are present or uncertainty is high, and sharper, more localized explanations compared to data augmentation alone. The work advances practical, uncertainty-aware models with correct explanations, though it relies on human-provided explanation feedback and invites future work on adaptive, scalable feedback collection.
Abstract
Neural networks are powerful function approximators with tremendous potential in learning complex distributions. However, they are prone to overfitting on spurious patterns. Bayesian inference provides a principled way to regularize neural networks and give well-calibrated uncertainty estimates. It allows us to specify prior knowledge on weights. However, specifying domain knowledge via distributions over weights is infeasible. Furthermore, it is unable to correct models when they focus on spurious or irrelevant features. New methods within explainable artificial intelligence allow us to regularize explanations in the form of feature importance to add domain knowledge and correct the models' focus. Nevertheless, they are incompatible with Bayesian neural networks, as they require us to modify the loss function. We propose a new explanation regularization method that is compatible with Bayesian inference. Consequently, we can quantify uncertainty and, at the same time, have correct explanations. We test our method using four different datasets. The results show that our method improves predictive performance when models overfit on spurious features or are uncertain of which features to focus on. Moreover, our method performs better than augmenting training data with samples where spurious features are removed through masking. We provide code, data, trained weights, and hyperparameters.
