Aligned explanations in neural networks
Corentin Lobet, Francesca Chiaromonte
TL;DR
The paper addresses the misalignment between explanations and neural-network decisions by proposing explanatory alignment as a design principle and introducing model readability. It formalizes this via a pseudo-linear framework (PiNets) in which predictions are computed as instance-wise linear functions on a user-defined feature space $\mathcal{Z}$, with explanations given by coefficients $\boldsymbol{\pi}(\mathbf{x})$ produced by an encoder-decoder pair and a second look $\boldsymbol{\pi}(\mathbf{x}) \circ \mathbf{z}$. Key contributions include defining explanatory alignment, establishing MARS faithfulness criteria (Meaningful, Aligned, Robust, Sufficient), and demonstrating PiNets across image classification and segmentation tasks, with techniques like recursive feedback, ensembling, and strong supervision enhancing explanation fidelity. The results show PiNets can match or surpass Grad-CAMs under optimal detection while maintaining accuracy, and can leverage weak labels (e.g., image-level targets) to improve explanations, offering practical benefits for real-world applications and broader data modalities.
Abstract
Feature attribution is the dominant paradigm for explaining deep neural networks. However, most existing methods only loosely reflect the model's prediction-making process, thereby merely white-painting the black box. We argue that explanatory alignment is a key aspect of trustworthiness in prediction tasks: explanations must be directly linked to predictions, rather than serving as post-hoc rationalizations. We present model readability as a design principle enabling alignment, and PiNets as a modeling framework to pursue it in a deep learning context. PiNets are pseudo-linear networks that produce instance-wise linear predictions in an arbitrary feature space, making them linearly readable. We illustrate their use on image classification and segmentation tasks, demonstrating how PiNets produce explanations that are faithful across multiple criteria in addition to alignment.
