PatchFlow: Leveraging a Flow-Based Model with Patch Features
Boxiang Zhang, Baijian Yang, Xiaoming Wang, Corey Vian

TL;DR
PatchFlow introduces a flow-based model utilizing patch features and an adapter to improve automated defect detection in industrial images, significantly reducing error rates and enhancing accuracy without requiring anomalous training data.
Contribution
The paper presents a novel flow-based anomaly detection method combining patch features and an adapter, tailored for industrial defect detection, outperforming existing state-of-the-art approaches.
Findings
20% error reduction on MVTec AD dataset
Achieved 99.28% image-level AUROC on MVTec AD
Proprietary die casting dataset accuracy of 95.77%
Abstract
Die casting plays a crucial role across various industries due to its ability to craft intricate shapes with high precision and smooth surfaces. However, surface defects remain a major issue that impedes die casting quality control. Recently, computer vision techniques have been explored to automate and improve defect detection. In this work, we combine local neighbor-aware patch features with a normalizing flow model and bridge the gap between the generic pretrained feature extractor and industrial product images by introducing an adapter module to increase the efficiency and accuracy of automated anomaly detection. Compared to state-of-the-art methods, our approach reduces the error rate by 20\% on the MVTec AD dataset, achieving an image-level AUROC of 99.28\%. Our approach has also enhanced performance on the VisA dataset , achieving an image-level AUROC of 96.48\%. Compared to the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Neural Network Applications · Industrial Vision Systems and Defect Detection · Anomaly Detection Techniques and Applications
