TL;DR
Spotting exact moments of chaos in hours of surveillance footage—using only a single "something happened in this video" training label—usually causes AI models to dilute rare anomalous signals in a sea of mundane frames. HICA solves this by dynamically grouping similar video moments into clusters regardless of when they happen, while simultaneously checking if the foreground motion actually makes sense in the background scene. The result is a surveillance system that doesn't just improve accuracy, but detects vastly different types of anomalies with far greater consistency.
What Problem Does This Paper Address?
Imagine watching an hour-long security feed of a quiet parking lot where a ten-second car theft occurs. In weakly supervised Video Anomaly Detection (VAD), models must learn to pinpoint those exact ten seconds at test time, despite being trained only with video-level binary labels (e.g., "Normal" vs. "Contains Anomaly").
To connect the dots across time, recent models divide videos into segments and apply attention mechanisms. However, existing attention strategies fall into two traps: they either compare frames at rigid, fixed intervals, or they mix all segments together globally. When you indiscriminately blend ten seconds of theft with fifty-nine minutes of empty asphalt, the anomaly signal gets diluted. Consequently, models become erratic—excelling at obvious, prolonged events (like an explosion) while completely missing subtle or brief ones (like shoplifting), creating blind spots in real-world security.
Methods
The authors build upon a standard Multiple Instance Learning (MIL) baseline (AnomalyCLIP), using a frozen CLIP image encoder to extract frame features and a CLIP text-prompt branch to classify what type of anomaly is occurring.
The magic happens in their novel Temporal-Score Branch, which figures out how anomalous each frame is using two new modules:
- Hierarchical Content-Adaptive Temporal Module (HCAT): Instead of mixing all frames uniformly, HCAT processes time in a three-tier hierarchy (
Frame → Segment → Cluster → Frame). - Level 0 (Frames): An Axial Transformer captures local context within segments and positional context across segments.
- Level 1 (Segments): Frames are pooled into holistic segment vectors and passed through a Graph Convolutional Network (GCN) that links segments based on both temporal closeness and semantic similarity.
- Level 2 (Clusters): Using Perceiver-style cross-attention, $N$ segments are compressed into $K$ content-adaptive clusters. Scattered moments of an anomaly get isolated into their own clean cluster without normal-frame dilution. This global context is then broadcast back down to individual frames to generate a base anomaly score.
- Static-Dynamic Compatibility Module (SDC): Running in parallel, SDC asks: Does this motion belong in this room? It averages features across the whole video to extract a time-independent "background signature," and uses a dual-path extractor (raw frame-to-frame differences + contextualized features) to capture local motion. An MLP checks if the motion and background are compatible. If they clash, SDC amplifies HCAT’s base anomaly score.
Datasets
No new datasets are introduced. The authors evaluate HICA on three standard weakly supervised VAD benchmarks:
- UCF-Crime: Long, untrimmed real-world surveillance videos covering 13 anomaly classes (e.g., Arrest, Burglary, Arson).
- XD-Violence: Movies and in-the-wild videos featuring 6 violent classes (e.g., Riot, Fighting, Shooting).
- ShanghaiTech: Shorter campus surveillance videos with 15 classes (e.g., Skateboard, Chasing, Jumping).
Key Insights and Ideas
- Isolate, Don't Dilute: Compressing $N$ video segments into a much smaller number of $K$ semantic clusters acts as an information bottleneck that naturally separates rare anomalous events from normal background noise, regardless of when the event occurs or how long it lasts.
- Context as a Score Amplifier: Sprinting is normal on a track, but suspicious in a bank lobby. By explicitly modeling compatibility between static background scenes and dynamic foreground motion, the model catches contextually implausible actions that pure motion detectors miss.
- Consistency Matters as Much as Average Score: A high average accuracy can hide terrible performance on specific classes. By measuring inter-class variance ($\sigma^2$), the authors demonstrate that grouping content adaptively prevents the model from playing favorites among anomaly types.
Key Results
Across all three benchmarks, HICA consistently outperforms its primary baseline (AnomalyCLIP) on binary anomaly detection:
- UCF-Crime: Frame-level AUC rises from 86.36% to 87.42%.
- ShanghaiTech: AUC increases from 98.07% to 98.52%.
- XD-Violence: Average Precision (AP) jumps from 78.51% to 80.39%.
In multi-class recognition, HICA improves mean AUC on UCF-Crime (90.66% → 91.12%) and ShanghaiTech (96.46% → 96.74%). More importantly, inter-class variance ($\sigma^2$) plummets—dropping from 31.37 to 19.88 on UCF-Crime, and more than halving from 7.75 to 3.66 on ShanghaiTech. Qualitatively, predicted scores spike cleanly during ground-truth anomalies and stay flat during normal activity.
Limitations and Future Work
On XD-Violence, while binary detection improves, multi-class mAP dips slightly compared to the baseline (49.41% → 48.57%), driven by classes like Abuse, Shooting, and Fighting. The authors note two reasons for this:
- These intense, instantaneous actions depend purely on the action itself rather than broader scene context.
- Architecturally, HCAT and SDC only refine the binary anomaly score in Branch 2, leaving the text-aligned class logits in Branch 1 untouched. Any binary miscalibration on fast, action-centric classes directly drags down the weighted multi-class score.
For future work, the authors aim to build direct interactions between their temporal/contextual modules and the class-conditional recognition branch so both "when" and "what" improve together.
Summary updated