arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.10299cs.CV
收藏

遵循规则:基于大语言模型的视频异常检测推理

Follow the Rules: Reasoning for Video Anomaly Detection with Large Language Models

Johns Hopkins University(约翰斯·霍普金斯大学);Honda Research Institute USA(美国本田研究所)

Yuchen Yang, Kwonjoon Lee, Behzad Dariush, Yinzhi Cao, Shao-Yuan Lo

AI总结:

针对视频异常检测缺乏原理解释的问题,提出基于大语言模型的规则推理框架AnomalyRuler,通过归纳与演绎两阶段及鲁棒性增强策略,仅需少样本正常提示即可实现最先进的检测性能与推理能力。

摘要:

视频异常检测(VAD)对于安防监控和自动驾驶等应用至关重要。然而,现有的VAD方法在检测背后提供的原理解释甚少,阻碍了公众对其在现实世界部署中的信任。在本文中,我们采用一种推理框架来处理VAD。尽管大语言模型(LLMs)展现出了革命性的推理能力,但我们发现直接将其用于VAD效果不佳。具体而言,LLMs中预训练的隐式知识侧重于通用语境,因此可能不适用于每个特定的现实世界VAD场景,从而导致不灵活和不准确。为了解决这一问题,我们提出了AnomalyRuler,一种基于规则的VAD LLM推理新框架。AnomalyRuler包含两个主要阶段:归纳和演绎。在归纳阶段,向LLM输入少样本正常参考样本,随后总结这些正常模式以归纳出一组用于检测异常的规则。演绎阶段遵循归纳出的规则,在测试视频中定位异常帧。此外,我们设计了规则聚合、感知平滑和鲁棒推理策略,以进一步增强AnomalyRuler的鲁棒性。AnomalyRuler是首个针对单类VAD任务的推理方法,仅需少样本正常提示而无需全样本训练,从而能够快速适应各种VAD场景。在四个VAD基准上的综合实验证明了AnomalyRuler具备最先进的检测性能和推理能力。AnomalyRuler已开源,地址:https://github.com/Yuchen413/AnomalyRuler

英文摘要:

Video Anomaly Detection (VAD) is crucial for applications such as security surveillance and autonomous driving. However, existing VAD methods provide little rationale behind detection, hindering public trust in real-world deployments. In this paper, we approach VAD with a reasoning framework. Although Large Language Models (LLMs) have shown revolutionary reasoning ability, we find that their direct use falls short of VAD. Specifically, the implicit knowledge pre-trained in LLMs focuses on general context and thus may not apply to every specific real-world VAD scenario, leading to inflexibility and inaccuracy. To address this, we propose AnomalyRuler, a novel rule-based reasoning framework for VAD with LLMs. AnomalyRuler comprises two main stages: induction and deduction. In the induction stage, the LLM is fed with few-shot normal reference samples and then summarizes these normal patterns to induce a set of rules for detecting anomalies. The deduction stage follows the induced rules to spot anomalous frames in test videos. Additionally, we design rule aggregation, perception smoothing, and robust reasoning strategies to further enhance AnomalyRuler's robustness. AnomalyRuler is the first reasoning approach for the one-class VAD task, which requires only few-normal-shot prompting without the need for full-shot training, thereby enabling fast adaption to various VAD scenarios. Comprehensive experiments across four VAD benchmarks demonstrate AnomalyRuler's state-of-the-art detection performance and reasoning ability. AnomalyRuler is open-source and available at: https://github.com/Yuchen413/AnomalyRuler

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑