Introduction
Convolutional Neural Networks (CNNs) are the state-of-the-art for visual recognition tasks, yet they remain "black boxes." While humans categorize objects through a series of logical steps (e.g., Canine? → Blue eyes? → Husky), standard CNNs perform "flat" classification, mapping inputs directly to labels without a traceable reasoning path. This lack of transparency hinders their deployment in safety-critical domains.
The paper "Making CNNs Interpretable by Building Dynamic Sequential Decision Forests with Top-down Hierarchy Learning" introduces dDSDF (deep Dynamic Sequential Decision Forest). This method transforms pre-trained CNNs into interpretable models by integrating a differentiable decision forest that learns a semantic hierarchy from the network's own weights.
The Performance-Interpretability Trade-off
Traditional AI research often faces a conflict between performance and interpretability. CNNs offer high performance but are opaque, while decision trees provide transparency but struggle with high-dimensional image data. Previous attempts to merge these paradigms often sacrificed accuracy or resulted in overly complex structures. dDSDF aims to be a "generic model transfer scheme" that preserves or enhances CNN accuracy while providing clear, sequential decision paths.
Methodology: The dDSDF Framework
The dDSDF framework operates through three primary components:
- Top-down Hierarchy Learning: Instead of arbitrary branching, the model extracts "category semantics" from the pre-trained CNN's final layer weights. By calculating cosine similarity between these weights, it constructs a hierarchy where semantically related categories (e.g., different dog breeds) share common decision paths.
- Differentiable Decision Trees: Split nodes in the tree are mapped to specific neurons in the CNN's final layers, allowing the entire structure to be optimized via standard backpropagation.
- Tree Selection Module (TSM): To maintain interpretability within a forest, the TSM dynamically selects the most representative tree for a given input. This ensures that each prediction follows a single, coherent reasoning path.
Experimental Evaluation
The authors evaluated dDSDF across several benchmarks, including small-scale datasets like CIFAR-10/100, mid-scale TinyImageNet, and the large-scale ImageNet. The method was tested using various backbones, including ResNet18, ResNet50, and WideResNet28x10, demonstrating its backbone-agnostic nature.
Key Results and Insights
The researchers found that a well-trained CNN's weights naturally encode semantic relationships, which can be leveraged to build intuitive hierarchies (e.g., distinguishing "animals" from "artifacts" at the root).
Empirical results show that dDSDF consistently outperforms original "flat" CNNs and existing tree-based models like NBDT and dNDF. On ImageNet, a ResNet50-based dDSDF achieved 76.49% Top-1 accuracy, surpassing the baseline CNN's 76.13%.
Beyond accuracy, dDSDF provides superior object localization. In weakly supervised tasks on ImageNet, it achieved 40.23% Top-1 localization accuracy, outperforming both standard ResNet50 and other interpretable architectures.
Conclusion
dDSDF demonstrates that interpretability does not have to come at the cost of performance. By extracting semantic hierarchies from pre-trained weights and employing dynamic tree selection, the model provides human-understandable decision paths while improving upon the accuracy of the original "black box" CNN. Future work will focus on refining these hierarchies to better align "machine logic" with "human logic," particularly in complex datasets where category boundaries are less distinct.
Paper Citation: Wang, Y., Yu, S., Yang, X., & Shen, W. (2021). Making CNNs Interpretable by Building Dynamic Sequential Decision Forests with Top-down Hierarchy Learning. arXiv:2106.02824v1 [cs.CV].
Summary updated