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

分而治之:通过内存高效的分块集成实现高分辨率工业异常检测

Divide and Conquer: High-Resolution Industrial Anomaly Detection via Memory Efficient Tiled Ensemble

University of Ljubljana(卢布尔雅那大学);Faculty of Computer and Information Science(计算机与信息科学学院);Intel(英特尔公司)

Blaž Rolih, Dick Ameln, Ashwin Vaidya, Samet Akcay

AI总结:

本文提出分块集成方法,将高分辨率图像划分为重叠图块并分别训练模型,在不修改底层架构的情况下降低GPU内存消耗,并在MVTec和VisA数据集上显著提升多种异常检测模型的性能。

摘要:

工业异常检测是计算机视觉中的一项重要任务,具有广泛的实际应用场景。在许多真实世界数据集中,异常区域尺寸较小,因此需要以高分辨率处理图像。这在模型训练和推理阶段经常对内存消耗构成重大挑战,使得一些现有方法难以被广泛采用。为了克服这一挑战,我们提出了分块集成方法,该方法通过将输入图像划分为网格状图块,并为每个图块位置训练一个专用模型来降低内存消耗。该分块集成方法与任何现有异常检测模型兼容,无需修改底层架构。通过引入重叠图块,我们利用了传统堆叠集成的优势,从而在单纯提高分辨率之外进一步提升了异常检测能力。我们使用多种底层架构(包括 Padim、PatchCore、FastFlow 和 Reverse Distillation)在两个标准异常检测数据集 MVTec 和 VisA 上进行了全面分析。我们的方法在各种设置下均表现出显著改进,同时保持在 GPU 内存限制之内,仅消耗与单个模型处理单个图块所需相同的 GPU 内存。

英文摘要:

Industrial anomaly detection is an important task within computer vision with a wide range of practical use cases. The small size of anomalous regions in many real-world datasets necessitates processing the images at a high resolution. This frequently poses significant challenges concerning memory consumption during the model training and inference stages, leaving some existing methods impractical for widespread adoption. To overcome this challenge, we present the tiled ensemble approach, which reduces memory consumption by dividing the input images into a grid of tiles and training a dedicated model for each tile location. The tiled ensemble is compatible with any existing anomaly detection model without the need for any modification of the underlying architecture. By introducing overlapping tiles, we utilize the benefits of traditional stacking ensembles, leading to further improvements in anomaly detection capabilities beyond high resolution alone. We perform a comprehensive analysis using diverse underlying architectures, including Padim, PatchCore, FastFlow, and Reverse Distillation, on two standard anomaly detection datasets: MVTec and VisA. Our method demonstrates a notable improvement across setups while remaining within GPU memory constraints, consuming only as much GPU memory as a single model needs to process a single tile.

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

↑