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

文字重要吗?文本对少样本和全样本视觉-语言异常检测的贡献是什么

Do Words Matter? What Text Contributes to Few and Full-Shot Vision-Language Anomaly Detection

ETH Zurich(苏黎世联邦理工学院);University of St. Gallen(圣加仑大学)

Arda Baris Basaran, Mesut Ceylan, Elgar Fleisch, Filipe Barata

AI总结:

该研究探究视觉-语言异常检测中文字的作用,发现少样本和全样本设置下,检测器仅读取文本锚点的尺度与排列,而非语义内容,旋转锚点可提升性能。

摘要:

视觉-语言异常检测器通过文本描述正常与异常外观,其性能提升通常被归因于这些描述的语义内容。这种归因在零样本设置下是合理的,但少样本和全样本检测器插入了训练过的视觉适配器,在该设置下尚未对其进行分离。更改描述会同时改变其含义和几何结构,因此准确率比较无法将两者分开。我们询问固定的一对文本嵌入(或锚点)对这类检测器有什么贡献:语义内容、有效尺度还是联合锚点几何结构。对于单个锚点对,答案仅为有效尺度。分数仅通过锚点的差值读取,训练过的适配器可以旋转以跟随任何替换方向,使得该方向以及语言内容无法识别。我们证明,具有相同差值向量长度的替换锚点允许完全相同的概率图和可达到的损失。在七个医学数据集、三个视觉骨干网络、两种监督设置以及三个适配器类别中,尺度匹配的随机和正交锚点与正确提示轨迹一致;打破尺度匹配会产生差距,恢复尺度匹配后无需文本即可消除该差距。相同模式在MVFA中成立,且当MadCLIP的学习提示被无文本的学习尺度替换时也成立。当一个适配器服务于多个类别时,答案扩展为它们的联合排列。如预测,一起旋转所有类别轴不会改变任何内容。对于测试的CLIP提示,这些轴几乎共线,而无意义的旋转将它们分开可提高工业基准上的性能。即使在冻结的零样本迁移下,随机锚点框架也能像提示框架一样迁移:是坐标一致性,而非意义。这些检测器从其提示中读取的是尺度和排列,而非语义内容。

英文摘要:

Vision-language anomaly detectors describe normal and abnormal appearance with text, and their gains are commonly credited to the semantic content of these descriptions. This attribution is plausible in the zero-shot setting, but few- and full-shot detectors interpose a trained visual adapter, and in that setting it has not been isolated. Changing a description changes both its meaning and its geometry, so accuracy comparisons cannot separate the two. We ask what a fixed pair of text embeddings, or anchors, contributes to such a detector: semantic content, effective scale, or joint anchor geometry. For a single anchor pair, the answer is effective scale alone. The score reads the anchors only through their difference, and a trained adapter can rotate to follow any replacement direction, leaving that direction, and with it the linguistic content, unidentifiable. We prove that replacement anchors with the same difference-vector length permit exactly the same probability maps and attainable losses. Across seven medical datasets, three vision backbones, both supervision regimes, and three adapter families, scale-matched random and orthogonal anchors track correct prompts; breaking the scale match opens a gap that restoring it closes without text. The same pattern holds in MVFA and when MadCLIP's learned prompts are replaced by a text-free learned scale. When one adapter serves many categories, the answer expands to their joint arrangement. Rotating all category axes together changes nothing, as predicted. For the tested CLIP prompts, these axes are nearly collinear, and meaning-free rotations that spread them apart improve performance on both industrial benchmarks. Even under frozen zero-shot transfer, a random anchor frame transfers as well as the prompt frame: coordinate consistency, not meaning. What these detectors read from their prompts is scale and arrangement, not semantic content.

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

↑