Abstract
Open Vocabulary Video Anomaly Detection (OVVAD) seeks to detect and classify both base and novel anomalies. However, existing methods face two specific challenges related to novel anomalies. The first challenge is detection ambiguity, where the model struggles to assign accurate anomaly scores to unfamiliar anomalies. The second challenge is categorization confusion, where novel anomalies are often misclassified as visually similar base instances. To address these challenges, we explore supplementary information from multiple sources to mitigate detection ambiguity by leveraging multiple levels of visual data alongside matching textual information. Furthermore, we propose incorporating label relations to guide the encoding of new labels, thereby improving alignment between novel videos and their corresponding labels, which helps reduce categorization confusion. The resulting Anomize framework effectively tackles these issues, achieving superior performance on UCF-Crime and XD-Violence datasets, demonstrating its effectiveness in OVVAD.
Introduction
Traditional Video Anomaly Detection (VAD) systems are typically "closed-set," restricted to detecting specific types of anomalies seen during training, such as "fighting" or "theft." Open Vocabulary VAD (OVVAD) extends this by aiming to detect and categorize any anomaly using natural language, including "novel" categories not present in the training set.
Despite its potential, OVVAD is hindered by two primary issues: Detection Ambiguity and Categorization Confusion. Detection Ambiguity occurs when models fail to assign high anomaly scores to unfamiliar events due to a lack of contextual support. Categorization Confusion arises when novel anomalies are visually similar to known "base" anomalies, leading the model to misclassify a novel "assault" as a base "fighting" event.
The Anomize Framework
To overcome these hurdles, the Anomize framework leverages a multi-pronged approach that bridges the gap between visual features and semantic labels through text augmentation and guided encoding.
Text-Augmented Dual Stream
The architecture processes video through two distinct paths to capture a holistic view of anomalies:
- Dynamic Stream: Utilizes a lightweight LSTM to capture temporal and motion cues, which are then augmented by detailed textual descriptions of the labels.
- Static Stream: Focuses on scene context using CLIP-encoded features. This stream is augmented by a "Concept Library"—a collection of anomaly-related nouns (e.g., "broken window," "blood") generated by a Large Language Model (LLM).
Group-Guided Text Encoding
To mitigate categorization confusion, Anomize uses GPT-4 to group labels based on visual similarities. By encoding labels within these groups, the model learns subtle semantic boundaries. For instance, it can distinguish "assault" from "fighting" by emphasizing unique textual characteristics, even if their visual signatures are similar.
Unified Augmenter
A multi-head attention mechanism serves as a unified augmenter, fusing visual features with relevant textual information. This process shifts ambiguous visual features into a more distinct "anomalous" feature space, improving detection accuracy.
Experimental Results
The researchers evaluated Anomize on the UCF-CRIME and XD-VIOLENCE benchmarks using an open-vocabulary protocol where a subset of categories was held out as "novel."
Anomize demonstrated significant performance gains:
- XD-VIOLENCE: Achieved a 25.61% overall increase in Top-1 accuracy. Most notably, accuracy on novel cases improved by 56.53%. Detection performance also saw an 8.21% Average Precision (AP) increase for novel anomalies.
- UCF-CRIME: Showed a 5.71% overall increase in Top-1 accuracy.
These results indicate that Anomize is significantly more effective at both identifying and correctly naming unseen anomalies compared to previous state-of-the-art methods.
Conclusion
The Anomize framework addresses the core challenges of OVVAD by treating text as a "semantic anchor." By separating static and dynamic visual cues and guiding label encoding with LLMs, the model avoids the "visual similarity trap." Future work may focus on reducing semantic redundancy between streams and exploring high-capacity temporal encoders that avoid overfitting to base classes.
Summary updated