Anomaly-Aware Vision-Language Adapters for Zero-Shot Anomaly Detection

Muhammad Aqeel, Maham Nazir, Uzair Khan, Marco Cristani, Francesco Setti
5/12/2026
cs.CVcs.AIcs.LG

Official code: aqeeelmirza/AVA-DINO (12 stars, last commit 2026-05-12).

Abstract

Zero-shot anomaly detection aims to identify defects in unseen categories without target-specific training. Existing methods usually apply the same feature transformation to all samples, treating normal and anomalous data uniformly despite their fundamentally asymmetric distributions, compact normals versus diverse anomalies. We instead exploit this natural asymmetry by proposing AVA-DINO, an anomaly-aware vision-language adaptation framework with dual specialized branches for normal and anomalous patterns that adapt frozen DINOv3 visual features. During training on auxiliary data, the two branches are learned jointly with a text-guided routing mechanism and explicit routing regularization that encourages branch specialization. At test time, only the input image and fixed, predefined language descriptions are used to dynamically combine the two branches, enabling an asymmetric activation. This design prevents degenerate uniform routing and allows context-specific feature transformations. Experiments across nine industrial and medical benchmarks demonstrate state-of-the-art performance, achieving 93.5% image-AUROC on MVTec-AD and strong cross-domain generalization to medical imaging without domain-specific fine-tuning. https://github.com/aqeeelmirza/AVA-DINO

View on arXivView PDF

Code Implementations(1)

123May 12, 20265 months ago

Similar Papers

Cite this paper

@article{aqeel2026anomalyaware,
  title  = {Anomaly-Aware Vision-Language Adapters for Zero-Shot Anomaly Detection},
  author = {Muhammad Aqeel and Maham Nazir and Uzair Khan and Marco Cristani and Francesco Setti},
  year   = {2026},
  eprint = {2605.12069},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.12069v1}
}

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/2605.12069.svg)](https://codeofpaper.com/paper/2605.12069)

Discussion