DOI: 10.3390/math14152821 ISSN: 2227-7390

SETAS-VAD: Semantically Enriched Text-Aligned Scoring for Weakly Supervised Video Anomaly Detection

Mohamed Mahmoud, Mostafa Farouk Senussi, Mahmoud Abdalla, Mahmoud SalahEldin Kasem, Hyun-Soo Kang

Weakly supervised video anomaly detection (WS-VAD) localizes anomalous events in untrimmed videos using only video-level annotations. While CLIP-based methods have advanced this task through vision–language alignment, widely adopted approaches construct text prototypes from short category-name prompts of at most five words, leaving the CLIP text encoder not fully exploited. We propose SETAS-VAD, which addresses this gap through a Category Semantic Alignment (CSA) loss function: for each anomaly category, a large language model generates multi-sentence descriptions covering complementary semantic aspects, encoded once offline into frozen prototype vectors. An InfoNCE contrastive objective pulls attention-weighted anomaly features toward ground-truth category prototypes at zero additional inference overhead (prototype generation and encoding are performed once offline as a preprocessing step, not at test time). Under fully reproducible conditions on UCF-Crime and XD-Violence, SETAS-VAD achieves state-of-the-art temporal localization (30.45% mAP on XD-Violence, 12.16% on UCF-Crime), with per-threshold gains increasing at stricter IoU values, indicating improved boundary precision rather than coarse detection sensitivity.

More from our Archive