MultiADS: Defect-aware Supervision for Multi-type Anomaly Detection and Segmentation in Zero-Shot Learning

Ylli Sadikaj, Hongkuan Zhou, Lavdim Halilaj, Stefan Schmid, Steffen Staab +1 more
4/9/2025
cs.CV

No official code found. Best implementation: boschresearch/MultiADS (69 stars, AGPL-3.0, last commit 2026-04-27).

Abstract

Precise optical inspection in industrial applications is crucial for minimizing scrap rates and reducing the associated costs. Besides merely detecting if a product is anomalous or not, it is crucial to know the distinct type of defect, such as a bent, cut, or scratch. The ability to recognize the "exact" defect type enables automated treatments of the anomalies in modern production lines. Current methods are limited to solely detecting whether a product is defective or not without providing any insights on the defect type, nevertheless detecting and identifying multiple defects. We propose MultiADS, a zero-shot learning approach, able to perform Multi-type Anomaly Detection and Segmentation. The architecture of MultiADS comprises CLIP and extra linear layers to align the visual- and textual representation in a joint feature space. To the best of our knowledge, our proposal, is the first approach to perform a multi-type anomaly segmentation task in zero-shot learning. Contrary to the other baselines, our approach i) generates specific anomaly masks for each distinct defect type, ii) learns to distinguish defect types, and iii) simultaneously identifies multiple defect types present in an anomalous product. Additionally, our approach outperforms zero/few-shot learning SoTA methods on image-level and pixel-level anomaly detection and segmentation tasks on five commonly used datasets: MVTec-AD, Visa, MPDD, MAD and Real-IAD.

View on arXivView PDF

Code Implementations(1)

AGPL-3.0

Accompanying code for the ICCV2025 paper "MultiADS: Defect-aware Supervision for Multi-type Anomaly Detection and Segmentation in Zero-Shot Learning"

699Python, Jupyter NotebookJul 28, 20255 months agoAGPL-3.0

Similar Papers

Cite this paper

@article{sadikaj2025multiads,
  title  = {MultiADS: Defect-aware Supervision for Multi-type Anomaly Detection and Segmentation in Zero-Shot Learning},
  author = {Ylli Sadikaj and Hongkuan Zhou and Lavdim Halilaj and Stefan Schmid and Steffen Staab and Claudia Plant},
  year   = {2025},
  eprint = {2504.06740},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.06740v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2504.06740.svg)](https://codeofpaper.com/paper/2504.06740)

Discussion