[논문 리뷰] PromptMAD: Cross-Modal Prompting for Multi-Class Visual Anomaly Localization
PromptMAD는 CLIP 기반의 교차 모달 프롬프트와 확산-정제 세그먼트를 통해 MVTec-AD에서 다중 클래스에 대한 픽셀 수준 이상 탐지에 대해 최첨단 성능을 달성합니다.
Visual anomaly detection in multi-class settings poses significant challenges due to the diversity of object categories, the scarcity of anomalous examples, and the presence of camouflaged defects. In this paper, we propose PromptMAD, a cross-modal prompting framework for unsupervised visual anomaly detection and localization that integrates semantic guidance through vision-language alignment. By leveraging CLIP-encoded text prompts describing both normal and anomalous class-specific characteristics, our method enriches visual reconstruction with semantic context, improving the detection of subtle and textural anomalies. To further address the challenge of class imbalance at the pixel level, we incorporate Focal loss function, which emphasizes hard-to-detect anomalous regions during training. Our architecture also includes a supervised segmentor that fuses multi-scale convolutional features with Transformer-based spatial attention and diffusion iterative refinement, yielding precise and high-resolution anomaly maps. Extensive experiments on the MVTec-AD dataset demonstrate that our method achieves state-of-the-art pixel-level performance, improving mean AUC to 98.35% and AP to 66.54%, while maintaining efficiency across diverse categories.
연구 동기 및 목표
- 산업 환경에서 위장 및 질감 결함을 포함한 다중 클래스 시각적 이상 탐지 및 위치 추정 해결.
- 재구성 품질을 향상시키기 위한 비전-언어 정렬을 통한 의미론적 가이드 활용.
- 교육 과정에서 희소하고 구별하기 어려운 픽셀의 클래스 불균형을 Focal 손실로 완화하고 확산 및 다중 스케일 어텐션으로 이상 맵을 정제.
- 무거운 계산 없이 다양한 객체/질감에 걸쳐 잘 작동하는 통합 모델 제공
제안 방법
- 基선 OneNIP에서 영감을 얻은 프롬프트 기반 재구성 프레임워크를 사용.
- 정상/이상 특성을 설명하는 CLIP 기반의 교차 모달 프롬프트를 재구성 가이드로 통합.
- 멀티스케일 CNN 특징, Transformer 공간 어텐션, 확산 기반 정제를 결합한 텍스트 가이드 세그먼트를 도입.
- 학습 시 탐지 어려운 이상 픽셀에 초점을 맞추기 위한 Focal 손실 적용.
- 의미론적 가이드를 위해 CLIPText 임베딩을 시각 프롬프와 양방향 디코더에 융합.
- 텍스트 프롬프트로 조건화된 10단계의 확산 정제 프로세스로 이상 경계선 선명화
실험 결과
연구 질문
- RQ1비지도 이상 탐지에서 텍스트+이미지의 교차 모달 프롬프트가 다중 객체/질감 카테고리에서 픽셀 수준 위치 추정을 향상시킬 수 있는가?
- RQ2텍스트 가이드 확산-정제 세그먼트가 시각 프롬프트 기준선에 비해 더 선명하고 높은 정밀도의 이상 맵을 제공하는가?
- RQ3다중 클래스 설정에서 희박하고 위장된 이상 탐지를 위한 Focal 손실의 영향은 무엇인가?
- RQ4MVTec-AD에서 강력한 기준선 대비 추론 효율성 측면에서 PromptMAD의 성능은 어떠한가?
주요 결과
- 픽셀 수준 평균 AUC가 OneNIP 기준선의 97.81%에서 PromptMAD로 98.35%로 향상되었습니다.
- 픽셀 수준 평균 AP가 OneNIP 기준선의 63.52%에서 PromptMAD로 66.54%로 향상되었습니다.
- 이미지 수준 최대 AUC가 PromptMAD로 97.62%에, 최대 AP가 99.23%에 증가했습니다.
- 질감이 풍부한 클래스(예: hazelnut, tile, metal_nut, pill)에서 의미론적 교차 모달 가이드를 통해 PromptMAD가 유의한 이점을 보였습니다.
- 추론 속도는 실시간으로 유지되며 4개의 A100 GPU에서 193 FPS, OneNIP 기준선은 219 FPS입니다.
- 특정 아브레이션에 대한 전체 세그먼트, 교차 모달 프롬프트 및 Focal 손실의 결합이 대부분의 클래스에서 픽셀 수준 AP와 AUC를 최상으로 만듭니다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.