Labeling Neural Representations with Inverse Recognition
Kirill Bykov, Laura Kopf, Shinichi Nakajima, Marius Kloft, Marina M. -C. Höhne
TL;DR
INVERT introduces Inverse Recognition, a scalable method for labeling neural representations with compositional human concepts by maximizing an AUC-based similarity between a representation and a constructed concept. It builds compositional explanations from atomic concepts using AND/OR/NOT operators, optimized via beam-search at fixed length $L$ with a constraint on concept fraction $T(\varphi(\mathcal{C}))$ and beam size $B$. A statistical significance test based on the Wilcoxon–Mann–Whitney framework provides $p$-values for explanations, addressing randomness concerns common in IoU-based methods. The approach demonstrates utility across detecting spurious correlations, explaining circuits, and enabling handcrafted circuits, while offering a simplicity-precision tradeoff and favorable comparisons to IoU-based baselines. These capabilities advance XAI by delivering interpretable, statistically validated explanations without requiring segmentation masks, with practical impact on model auditing and symbolic analysis of neural representations.
Abstract
Deep Neural Networks (DNNs) demonstrate remarkable capabilities in learning complex hierarchical data representations, but the nature of these representations remains largely unknown. Existing global explainability methods, such as Network Dissection, face limitations such as reliance on segmentation masks, lack of statistical significance testing, and high computational demands. We propose Inverse Recognition (INVERT), a scalable approach for connecting learned representations with human-understandable concepts by leveraging their capacity to discriminate between these concepts. In contrast to prior work, INVERT is capable of handling diverse types of neurons, exhibits less computational complexity, and does not rely on the availability of segmentation masks. Moreover, INVERT provides an interpretable metric assessing the alignment between the representation and its corresponding explanation and delivering a measure of statistical significance. We demonstrate the applicability of INVERT in various scenarios, including the identification of representations affected by spurious correlations, and the interpretation of the hierarchical structure of decision-making within the models.
