Back to the Feature: Explaining Video Classifiers with Video Counterfactual Explanations
Chao Wang, Chengan Che, Xinyue Chen, Sophia Tsoka, Luis C. Garcia-Peraza-Herrera
TL;DR
The paper addresses explaining video classifiers by generating video counterfactual explanations (CFEs) using Back To The Feature (BTTF). It formulates a two-stage optimization on latent diffusion model latents: an inversion stage to anchor near the original video and a counterfactual generation stage guided by the target classifier, augmented with a style loss to ensure realism and a progressive denoising schedule for efficiency. BTTF demonstrates high-quality, temporally coherent CFEs across motion, emotion, and action domains, revealing the classifier’s decision cues and uncovering spurious features in state-of-the-art models. While offering strong interpretability and debugging benefits, the approach notes significant computational demands and calls for future work on general-purpose generators and standardized video CFE metrics.
Abstract
Counterfactual explanations (CFEs) are minimal and semantically meaningful modifications of the input of a model that alter the model predictions. They highlight the decisive features the model relies on, providing contrastive interpretations for classifiers. State-of-the-art visual counterfactual explanation methods are designed to explain image classifiers. The generation of CFEs for video classifiers remains largely underexplored. For the counterfactual videos to be useful, they have to be physically plausible, temporally coherent, and exhibit smooth motion trajectories. Existing CFE image-based methods, designed to explain image classifiers, lack the capacity to generate temporally coherent, smooth and physically plausible video CFEs. To address this, we propose Back To The Feature (BTTF), an optimization framework that generates video CFEs. Our method introduces two novel features, 1) an optimization scheme to retrieve the initial latent noise conditioned by the first frame of the input video, 2) a two-stage optimization strategy to enable the search for counterfactual videos in the vicinity of the input video. Both optimization processes are guided solely by the target classifier, ensuring the explanation is faithful. To accelerate convergence, we also introduce a progressive optimization strategy that incrementally increases the number of denoising steps. Extensive experiments on video datasets such as Shape-Moving (motion classification), MEAD (emotion classification), and NTU RGB+D (action classification) show that our BTTF effectively generates valid, visually similar and realistic counterfactual videos that provide concrete insights into the classifier's decision-making mechanism.
