mlsanityData to 7 Oct 2026

TokenCLIP: Token-wise Prompt Learning for Zero-shot Anomaly Detection

arXiv 2510.21171 ↗First posted 24 Oct 2025cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Adapting CLIP for anomaly detection on unseen objects has shown strong potential in a zero-shot manner. However, existing methods typically rely on a single textual space to align with visual semantics across diverse objects and domains. The indiscriminate alignment hinders the model from accurately capturing varied anomaly semantics. We propose TokenCLIP, a token-wise adaptation framework that enables dynamic alignment between visual and learnable textual spaces for fine-grained anomaly learning. Rather than mapping all visual tokens to a single, token-agnostic textual space, TokenCLIP aligns each token with a customized textual subspace that represents its visual characteristics. Explicitly assigning a unique learnable textual space to each token is computationally intractable and prone to insufficient optimization. We instead expand the token-agnostic textual space into a set of orthogonal subspaces, and then dynamically assign each token to a subspace combination guided by semantic affinity, which jointly supports customized and efficient token-wise adaptation. To this end, we formulate dynamic alignment as an optimal transport problem, where all visual tokens in an image are transported to textual subspaces based on semantic similarity. The transport constraints of OT ensure sufficient optimization across subspaces and encourage them to focus on different semantics. Solving the problem yields a transport plan that adaptively assigns each token to semantically relevant subspaces. A top-k masking is then applied to sparsify the plan and specialize subspaces for distinct visual regions. Extensive experiments demonstrate the superiority of TokenCLIP.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 26 of its 38 references that are in the map. First posted on arXiv 24 Oct 2025.

Builds on

26 of 38 references.

References · 26

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  2. 2023Segment Anythingcited by 8,158
  3. 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,277
  4. 2021Learning to Prompt for Vision-Language Modelscited by 2,269
  5. 2022MaPLe: Multi-modal Prompt Learningcited by 685
  6. 2019Kvasir-SEG: A Segmented Polyp Datasetcited by 588
  7. 2022SPot-the-Difference Self-Supervised Pre-training for Anomaly Detection and Segmentationcited by 397
  8. 2023WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentationcited by 311
  9. 2020Multiresolution Knowledge Distillation for Anomaly Detectioncited by 285
  10. 2023AnomalyCLIP: Object-agnostic Prompt Learning for Zero-shot Anomaly Detectioncited by 270
  11. 2021VT-ADL: A Vision Transformer Network for Image Anomaly Detection and Localizationcited by 222
  12. 2016Skin Lesion Analysis toward Melanoma Detection: A Challenge at the International Symposium on Biomedical Imaging (ISBI) 2016, hosted by the International Skin Imaging Collaboration (ISIC)cited by 197
14 more
  1. 2016Stochastic Optimization for Large-scale Optimal Transportcited by 188
  2. 2023AnomalyGPT: Detecting Industrial Anomalies Using Large Vision-Language Modelscited by 169
  3. 2021Zero-Shot Out-of-Distribution Detection Based on the Pre-trained Model CLIPcited by 151
  4. 2019Segmentation-Based Deep-Learning Approach for Surface-Defect Detectioncited by 145
  5. 2023APRIL-GAN: A Zero-/Few-Shot Anomaly Classification and Segmentation Method for CVPR 2023 VAND Workshop Challenge Tracks 1&2: 1st Place on Zero-shot AD and 4th Place on Few-shot ADcited by 128
  6. 2024AdaCLIP: Adapting CLIP with Hybrid Learnable Prompts for Zero-Shot Anomaly Detectioncited by 126
  7. 2025AA-CLIP: Enhancing Zero-shot Anomaly Detection via Anomaly-Aware CLIPcited by 72
  8. 2024FiLo: Zero-Shot Anomaly Detection by Fine-Grained Description and High-Quality Localizationcited by 51
  9. 2024MMAD: A Comprehensive Benchmark for Multimodal Large Language Models in Industrial Anomaly Detectioncited by 46
  10. 2025Bayesian Prompt Flow Learning for Zero-Shot Anomaly Detectioncited by 31
  11. 2024PointAD: Comprehending 3D Anomalies from Points and Pixels for Zero-shot 3D Anomaly Detectioncited by 29
  12. 2025AdaptCLIP: Adapting CLIP for Universal Visual Anomaly Detectioncited by 28
  13. 2024Fine-grained Abnormality Prompt Learning for Zero-shot Anomaly Detectioncited by 22
  14. 2025MetaUAS: Universal Anomaly Segmentation with One-Prompt Meta-Learningcited by 12

Built on by

Not cited yet.