VadCLIP: Adapting Vision-Language Models for Weakly Supervised Video Anomaly Detection

Peng Wu, Xuerong Zhou, Guansong Pang, Lingru Zhou, Qingsen Yan +2 more
8/22/2023
360 citations
cs.CVcs.MM

Official code: nwpu-zxr/VadCLIP (246 stars, Python, Apache-2.0, last commit 2024-03-10).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

nwpu-zxr/VadCLIPOfficial100%
Apache-2.0

VadCLIP official Pytorch implementation

24641PythonDec 12, 20232 years agoApache-2.0

Similar Papers

Cite this paper

@article{wu2023vadclip,
  title  = {VadCLIP: Adapting Vision-Language Models for Weakly Supervised Video Anomaly Detection},
  author = {Peng Wu and Xuerong Zhou and Guansong Pang and Lingru Zhou and Qingsen Yan and Peng Wang and Yanning Zhang},
  year   = {2023},
  eprint = {2308.11681},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.11681v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.11681.svg)](https://codeofpaper.com/paper/2308.11681)

Discussion