AnoRefiner: Anomaly-Aware Group-Wise Refinement for Zero-Shot Industrial Anomaly Detection

Dayou Huang, Feng Xue, Xurui Li, Yu Zhou
11/27/2025
cs.CV

Official code: HUST-SLOW/AnoRefiner (13 stars, MIT, last commit 2025-12-01).

Abstract

Zero-shot industrial anomaly detection (ZSAD) methods typically yield coarse anomaly maps as vision transformers (ViTs) extract patch-level features only. To solve this, recent solutions attempt to predict finer anomalies using features from ZSAD, but they still struggle to recover fine-grained anomalies without missed detections, mainly due to the gap between randomly synthesized training anomalies and real ones. We observe that anomaly score maps exactly provide complementary spatial cues that are largely absent from ZSAD's image features, a fact overlooked before. Inspired by this, we propose an anomaly-aware refiner (AnoRefiner) that can be plugged into most ZSAD models and improve patch-level anomaly maps to the pixel level. First, we design an anomaly refinement decoder (ARD) that progressively enhances image features using anomaly score maps, reducing the reliance on synthetic anomaly data. Second, motivated by the mass production paradigm, we propose a progressive group-wise test-time training (PGT) strategy that trains ARD in each product group for the refinement process in the next group, while staying compatible with any ZSAD method. Experiments on the MVTec AD and VisA datasets show that AnoRefiner boosts various ZSAD models by up to a 5.2\% gain in pixel-AP metrics, which can also be directly observed in many visualizations. The code will be available at https://github.com/HUST-SLOW/AnoRefiner.

View on arXivView PDF

Code Implementations(1)

MIT

[arXiv2025] AnoRefiner: Anomaly-Aware Group-Wise Refinement for Zero-Shot Industrial Anomaly Detection. Paper is avaliable at https://arxiv.org/abs/2511.22595

130Dec 1, 202510 months agoMIT

Similar Papers

Cite this paper

@article{huang2025anorefiner,
  title  = {AnoRefiner: Anomaly-Aware Group-Wise Refinement for Zero-Shot Industrial Anomaly Detection},
  author = {Dayou Huang and Feng Xue and Xurui Li and Yu Zhou},
  year   = {2025},
  eprint = {2511.22595},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2511.22595v1}
}

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

Discussion