EVAL: Explainable Video Anomaly Localization

Ashish Singh, Michael J. Jones, Erik G. Learned-Miller · DOI

Introduction

Video Anomaly Detection (VAD) is a critical task in automated surveillance, aimed at identifying unusual events within complex visual environments. Traditionally, VAD has been approached as a "one-class" learning problem where models are trained exclusively on "normal" footage. Anomalies are then identified based on high reconstruction errors or poor future-frame predictions. However, these "black box" methods suffer from two significant drawbacks: a lack of interpretability—where the model cannot explain why an event is anomalous—and the need for computationally expensive scene-specific training for every new camera installation.

EVAL (Explainable Video Anomaly Localization) addresses these gaps by shifting the focus from pixel-level statistics to human-understandable high-level attributes. By utilizing a compact library of "normal" exemplars, the system achieves state-of-the-art accuracy while providing visual justifications for its detections.

The EVAL Framework

The EVAL pipeline is designed to be both efficient and interpretable. It operates in three distinct stages: attribute learning, model building, and anomaly detection.

1. High-Level Attribute Learning

Instead of learning features from scratch for each scene, EVAL uses deep networks pre-trained on independent, large-scale datasets (such as MS-COCO). These networks are designed to recognize eight common object classes (e.g., Person, Car, Cyclist) and estimate motion attributes including direction, speed, and the fraction of stationary pixels. Crucially, these networks are fixed and never retrained for specific deployment scenes, ensuring high generalizability.

2. Model Building via Exemplar Selection

To adapt to a specific camera view, the system processes a set of nominal (normal) video frames. It extracts high-level feature vectors for various spatial regions and uses a greedy algorithm to select a compact set of "exemplars." This creates a lightweight, location-dependent model of what constitutes "normal" behavior for every specific spot in the frame. For instance, a car is normal on a road but anomalous on a sidewalk; the exemplar set for the sidewalk region would naturally lack "car" features.

The model building and anomaly detection pipelines. The system extracts high-level features (appearance, angle, magnitude, background pixels/class) and compares test volumes to a stored set of spatial exemplars.

3. Anomaly Detection and Explanation

During the testing phase, new video volumes are compared against the stored spatial exemplars. If the distance to the nearest neighbor exceeds a predefined threshold, the volume is flagged as an anomaly. Because the underlying features represent real-world attributes, EVAL can generate an "instrument panel" visualization. This panel compares the anomalous test volume to its closest normal exemplar, highlighting the specific discrepancy—such as an illegal direction of travel or an unexpected object type—that triggered the alarm.

Visualizing Explainability

The core of EVAL's interpretability lies in its attribute visualization. The system provides a detailed breakdown of the features it uses to make decisions, allowing human operators to verify the model's logic.

Detailed breakdown of the EVAL instrument panel. It visualizes object class probabilities, stationary pixel fractions, motion direction histograms, and average directional speeds.

As shown in the instrument panel, the system tracks:

  • Appearance: Bar graphs for 8 object classes. Values above 0.5 (green) indicate likely presence, while values below (red) indicate absence.
  • Stationary Pixels (bg): A bar indicating the fraction of the video volume that is non-moving.
  • Motion Direction: A histogram where ray length is proportional to the number of pixels moving in one of 12 estimated angles.
  • Directional Speed: A visualization where ray length represents the average speed of pixels moving in a specific direction.

Key Results and Insights

EVAL was evaluated on five standard benchmarks, including Street Scene, ShanghaiTech, and CUHK Avenue. It demonstrated significant performance gains, particularly on the challenging Street Scene dataset, where it improved the Region-Based Detection Criterion (RBDC) from 21.0% to 24.26% and the Track-Based Detection Criterion (TBDC) from 53.0% to 64.5%. On ShanghaiTech, it surpassed the previous state-of-the-art RBDC by nearly 14%.

Beyond raw metrics, the authors noted several key insights:

  • Embeddings over Probabilities: Even when encountering unknown objects (e.g., a horse), the feature embeddings from the network's penultimate layer still cluster similar "unknowns" together, allowing the system to detect them as anomalies relative to known normal exemplars.
  • Efficiency: By leveraging temporal redundancy—skipping feature extraction if pixels haven't changed significantly—the system can run at 20–100 FPS, making it suitable for real-time applications.

Limitations and Future Work

While EVAL represents a major step forward, it remains dependent on the accuracy of its underlying attribute networks. Misclassifications at the attribute level (e.g., mistaking a cyclist for a person) can lead to errors. Additionally, the current fixed-grid approach may struggle with very subtle anomalies or complex scenes requiring finer spatial granularity. Future research may explore more sophisticated region proposals or refined attribute sets to further enhance detection sensitivity.

Summary updated

BibTeX
@inproceedings{singh2023eval,
  author = {Ashish Singh and Michael J. Jones and Erik G. 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