{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/industrial-anomaly-detection-with-domain","title":"Industrial Anomaly Detection with Domain Shift: A Real-world Dataset and Masked Multi-scale Reconstruction","arxiv_id":"2304.02216","date":"2023-04-05","proceeding":null,"authors":["Zilong Zhang","Zhibin Zhao","Xingwu Zhang","Chuang Sun","Xuefeng Chen"],"abstract":"Industrial anomaly detection (IAD) is crucial for automating industrial quality inspection. The diversity of the datasets is the foundation for developing comprehensive IAD algorithms. Existing IAD datasets focus on the diversity of data categories, overlooking the diversity of domains within the same data category. In this paper, to bridge this gap, we propose the Aero-engine Blade Anomaly Detection (AeBAD) dataset, consisting of two sub-datasets: the single-blade dataset and the video anomaly detection dataset of blades. Compared to existing datasets, AeBAD has the following two characteristics: 1.) The target samples are not aligned and at different scales. 2.) There is a domain shift between the distribution of normal samples in the test set and the training set, where the domain shifts are mainly caused by the changes in illumination and view. Based on this dataset, we observe that current state-of-the-art (SOTA) IAD methods exhibit limitations when the domain of normal samples in the test set undergoes a shift. To address this issue, we propose a novel method called masked multi-scale reconstruction (MMR), which enhances the model's capacity to deduce causality among patches in normal samples by a masked reconstruction task. MMR achieves superior performance compared to SOTA methods on the AeBAD dataset. Furthermore, MMR achieves competitive performance with SOTA methods to detect the anomalies of different types on the MVTec AD dataset. Code and dataset are available at https://github.com/zhangzilongc/MMR.","url_abs":"https://arxiv.org/abs/2304.02216v2","url_pdf":"https://arxiv.org/pdf/2304.02216v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"industrial-anomaly-detection-with-domain","repo_url":"https://github.com/zhangzilongc/MMR","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"anomaly-detection","task_name":"Anomaly Detection"},{"task_slug":"diversity","task_name":"Diversity"},{"task_slug":"video-anomaly-detection","task_name":"Video Anomaly Detection"}],"methods":[{"method_slug":"mae","method_name":"MAE"},{"method_slug":"test","method_name":"Test"}],"datasets_introduced":[{"slug":"aebad","name":"AeBAD","full_name":"Aero-engine Blade Anomaly Detection Dataset"}],"methods_introduced":[],"results":[{"leaderboard":"/sota/anomaly-detection-on-aebad-s","task":"Anomaly Detection","dataset":"AeBAD-S","model":"MMR","rank_in_archive_order":2,"of":8,"metrics":{"Detection AUROC":"84.7","Segmentation AUPRO":"89.1"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-aebad-v","task":"Anomaly Detection","dataset":"AeBAD-V","model":"MMR","rank_in_archive_order":1,"of":7,"metrics":{"Detection AUROC":"78.2"},"uses_additional_data":false},{"leaderboard":"/sota/anomaly-detection-on-mvtec-ad","task":"Anomaly Detection","dataset":"MVTec AD","model":"MMR","rank_in_archive_order":58,"of":148,"metrics":{"Detection AUROC":"98.4","Segmentation AUPRO":"92.6","Segmentation AUROC":"97.2"},"uses_additional_data":false}],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2304.02216","mcp":null,"developers":"https://syntology.ai/developers"},"arxiv_metadata":null,"syntology_extracted_results":null}