A Contrastive Learning-Guided Confident Meta-learning for Zero Shot Anomaly Detection

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Aqeel, Muhammad, Skocaj, Danijel, Cristani, Marco, Setti, Francesco
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908501812445184
author Aqeel, Muhammad
Skocaj, Danijel
Cristani, Marco
Setti, Francesco
author_facet Aqeel, Muhammad
Skocaj, Danijel
Cristani, Marco
Setti, Francesco
contents Industrial and medical anomaly detection faces critical challenges from data scarcity and prohibitive annotation costs, particularly in evolving manufacturing and healthcare settings. To address this, we propose CoZAD, a novel zero-shot anomaly detection framework that integrates soft confident learning with meta-learning and contrastive feature representation. Unlike traditional confident learning that discards uncertain samples, our method assigns confidence-based weights to all training data, preserving boundary information while emphasizing prototypical normal patterns. The framework quantifies data uncertainty through IQR-based thresholding and model uncertainty via covariance based regularization within a Model-Agnostic Meta-Learning. Contrastive learning creates discriminative feature spaces where normal patterns form compact clusters, enabling rapid domain adaptation. Comprehensive evaluation across 10 datasets spanning industrial and medical domains demonstrates state-of-the-art performance, outperforming existing methods on 6 out of 7 industrial benchmarks with notable improvements on texture-rich datasets (99.2% I-AUROC on DTD-Synthetic, 97.2% on BTAD) and pixellevel localization (96.3% P-AUROC on MVTec-AD). The framework eliminates dependence on vision-language alignments or model ensembles, making it valuable for resourceconstrained environments requiring rapid deployment.
format Preprint
id arxiv_https___arxiv_org_abs_2508_17827
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle A Contrastive Learning-Guided Confident Meta-learning for Zero Shot Anomaly Detection
Aqeel, Muhammad
Skocaj, Danijel
Cristani, Marco
Setti, Francesco
Computer Vision and Pattern Recognition
Machine Learning
Industrial and medical anomaly detection faces critical challenges from data scarcity and prohibitive annotation costs, particularly in evolving manufacturing and healthcare settings. To address this, we propose CoZAD, a novel zero-shot anomaly detection framework that integrates soft confident learning with meta-learning and contrastive feature representation. Unlike traditional confident learning that discards uncertain samples, our method assigns confidence-based weights to all training data, preserving boundary information while emphasizing prototypical normal patterns. The framework quantifies data uncertainty through IQR-based thresholding and model uncertainty via covariance based regularization within a Model-Agnostic Meta-Learning. Contrastive learning creates discriminative feature spaces where normal patterns form compact clusters, enabling rapid domain adaptation. Comprehensive evaluation across 10 datasets spanning industrial and medical domains demonstrates state-of-the-art performance, outperforming existing methods on 6 out of 7 industrial benchmarks with notable improvements on texture-rich datasets (99.2% I-AUROC on DTD-Synthetic, 97.2% on BTAD) and pixellevel localization (96.3% P-AUROC on MVTec-AD). The framework eliminates dependence on vision-language alignments or model ensembles, making it valuable for resourceconstrained environments requiring rapid deployment.
title A Contrastive Learning-Guided Confident Meta-learning for Zero Shot Anomaly Detection
topic Computer Vision and Pattern Recognition
Machine Learning
url https://arxiv.org/abs/2508.17827