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

当视觉适应侵蚀文本锚点:用于零样本异常检测的跨模型锚点共享

When Visual Adaptation Erodes Text Anchors: Cross-Model Anchor Sharing for Zero-Shot Anomaly Detection

Nanyang Technological University(南洋理工大学);Huazhong University of Science and Technology(华中科技大学)

Wenyang Liu, Yuanming Zhang, Tianyi Liu, Kejun Wu, Adams Wai-Kin Kong

AI总结:

提出CoMAS跨模型锚点共享框架,解决视觉适应导致的锚点侵蚀问题,在15个工业和医学数据集的9个检测、11个定位基准中取得优于CLIP相关方法的异常检测性能。

摘要:

零样本异常检测(ZSAD)旨在无需目标域训练即可检测未见类别中的异常。基于CLIP的方法学习正常与异常文本锚点,而近期方法也会对视觉特征进行适应。我们发现,视觉适应会改变这些锚点的演化方式:锚点持续移动,但它们的分离度几乎没有增长,这与仅提示学习中的情况不同,我们将此现象称为锚点侵蚀。我们提出CoMAS,即跨模型锚点共享框架,其中两个互补解码器共享一对文本锚点。在共享锚点协同读取机制中,基于冻结DINO特征的轻量级结构解码器与适应后的CLIP解码器读取相同锚点,因此两个解码器均基于共同的正常-异常参考对图像块进行评分,且两个像素级损失均用于训练锚点,使锚点在视觉适应过程中仍保持分离。在CLIP分支中,DINO引导适配器将结构上下文注入适应后的特征,而跨模型残差生成则通过有界的、图像块特定的视觉残差校正其正常偏差。两张特征图被融合为最终的异常图。在15个工业和医学数据集上,CoMAS在所有9个检测基准中取得最佳图像级AUROC,在12个定位基准中的11个取得最佳PRO,优于对比的基于CLIP的方法。使用相同编码器的对照实验表明,共享锚点学习可提升跨域迁移能力,效果优于简单添加第二个编码器或增加锚点分离度。代码将在此https URL发布。

英文摘要:

Zero-shot anomaly detection (ZSAD) aims to detect anomalies in unseen categories without target-domain training. CLIP-based methods learn normal and abnormal text anchors, while recent approaches also adapt visual features. We find that visual adaptation changes how these anchors evolve: they continue to move, but their separation barely grows, unlike in prompt-only learning. We call this phenomenon anchor erosion. We propose CoMAS, a Cross-Model Anchor Sharing framework in which two complementary decoders share one pair of text anchors. In Shared-Anchor Co-Reading, a lightweight structural decoder on frozen DINO features reads the same anchors as the adapted CLIP decoder, so that both decoders score patches against a common normal-abnormal reference and both pixel-level losses train the anchors, which keep separating despite visual adaptation. On the CLIP branch, a DINO-Guided Adapter injects structural context into the adapted features, while Cross-Model Residual Generation corrects their normal bias through a bounded, patch-specific visual residual. The two maps are fused into the final anomaly map. Across 15 industrial and medical datasets, CoMAS achieves the best image-level AUROC on all nine detection benchmarks and the best PRO on 11 of 12 localization benchmarks among the compared CLIP-based methods. Controlled comparisons with the same encoders show that shared-anchor learning improves cross-domain transfer beyond simply adding a second encoder or increasing anchor separation. The code will be available at this https URL.

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

↑