English

TRACES: Temporal Recall with Contextual Embeddings for Real-Time Video Anomaly Detection

Computer Vision and Pattern Recognition 2025-11-04 v1 Artificial Intelligence

Abstract

Video anomalies often depend on contextual information available and temporal evolution. Non-anomalous action in one context can be anomalous in some other context. Most anomaly detectors, however, do not notice this type of context, which seriously limits their capability to generalize to new, real-life situations. Our work addresses the context-aware zero-shot anomaly detection challenge, in which systems need to learn adaptively to detect new events by correlating temporal and appearance features with textual traces of memory in real time. Our approach defines a memory-augmented pipeline, correlating temporal signals with visual embeddings using cross-attention, and real-time zero-shot anomaly classification by contextual similarity scoring. We achieve 90.4\% AUC on UCF-Crime and 83.67\% AP on XD-Violence, a new state-of-the-art among zero-shot models. Our model achieves real-time inference with high precision and explainability for deployment. We show that, by fusing cross-attention temporal fusion and contextual memory, we achieve high fidelity anomaly detection, a step towards the applicability of zero-shot models in real-world surveillance and infrastructure monitoring.

Keywords

Cite

@article{arxiv.2511.00580,
  title  = {TRACES: Temporal Recall with Contextual Embeddings for Real-Time Video Anomaly Detection},
  author = {Yousuf Ahmed Siddiqui and Sufiyaan Usmani and Umer Tariq and Jawwad Ahmed Shamsi and Muhammad Burhan Khan},
  journal= {arXiv preprint arXiv:2511.00580},
  year   = {2025}
}

Comments

10 pages, 5 figures

R2 v1 2026-07-01T07:17:10.668Z