Skip to main content
QUICK REVIEW

[Paper Review] Lightning Fast Video Anomaly Detection via Adversarial Knowledge Distillation

Florinel-Alin Croitoru, Nicolae-Cătălin Ristea|arXiv (Cornell University)|Nov 28, 2022
Anomaly Detection Techniques and ApplicationsComputer Science92 references4 citations
TL;DR

This paper proposes a lightning-fast frame-level video anomaly detection model that distills knowledge from multiple high-accuracy object-level teacher models using a novel combination of standard and adversarial knowledge distillation. By replacing fully connected layers with pointwise convolutions and employing adversarial discriminators to refine low-resolution anomaly maps, the student model achieves 1480 FPS—over 7 times faster than the fastest baseline—while maintaining state-of-the-art accuracy on Avenue, ShanghaiTech, and UCSD Ped2 benchmarks.

ABSTRACT

We propose a very fast frame-level model for anomaly detection in video, which learns to detect anomalies by distilling knowledge from multiple highly accurate object-level teacher models. To improve the fidelity of our student, we distill the low-resolution anomaly maps of the teachers by jointly applying standard and adversarial distillation, introducing an adversarial discriminator for each teacher to distinguish between target and generated anomaly maps. We conduct experiments on three benchmarks (Avenue, ShanghaiTech, UCSD Ped2), showing that our method is over 7 times faster than the fastest competing method, and between 28 and 62 times faster than object-centric models, while obtaining comparable results to recent methods. Our evaluation also indicates that our model achieves the best trade-off between speed and accuracy, due to its previously unheard-of speed of 1480 FPS. In addition, we carry out a comprehensive ablation study to justify our architectural design choices. Our code is freely available at: https://github.com/ristea/fast-aed.

Motivation & Objective

  • Address the high computational cost of real-time video anomaly detection in surveillance systems.
  • Overcome the inefficiency of object-centric models that rely on pre-trained detectors and limit processing to 20–50 FPS per GPU.
  • Develop a frame-level student model that matches the accuracy of complex object-level teachers while drastically improving inference speed.
  • Improve knowledge distillation fidelity by introducing adversarial discriminators to align student-generated anomaly maps with those of teachers.
  • Achieve the best trade-off between speed and accuracy in video anomaly detection, enabling scalable deployment in real-world scenarios.

Proposed method

  • Replace fully connected layers in the transformer architecture with pointwise convolutional layers to enhance inference speed and maintain feature representation.
  • Train a student model using knowledge distillation from multiple object-level teacher models (e.g., YOLOv3-based detectors) via low-resolution anomaly map distillation.
  • Apply standard distillation using mean squared error (MSE) loss between student and teacher anomaly maps to transfer normality patterns.
  • Introduce an adversarial discriminator for each teacher to distinguish between real (teacher) and generated (student) anomaly maps, improving fidelity and localization accuracy.
  • Use a two-stage training process: first, reconstruct middle frames to learn normal spatiotemporal patterns; second, apply distillation losses to align anomaly maps.
  • Extend the framework to multiple teachers by aggregating knowledge from diverse object-level detectors, enhancing robustness and generalization.

Experimental results

Research questions

  • RQ1Can a frame-level student model achieve comparable anomaly detection performance to state-of-the-art object-level teacher models while operating at significantly higher inference speeds?
  • RQ2Does combining standard and adversarial distillation improve the fidelity of student-generated anomaly maps compared to standard distillation alone?
  • RQ3To what extent does replacing fully connected layers with pointwise convolutions enhance both speed and accuracy in video anomaly detection?
  • RQ4How does the proposed method compare to existing methods in terms of the speed-accuracy trade-off across multiple benchmarks?
  • RQ5Can the student model detect anomalies in scenarios where object detectors fail (e.g., unknown object classes like flying paper) more effectively than teacher models?

Key findings

  • The proposed student model achieves 1480 FPS on a single GPU, making it over 7 times faster than the fastest competing method and 28–62 times faster than object-centric models.
  • On the Avenue, ShanghaiTech, and UCSD Ped2 benchmarks, the student model achieves micro-AUC scores within 5% of the top-performing object-level teachers, with a peak performance of 98.63% AUC on UCSD Ped2.
  • The student model surpasses the best teacher (T₁) by 12.3% in AUC on ShanghaiTech’s test video 01_0136, demonstrating superior generalization despite lower complexity.
  • The student model successfully detects anomalies in regions with unknown or rare objects (e.g., flying paper) where YOLOv3-based teachers fail, due to class limitations.
  • Replacing fully connected layers with pointwise convolutions improves both speed (1480 FPS vs. 1267 FPS) and accuracy (85.0% micro-AUC vs. 71.8%), confirming architectural benefits.
  • Adversarial distillation significantly improves the smoothness and localization quality of student-generated anomaly maps, reducing false positives and enhancing robustness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.