EVAL: Explainable Video Anomaly Localization

Ashish Singh, Michael J. Jones, Erik Learned-Miller

TL;DR

EVAL introduces a framework for video anomaly localization that moves away from "black-box" reconstruction errors toward human-interpretable explanations. By leveraging deep networks to extract high-level attributes like object class, motion direction, and speed, the system identifies anomalies based on how much a scene deviates from a library of "normal" exemplars, achieving state-of-the-art results on major benchmarks.

What Problem Does This Paper Address?

Video Anomaly Detection (VAD) is critical for automated surveillance, yet most modern methods suffer from a lack of transparency. Traditional deep learning approaches typically use autoencoders or GANs to learn how to reconstruct "normal" video frames. When the system encounters something it can't reconstruct well, it flags an anomaly. However, these pixel-level errors don't tell a human operator why something is wrong. Is it a car on a sidewalk? A person running in a mall? Or just a glitch in the lighting?

Furthermore, many SOTA methods require training complex models from scratch for every new camera view, which is computationally expensive and difficult to update as a scene evolves. EVAL addresses these gaps by focusing on high-level, location-dependent object and motion representations that are both transferable across scenes and inherently explainable.

Methods

The EVAL pipeline consists of three distinct stages:

  1. High-Level Attribute Learning: The authors pre-train deep networks on general datasets (independent of the VAD benchmarks) to recognize eight object classes (e.g., person, car, cyclist) and estimate motion attributes (direction, speed, and background fraction). Crucially, they use the embeddings from the penultimate layers of these networks as "high-level features."
  2. Model Building: For a specific scene, the system processes "nominal" (normal) video by dividing it into spatio-temporal volumes. It extracts features for each volume and uses a greedy "exemplar selection" algorithm to store a compact, representative set of normal behaviors for every spatial region in the camera's view.
  3. Anomaly Detection: During testing, new video volumes are compared against the stored exemplars for that specific location. If the distance to the nearest neighbor exceeds a threshold, it is flagged as an anomaly.
Figure 1: Our pipeline for building a location-dependent model of nominal video and detecting anomalies in test video. During the model building phase, we extract a high-level representation of each video volume using our appearance and motion networks. Using the exemplar selection method, we select a representative subset of video volumes for a given spatial region. By comparing video volumes in test video to the exemplar set we can detect anomalies.

The "secret sauce" for explainability is the Instrument Panel. Because the features map directly to interpretable attributes, the system can visualize exactly what it "sees"—showing the predicted object class, a compass for motion direction, and a speedometer for velocity.

Datasets

The authors evaluated EVAL on five standard benchmarks:

  • Street Scene: A challenging dataset with diverse anomalies like jaywalking and U-turns.
  • CUHK Avenue: Focuses on anomalies like running or throwing objects.
  • ShanghaiTech: A large-scale, multi-scene benchmark.
  • UCSD Ped1 & Ped2: Used primarily for hyperparameter tuning and validating the generality of the features.

Key Insights and Ideas

  • Transferability over Retraining: Unlike many competitors, EVAL does not learn new embedding functions for new scenes. It uses the same pre-trained attribute networks everywhere, making the setup "lightweight" and highly scalable.
  • Location-Dependency is Key: The paper adopts a strict definition: an anomaly is something different from nominal video in the same spatial region. This allows the system to distinguish between a car driving on a road (normal) versus a car driving on a sidewalk (anomalous).
  • Explainability as a Debugging Tool: By visualizing the "Instrument Panel," the authors could identify exactly why the system failed in certain cases—for instance, when the motion network incorrectly estimated a car's direction, leading to a false positive.
Figure 2: Explanation of our “instrument panel” showing the estimated attributes for a video volume. The interpretation of this visualization would be (roughly) a car (class 1) taking up most of the video volume, moving right at a high speed.

Key Results

EVAL demonstrated significant improvements over previous state-of-the-art (SOTA) methods, particularly in spatial localization:

  • Street Scene: Improved the Region-Based Detection Criterion (RBDC) and Track-Based Detection Criterion (TBDC) by over 11%.
  • ShanghaiTech: Achieved SOTA results with an RBDC of 59.21% and TBDC of 89.44%, outperforming the next best methods by large margins.
  • Efficiency: The system runs between 20 to 100 fps on a single GPU, depending on the dataset resolution and scene activity, making it suitable for real-time applications.

Limitations and Future Work

The primary limitation is the system's reliance on the accuracy of the pre-trained attribute networks. If the object recognizer or motion estimator makes a mistake, the anomaly detection will likely follow suit. For example, the authors noted difficulty detecting skateboarders in the UCSD datasets because the motion signature is too similar to pedestrians and the skateboard itself is often occluded.

Future work could involve using a finer grid of spatial regions to catch subtle "out-of-lane" anomalies or improving the underlying attribute networks to better handle small objects (like dogs) or highly occluded subjects.

Summary updated

BibTeX
@inproceedings{singh2023eval,
  author = {Ashish Singh and Michael J. Jones and Erik Learned-Miller},
  title = {{EVAL: Explainable Video Anomaly Localization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2023},
  doi = {10.1109/cvpr52729.2023.01795},
}
Figure