Skip to main content
QUICK REVIEW

[Paper Review] VadCLIP: Adapting Vision-Language Models for Weakly Supervised Video Anomaly Detection

Peng Wu, Xuerong Zhou|arXiv (Cornell University)|Aug 22, 2023
Viral Infections and Outbreaks ResearchMedicine8 citations
TL;DR

VadCLIP leverages a frozen CLIP model with a dual-branch design to perform both coarse-grained classification and fine-grained vision-language alignment for weakly supervised video anomaly detection, achieving state-of-the-art results on XD-Violence and UCF-Crime.

ABSTRACT

The recent contrastive language-image pre-training (CLIP) model has shown great success in a wide range of image-level tasks, revealing remarkable ability for learning powerful visual representations with rich semantics. An open and worthwhile problem is efficiently adapting such a strong model to the video domain and designing a robust video anomaly detector. In this work, we propose VadCLIP, a new paradigm for weakly supervised video anomaly detection (WSVAD) by leveraging the frozen CLIP model directly without any pre-training and fine-tuning process. Unlike current works that directly feed extracted features into the weakly supervised classifier for frame-level binary classification, VadCLIP makes full use of fine-grained associations between vision and language on the strength of CLIP and involves dual branch. One branch simply utilizes visual features for coarse-grained binary classification, while the other fully leverages the fine-grained language-image alignment. With the benefit of dual branch, VadCLIP achieves both coarse-grained and fine-grained video anomaly detection by transferring pre-trained knowledge from CLIP to WSVAD task. We conduct extensive experiments on two commonly-used benchmarks, demonstrating that VadCLIP achieves the best performance on both coarse-grained and fine-grained WSVAD, surpassing the state-of-the-art methods by a large margin. Specifically, VadCLIP achieves 84.51% AP and 88.02% AUC on XD-Violence and UCF-Crime, respectively. Code and features are released at https://github.com/nwpu-zxr/VadCLIP.

Motivation & Objective

  • Explore how to adapt large vision-language pre-training (CLIP) to weakly supervised video anomaly detection (WSVAD) without fine-tuning.
  • Capture both coarse-grained and fine-grained temporal and semantic information using cross-modal cues.
  • Maintain CLIP performance under weak supervision while leveraging vision-language associations.

Proposed method

  • Introduce Local-Global Temporal Adapter (LGT-Adapter) to model local and global temporal dependencies efficiently.
  • Deploy a dual-branch architecture: C-Branch for coarse-grained binary anomaly detection and A-Branch for fine-grained vision-language alignment using CLIP's text encoder.
  • Use learnable prompts and anomaly-focused visual prompts to adapt textual labels and visual contexts within CLIP.
  • Apply MIL-Align to optimize frame-level alignment under weak supervision by selecting top-K frame-text matches per label.
  • Keep CLIP image and text encoders frozen; back-propagate gradients to adapter and prompt modules.
  • Combine three losses: binary cross-entropy on video-level predictions, MIL-based alignment loss, and a contrastive loss between normal and abnormal class embeddings.

Experimental results

Research questions

  • RQ1How can CLIP be adapted for effective weakly supervised video anomaly detection without retraining the backbone?
  • RQ2Can a dual-branch architecture exploit both coarse-grained classification and fine-grained vision-language alignment to improve WSVAD?
  • RQ3What mechanisms (prompts, prompts + visual prompts, LGT-Adapter) best transfer CLIP knowledge to the WSVAD task under weak supervision?
  • RQ4How to optimize vision-language alignment under weak supervision to preserve pre-trained knowledge while discriminating anomalies?

Key findings

  • VadCLIP achieves 84.51% AP on XD-Violence and 88.02% AUC on UCF-Crime, establishing new state-of-the-art on both benchmarks.
  • The dual-branch design enables both coarse-grained and fine-grained WSVAD within a single model.
  • Learnable prompts outperform handcrafted prompts for transferring CLIP knowledge to WSVAD.
  • Anomaly-focused visual prompts and LGT-Adapter significantly boost temporal modeling and alignment performance.
  • Fine-grained and coarse-grained performances are improved through MIL-Align and cross-modal alignment while keeping CLIP frozen.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.