Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
129 tokens/sec
GPT-4o
28 tokens/sec
Gemini 2.5 Pro Pro
42 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Divide and Conquer: High-Resolution Industrial Anomaly Detection via Memory Efficient Tiled Ensemble (2403.04932v2)

Published 7 Mar 2024 in cs.CV

Abstract: 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.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (46)
  1. Autoencoders Without Reconstruction for Textural Anomaly Detection. In 2021 International Joint Conference on Neural Networks (IJCNN), pages 1–8. IEEE, 2021.
  2. Anomalib: A Deep Learning Library for Anomaly Detection. In 2022 IEEE International Conference on Image Processing (ICIP), pages 1706–1710. IEEE, 2022.
  3. PNI: Industrial Anomaly Detection Using Position and Neighborhood Information. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 6373–6383, 2023.
  4. EfficientAD: Accurate Visual Anomaly Detection at Millisecond-Level Latencies. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 128–138, 2024.
  5. Improving Unsupervised Defect Segmentation By Applying Structural Similarity to Autoencoders. ArXiv, abs/1807.02011, 2018.
  6. Mvtec AD–A Comprehensive Real-World Dataset for Unsupervised Anomaly Detection. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 9592–9600, 2019.
  7. Uninformed Students: Student-Teacher Anomaly Detection With Discriminative Latent Embeddings. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 4183–4192, 2020.
  8. Beyond Dents and Scratches: Logical Constraints in Unsupervised Anomaly Detection and Localization. International Journal of Computer Vision, 130(4):947–969, 2022.
  9. Ensemble Deep Learning in Bioinformatics. Nature Machine Intelligence, 2(9):500–508, 2020.
  10. Deep One-Class Classification via Interpolated Gaussian Descriptor. In Proceedings of the AAAI Conference on Artificial Intelligence, pages 383–392, 2022.
  11. Padim: A Patch Distribution Modeling Framework for Anomaly Detection and Localization. In International Conference on Pattern Recognition, pages 475–489. Springer, 2021.
  12. Anomaly Detection via Reverse Distillation From One-Class Embedding. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 9737–9746, 2022.
  13. Attention Modules Improve Image-Level Anomaly Detection for Industrial Inspection: A Differnet Case Study. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 8246–8255, 2024.
  14. TransFusion–A Transparency-Based Diffusion Model for Anomaly Detection. arXiv preprint arXiv:2311.09999, 2023.
  15. Ensemble Deep Learning: A Review. Engineering Applications of Artificial Intelligence, 115:105151, 2022.
  16. Cflow-AD: Real-Time Unsupervised Anomaly Detection With Localization via Conditional Normalizing Flows. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 98–107, 2022.
  17. Learning Transferable Representations for Image Anomaly Localization Using Dense Pretraining. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 1113–1122, 2024.
  18. Feature Selection for Unsupervised Anomaly Detection and Localization Using Synthetic Defects. In Proceedings of the 19th International Joint Conference on Computer Vision, Imaging and Computer Graphics Theory and Applications - Volume 3: VISAPP, pages 154–165. INSTICC, SciTePress, 2024.
  19. Exploring the Importance of Pretrained Feature Extractors for Unsupervised Anomaly Detection and Localization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 2916–2925, 2023.
  20. An Efficient and Robust Unsupervised Anomaly Detection Method Using Ensemble Random Projection in Surveillance Videos. Sensors, 19(19):4145, 2019.
  21. ReConPatch: Contrastive Patch Representation Learning for Industrial Anomaly Detection. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 2052–2061, 2024.
  22. Memory-Efficient and Gpu-Oriented Visual Anomaly Detection With Incremental Dimension Reduction. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 2907–2915, 2023.
  23. Cutpaste: Self-Supervised Learning for Anomaly Detection and Localization. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 9664–9674, 2021.
  24. Simplenet: A Simple Network for Image Anomaly Detection and Localization. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 20402–20411, 2023.
  25. Creating An Atlas of Normal Tissue for Pruning Wsi Patching Through Anomaly Detection. Scientific Reports, 14(3932), 2024.
  26. Fastano: Fast Anomaly Detection via Spatio-Temporal Patch Transformation. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 2249–2259, 2022.
  27. Less is More: Building Selective Anomaly Ensembles. ACM Trans. Knowl. Discov. Data, 10(4), 2016.
  28. Self-Supervised Predictive Convolutional Attentive Block for Anomaly Detection. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 13576–13586, 2022.
  29. Towards Total Recall in Industrial Anomaly Detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 14318–14328, 2022.
  30. Fully Convolutional Cross-Scale-Flows for Image-Based Defect Detection. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 1088–1097, 2022.
  31. Asymmetric Student-Teacher Networks for Industrial Anomaly Detection. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 2592–2602, 2023.
  32. Crowd Anomaly Detection Using Aggregation of Ensembles of Fine-Tuned Convnets. Neurocomputing, 371:188–198, 2020.
  33. Learning and Evaluating Representations for Deep One-Class Classification. In International Conference on Learning Representations, 2021.
  34. Deep Neural Network Models for Computational Histopathology: A Survey. Medical Image Analysis, 67:101813, 2021.
  35. Multi-Scale Patch-Based Representation Learning for Image Anomaly Detection and Segmentation. In Proceedings of the IEEE/CVF Winter Conference on Applications of Computer Vision, pages 3992–4000, 2022.
  36. Student-Teacher Feature Pyramid Matching for Anomaly Detection. In The British Machine Vision Conference (BMVC), 2021.
  37. Unilaterally Aggregated Contrastive Learning With Hierarchical Augmentation for Anomaly Detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 6888–6897, 2023.
  38. Memseg: A Semi-Supervised Method for Image Surface Defect Detection Using Differences and Commonalities. Engineering Applications of Artificial Intelligence, 119:105835, 2023.
  39. Patch Svdd: Patch-Level Svdd for Anomaly Detection and Segmentation. In Proceedings of the Asian conference on computer vision, 2020.
  40. Fastflow: Unsupervised Anomaly Detection and Localization via 2D Normalizing Flows. arXiv preprint arXiv:2111.07677, 2021.
  41. IBaggedFCNet: An Ensemble Framework for Anomaly Detection in Surveillance Videos. IEEE Access, 8:220620–220630, 2020.
  42. Draem-a Discriminatively Trained Reconstruction Embedding for Surface Anomaly Detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 8330–8339, 2021a.
  43. Reconstruction By Inpainting for Visual Anomaly Detection. Pattern Recognition, 112:107706, 2021b.
  44. DSR–A Dual Subspace Re-Projection Network for Surface Anomaly Detection. In European conference on computer vision, pages 539–554. Springer, 2022.
  45. Destseg: Segmentation Guided Denoising Student-Teacher for Anomaly Detection. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3914–3923, 2023.
  46. SPot-the-Difference Self-Supervised Pre-Training for Anomaly Detection and Segmentation. In European Conference on Computer Vision, pages 392–408. Springer, 2022.

Summary

We haven't generated a summary for this paper yet.