Towards Interpretable Deep Neural Networks by Leveraging Adversarial Examples
Yinpeng Dong, Hang Su, Jun Zhu, Fan Bao
TL;DR
The paper addresses interpretability in deep neural networks by analyzing internal representations under adversarial perturbations, revealing that high-level neurons do not reliably detect semantic objects and that deep representations are not robust concepts. It introduces an ensemble-optimization adversarial dataset and metrics (including a WordNet-based LC and distance-based CS/r metrics) to quantify the inconsistency between real and adversarial representations. To improve interpretability, the authors propose adversarial training with a consistent loss that aligns representations of real and adversarial inputs, enabling tracing predictions to influential neurons via a prediction-difference metric and improving robustness against adversarial attacks. The work demonstrates that interpretability can be enhanced with a modest drop in real-data accuracy and offers practical mechanisms to detect adversarial inputs and explain model decisions, with implications for safer, more transparent AI systems.
Abstract
Deep neural networks (DNNs) have demonstrated impressive performance on a wide array of tasks, but they are usually considered opaque since internal structure and learned parameters are not interpretable. In this paper, we re-examine the internal representations of DNNs using adversarial images, which are generated by an ensemble-optimization algorithm. We find that: (1) the neurons in DNNs do not truly detect semantic objects/parts, but respond to objects/parts only as recurrent discriminative patches; (2) deep visual representations are not robust distributed codes of visual concepts because the representations of adversarial images are largely not consistent with those of real images, although they have similar visual appearance, both of which are different from previous findings. To further improve the interpretability of DNNs, we propose an adversarial training scheme with a consistent loss such that the neurons are endowed with human-interpretable concepts. The induced interpretable representations enable us to trace eventual outcomes back to influential neurons. Therefore, human users can know how the models make predictions, as well as when and why they make errors.
