EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Class-Sensitive TPB-Guided Memory Refinement for Online Zero-Shot Anomaly Detection

Zhen Zhao iD, Fan Song, Xinyun Wang, Tianshun Yuan, Jiali Zhou iD

Sensors · 03.06.2026 · 26 (11) · 3537

DOI: 10.3390/s26113537 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Sensors, online erschienen am 03.06.2026. Verfasst von Zhen Zhao und 4 weiteren Autor:innen. Beteiligte Einrichtung: School of Intelligent Manufacturing, Zhejiang Polytechnic University of Mechanical and Electrical Engineering, Hangzhou 310053, China. Die Arbeit nennt 35 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: "Pioneer" and "Leading Goose" R&D Program of Zhejiang Province, “Pioneer” and “Leading Goose” R&D Program of Zhejiang Province.

AbstractSchlagwörterBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Zero-shot anomaly detection is attractive for industrial inspection, where target-domain training data are often unavailable for newly introduced products. Recent CLIP-based methods have demonstrated promising generalization, and online memory mechanisms can further improve adaptability by incorporating incoming test samples. However, unreliable or ambiguous evidence may be incorporated during online memory updates, which can degrade subsequent predictions, especially for weak or visually unstable categories. In this work, we propose TSMR, a lightweight extension of RareCLIP for online zero-shot anomaly detection. Rather than modifying the backbone or redesigning the anomaly scoring pipeline, TSMR improves the reliability of test-time memory evolution through a class-sensitive selective update strategy. Specifically, it combines a confidence quantile gate, a text-prior-based reliability check, and weak-class selective activation to derive a frame-level memory-update decision during online inference. Experiments on VisA and MVTec AD show that TSMR achieves clear improvements on VisA while maintaining competitive performance on MVTec AD. Under the online protocol, TSMR improves the reproduced RareCLIP baseline on VisA from 94.4% to 95.1% in image-level AUROC, from 98.8% to 98.9% in pixel-level AUROC, and from 93.5% to 94.0% in PRO. On MVTec AD, TSMR achieves 98.0% image-level AUROC, 97.6% pixel-level AUROC, and 93.6% PRO, remaining competitive with the strong RareCLIP baseline. Object-wise and seed-wise analyses further indicate that selective memory refinement is particularly beneficial for selected weak categories and remains stable across different online evaluation orders. These results suggest that reliable online memory evolution is an effective direction for CLIP-based zero-shot anomaly detection.

Schlagwörter

Stichwörter der Autor:innen

CLIPonline memory refinementtest-time adaptationvision–language modelszero-shot anomaly detection

Autor:innen und Institutionen

  • School of Intelligent Manufacturing, Zhejiang Polytechnic University of Mechanical and Electrical Engineering, Hangzhou 310053, China.
  • College of Mathematical Sciences, Zhejiang University of Technology, Hangzhou 310023, China.

ORCID-Profile: Zhen Zhao, Jiali Zhou

Förderung

  • "Pioneer" and "Leading Goose" R&D Program of Zhejiang Province
  • “Pioneer” and “Leading Goose” R&D Program of Zhejiang Province

Zitieren

APA

Zhao, Z., Song, F., Wang, X., Yuan, T., & Zhou, J. (2026). Class-Sensitive TPB-Guided Memory Refinement for Online Zero-Shot Anomaly Detection. Sensors, 26(11), 3537. https://doi.org/10.3390/s26113537

Vancouver

Zhao Z, Song F, Wang X, Yuan T, Zhou J. Class-Sensitive TPB-Guided Memory Refinement for Online Zero-Shot Anomaly Detection. Sensors. 2026;26(11):3537. doi:10.3390/s26113537

BibTeX
@article{Zhao2026,
  author = {Zhao, Zhen and Song, Fan and Wang, Xinyun and Yuan, Tianshun and Zhou, Jiali},
  title = {Class-Sensitive TPB-Guided Memory Refinement for Online Zero-Shot Anomaly Detection},
  journal = {Sensors},
  year = {2026},
  volume = {26},
  number = {11},
  pages = {3537},
  doi = {10.3390/s26113537}
}
Kostenlos starten →