Aligning Effective Tokens with Video Anomaly in Large Language Models
Yingxian Chen, Jiahui Liu, Ruidi Fan, Yanwei Li, Chirui Chang, Shizhen Zhao, Wilton W. T. Fok, Xiaojuan Qi, Yik-Chung Wu
TL;DR
The paper tackles the challenge of detecting and describing anomalies in videos by addressing spatial and temporal sparsity. It introduces VA-GPT, an MLLM that aligns effective visual tokens with an LLM through two modules: Spatial Effective Token Selection (SETS) and Temporal Effective Token Generation (TETG). A two-stage training strategy and a new instruct-following dataset for anomalies, plus a cross-domain XD-Violence Not-only-look benchmark, demonstrate state-of-the-art performance in anomaly localization and cross-domain generalization. The work shows that selective token mechanisms can significantly improve the reliability and interpretability of video anomaly understanding in multimodal large language models, with potential impact on security, surveillance, and safety applications.
Abstract
Understanding abnormal events in videos is a vital and challenging task that has garnered significant attention in a wide range of applications. Although current video understanding Multi-modal Large Language Models (MLLMs) are capable of analyzing general videos, they often struggle to handle anomalies due to the spatial and temporal sparsity of abnormal events, where the redundant information always leads to suboptimal outcomes. To address these challenges, exploiting the representation and generalization capabilities of Vison Language Models (VLMs) and Large Language Models (LLMs), we propose VA-GPT, a novel MLLM designed for summarizing and localizing abnormal events in various videos. Our approach efficiently aligns effective tokens between visual encoders and LLMs through two key proposed modules: Spatial Effective Token Selection (SETS) and Temporal Effective Token Generation (TETG). These modules enable our model to effectively capture and analyze both spatial and temporal information associated with abnormal events, resulting in more accurate responses and interactions. Furthermore, we construct an instruction-following dataset specifically for fine-tuning video-anomaly-aware MLLMs, and introduce a cross-domain evaluation benchmark based on XD-Violence dataset. Our proposed method outperforms existing state-of-the-art methods on various benchmarks.
