mlsanityData to 14 Oct 2026

Context-Aware Zero-Shot Anomaly Detection in Surveillance Using Contrastive and Predictive Spatiotemporal Modeling

arXiv 2508.18463 ↗First posted 25 Aug 2025cs.CV cs.LGcited by 1

Not on the map. Why?

Abstract (arXiv)

Detecting anomalies in surveillance footage is inherently challenging due to their unpredictable and context-dependent nature. This work introduces a novel context-aware zero-shot anomaly detection framework that identifies abnormal events without exposure to anomaly examples during training. The proposed hybrid architecture combines TimeSformer, DPC, and CLIP to model spatiotemporal dynamics and semantic context. TimeSformer serves as the vision backbone to extract rich spatial-temporal features, while DPC forecasts future representations to identify temporal deviations. Furthermore, a CLIP-based semantic stream enables concept-level anomaly detection through context-specific text prompts. These components are jointly trained using InfoNCE and CPC losses, aligning visual inputs with their temporal and semantic representations. A context-gating mechanism further enhances decision-making by modulating predictions with scene-aware cues or global video features. By integrating predictive modeling with vision-language understanding, the system can generalize to previously unseen behaviors in complex environments. This framework bridges the gap between temporal reasoning and semantic context in zero-shot anomaly detection for surveillance. The code for this research has been made available at https://github.com/NK-II/Context-Aware-Zero-Shot-Anomaly-Detection-in-Surveillance.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 12 of its 21 references that are in the map. First posted on arXiv 25 Aug 2025.

Builds on

12 of 21 references.

References · 12

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  3. 2021Is Space-Time Attention All You Need for Video Understanding?cited by 1,620
  4. 2018Real-world Anomaly Detection in Surveillance Videoscited by 577
  5. 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 315
  6. 2023AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detectioncited by 271
  7. 2016Learning Temporal Regularity in Video Sequencescited by 254
  8. 2017Abnormal Event Detection in Videos using Generative Adversarial Netscited by 82
  9. 2022CLIP-TSA: CLIP-Assisted Temporal Self-Attention for Weakly-Supervised Video Anomaly Detectioncited by 67
  10. 2023Hierarchical Semantic Contrast for Scene-aware Video Anomaly Detectioncited by 39
  11. 2024Context-aware Video Anomaly Detection in Long-Term Datasetscited by 11
  12. 2022Anomaly detection in surveillance videos using transformer based attention modelcited by 4

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2025A Unified Reasoning Framework for Holistic Zero-Shot Video Anomaly Analysis
  2. 2026No Need For Real Anomaly: MLLM Empowered Zero-Shot Video Anomaly Detection
  3. 2026GridVAD: Open-Set Video Anomaly Detection via Spatial Reasoning over Stratified Frame Grids
  4. 2026Anomaly-Guided Observation and Two-Level Semantic Feedback for Training-Free Video Anomaly Analysis
  5. 2026LATERN: Test-Time Context-Aware Explainable Video Anomaly Detection
  6. 2026Context-structured Video Anomaly Detection with Large Vision-Language Models
  7. 2026Glance, Scrutinize, and Think: Advancing Video Anomaly Detection from Training-Free to Agentic Reasoning
  8. 2026Cog-VADU: A Training-Free Cognitive Reasoning Framework for Video Anomaly Detection and Understanding