InCTRLv2用少量正常样本实现跨数据集异常检测与分割,性能领先。
InCTRLv2: Generalist Residual Models for Few-Shot Anomaly Detection and Segmentation
- 双分支架构:分别从正负样本和仅正常样本学习异常判别与正常模式
- 在10个数据集上达到当前最优,少样本下仍保持高精度
- 适合需要快速部署到新场景的工业异常检测应用
尽管近期异常检测方法在特定领域识别异常模式方面取得显著进展,但多数模型为专用模型,需在特定目标数据集的大规模正常样本上训练,难以泛化至未见数据集。为此,近年兴起通用异常检测(GAD)范式,旨在训练单一通用模型,在无需重训的前提下实现跨领域异常检测。本文提出InCTRLv2,一种新型少样本通用异常检测与分割(GADS)框架,显著扩展了先前提出的GAD模型InCTRL。基于利用少量正常样本学习上下文残差以检测异常的思想,InCTRLv2引入两个互补的异常感知视角:一是主干分支中结合正常与异常数据的判别性异常得分学习(DASL),学习语义引导的异常与正常空间,支持从异常性和正常性双角度分类查询样本;二是辅助分支中仅使用正常数据的一类异常得分学习(OASL),通过大规模视觉-语言模型编码的丰富视觉-文本语义先验,在语义空间中学习泛化的正常模式,专注于仅从正常性角度检测异常。两个分支共同提供双重语义视角:一个强调正常-异常区分,另一个强调偏离正常语义。在10个异常检测数据集上的大量实验表明,InCTRLv2在各类设置下的异常检测与分割任务中均达到最先进的性能。
原文摘要 · Abstract (English)
While recent anomaly detection (AD) methods have made substantial progress in recognizing abnormal patterns within specific domains, most of them are specialist models that are trained on large training samples from a specific target dataset, struggling to generalize to unseen datasets. To address this limitation, the paradigm of Generalist Anomaly Detection (GAD) has emerged in recent years, aiming to learn a single generalist model to detect anomalies across diverse domains without retraining. To this end, this work introduces InCTRLv2, a novel few-shot Generalist Anomaly Detection and Segmentation (GADS) framework that significantly extends our previously proposed GAD model, InCTRL. Building on the idea of learning in-context residuals with few-shot normal examples to detect anomalies as in InCTRL, InCTRLv2 introduces two new, complementary perspectives of anomaly perception under a dual-branch framework. This is accomplished by two novel modules upon InCTRL: i) Discriminative Anomaly Score Learning (DASL) with both normal and abnormal data in the main branch, which learns a semantic-guided abnormality and normality space that supports the classification of query samples from both the abnormality and normality perspectives; and ii) One-class Anomaly Score Learning (OASL) using only the normal data, which learns generalized normality patterns in a semantic space via an auxiliary branch, focusing on detecting anomalies through the lens of normality solely. Both branches are guided by rich visual-text semantic priors encoded by large-scale vision-language models. Together, they offer a dual semantic perspective for AD: one emphasizes normal-abnormal discriminations, while the other emphasizes normality-deviated semantics. Extensive experiments on ten AD datasets demonstrate that InCTRLv2 achieves SotA performance in both anomaly detection and segmentation tasks across various settings.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。