arXiv:2504.19524cs.CV2025-04被引 12

无需标注掩码,用逻辑推理实现工业缺陷检测

LR-IAD:Mask-Free Industrial Anomaly Detection with Logical Reasoning

  • 引入动态奖励函数,优先学习稀有缺陷模式以解决数据不平衡
  • 基于思维链与策略优化的无掩码框架,检测准确率提升36%和16%
  • 输出可解释的分步推理过程,适合需要透明决策的制造质检场景

工业异常检测对保障产品质量至关重要。传统方法如特征嵌入和重建模型依赖大量数据,难以扩展;现有视觉语言模型和多模态大模型虽有改进,但需掩码标注,成本高且易误报。工业数据集MVTec-AD和VisA存在严重类别不平衡,缺陷样本仅占23.8%和11.1%。为此,我们设计动态奖励函数,在训练中优先关注罕见缺陷模式。提出无掩码推理框架,结合思维链(CoT)与组相对策略优化(GRPO),直接从原始图像进行检测,生成可解释的逐步推理过程。实验表明,该方法在MVTec-AD上准确率领先36%,在VisA上领先16%。通过消除掩码依赖、降低成本并提供可解释性输出,推动了工业异常检测的规模化应用。代码已公开于https://github.com/LilaKen/LR-IAD。

原文摘要 · Abstract (English)

Industrial Anomaly Detection (IAD) is critical for ensuring product quality by identifying defects. Traditional methods such as feature embedding and reconstruction-based approaches require large datasets and struggle with scalability. Existing vision-language models (VLMs) and Multimodal Large Language Models (MLLMs) address some limitations but rely on mask annotations, leading to high implementation costs and false positives. Additionally, industrial datasets like MVTec-AD and VisA suffer from severe class imbalance, with defect samples constituting only 23.8% and 11.1% of total data respectively. To address these challenges, we propose a reward function that dynamically prioritizes rare defect patterns during training to handle class imbalance. We also introduce a mask-free reasoning framework using Chain of Thought (CoT) and Group Relative Policy Optimization (GRPO) mechanisms, enabling anomaly detection directly from raw images without annotated masks. This approach generates interpretable step-by-step explanations for defect localization. Our method achieves state-of-the-art performance, outperforming prior approaches by 36% in accuracy on MVTec-AD and 16% on VisA. By eliminating mask dependency and reducing costs while providing explainable outputs, this work advances industrial anomaly detection and supports scalable quality control in manufacturing. Code to reproduce the experiment is available at https://github.com/LilaKen/LR-IAD.

工业检测无掩码可解释逻辑推理

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。