Abstract: We introduce a new, systematic framework for visualizing information flow in deep networks. Specifically, given any trained deep convolutional network model and a given test image, our method produces a compact support in the image domain that corresponds to a (high-resolution) feature that contributes to the given explanation. Our method is both computationally efficient as well as numerically robust. We present several preliminary numerical results that support the benefits of our framework over existing methods.
Introduction
Deep convolutional neural networks (CNNs) have revolutionized computer vision, yet they often operate as "black boxes." Understanding the specific image features that trigger a classification decision is crucial for model interpretability. Existing visualization tools typically fall into two categories: class-discriminative approaches like Class Activation Mapping (CAM), which provide low-resolution heatmaps, and pixel-space gradient methods like Guided Backpropagation, which offer high resolution but are often plagued by noise and numerical instability.
Researchers at Iowa State University have developed Forward-Backward Interpretability (FBI) to bridge this gap. This framework produces high-resolution, low-noise visualizations that pinpoint exactly which image features contributed to a specific classification decision without requiring complex optimization or reference images.
Methodology
The core of the FBI framework is a systematic two-step process that combines top-down class information with bottom-up image features.
- Forward Pass: The input image travels through the network normally, and the activations of every neuron are recorded.
- Backward Pass: Starting from the predicted class, the algorithm "inverts" the network layer-by-layer using adjoint operations.
- Forward-Backward Masking: This is the critical step. At each layer, the backward-flowing information is multiplied by the forward activations. If the product falls below a threshold ($\tau$), it is discarded. This ensures the visualization only includes features that were both present in the original image and relevant to the final decision.
- Smart Unpooling and Filter Selection: Unlike previous methods that may produce sparse results, FBI replicates values across the domain during unpooling to preserve spatial context. It also filters out noise by only keeping the top $k$ contributing feature maps at the highest convolutional layer.
Experimental Setup
The authors evaluated their approach using a VGG-16 model pre-trained on the ImageNet dataset. They tested the visualization on various standard object categories, including cats, dogs, jaguars, and fire hydrants, to assess the method's ability to handle diverse visual features.
Results and Discussion
Qualitative evidence suggests that FBI significantly outperforms Guided Backpropagation in terms of clarity and noise reduction. Visualizations for classes such as "boxer" or "jaguar" show cleaner outlines and internal textures, avoiding the "grainy" or "shattered" appearance typical of raw gradient methods.
Key Insights
- Numerical Robustness: By using adjoint operations and binary support estimates instead of raw gradients, the method avoids common pitfalls like vanishing or exploding gradients.
- High Resolution: Because the process works layer-by-layer back to the input pixels, it maintains the full resolution of the original image.
- Efficiency: The method is computationally efficient, requiring only two passes through the network.
Limitations and Future Work
While promising, the quality of FBI visualizations is sensitive to hyperparameters like the filter count ($k$) and threshold ($\tau$). Future research will focus on automating parameter selection and improving "class decoupling" to ensure that filters contributing to one class do not inadvertently activate for similar classes. Additionally, the field continues to seek objective quantitative metrics to supplement these qualitative visual assessments.
Summary updated