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

VarAD:基于视觉自回归建模的轻量级高分辨率图像异常检测

VarAD: Lightweight High-Resolution Image Anomaly Detection via Visual Autoregressive Modeling

Huazhong University of Science and Technology(华中科技大学);Tsinghua University(清华大学)

Yunkang Cao, Haiming Yao, Wei Luo, Weiming Shen

AI总结:

本文提出VarAD,将高分辨率图像异常检测转化为视觉token预测,利用多层次多方向序列与Mamba自回归建模实现轻量且高性能的异常定位。

摘要:

本文解决一项实际任务:高分辨率图像异常检测(HRIAD)。与面向低分辨率图像的传统图像异常检测相比,HRIAD带来更重的计算负担,并需要更强的全局信息捕获能力。为解决HRIAD,本文将图像异常检测转化为视觉token预测,并提出基于视觉自回归建模进行token预测的VarAD。具体而言,VarAD首先提取多层次、多方向的视觉token序列,随后采用先进模型Mamba进行视觉自回归建模和token预测。在预测过程中,VarAD有效利用所有先前token的信息来预测目标token。最后,利用预测token与原始token之间的差异为异常评分。在四个公开数据集和一个真实纽扣检测数据集上的综合实验表明,所提出的VarAD在保持轻量级的同时取得了优异的高分辨率图像异常检测性能,使VarAD成为HRIAD的可行解决方案。代码位于https://github.com/caoyunkang/VarAD。

英文摘要:

This paper addresses a practical task: High-Resolution Image Anomaly Detection (HRIAD). In comparison to conventional image anomaly detection for low-resolution images, HRIAD imposes a heavier computational burden and necessitates superior global information capture capacity. To tackle HRIAD, this paper translates image anomaly detection into visual token prediction and proposes VarAD based on visual autoregressive modeling for token prediction. Specifically, VarAD first extracts multi-hierarchy and multi-directional visual token sequences, and then employs an advanced model, Mamba, for visual autoregressive modeling and token prediction. During the prediction process, VarAD effectively exploits information from all preceding tokens to predict the target token. Finally, the discrepancies between predicted tokens and original tokens are utilized to score anomalies. Comprehensive experiments on four publicly available datasets and a real-world button inspection dataset demonstrate that the proposed VarAD achieves superior high-resolution image anomaly detection performance while maintaining lightweight, rendering VarAD a viable solution for HRIAD. Code is available at \href{https://github.com/caoyunkang/VarAD}{\url{https://github.com/caoyunkang/VarAD}}.

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

↑