Abstract
Video Anomaly Detection (VAD) is a critical task typically framed as a one-class classification problem. Existing methods often rely on either reconstruction or prediction strategies, each with distinct advantages and limitations. This paper, presented at AAAI-25, introduces Dual Conditioned Motion Diffusion (DCMD), a framework that integrates both strategies within a diffusion-based architecture. By utilizing dual conditioning on latent embeddings and observed motion in the spectrum space, and introducing a United Association Discrepancy (UAD) loss, DCMD achieves state-of-the-art performance across multiple benchmarks, effectively capturing both structural and temporal irregularities in human motion.
Introduction
Video Anomaly Detection (VAD) is inherently challenging because anomalies are rare and unpredictable, making it a "One-Class Classification" problem. Traditionally, researchers have employed two primary strategies: reconstruction-based and prediction-based. Reconstruction-based models excel at identifying irregular structures (e.g., unusual poses), while prediction-based models are better at detecting irregular trends (e.g., sudden running).
Most existing models force a choice between these two approaches. The proposed Dual Conditioned Motion Diffusion (DCMD) framework bridges this gap by merging reconstruction and prediction within a unified diffusion model, leveraging the generative power of diffusion to model "normal" motion patterns.
Methodology: Dual Conditioned Motion Diffusion
DCMD operates in the spectrum space using Discrete Cosine Transform (DCT) rather than raw coordinate space. This approach allows the model to focus on the underlying rhythm of human movement while filtering out high-frequency noise.
Key Components
- Dual Conditioning: The model is conditioned on a latent semantic representation of the history sequence (Conditioned Embedding) and the actual observed history frames (Conditioned Motion).
- Motion Transformer: A denoising network utilizing Feature-wise Linear Modulation (FiLM) to inject temporal and semantic information, capturing complex multi-layered correlations in motion.
- United Association Discrepancy (UAD): A novel regularization loss that compares "Time Association" (local) with "Global Association" (self-attention). In normal data, these associations are distinct, but they tend to collapse during anomalies.
- Mask Completion Strategy: During inference, the model treats history as a fixed mask, "filling in" future frames to ensure predictions are grounded in observed reality.
Experimental Results
The DCMD framework was evaluated on four major human-related (HR) benchmarks: HR-STC, HR-Avenue, HR-UBnormal, and UBnormal.
| Dataset | DCMD (Ours) AUC | Previous SOTA (MoCoDAD) |
|---|---|---|
| HR-STC | 78.6% | 77.6% |
| HR-Avenue | 90.0% | 89.0% |
| HR-UBnormal | 69.0% | 68.4% |
| UBnormal | 69.0% | 68.3% |
The results demonstrate that DCMD consistently outperforms previous state-of-the-art methods. Ablation studies further confirm that the synergy between reconstruction and prediction is vital for this performance leap.
Conclusion and Future Work
DCMD sets a new benchmark for pose-based VAD by effectively combining reconstruction and prediction via diffusion. However, the model's performance remains dependent on the quality of the underlying pose estimation. Future work may involve improving inference speeds—currently a bottleneck for diffusion models—and exploring multi-person interaction modeling to enhance detection in crowded environments.
Code is available at: https://github.com/guijiejie/DCMD-main
Summary updated