ROADS: Robust Prompt-Driven Multi-Class Anomaly Detection Under Domain Shift

Abstract

Recent advancements in anomaly detection have shifted focus towards Multi-class Unified Anomaly Detection (MUAD) offering more scalable and practical alternatives compared to traditional one-class-one-model approaches. However existing MUAD methods often suffer from inter-class interference and are highly susceptible to domain shifts leading to substantial performance degradation in real-world applications. In this paper we propose a novel robust prompt-driven MUAD framework called ROADS to address these challenges. ROADS employs a hierarchical class-aware prompt integration mechanism that dynamically encodes class-specific information into our anomaly detector to mitigate interference among anomaly classes. Additionally ROADS incorporates a domain adapter to enhance robustness against domain shifts by learning domain-invariant representations. Extensive experiments on MVTec-AD and VISA datasets demonstrate that ROADS surpasses state-of-the-art methods in both anomaly detection and localization with notable improvements in out-of-distribution settings.

Cite

Text

Kashiani et al. "ROADS: Robust Prompt-Driven Multi-Class Anomaly Detection Under Domain Shift." Winter Conference on Applications of Computer Vision, 2025.

Markdown

[Kashiani et al. "ROADS: Robust Prompt-Driven Multi-Class Anomaly Detection Under Domain Shift." Winter Conference on Applications of Computer Vision, 2025.](https://mlanthology.org/wacv/2025/kashiani2025wacv-roads/)

BibTeX

@inproceedings{kashiani2025wacv-roads,
  title     = {{ROADS: Robust Prompt-Driven Multi-Class Anomaly Detection Under Domain Shift}},
  author    = {Kashiani, Hossein and Talemi, Niloufar Alipour and Afghah, Fatemeh},
  booktitle = {Winter Conference on Applications of Computer Vision},
  year      = {2025},
  pages     = {7897-7906},
  url       = {https://mlanthology.org/wacv/2025/kashiani2025wacv-roads/}
}