统一检测工业视觉中的结构与逻辑异常,无需额外训练。
UniSLAD: A Unified Framework for Structural and Logical Industrial Visual Anomaly Detection

- 融合CNN与Transformer,提取局部纹理与全局上下文特征
- 在两个工业数据集上分别达到99.4%和93.1%的检测准确率
- 适合动态工业环境,支持结构与逻辑异常联合检测
视觉异常检测是工业自动化中的基础任务。现有方法在识别结构缺陷方面取得显著进展,但对逻辑异常的检测仍相对不足。实际生产中,结构与逻辑异常常同时出现。为此,本文提出统一框架UniSLAD,无需额外训练即可联合检测两类异常,适用于动态工业环境。首先,设计双特征提取器,结合卷积神经网络(CNN)的局部纹理感知能力与Transformer的全局上下文推理能力,生成更丰富表示。在此基础上,构建双粒度特征表示模块:在块级,采用马氏变换(MT)增强的记忆库保留代表性特征,提升异常评分判别性;在图像级,通过下界-上界均值(LUM)与幂均池化(PMP)聚合分布图,获得比传统平均池化更鲁棒的全局表示。在两个工业基准数据集上的大量实验表明,UniSLAD在综合异常检测任务中表现优异,准确率分别为99.4%和93.1%。消融实验证明各组件独立贡献有效。
原文摘要 · Abstract (English)
Visual anomaly detection is a fundamental task in industrial automation. While existing approaches have achieved notable progress in identifying structural defects, the detection of logical anomalies remains relatively underexplored. In practice, structural and logical anomalies frequently co-occur in industrial workflows. Therefore, a solution capable of detecting both structural and logical anomalies is crucial for advancing comprehensive anomaly detection research. To address this limitation, we propose a unified framework, termed UniSLAD, which jointly addresses logical and structural anomalies without additional training, enabling a practical solution for dynamic industrial environments. First, we introduce a dual-feature extractor that synergistically integrates a Convolutional Neural Network (CNN) backbone for local texture perception with a Transformer backbone for global contextual reasoning, yielding richer and more comprehensive representations. Building on this foundation, we design dual-granularity feature representation modules. At the patch level, memory banks enhanced by the Mahalanobis Transform (MT) preserve representative features and support more discriminative anomaly scoring. At the image level, distribution maps are aggregated using Lower-Upper Mean (LUM) and Power Mean Pooling (PMP), yielding a more robust global representation than conventional average pooling. Extensive experiments on the two industrial benchmarks demonstrate that UniSLAD achieves competitive performance in comprehensive anomaly detection, achieving 99.4% and 93.1%, respectively. Furthermore, ablation studies verify the individual contributions and effectiveness of each proposed component.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。