Enhancing Weakly Supervised Multimodal Video Anomaly Detection through Text Guidance

Shengyang Sun, Jiashen Hua, Junyi Feng, Xiaojin GongarXiv 2026

TL;DR

This paper introduces a text-guided framework for weakly supervised multimodal video anomaly detection to exploit the under-utilized text modality. By leveraging an in-context learning-based multi-stage text augmentation mechanism (MSTA) to fix severe data imbalance and a multi-scale bottleneck Transformer (MSBT) for efficient feature fusion, the method achieves state-of-the-art performance on major benchmarks while providing model explainability.

What Problem Does This Paper Address?

Video Anomaly Detection (VAD) is crucial for automated security and surveillance, but training these models is notoriously difficult. Fully supervised methods require tedious frame-by-frame annotations, while unsupervised methods suffer from high false-alarm rates. Weakly supervised VAD (WS-VAD) strikes a balance by using only video-level labels, frequently combining RGB, optical flow, and audio modalities.

However, the text modality (such as video captions) has been largely ignored in this domain. Text carries explicit semantic information that can accurately characterize events and drastically reduce false alarms. The catch is twofold:

  1. Text Feature Extraction Challenges: Pre-trained large language models (LLMs) struggle to capture specific anomaly nuances because they are trained on generalized datasets. Fine-tuning them directly is thwarted by severe data scarcity—anomalous events are rare, meaning only a tiny fraction of video descriptions actually contain anomalies (e.g., just 12% in the UCF-Crime dataset).
  2. Fusion Redundancy and Imbalance: Fusing multiple modalities often introduces unintended semantic noise and bias if one dominant modality (like RGB) overwhelms another (like audio).
Previous methods vs. the proposed text-guided VAD approach, highlighting the text data imbalance problem.

Methods

To overcome these challenges, the authors propose a novel text-guided framework consisting of two core components:

1. Multi-Stage Text Augmentation (MSTA)

To counteract the severe text data imbalance, the authors use an LLM (LLaMA-3-8B) via In-Context Learning (ICL) to artificially generate high-quality anomalous text samples through three distinct stages:

  • Stage I (LLM-based Caption Summary): Condenses dense, frame-by-frame video captions into a single concise sentence that inherits the overall video-level label.
  • Stage II (ICL-based Text Annotation): Assigns pseudo-anomaly scores to individual unlabeled captions within a video by averaging scores across multiple ICL sampling iterations.
  • Stage III (ICL-based Text Generation): Uses the high-scoring anomalous descriptions from Stage II as context prompts to guide the LLM into synthesizing entirely new, diverse text descriptions of anomalies.

This process successfully balances the training text set to a 50/50 normal-to-abnormal ratio, which is then used to fine-tune a robust BERT text feature extractor.

Fig. 2. Illustration of (a∼c) the proposed multi-stage text augmentation (MSTA) for (d) extractor fine-tuning and feature extraction. (a) Stage-I: We use a large language model (LLM) to summarize all captions in the videos, obtaining labeled text samples. (b) Stage-II: based on the summarized captions, we utilize ICL to generate pseudo-labels for each caption within the video. (c) Stage-III: We employ the labeled samples from the previous two stages, using ICL to generate new anomalous samples. (d) We fine-tune the feature extractor using both the original and generated samples to obtain high-quality text representation features.

2. Multi-Scale Bottleneck Transformer (MSBT)

For cross-modal feature fusion, the authors reject simple concatenation. Instead, they introduce the MSBT module, which uses a progressively decreasing number of bottleneck tokens across layers. This forces the network to gradually compress and distill information as it passes between modality pairs (RGB, flow, audio, and text). A bottleneck token-based weighting scheme then adaptively scales the fused features based on their relevance before passing them to a global encoder for final anomaly scoring.

Datasets

The framework was evaluated on two prominent large-scale video anomaly benchmarks:

  • UCF-Crime: A dataset containing 13 anomaly categories across 1,610 training and 290 test surveillance videos. The text captions used were obtained from recent human-annotated benchmarks.
  • XD-Violence: A massive violence detection dataset containing 4,754 untrimmed videos. Because it lacks native text annotations, the authors used BLIP2 to automatically generate dense text descriptions for all video segments.

Key Insights and Ideas

  • Text as an Anchor for Explainability: Beyond boosting raw performance, integrating text provides a direct semantic rationale for why an event is flagged as an anomaly, bridging the gap between raw pixel data and human-readable trust.
  • LLMs as Data Balancers: Rather than attempting the expensive task of collecting more rare anomaly videos, the authors cleverly exploit the generative power of LLMs to synthesize text descriptions of anomalies, solving data scarcity entirely within the text domain.
  • Gradual Compression Wins: Fixed-size bottleneck tokens can still carry redundant cross-modal noise. Progressively halving the number of bottleneck tokens forces the model to retain only the most critical cross-modal interactions.

Key Results

The proposed framework achieved state-of-the-art (SOTA) results across both datasets:

  • UCF-Crime: The Text+RGB+Flow configuration achieved a frame-level AUC of 89.67%, outperforming the text-based baseline TEVAD by 4.28%.
  • XD-Violence: The full Text+RGB+Audio+Flow configuration achieved an Average Precision (AP) of 85.92%, outperforming competitive multimodal methods like MACIL-SD (83.40%) and Scoreformer (84.54%).
  • Ablation Impact: Omitting the MSTA data augmentation caused the UCF-Crime performance to plummet from 89.67% down to 80.53%, validating the necessity of balancing the text feature extractor.

Limitations and Future Work

The framework relies heavily on the quality of the initial captions generated by pre-trained video captioning models (like BLIP2). If the initial captioning model misses a subtle visual anomaly or introduces noise, that error propagates through the MSTA pipeline and can lead to inaccurate text feature extraction.

The authors suggest that future work could explore tighter, end-to-end integration of the video captioning model within the VAD training loop, or extending this text-guided framework to real-time, online anomaly detection settings.

Summary updated

BibTeX
@misc{sun2026enhancing,
  author = {Shengyang Sun and Jiashen Hua and Junyi Feng and Xiaojin Gong},
  title = {{Enhancing Weakly Supervised Multimodal Video Anomaly Detection through Text Guidance}},
  year = {2026},
  eprint = {2602.10549},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.10549},
}
Figure