高泽铭,刘桂雄,陈国宇.家用燃气表外观缺陷的改进 ViT+FastFlow检测方法研究[J].电子测量与仪器学报,2023,37(10):89-96
家用燃气表外观缺陷的改进 ViT+FastFlow检测方法研究
Research on the improved ViT+FastFlow detection method forappearance defects of domestic gas meters
  
DOI:
中文关键词:  外观缺陷  无监督学习  Vision Transformer  标准化流
英文关键词:appearance defects  unsupervised learning  Vision Transformer  normalizing flow
基金项目:广东省市场监督管理局科技项目(2022CJ04)资助
作者单位
高泽铭 1. 华南理工大学机械与汽车工程学院 
刘桂雄 1. 华南理工大学机械与汽车工程学院 
陈国宇 2. 广州能源检测研究院 
AuthorInstitution
Gao Zeming 1. School of Mechanical and Automotive Engineering, South China University of Technology 
Liu Guixiong 1. School of Mechanical and Automotive Engineering, South China University of Technology 
Chen Guoyu 2. Guangzhou Institute of Energy Testing 
摘要点击次数: 743
全文下载次数: 606
中文摘要:
      外观质量是家用燃气表(DGM)国家强制检定项目之一,针对 DGM 外观质量检定中匮乏缺陷样本使基于有监督学习检 测方法难以泛化到实际应用场景问题,本文研究 DGM 外观缺陷无监督检测方法,引入 Vision Transformer ( ViT) 改进版 EfficientFormerV2-l 提取正常样本特征,融合底层和高层特征图,并通过二维标准化流 FastFlow 将正常特征图映射到标准高斯分 布,外观缺陷因离散落在分布以外使异常得分相比正常样本更高,通过设置自适应阈值识别并定位 DGM 外观缺陷。 实验采集 DGM 正常样本、真实缺陷样本、合成缺陷样本作为数据集并优化检测模型参数,优化后检测模型在图像级别指标 AUROC 达 99. 77%,在像素级别指标 AUPRO 达 96. 3%,每秒可检测 4 张以上 DGM 图像,表明本文方法能准确高效识别与定位 DGM 外观 缺陷。
英文摘要:
      Appearance quality is one of the national mandatory verification for domestic gas meters (DGM). In view of the lack of defect samples in the appearance quality verification of DGM, which makes the detection method based on supervised learning difficult to generalize to the actual application scenario. This paper studies the unsupervised detection method of DGM appearance defects. EfficientFormerV2-l, the improved Vision Transformer (ViT), is introduced to extract normal sample features, fuse the bottom and highlevel feature maps, and map the normal features to the standard Gaussian distribution using two-dimensional normalizing flow called FastFlow. The appearance defects are scattered outside the distribution so that the abnormal score is higher than the normal sample. By setting an adaptive threshold, the DGM appearance defects are identified and located. The experiment collects DGM normal samples, real defect samples, synthetic defect samples as data sets and optimizes the detection model parameters. The optimized detection model achieves 99. 77% AUROC at image level indicators, 96. 3% AUPRO at pixel level indicators, and can detect more than 4 DGM images per second, indicating that the method in this paper can accurately and efficiently identify and locate DGM appearance defects.
查看全文  查看/发表评论  下载PDF阅读器