TL;DR
Weakly Supervised Video Anomaly Detection (WSVAD) often suffers from "Weakly Labeled Information" (WLI), where normal video segments or atypical benign actions trigger false alarms. The proposed TLMA framework mitigates this by combining a dynamic triplet learning strategy that isolates WLI from true anomalies with a motion-aware feature enhancement module that filters out background noise. This approach achieves state-of-the-art performance across major benchmarks without requiring expensive, frame-level annotations.
What Problem Does This Paper Address?
In video anomaly detection, labeling every single frame or pixel is incredibly expensive. To circumvent this, researchers use Weakly Supervised Video Anomaly Detection (WSVAD), where an entire video receives a single label (e.g., "Explosion" or "Normal").
However, this coarse labeling introduces a major challenge: Weakly Labeled Information (WLI). An "abnormal" video usually consists mostly of normal frames before and after the event. Conversely, a "normal" video might contain highly intense or unusual actions (like a car accelerating quickly at a gas station) that look anomalous to a model but are completely benign. Standard Multiple Instance Learning (MIL) frameworks struggle to differentiate these ambiguous, atypical normal segments from true anomalies, leading to high false alarm rates and imprecise localization boundaries.
Methods
The authors introduce TLMA (Triplet Learning with Motion-Aware enhancement), a unified framework designed to clean up the feature space and focus on relevant motion cues. It introduces two primary innovations:
-
Dynamic Triplet Learning Strategy Because fine-grained labels are unavailable, the model uses its own confidence scores during training to dynamically construct triplets:
-
Anchor ($F_a$): High-scoring segments from normal videos. These represent the "anomalous-looking" benign segments that typically confuse models.
- Positive ($F_p$): Low-scoring segments from abnormal videos (highly likely to be normal background content).
- Negative ($F_n$): High-scoring segments from abnormal videos (highly likely to be the actual anomaly).
The triplet loss forces the model to pull the Anchor and Positive features closer together (grouping the WLI noise) while pushing the Negative features (true anomalies) far away.
- Motion-Aware Feature Enhancement (MA) Anomalies typically occur in dynamic foreground regions, yet standard models extract features from the entire frame, including static, irrelevant backgrounds. TLMA applies classic Sobel filters to capture spatial edges and computes inter-frame differences to isolate motion. This emphasizes moving foreground objects and suppresses background redundancy, providing cleaner features for the downstream classifier and triplet loss.
Datasets
The framework was evaluated on three widely used public WSVAD benchmarks:
- UCF-Crime: 1,900 real-world surveillance video clips containing 13 types of anomalous behaviors (e.g., abuse, burglary, fighting).
- XD-Violence: A large-scale dataset containing 4,754 untrimmed videos covering 6 categories of violent behavior.
- MSAD (Multi-Scene Anomaly Detection): A recently introduced dataset containing 720 video clips from 14 distinct scenes, annotated with 11 types of anomalous events.
Key Insights and Ideas
- Normal Videos Provide the Best Noise Proxies: Instead of guessing which segments inside an abnormal video are actually normal, the authors realized that the most misleading noise (WLI) is best represented by the highest-scoring segments of completely normal videos.
- Feature-Level vs. Score-Level Separation: While standard MIL ranking loss operates at the score level to widen the gap between normal and abnormal video predictions, the triplet loss works directly on the underlying feature space to structurally isolate WLI from true anomalies.
- Lightweight Motion Filtering: Instead of relying on heavy, computationally expensive optical flow networks or auxiliary spatiotemporal models, simply using spatial edge filters and frame differences on top of a Vision Transformer (ViT) backbone effectively strips away background interference.
Key Results
TLMA achieved state-of-the-art performance across all three benchmarks:
- UCF-Crime: Achieved an Area Under the Curve (AUC) of 89.47% (outperforming the popular VadCLIP by 1.45%) and dramatically reduced the False Alarm Rate (FAR) from 3.3% to 1.56%.
- XD-Violence: Achieved an Average Precision (AP) of 86.78%, outperforming previous top-performing methods like PEL4VAD.
- MSAD: Reached an AUC of 93.68% and an AP of 81.3%, showing substantial improvements over recent multi-modal baselines like PI-VAD.
Qualitative analysis showed that TLMA generates much sharper, more temporally precise anomaly score curves that align closely with actual ground-truth event boundaries.
Limitations and Future Work
Not discussed in the paper.
Summary updated