MoG-VLM: Efficient Video Anomaly Detection through Motion-Guided Vision-Language Models

Khaled Waleed Dawoud, Muhammad Zaigham Zaheer, Khan Muhammad, Muhammad Haris Khan
10/22/2026
cs.CVcs.AIcs.LG

Official code: kdawoud91/MoG-VLM (0 stars, last commit 2026-10-23).

Abstract

Vision-Language Models (VLMs) have shown strong potential for video anomaly detection, but dense frame-level inference makes them impractical for real-time deployment. Existing acceleration commonly relies on uniform sampling, which ignores content dynamics and can either waste computation on static segments or miss localized anomalies. We propose MoG-VLM a motion-adaptive anomaly detection framework that leverages motion purely as a lightweight control signal to decide when VLM inference is necessary. To this end, we introduce Temporal Gradient Magnitude (TGM) which performs content-aware sampling to concentrate computation on informative regions while avoiding redundant processing. We further introduce a hierarchical dual-stream design in which dense multi-frame VLM reasoning is activated only around frames with elevated anomaly likelihood, via anchor-triggered context-window expansion with early termination. A fusion module then reconciles these instantaneous semantic cues with temporal action dynamics. Across four benchmarks, our method achieves 91.91%, 84.30%, 87.88%, and 78.96% AUC-ROC on XD-Violence, UCF-Crime, MSAD, and ShanghaiTech, respectively, establishing new state of the art on three benchmarks under the zero-shot, training-free setting. On XD-Violence, we improve over the previous best result by +0.57% while delivering a 1.31x inference speedup. These results demonstrate that content-aware allocation of VLM capacity, processing fewer frames more intelligently rather than all frames uniformly, is a more effective axis of progress than uniformly densifying VLM inference across frames. Code is available on GitHub: https://github.com/kdawoud91/MoG-VLM.

View on arXivView PDF

Code Implementations(1)

kdawoud91/MoG-VLMOfficial100%

Official code for MoG-VLM (BMVC 2026), MoG-VLM: Efficient Video Anomaly Detection through Motion-Guided Vision-Language Models

00Shell, PythonAug 14, 20262 days ago
efficient-processingvideo-anomaly-detectionvideo-understanding-vlm

Similar Papers

Cite this paper

@article{dawoud2026mogvlm,
  title  = {MoG-VLM: Efficient Video Anomaly Detection through Motion-Guided Vision-Language Models},
  author = {Khaled Waleed Dawoud and Muhammad Zaigham Zaheer and Khan Muhammad and Muhammad Haris Khan},
  year   = {2026},
  eprint = {2610.31478},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.31478v1}
}

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

Discussion