arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2512.15319cs.CV
收藏

基于原型学习的上下文感知分割网络用于少样本异常检测

Prototypical Learning Guided Context-Aware Segmentation Network for Few-Shot Anomaly Detection

Huazhong University of Science and Technology(华中科技大学)

Yuxin Jiang, Yunkang Cao, Weiming Shen

AI总结:

PCSNet通过原型学习和上下文感知分割网络,提升少样本异常检测性能,在8-shot场景下实现94.9%和80.2%的AUROC。

摘要:

少样本异常检测(FSAD)指的是在目标类别中仅使用少量正常样本来识别异常。现有FSAD方法大多依赖于预训练的特征表示来检测异常,但预训练表示与目标FSAD场景之间的固有领域差距往往被忽视。本研究提出了一种基于原型学习的上下文感知分割网络(PCSNet),以解决这一领域差距,从而提高目标场景中的特征描述性并提升FSAD性能。具体而言,PCSNet包含一个原型特征适应(PFA)子网络和一个上下文感知分割(CAS)子网络。PFA提取原型特征作为指导,以确保正常数据更好的特征紧凑性,同时与异常数据有明显区分。还设计了像素级差异分类损失,使细微异常更易于区分。然后引入CAS子网络进行像素级异常定位,其中伪异常被用来促进训练过程。在MVTec和MPDD上的实验结果表明,PCSNet在8-shot场景下分别达到了94.9%和80.2%的图像级AUROC,表现出优越的FSAD性能。在汽车塑料部件检测等实际应用中,进一步证明PCSNet在有限训练样本下能够取得令人满意的结果。代码可在https://github.com/yuxin-jiang/PCSNet上获得。

英文摘要:

Few-shot anomaly detection (FSAD) denotes the identification of anomalies within a target category with a limited number of normal samples. Existing FSAD methods largely rely on pre-trained feature representations to detect anomalies, but the inherent domain gap between pre-trained representations and target FSAD scenarios is often overlooked. This study proposes a Prototypical Learning Guided Context-Aware Segmentation Network (PCSNet) to address the domain gap, thereby improving feature descriptiveness in target scenarios and enhancing FSAD performance. In particular, PCSNet comprises a prototypical feature adaption (PFA) sub-network and a context-aware segmentation (CAS) sub-network. PFA extracts prototypical features as guidance to ensure better feature compactness for normal data while distinct separation from anomalies. A pixel-level disparity classification loss is also designed to make subtle anomalies more distinguishable. Then a CAS sub-network is introduced for pixel-level anomaly localization, where pseudo anomalies are exploited to facilitate the training process. Experimental results on MVTec and MPDD demonstrate the superior FSAD performance of PCSNet, with 94.9% and 80.2% image-level AUROC in an 8-shot scenario, respectively. Real-world applications on automotive plastic part inspection further demonstrate that PCSNet can achieve promising results with limited training samples. Code is available at https://github.com/yuxin-jiang/PCSNet.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑