HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Segment Any Anomaly without Training via Hybrid Prompt Regularization

Yunkang Cao Xiaohao Xu Chen Sun Yuqi Cheng Zongwei Du Liang Gao Weiming Shen

Segment Any Anomaly without Training via Hybrid Prompt Regularization

Abstract

We present a novel framework, i.e., Segment Any Anomaly + (SAA+), for zero-shot anomaly segmentation with hybrid prompt regularization to improve the adaptability of modern foundation models. Existing anomaly segmentation models typically rely on domain-specific fine-tuning, limiting their generalization across countless anomaly patterns. In this work, inspired by the great zero-shot generalization ability of foundation models like Segment Anything, we first explore their assembly to leverage diverse multi-modal prior knowledge for anomaly localization. For non-parameter foundation model adaptation to anomaly segmentation, we further introduce hybrid prompts derived from domain expert knowledge and target image context as regularization. Our proposed SAA+ model achieves state-of-the-art performance on several anomaly segmentation benchmarks, including VisA, MVTec-AD, MTD, and KSDD2, in the zero-shot setting. We will release the code at \href{https://github.com/caoyunkang/Segment-Any-Anomaly}{https://github.com/caoyunkang/Segment-Any-Anomaly}.

Code Repositories

caoyunkang/segment-any-anomaly
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
anomaly-detection-on-ksdd2SAA+
F1-Score: 59.19
anomaly-detection-on-visaSAA+
F1-Score: 27.07

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Segment Any Anomaly without Training via Hybrid Prompt Regularization | Papers | HyperAI