How to Explain your Unexplainable Video Anomaly Detector

Giacomom D'Amicantonio, Egor BondarevarXiv 2026

TL;DR

Researchers have developed ETU (Explain The Unexplainable), a framework that audits "black-box" video anomaly detectors by performing counterfactual surgery on their latent features. By mapping video data to a semantic graph and using diffusion models to regenerate features with specific concepts removed, ETU reveals exactly which agents, actions, or outcomes a model actually relies on to make a decision.

What Problem Does This Paper Address?

Weakly-supervised Video Anomaly Detection (VAD) models are incredibly useful for monitoring CCTV feeds for crimes or accidents, but they are notoriously opaque. We know where they look (via saliency maps), but we don't know what they are actually seeing.

Current attempts to explain these models using Vision-Language Models (VLMs) often suffer from a faithfulness gap. As shown in Figure 1, a VLM might generate a perfect caption for a robbery, but if you ask it what would happen if the robber weren't there, the anomaly score often remains unchanged. This suggests the score and the explanation are generated by decoupled pathways—the explanation is just a post-hoc rationalization, not the reason for the decision.

Figure 1. A VLM explainer’s caption changes under a counter- factual prompt but its score does not. Counterfactual prompting of Holmes-VAU [67] on the “robbery” video provided in the official repository. The anomaly scores obtained with the two prompts are nearly identical, so the score does not follow the explanation the model gives, while the counterfactual explanation mentions the very person the prompt instructed to ignore.

Methods

ETU bridges this gap by intervening directly in the feature space of a frozen detector. The framework consists of a two-stage pipeline:

  1. Graph Embedding Model (GEM): This model maps continuous video features (like CLIP or I3D) into a discrete, hierarchical dependency graph. The graph follows a structure of Roots (agents) $\to$ Actions (behaviors) $\to$ Outcomes (consequences). A VLM teacher (like Qwen3-VL) is used during training to ground these nodes in human-verifiable concepts.
  2. Graph-Conditioned Feature Diffusion (GFD): This is a generative model trained to reconstruct the original video features based on the graph.

The Audit: To test a detector, ETU creates "counterfactual" versions of the video features by masking specific parts of the graph—such as removing the "outcome" chain (the actual anomaly) or substituting the scene semantics—and then regenerating the features. By measuring the change in the detector's score ($\Delta$) between the full reconstruction and the masked one, researchers can quantify the model's dependence on specific semantic concepts.

Figure 2. Explain The Unexplainable (ETU) hands one set of masked reconstructions per video unchanged to every frozen detector. The Graph Embedding Model (GEM) maps continuous video features to a semantic dependency graph and a latent embedding zgraph; deterministic masks yield the counterfactual embeddings zrel, zirr, zsem, on which the Graph-Conditioned Feature Diffusion (GFD) denoises the video features. GFD is trained only to reconstruct the encoder features under the complete graph; the masked embeddings are used at inference. The change in a frozen detector’s score between the full-graph and a masked reconstruction is the audit’s reading of its dependence on the masked semantics. Node labels are illustrative.

Datasets

The authors evaluated ETU on two primary benchmarks for video anomaly detection:

  • UCF-Crime: Real-world CCTV footage of various crimes (e.g., robbery, assault).
  • XD-Violence: A large-scale dataset containing movie clips and web videos of violent events. The audit was performed across seven different state-of-the-art detectors using both I3D and CLIP feature encoders.

Key Insights and Ideas

  • Targeted Interventions vs. Random Noise: A key "aha moment" was proving that detectors respond to content, not just feature perturbation. Removing the "outcome" chain (the core anomaly) caused a much larger score drop than removing a random set of nodes, even when the random deletion displaced the features just as much.
  • The Divergence Objective: The authors found that a specific "divergence objective" in the graph embedding is what makes the intervention targeted. Without it, the model can't distinguish between removing a meaningful concept and just adding noise.
  • Detector-Specific Logic: ETU reveals that different models "think" differently. For example, Figure 3 shows that while one detector (DSANet) sees its score drop gradually when an outcome is removed, another (UR-DMU) is "saturated" and responds in an all-or-nothing fashion.
Figure 3. The same intervention moves two detectors very differ- ently (Arrest024, UCF-Crime). Raw anomaly scores of DSANet and UR-DMU under the full graph and with the outcome chain removed (the roots White pickup truck and Police officers, their collision and arrest actions, and the resulting stop and restraint outcomes). The score of DSANet drops on every segment, whereas UR-DMU is saturated when unmasked and responds all-or-nothing.

Key Results

The audit provided concrete evidence of what these models prioritize:

  • Semantic Sensitivity: Substituting scene semantics ($\Delta_{sem}$) resulted in the largest performance drop for most detectors, often losing over 30-40 points in AP/AUC (see Figure 5).
  • Outcome Dependence: Removing the outcome chain ($\Delta_{rel}$) consistently lowered scores across all six audited detectors on UCF-Crime/CLIP by an average of 5.76 AUC points, while pruning irrelevant background nodes ($\Delta_{irr}$) had almost zero effect.
  • Faithfulness: Unlike VLM-based explainers, ETU's results are faithful because they measure the detector's actual response to modified inputs rather than just generating a text description.
Table 1. Regenerating under the complete graph costs the detectors very little, while substituting the scene semantics or removing the outcome chain costs every one of them. ∆graph is the drop from the clean features to the full-graph reconstruction; ∆rel, ∆irr and ∆sem are the reconstruction-referenced deltas of Eq. 8, in frame-AUC points on UCF-Crime and AP points on XD-Violence, positive for a drop; the largest masked delta of each detector on each track is in bold.

Limitations and Future Work

  • Teacher Dependence: The quality of the audit is currently tied to the VLM teacher used to generate the initial graph. If the teacher misses a nuance in the scene, the audit might be incomplete.
  • Feature-Space Only: ETU operates in the latent feature space. While this is where most modern VAD models work, it doesn't provide a direct pixel-level "visual" explanation, though it provides a much deeper semantic one.
  • Future Directions: The authors suggest that ETU could be used not just for auditing, but for debugging models—identifying which spurious correlations (like specific backgrounds) a model is over-relying on so they can be trained out.

Summary updated

BibTeX
@misc{damicantonio2026how,
  author = {Giacomom D'Amicantonio and Egor Bondarev},
  title = {{How to Explain your Unexplainable Video Anomaly Detector}},
  year = {2026},
  eprint = {2611.21131},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.21131},
}
Figure