VAGU & GtS: LLM-Based Benchmark and Framework for Joint Video Anomaly Grounding and Understanding

Shibo Gao, Peipei Yang, Yangyang Liu, Yi Chen, Han Zhu, Xu-Yao Zhang, Linlin Huang

TL;DR

Video Anomaly Detection (VAD) has long been split between traditional deep learning methods that excel at locating when an anomaly happens and LLM-based methods that explain what is happening. This paper bridges the gap by introducing VAGU, the first comprehensive benchmark for joint anomaly grounding and understanding, alongside Glance then Scrutinize (GtS), a training-free framework that achieves state-of-the-art performance at real-time processing speeds.

What Problem Does This Paper Address?

In video surveillance and safety monitoring, identifying an anomalous event requires answering two fundamental questions: When did it happen? (temporal grounding) and What exactly happened? (semantic understanding).

Currently, the field suffers from a "capability dissociation":

  1. Traditional DNN-based approaches output precise timestamps but completely lack natural language understanding or context.
  2. Large Language Model (LLM) / Vision-Language Model (VLM) approaches can describe complex scenes but struggle to pinpoint exact start and end times.

While some frame-by-frame VLM methods attempt to do both, their computational overhead is massive, making them useless for real-time applications. Furthermore, existing Video QA or Video Temporal Grounding (VTG) models fail when directly applied to VAD because they rely on explicit, pre-defined textual queries, which are unavailable in real-world anomaly detection scenarios.

Methods

To solve this, the authors propose Glance then Scrutinize (GtS), a training-free framework that mimics human visual attention through a two-phase pipeline:

The flowchart of the GtS framework, illustrating the Glance and Scrutinize phases.
  1. The "Glance" Phase (Coarse Localization): Instead of analyzing every frame deeply, a base VLM generates a rough video caption. Even if the VLM misses the anomaly, it accurately identifies the main subjects. This caption, combined with a predefined anomaly list, is fed to GPT to extract static (subjects/scenes) and dynamic (actions/events) text prompts. Dual encoders (CLIP and Video-CLIP) then calculate cross-modal similarity against the video frames to generate a temporal anomaly probability curve. Local peaks are detected to segment the video into high- and low-probability windows.

  2. The "Scrutinize" Phase (Fine-grained Analysis): The framework performs non-uniform sampling specifically on the high-probability segments. A VQA model inspects these clips to generate detailed descriptions and refine temporal boundaries. Finally, an LLM integrates these segment-level descriptions, fusing evidence across clips to capture complex, causally dependent anomalies (like a theft involving sequential concealment and escape).

A New Metric: JeAUG

Traditional metrics evaluate either localization (AUC, AP) or language generation (BLEU, ROUGE). The authors introduce JeAUG (Joint Evaluation of Anomaly Understanding and Detection), which uses an external LLM to score semantic accuracy across four dimensions (subject, scene, course, impact) and multiplies it by a non-linear, video-length-weighted Intersection over Union (IoU) factor to penalize poor grounding.

Datasets

The authors introduce VAGU (Video Anomaly Grounding and Understanding), the first dataset explicitly designed to support both tasks simultaneously.

  • Scale: 7,567 high-quality, real-world videos.
  • Content: Covers 4 major domains (human criminal activities, natural disasters, traffic accidents, animal-related injuries) split into 21 fine-grained categories.
  • Annotations: Every video contains triple manual annotations: anomaly classification, detailed semantic explanations, and precise temporal grounding intervals. It also includes over 20,000 multiple-choice QA pairs for objective evaluation.
  • Lineage: Built by filtering and re-annotating existing datasets (CUVA, UCF-Crime, XD-Violence) alongside new data scraped from YouTube, Bilibili, and TikTok.

Key Insights and Ideas

  • Leveraging VLM Blind Spots: While current VLMs often fail to recognize anomalies directly in long videos, they are highly reliable at recognizing subjects. GtS turns this property into a feature by using subject recognition to filter out irrelevant background noise before looking for the anomaly.
  • The Danger of Uniform Splitting: Uniformly cutting videos into chunks (a common VLM strategy) fragments continuous events and exacerbates model hallucinations. Dynamic window partitioning based on similarity peaks preserves event integrity.
  • Interdependence of Tasks: Temporal grounding provides critical contextual boundaries that improve semantic understanding, while semantic feedback validates whether a grounded segment is actually anomalous.

Key Results

The GtS framework achieves an exceptional balance between inference speed and performance, effectively operating in the "acceptable real-time zone" (>30 FPS) where other VLM methods fail.

Comparison of GtS with other LLM-based VAD methods in terms of inference speed and performance.
  • Speed vs. Accuracy: Frame-by-frame methods like SUVAD achieve high JeAUG scores (4.58) but run at an unusable 0.19 FPS. Direct use of VQA/VTG models is fast (>180 FPS) but yields terrible performance (JeAUG < 2.3). GtS (using Qwen2.5-VL-7B) achieves a JeAUG score of 4.04 while running at 61 FPS—a 300x speedup over frame-wise methods.
  • Ablation Success: Removing dynamic text guidance dropped the JeAUG score from 5.50 to 5.27, proving that parsing both action and scene context is vital for accurate anomaly localization.

Limitations and Future Work

Despite its strong performance, the authors note that the framework's output still suffers from occasional hallucination effects and can generate redundant descriptions during the LLM integration phase. Future work will likely focus on optimizing the text-fusion step to produce cleaner, more concise summaries and further reducing the latency of the dual-encoder similarity calculations.

Summary updated

BibTeX
@inproceedings{gao2026vagu,
  author = {Shibo Gao and Peipei Yang and Yangyang Liu and Yi Chen and Han Zhu and Xu-Yao Zhang and Linlin Huang},
  title = {{VAGU \& GtS: LLM-Based Benchmark and Framework for Joint Video Anomaly Grounding and Understanding}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i6.42412},
}
Figure