Skip to main content
QUICK REVIEW

[論文レビュー] DiffuMask: Synthesizing Images with Pixel-level Annotations for Semantic Segmentation Using Diffusion Models

Weijia Wu, Yuzhong Zhao|arXiv (Cornell University)|Mar 21, 2023
Generative Adversarial Networks and Image SynthesisComputer Science被引用数 9
ひとこと要約

DiffuMaskはCross-attention mapsを用いてテキストガイド拡散モデルから高解像度の意味マスクを自動生成し、セマンティックセグメンテーションの大規模合成データを作成。実データでの性能は競争力があり、VOC 2012においてゼロショット最先端の結果を達成。

ABSTRACT

Collecting and annotating images with pixel-wise labels is time-consuming and laborious. In contrast, synthetic data can be freely available using a generative model (e.g., DALL-E, Stable Diffusion). In this paper, we show that it is possible to automatically obtain accurate semantic masks of synthetic images generated by the Off-the-shelf Stable Diffusion model, which uses only text-image pairs during training. Our approach, called DiffuMask, exploits the potential of the cross-attention map between text and image, which is natural and seamless to extend the text-driven image synthesis to semantic mask generation. DiffuMask uses text-guided cross-attention information to localize class/word-specific regions, which are combined with practical techniques to create a novel high-resolution and class-discriminative pixel-wise mask. The methods help to reduce data collection and annotation costs obviously. Experiments demonstrate that the existing segmentation methods trained on synthetic data of DiffuMask can achieve a competitive performance over the counterpart of real data (VOC 2012, Cityscapes). For some classes (e.g., bird), DiffuMask presents promising performance, close to the stateof-the-art result of real data (within 3% mIoU gap). Moreover, in the open-vocabulary segmentation (zero-shot) setting, DiffuMask achieves a new SOTA result on Unseen class of VOC 2012. The project website can be found at https://weijiawu.github.io/DiffusionMask/.

研究の動機と目的

  • テキスト条件付き拡散モデルのクロスアテンションマップが、 manual annotations なしでクラス特異領域を局在化できることを実証する。
  • テキストプロンプトから高解像度画像とピクセルレベルの意味マスクを自動生成するパイプラインを開発する。
  • 適応的二値化、ノイズ学習、プロンプト/データ拡張を通じてマスク品質を向上させ、ドメインギャップを埋める。
  • 複数データセットにわたる標準およびオープンボキャブラリのセマンティックセグメンテーションのために拡散ベースの合成データを評価する。

提案手法

  • Stable Diffusionによるテキスト駆動画像合成時に、複数解像度・層でクロスアテンションマップを抽出する。
  • クロスアテンションマップを集約・正規化して、マスク作成のクラス特異的確率マップを形成する。
  • 確率マップを適応的閾値処理(AffinityNetにより画像/カテゴリごとに適切なgammaを選択)で二値マスクへ変換する。
  • Dense CRFでマスクを精製し、ノイズ学習を導入して低品質の合成ラベルを削除する。
  • プロンプトエンジニアリング(サブクラスおよびリトリーブベースのプロンプト)と様々なデータ増強(Splicing、ブラー、オクルージョン、視点)を通じてデータ多様性を高め、ドメインギャップを低減する。
  • 合成データDiffuMaskでセグメンationモデル(例:Mask2Former)を訓練し、必要に応じて実データでファインチューニングして性能を向上させる。
((a)) Cross attention maps of different text tokens.
((a)) Cross attention maps of different text tokens.

実験結果

リサーチクエスチョン

  • RQ1テキストガイド拡散モデルのクロスアテンションマップは、手動アノテーションなしで信頼性が高く高解像度のクラス識別マスクを提供できるか。
  • RQ2DiffuMaskで生成した合成データはVOC 2012、Cityscapes、ADE20Kなどの実データセットで競争力のある意味セグメンテーション性能をもたらすか。
  • RQ3適応的閾値処理、プロンプトエンジニアリング、ノイズ学習、データ増強は、マスク品質とクロスドメイン一般化(オープンボキャブラリセグメンテーションを含む)を改善するのにどの程度効果的か。

主な発見

  • DiffuMaskで訓練したセグメンテーションモデルは、VOC 2012で競争力のあるmIoUを達成(例:Swin-Bバックボーンで70.6)で、実データ訓練の84.3と比較。
  • BirdおよびDogクラスでのDiffuMaskの性能は実データ性能に近く、クラスによっては差が単一桁~低二桁の範囲。
  • CityscapesではVehicle/HumanのmIoUが79.6、実データ訓練時の90.8に対して強いクロスドメイン能力を示す。
  • ADE20Kでは、6kの合成例を用いたDiffuMaskは20.2kの実データ例と比較して競争力のある結果を示し、最高クラスのCarで73.4 mIoUに達する。
  • オープンボキャブラリ(ゼロショット)セグメンテーションでは、VOC 2012の未 seenクラスに対して、DiffuMaskは合成データベース手法の中で最先端の結果を達成。
  • アブレーション研究は、適応閾値処理、プロンプトエンジニアリング(サブクラスおよびリトリーブベースのプロンプト)、ノイズ学習、豊富なデータ増強がそれぞれmIoUの向上に寄与することを示す。
((b)) Cross attention maps of different resolutions.
((b)) Cross attention maps of different resolutions.

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。