Visual Prompting Meets Feature Reconstruction-Based Anomaly Detection with Dual-Teacher Supervision

Mateo Diaz-Bone, Daniel Caraballo, Florian Scheidegger, Thomas Frick, Mattia Rigotti +9 more
6/8/2026
cs.CVcs.AI

No confident code implementation found for this paper.

Abstract

Recent Anomaly Detection methods achieve perfect detection and segmentation scores on well-established datasets, such as MVTec. However, many of these methods face challenges when foundational assumptions - such as consistent object scale, viewpoint, background, illumination, and centered placement - are violated.

Show full abstract

Those variations that occur render anomaly detection methods unusable in many real-world scenarios. To address these limitations, we introduce three key contributions: (1) a visual prompting pipeline that isolates objects using foreground-background masking; (2) a mechanism for unfreezing the teacher in student-teacher models to improve domain adaptability; and (3) a data augmentation strategy leveraging diffusion-generated synthetic images to enhance anomaly detection performance. We achieve a 3.5 percentage point improvement over the previous state-of-the-art on the challenging AeBAD dataset by using the Masked Multiscale Reconstruction (MMR) model as our backbone.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{diazbone2026visual,
  title  = {Visual Prompting Meets Feature Reconstruction-Based Anomaly Detection with Dual-Teacher Supervision},
  author = {Mateo Diaz-Bone and Daniel Caraballo and Florian Scheidegger and Thomas Frick and Mattia Rigotti and Andrea Bartezzaghi and Roy Assaf and Niccolo Avogaro and Yagmur G. Cinar and Brown Ebouky and Filip M. Janicki and Piotr S. Kluska and Cezary Skura and Cristiano Malossi},
  year   = {2026},
  eprint = {2606.09670},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.09670v1}
}

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

Discussion