Language-guided Open-world Video Anomaly Detection under Weak Supervision

Zihao Liu, Xiaoyu Wu, Jianqin Wu, Xuxu Wang, Linlin Yang
3/17/2025
cs.CV

Official code: Kamino666/LaGoVAD-PreVAD (27 stars, Apache-2.0, last commit 2026-03-03).

Abstract

Video anomaly detection (VAD) aims to detect anomalies that deviate from what is expected. In open-world scenarios, the expected events may change as requirements change. For example, not wearing a mask may be considered abnormal during a flu outbreak but normal otherwise. However, existing methods assume that the definition of anomalies is invariable, and thus are not applicable to the open world. To address this, we propose a novel open-world VAD paradigm with variable definitions, allowing guided detection through user-provided natural language at inference time. This paradigm necessitates establishing a robust mapping from video and textual definition to anomaly scores. Therefore, we propose LaGoVAD (Language-guided Open-world Video Anomaly Detector), a model that dynamically adapts anomaly definitions under weak supervision with two regularization strategies: diversifying the relative durations of anomalies via dynamic video synthesis, and enhancing feature robustness through contrastive learning with negative mining. Training such adaptable models requires diverse anomaly definitions, but existing datasets typically provide labels without semantic descriptions. To bridge this gap, we collect PreVAD (Pre-training Video Anomaly Dataset), the largest and most diverse video anomaly dataset to date, featuring 35,279 annotated videos with multi-level category labels and descriptions that explicitly define anomalies. Zero-shot experiments on seven datasets demonstrate LaGoVAD's SOTA performance. Our dataset and code are released at https://github.com/Kamino666/LaGoVAD-PreVAD.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[ICLR 26] This repository contains the code and dataset for our paper: Language-guided Open-world Video Anomaly Detection under Weak Supervision (https://arxiv.org/abs/2503.13160)

270HTML, ShellSep 14, 20257 months agoApache-2.0

Cite this paper

@article{liu2025languageguided,
  title  = {Language-guided Open-world Video Anomaly Detection under Weak Supervision},
  author = {Zihao Liu and Xiaoyu Wu and Jianqin Wu and Xuxu Wang and Linlin Yang},
  year   = {2025},
  eprint = {2503.13160},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.13160v3}
}

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/2503.13160.svg)](https://codeofpaper.com/paper/2503.13160)

Discussion