TL;DR
This paper introduces SIC, a novel neural network architecture that achieves both high accuracy and inherent interpretability in image classification. By combining case-based reasoning with B-cos networks, SIC provides faithful local and global explanations of its decisions, making it suitable for critical applications like medicine.
What Problem Does This Paper Address?
Deep learning models have achieved remarkable success in image classification, but their "black-box" nature makes it difficult to understand why they make certain predictions. This lack of transparency is a significant barrier in high-stakes domains like healthcare, where errors can have serious consequences. While post-hoc explanation methods exist, they often introduce approximation errors for complex inputs like images. Inherently interpretable models, which provide explanations by design, are thus highly desirable. However, existing interpretable models often struggle to provide both local (instance-specific) and global (overall model behavior) explanations, or their explanations may not be entirely faithful to the model's true decision-making process.
Methods
SIC tackles this challenge by integrating two key concepts:
- Case-Based Reasoning (CBR): SIC leverages CBR by extracting "support vectors" from training images. These support vectors are class-representative features that capture the essential characteristics of each class while suppressing irrelevant variations. When classifying a new image, SIC compares its latent feature representation to these support vectors.
- B-cos Networks: To ensure faithful and pixel-level explanations, SIC utilizes B-cos networks. These networks enforce an alignment between layer weights and inputs, allowing each forward pass to be summarized as an input-dependent linear equation. This property is crucial for generating explanations that accurately reflect the model's internal computations.
SIC's architecture consists of a B-cos feature extractor that transforms input images into latent vectors. An "evidence predictor" then converts these latent vectors into positive-valued representations and computes similarity scores with the stored support vectors. The class logit is derived by summing these temperature-normalized similarity scores. The B-cos transform then enables the computation of faithful contribution maps, revealing which parts of the input image contributed to the decision.
Datasets
SIC was evaluated on the following datasets:
- Stanford Dogs: For fine-grained, single-label image classification.
- FunnyBirds: A benchmark for evaluating explainability metrics.
- Pascal VOC: For multi-label image classification.
- RSNA: For pathology detection (chest X-rays).
The paper also mentions the FunnyBirds framework and its associated dataset for practical evaluation of explanations.
Key Insights and Ideas
- Bridging the Gap: SIC successfully combines the strengths of case-based reasoning (intuitive example-based explanations) with the rigorous, pixel-level fidelity of B-cos networks, addressing limitations of prior work.
- Faithful Explanations: The theoretical analysis demonstrates that SIC's explanations adhere to established axioms for faithfulness, meaning they accurately represent the model's decision-making process.
- Debugging Tool: The global and local explanations provided by SIC can be used to identify and debug flaws in the model's optimization process, as shown in the RSNA example where close support vectors indicated a weak latent representation.
- Reduced Explanation Complexity: By using support vectors, SIC aims to reduce the number of explanations that need to be reviewed, making the interpretability process more manageable.
Key Results
- Competitive Accuracy: SIC achieved accuracy comparable to state-of-the-art black-box and inherently interpretable models across various datasets and backbone architectures (DenseNet121, ResNet50, Hybrid Vision Transformer). For instance, on Pascal VOC and RSNA, it performed on par with black-box models, and on Stanford Dogs, it outperformed nine out of fourteen compared models.
- Superior Explainability: On the FunnyBirds framework, SIC outperformed ProtoPNet and B-cos networks in eight out of nine explainability metrics, demonstrating its strength in providing insightful explanations.
- Pixel-Level and Global Explanations: SIC provides both local (pixel-level contribution maps) and global (support vector insights) explanations, which were visualized on Pascal VOC, showing how the model shifts focus based on the class being predicted.
Limitations and Future Work
- Computational Overhead: The paper acknowledges that SIC introduces additional overhead due to the computation of support vectors, which could be a limitation in datasets with a very large number of classes. However, they demonstrate its applicability to datasets with hundreds of classes.
- Future Work: The authors suggest that SIC's intuitive global and local explanations can facilitate effective model debugging for developers and simplify understanding for end-users. They also highlight that embedding interpretability within complex deep neural networks can lead to transparent and trustworthy computer vision systems.
Summary updated