[Paper Review] Interpretable Compositional Convolutional Neural Networks
This paper proposes a method to transform standard convolutional neural networks (CNNs) into interpretable compositional CNNs that learn filters representing consistent, meaningful visual patterns—such as object parts or image regions—without part or region annotations. By introducing a novel grouping-based loss function that enforces filter consistency within groups and diversity across groups, the model achieves higher interpretability and feature consistency than prior methods like ICNN, while maintaining competitive classification accuracy.
The reasonable definition of semantic interpretability presents the core challenge in explainable AI. This paper proposes a method to modify a traditional convolutional neural network (CNN) into an interpretable compositional CNN, in order to learn filters that encode meaningful visual patterns in intermediate convolutional layers. In a compositional CNN, each filter is supposed to consistently represent a specific compositional object part or image region with a clear meaning. The compositional CNN learns from image labels for classification without any annotations of parts or regions for supervision. Our method can be broadly applied to different types of CNNs. Experiments have demonstrated the effectiveness of our method.
Motivation & Objective
- To address the core challenge of semantic interpretability in explainable AI by defining a more generic and meaningful form of filter interpretability in CNNs.
- To enable intermediate convolutional filters to consistently represent specific object parts or image regions across different images, even without part/region annotations.
- To ensure that different filters represent distinct visual patterns, enhancing diversity and clarity in learned features.
- To develop a training method that maintains high classification accuracy while significantly improving feature interpretability.
- To extend beyond ball-like region representations (as in ICNN) to include both structured parts and unstructured image regions.
Proposed method
- A novel loss function is introduced to group filters in a convolutional layer based on their activation patterns, ensuring filters in the same group consistently represent the same visual pattern.
- Filters are grouped using a similarity metric that measures feature map consistency across different input images, enabling mutual verification of visual patterns.
- The loss enforces that filters in the same group represent the same object part or image region, while filters in different groups represent different patterns, promoting diversity.
- For multi-class classification, an additional loss ensures that different filter groups are activated by parts or regions of different categories.
- The method is applied end-to-end to various CNN architectures (e.g., VGG, ResNet, DenseNet) without requiring architectural changes or part/region annotations.
- A two-stage evaluation framework is used: qualitative visualization of receptive fields (RFs) and quantitative metrics for inconsistency and diversity of filter patterns.
Experimental results
Research questions
- RQ1Can a CNN be modified to learn filters that consistently represent the same object part or image region across diverse images without any part or region annotations?
- RQ2Can the proposed method achieve higher consistency and diversity in learned visual patterns compared to existing interpretable CNNs like ICNN?
- RQ3Does the method maintain competitive classification accuracy while significantly improving feature interpretability?
- RQ4Can the method generalize across different CNN architectures and handle both structured parts and unstructured image regions?
- RQ5How do the learned filters compare to random or non-interpretable features in terms of semantic consistency and visual clarity?
Key findings
- Compositional CNNs achieved significantly higher consistency of visual patterns than traditional CNNs and ICNNs, with inconsistency values close to zero for interpretable filters.
- The method achieved higher diversity in visual patterns than ICNNs, as evidenced by higher diversity scores across filter groups.
- In classification tasks, compositional CNNs matched or slightly exceeded the accuracy of traditional CNNs and outperformed ICNNs on most benchmarks (e.g., 99.85% accuracy on ResNet-18 with Helen dataset).
- Visualizations showed that filters in compositional CNNs consistently represented entire object parts or large image regions, unlike ICNNs, which only captured small, ball-like areas.
- t-SNE visualization revealed that feature maps from compositional CNNs were more clustered than those from traditional CNNs, indicating better semantic organization.
- Failure cases were rare, with only a small number of filters failing to represent meaningful patterns, confirming the robustness of the method.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.