Skip to main content
QUICK REVIEW

[論文レビュー] PromptMAD: Cross-Modal Prompting for Multi-Class Visual Anomaly Localization

Duncan McCain, Hossein Kashiani|arXiv (Cornell University)|Jan 30, 2026
Anomaly Detection Techniques and Applications被引用数 0
ひとこと要約

PromptMAD は CLIP ベースのクロスモーダルプロンプトと拡散補正セグメータを組み合わせ、複数クラスにわたるピクセルレベルの異常局在化で最先端を達成する。

ABSTRACT

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.

研究の動機と目的

  • camouflaged およびテクスチャ付き欠陥を含む産業環境での多クラス視覚異常検知と局在化を解決する。
  • 視覚と言語の整合による意味的ガイダンスを活用して再構成品質を向上させる。
  • ピクセルレベルのクラス不均衡を Focal loss で緩和し、拡散と多段階アテンションで異常マップを精練する。
  • 計算量を過度に増やさず、多様な物体/質感に対して良好に動作する統一モデルを提供する。

提案手法

  • OneNIP に触発されたプロンプトベースの再構成フレームワークを用いる。
  • 正常および異常の特性を記述する CLIP ベースのクロスモーダルプロンプトを組み込み、再構成を導く。
  • テキスト誘導のセグメンターを導入し、マルチスケール CNN 特徴量、Transformer 空間注意、拡散ベースの精練を組み合わせる。
  • 学習時には難検出の異常ピクセルを強調するため Focal loss を適用する。
  • セマンティックガイダンスのために CLIPText 埋め込みを視覚プロンプトと双方向デコーダに融合する。
  • テキストプロンプトを条件として拡散補正過程(10 ステップ、線形ベータスケジュール)を利用し、異常境界を鋭化する。

実験結果

リサーチクエスチョン

  • RQ1 テキスト+画像のクロスモーダルプロンプトは、教師なし異常検知において複数の物体/質感カテゴリでピクセルレベルの局在化を改善できるか。
  • RQ2 テキスト誘導の拡散補正セグメンターを統合すると、視覚プロンプトのみのベースラインと比較して異常マップがより鋭く高精度になるか。
  • RQ3 Focal loss の影響は、多クラス設定で稀でカモフラージュされた異常の検出にどのように現れるか。
  • RQ4 MVTec-AD における推論効率は強力なベースラインと比較してどうか。

主な発見

ClassAUC (OneNIP)AP (OneNIP)P-AUC (OneNIP)P-AP (OneNIP)AUC (PromptMAD)AP (PromptMAD)P-AUC (PromptMAD)P-AP (PromptMAD)
Bottle99.8482.6298.6182.62100.00100.0099.0185.13
Cable97.5363.4897.9463.4898.0265.0198.6665.01
Capsule85.0850.0688.5950.0698.50?98. -?
Carpet99.6868.3999.2068.3998.8870.3199.7770.31
Grid98.8345.4399.1645.4398.3442.3199.7442.31
Hazelnut100.0072.92100.0072.9299.4682.4599.7782.45
Leather100.0071.07100.0071.0799.6771.62100.0071.62
Metal Nut99.5177.6699.9077.6698.5888.0499.9788.04
Pill96.3443.6093.1243.6096.4756.1398.7256.13
Screw91.1037.7990.6137.7998.6434.3999.9734.39
Tile99.9677.4499.6077.4498.1386.7499.8486.74
Toothbrush93.3352.9497.5052.9498.8857.0799.0657.07
Transistor99.7582.6999.7582.6998.3477.0699.6377.06
Wood97.9867.7199.0467.7196.7373.0999.6873.09
Zipper99.0359.0499.8759.0497.6159.89??
Mean97.2063.5297.6263.5298.3566.5498. ?66.54
  • ピクセルレベルの平均 AUC が OneNIP ベースラインの 97.81% から PromptMAD で 98.35% に改善。
  • ピクセルレベルの平均 AP が OneNIP ベースラインの 63.52% から PromptMAD で 66.54% に改善。
  • 画像レベルの最大 AUC が PromptMAD で 97.62% に、最大 AP が 99.23% に上昇。
  • PromptMAD は意味的なクロスモーダルガイダンスにより、質感クラス(例:ヘーゼルナッツ、タイル、金属ニップ、錠剤)で顕著な改善をもたらす。
  • 推論速度はリアルタイムを維持:4 個の A100 GPU で 193 FPS、OneNIP ベースラインは 219 FPS。
  • アブレーション実験では、セグメンター、クロスモーダルプロンプト、Focal loss の全統合がほとんどのクラスで最良のピクセル AP と AUC を示した。

より良い研究を、今すぐ始めましょう

論文設計から論文執筆まで、研究時間を劇的に削減しましょう。

クレジットカード登録不要

このレビューはAIが作成し、人間の編集者が確認しました。