Adaptive Dual-Attention DenseNet for Object-Aware Two-Stage Industrial Defect Detection.

IF 1.2 4区 综合性期刊 Q3 MULTIDISCIPLINARY SCIENCES
Jiandong Liu, Lina Qi
{"title":"Adaptive Dual-Attention DenseNet for Object-Aware Two-Stage Industrial Defect Detection.","authors":"Jiandong Liu, Lina Qi","doi":"10.3791/73920","DOIUrl":null,"url":null,"abstract":"<p><p>Industrial visual anomaly detection is crucial in intelligent manufacturing to achieve automated quality inspection with low dependency on manual inspection. Nevertheless, traditional single-stage deep learning methods struggle to detect both object classes and fine-grained anomalies across various industrial products. Furthermore, most existing channel attention mechanisms rely on a single attention type, limiting their ability to capture both global contextual information and local channel dependencies. In this paper, we present an Adaptive Dual-Attention Network (ADA-Net) for high-shot, two-stage, supervised industrial anomaly detection. The framework has a hierarchical architecture of two consecutive stages - Stage I for multi-class object classification and Stage II for binary object anomaly detection. The backbone network for feature extraction in both stages is pretrained DenseNet121. We provide an Adaptive Dual-Attention (ADA) module that uses a globally learned scalar fusion coefficient to combine Efficient Channel Attention (ECA) and Squeeze-and-Excitation (SE) representations for improved feature representation. ADA-Net is tested on the VisA dataset using the conventional 2cls_highshot supervised setup. It employs the weighted cross-entropy loss function, adaptive learning-rate scheduling, and early stopping in training. Experiment results show that our proposed ADA-Net can reach 100% Accuracy, Recall, Precision, ROC-AUC, F1-score, Cohen's Kappa, and MCC in Stage I, and Stage II results include 97.11% Accuracy, 92.84% Precision, 92.45% Recall, 92.64% F1-score, 98.00% ROC-AUC, 0.8529 MCC, and 0.8529 Cohen's Kappa. Ablation experiments and qualitative Grad-CAM analysis support the validity and explainability of the suggested framework on the evaluated VisA benchmark.</p>","PeriodicalId":48787,"journal":{"name":"Jove-Journal of Visualized Experiments","volume":" 236","pages":""},"PeriodicalIF":1.2000,"publicationDate":"2026-10-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Jove-Journal of Visualized Experiments","FirstCategoryId":"103","ListUrlMain":"https://doi.org/10.3791/73920","RegionNum":4,"RegionCategory":"综合性期刊","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"MULTIDISCIPLINARY SCIENCES","Score":null,"Total":0}
引用次数: 0

Abstract

Industrial visual anomaly detection is crucial in intelligent manufacturing to achieve automated quality inspection with low dependency on manual inspection. Nevertheless, traditional single-stage deep learning methods struggle to detect both object classes and fine-grained anomalies across various industrial products. Furthermore, most existing channel attention mechanisms rely on a single attention type, limiting their ability to capture both global contextual information and local channel dependencies. In this paper, we present an Adaptive Dual-Attention Network (ADA-Net) for high-shot, two-stage, supervised industrial anomaly detection. The framework has a hierarchical architecture of two consecutive stages - Stage I for multi-class object classification and Stage II for binary object anomaly detection. The backbone network for feature extraction in both stages is pretrained DenseNet121. We provide an Adaptive Dual-Attention (ADA) module that uses a globally learned scalar fusion coefficient to combine Efficient Channel Attention (ECA) and Squeeze-and-Excitation (SE) representations for improved feature representation. ADA-Net is tested on the VisA dataset using the conventional 2cls_highshot supervised setup. It employs the weighted cross-entropy loss function, adaptive learning-rate scheduling, and early stopping in training. Experiment results show that our proposed ADA-Net can reach 100% Accuracy, Recall, Precision, ROC-AUC, F1-score, Cohen's Kappa, and MCC in Stage I, and Stage II results include 97.11% Accuracy, 92.84% Precision, 92.45% Recall, 92.64% F1-score, 98.00% ROC-AUC, 0.8529 MCC, and 0.8529 Cohen's Kappa. Ablation experiments and qualitative Grad-CAM analysis support the validity and explainability of the suggested framework on the evaluated VisA benchmark.

对象感知两阶段工业缺陷检测的自适应双注意密度网络。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Jove-Journal of Visualized Experiments
Jove-Journal of Visualized Experiments MULTIDISCIPLINARY SCIENCES-
CiteScore
2.10
自引率
0.00%
发文量
992
期刊介绍: JoVE, the Journal of Visualized Experiments, is the world''s first peer reviewed scientific video journal. Established in 2006, JoVE is devoted to publishing scientific research in a visual format to help researchers overcome two of the biggest challenges facing the scientific research community today; poor reproducibility and the time and labor intensive nature of learning new experimental techniques.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书