Beyond Cosine Similarity: Uncovering Anomaly Information in CLIP's Raw Embedding Geometry
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:28 UTC · fa9ab1e19af2 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "JjV1N6qQ5q"- }- ],- "title": "Beyond Cosine Similarity: Uncovering Anomaly Information in CLIP's Raw Embedding Geometry",- "authors": [],- "abstract": "Extensive experiments following the image-text cosine similarity pre-training paradigm of Contrastive Language-Image Pre-training (CLIP) indicate that CLIP excels at image classification rather than fine-grained anomaly detection; consequently, a prevailing consensus holds that CLIP is anomaly-agnostic. Existing studies have concentrated on downstream training to better adapt CLIP for anomaly detection tasks; in other words, image-text cosine similarity is the computational foundation underlying CLIP-based anomaly detection. \nIn this paper, we investigate the directional information about anomalies in CLIP's raw embedding space and the limitations of cosine similarity with the idea of computing geodesics distance for anomaly shifts. We investigate the raw representation of CLIP and find that anomaly information is already encapsulated in CLIP's raw embedding space, which is mainly formed by class-dependent directional variation. \nThe key reason why CLIP cannot recognize the normality/abnormality in images is that the now-ubiquitous cosine similarity ignores the anisotropy of the normal/abnormal distribution. We demonstrate this through controlled geometric analysis, and use a top-down statistical method as the simplest parameter-free update to uncover the latent anomaly information, making this process interpretable. \nIn extensive experiments, CLIP's latent anomaly information substantially improves AD performance over image-text cosine similarity.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "61e48392-0298-49eb-9937-edb2836bd3e4"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "Beyond Cosine Similarity: Uncovering Anomaly Information in CLIP's Raw Embedding Geometry",+ "authors": [],+ "abstract": "Extensive experiments following the image-text cosine similarity pre-training paradigm of Contrastive Language-Image Pre-training (CLIP) indicate that CLIP excels at image classification rather than fine-grained anomaly detection; consequently, a prevailing consensus holds that CLIP is anomaly-agnostic. Existing studies have concentrated on downstream training to better adapt CLIP for anomaly detection tasks; in other words, image-text cosine similarity is the computational foundation underlying CLIP-based anomaly detection. \nIn this paper, we investigate the directional information about anomalies in CLIP's raw embedding space and the limitations of cosine similarity with the idea of computing geodesics distance for anomaly shifts. We investigate the raw representation of CLIP and find that anomaly information is already encapsulated in CLIP's raw embedding space, which is mainly formed by class-dependent directional variation. \nThe key reason why CLIP cannot recognize the normality/abnormality in images is that the now-ubiquitous cosine similarity ignores the anisotropy of the normal/abnormal distribution. We demonstrate this through controlled geometric analysis, and use a top-down statistical method as the simplest parameter-free update to uncover the latent anomaly information, making this process interpretable. \nIn extensive experiments, CLIP's latent anomaly information substantially improves AD performance over image-text cosine similarity.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}