Abstract
This paper proposes a method for visually explaining the decision-making process of 3D convolutional neural networks (CNN) with a temporal extension of occlusion sensitivity analysis. The key idea here is to occlude a specific volume of data by a 3D mask in an input 3D temporal-spatial data space and then measure the change degree in the output score. The occluded volume data that produces a larger change degree is regarded as a more critical element for classification. However, while the occlusion sensitivity analysis is commonly used to analyze single image classification, it is not so straightforward to apply this idea to video classification as a simple fixed cuboid cannot deal with the motions. To this end, we adapt the shape of a 3D occlusion mask to complicated motions of target objects. Our flexible mask adaptation is performed by considering the temporal continuity and spatial co-occurrence of the optical flows extracted from the input video data. We further propose to approximate our method by using the first-order partial derivative of the score with respect to an input image to reduce its computational cost. We demonstrate the effectiveness of our method through various and extensive comparisons with the conventional methods in terms of the deletion/insertion metric and the pointing metric on the UCF101.
Introduction: The Black Box of Video Classification
Deep learning models are notoriously "black boxes." While several methods exist to visualize what a 2D-CNN sees in a single image (like Grad-CAM), explaining 3D-CNNs for video is significantly more challenging. The standard approach, Occlusion Sensitivity Analysis (OSA), involves blocking out a part of the input and measuring the drop in the model's confidence score. If the score plunges, that region was important.
However, in video, objects move. A simple static box (a "cuboid" in 3D space) might cover a person in the first frame but miss them entirely by the tenth frame as they move. This leads to noisy, inaccurate explanations that fail to align with the actual objects driving the model's decision. This paper introduces Adaptive Occlusion Sensitivity Analysis (AOSA) to solve this by tracking moving objects with motion-aware occlusion masks.
Methodology: Adaptive Occlusion Sensitivity Analysis (AOSA)
The AOSA framework improves upon standard occlusion through three main innovations:
- Spatio-temporal "Tube" Masks: Instead of static boxes, AOSA uses optical flow to track pixel motion. It creates a mask that moves along with the object, forming a curved "tube" through the video's temporal dimension.
- Mask Integration (Co-occurrence): To handle entire objects rather than isolated patches, the method groups masks that move in similar patterns. If two patches move together, they likely belong to the same object (e.g., a skateboarder’s head and feet) and are integrated into a single, more effective 3D mask.
- Taylor Expansion for Efficiency: Standard OSA is computationally expensive, requiring thousands of model passes. The authors use a first-order Taylor expansion to approximate score changes using gradients. This allows them to estimate the impact of many different occlusions with just a single forward and backward pass.
Key Results and Evaluation
The researchers evaluated AOSA using the UCF101 and UCF101-24 datasets, comparing it against existing methods like Grad-CAM and STEP.
- Accuracy: In the Spatial Pointing Game—which measures how often the most intense part of the saliency map falls inside ground-truth bounding boxes—AOSA achieved a score of 0.785, significantly outperforming Grad-CAM (0.676) and STEP (0.692).
- Efficiency: The approximated version of AOSA (s=8) generated a saliency map in just 0.436 seconds, compared to 18.7 seconds for the STEP method—a nearly 43x speedup.
- Qualitative Clarity: Visually, AOSA produces much cleaner heatmaps that clearly highlight specific objects (like a skateboard or a diver) without the "checkerboard" noise common in other perturbation methods.
Conclusion
AOSA demonstrates that in video classification, motion is as critical as appearance. By forcing occlusion masks to follow motion trajectories, the method ensures explanations stay locked onto relevant features. While limitations exist—such as handling objects that move off-screen or the inherent errors in first-order approximations—AOSA represents a significant step forward in making 3D-CNNs interpretable and efficient.
Summary updated