TL;DR
HiProbe-VAD is a novel, tuning-free video anomaly detection (VAD) framework that leverages the intermediate hidden states of pre-trained Multimodal Large Language Models (MLLMs). By discovering that intermediate layers are significantly more sensitive to visual anomalies than text-optimized output layers, the authors achieve state-of-the-art performance without expensive model fine-tuning.
What Problem Does This Paper Address?
Video Anomaly Detection (VAD) is critical for real-world applications like automated surveillance, industrial quality control, and autonomous driving. However, traditional deep learning approaches face a difficult trade-off: supervised methods require expensive frame-level annotations, while unsupervised methods often suffer from high false-positive rates.
Recently, Multimodal Large Language Models (MLLMs) have shown immense promise in visual reasoning. Unfortunately, fine-tuning these massive models for specific VAD tasks is computationally prohibitive. On the other hand, using them "off-the-shelf" by relying purely on their text outputs often fails; the final layers of MLLMs are heavily optimized for text generation, which tends to discard or over-abstract subtle visual anomalies. HiProbe-VAD bridges this gap by extracting rich visual features directly from the model's internal representations before they are lost in the output layer.
Methods
The core architecture of HiProbe-VAD relies on three main components:
- Dynamic Layer Saliency Probing (DLSP): Instead of guessing which internal layer holds the best features, DLSP mathematically identifies the optimal intermediate layer. It evaluates layers based on three statistical metrics computed on a tiny subset (~1%) of the data: Kullback-Leibler (KL) Divergence (anomaly sensitivity), Local Discriminant Ratio (class linear separability), and Feature Entropy (information concentration).
- Lightweight Anomaly Scorer: Once the optimal layer is selected, its hidden states are used to train a simple, lightweight logistic regression classifier via a few-shot probing strategy. This scorer outputs an anomaly probability for each video segment.
- Temporal Anomaly Localization & Explanation: Frame-level scores are smoothed using a Gaussian kernel, and an adaptive threshold isolates the exact timing of anomalous events. Finally, these anomalous segments are fed back into the MLLM's auto-regressive pipeline to generate natural language descriptions explaining what the anomaly actually is.
Datasets
The framework was evaluated on two standard, large-scale VAD benchmarks:
- UCF-Crime: A dataset containing 1,900 untrimmed real-world surveillance videos covering 13 anomaly categories (e.g., abuse, arrest, arson). Performance is measured using frame-level Area Under the Curve (AUC).
- XD-Violence: A large-scale dataset containing 4,754 untrimmed videos from movies and YouTube, capturing 6 types of violent anomalies. Performance is measured using Average Precision (AP).
Key Insights and Ideas
- The Intermediate Layer Information-rich Phenomenon: The paper's most compelling finding is that MLLM feature quality follows a parabolic curve across layers. The earliest layers lack semantic depth, while the final layers discard fine-grained visual details to prioritize text generation syntax. The intermediate layers (specifically around layer 20 in a 32-layer model like InternVL2.5) strike the perfect equilibrium between raw visual acuity and high-level semantic understanding.
- Geometric Proof of Separability: Using t-SNE dimensionality reduction, the authors visually demonstrate that normal and anomalous features form distinct, clean clusters in the intermediate layers, whereas they become highly entangled and mixed in the final output layer.
Key Results
HiProbe-VAD sets a new state-of-the-art for tuning-free MLLM approaches:
- UCF-Crime: Achieved 86.72% AUC using the InternVL2.5 backbone, outperforming prominent tuning-free methods like LAVAD (80.28%) and achieving competitive performance with weakly supervised methods that require full training.
- XD-Violence: Achieved 82.15% AP, significantly outperforming standard zero-shot CLIP baselines.
- Cross-Model Generalization: The framework proved highly robust across different MLLM architectures, yielding strong results when swapped to Qwen2.5-VL and LLaVA-OneVision backbones without altering the underlying pipeline.
- Zero-Shot Dataset Transfer: When the anomaly scorer was trained on UCF-Crime and tested directly on XD-Violence (and vice versa), it still maintained high accuracy (e.g., 77.04% AP on XD-Violence), proving that the intermediate features capture generalized, transferable concepts of "anomalous behavior."
Limitations and Future Work
Although the underlying MLLM remains completely frozen and tuning-free, the framework is not entirely zero-shot; it still requires a small amount of coarse video-level labels (~1% of the training set) to calculate the layer saliency and train the lightweight logistic regression scorer.
The authors suggest that future work should focus on exploring these intermediate representations for other complex video-understanding tasks beyond anomaly detection, potentially eliminating the need for task-specific fine-tuning across a wider array of computer vision domains.
Summary updated