arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.39727cs.CV
收藏

用于零样本异常检测的交叉编码器锚点优化

Cross-Encoder Anchor Refinement for Zero-Shot Anomaly Detection

Huazhong University of Science and Technology(华中科技大学);New York University(纽约大学)

Kaisong Ji, Ziyang Xu, Chang Bian, Yu Zhou, Wenyu Liu, Xinggang Wang

AI总结:

本文提出CEAR方法,通过交叉编码器交互整合互补视觉表示,在13个工业与医学数据集的68项评估中57项最优,像素级表现显著优于SOTA,实现零样本异常检测的细粒度定位。

摘要:

零样本异常检测旨在将异常判别能力从辅助训练域迁移至未见过的类别,同时定位细微缺陷。其核心挑战在于构建兼具上下文表示与互补局部证据的判别性参考。本文提出交叉编码器锚点优化(Cross-Encoder Anchor Refinement, CEAR),在构建正常与异常原型前,于锚点阶段连接同一图像的两条视觉编码路径:一条为预训练用于工业产品识别的独立卷积编码器,构建跨选定视觉Transformer(ViT)层共享的图像专属记忆;从ViT patch特征读取的空间锚点通过交叉注意力查询该记忆并经残差优化;图像条件的正常与异常查询随后门控锚点聚合,构建用于异常评分的原型。在13个工业与医学数据集上,CEAR在涵盖图像级检测与像素级定位的68项评估中,57项取得最优性能;尤其在44项像素级比较中,CEAR超越所有其他SOTA方法;在11个定位数据集上,像素级最大F1分数与平均精度的平均提升分别为4.45和3.79个百分点。本研究表明,锚点阶段的交叉编码器交互可整合互补视觉表示,实现跨域细粒度异常定位。

英文摘要:

Zero-shot anomaly detection aims to transfer anomaly discrimination from auxiliary training domains to unseen categories while localizing subtle defects. A key challenge is to construct discriminative references that combine contextual representations with complementary local evidence. We present Cross-Encoder Anchor Refinement (CEAR), which connects two visual encoding paths for the same image at the anchor stage, before normal and anomalous prototypes are constructed. An independent convolutional encoder pretrained for industrial product recognition builds an image-specific memory shared across selected vision transformer (ViT) layers. Spatial anchors read from ViT patch features query this memory through cross-attention and undergo residual refinement. Image-conditioned normal and anomalous queries then gate anchor aggregation to construct prototypes for anomaly scoring. Across 13 industrial and medical datasets, CEAR achieves the best performance in 57 of 68 evaluations spanning image-level detection and pixel-level localization. Notably, CEAR surpasses all other state-of-the-art methods in 41 of 44 pixel-level comparisons. Across 11 localization datasets, mean gains in pixel-level maximum F1 score and average precision are 4.45 and 3.79 percentage points, respectively. This study shows how cross-encoder interaction at the anchor stage can integrate complementary visual representations for fine-grained anomaly localization across domains.

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

↑