Skip to main content
QUICK REVIEW

[論文レビュー] Explore the Power of Synthetic Data on Few-shot Object Detection

Shaobo Lin, Kun Wang|arXiv (Cornell University)|Mar 23, 2023
Advanced Neural Network ApplicationsComputer Science被引用数 3
ひとこと要約

本稿では、テキストから画像に変換する拡散モデル(例:Stable Diffusion)から得られる合成データを活用して、少数ショット物体検出(FSOD)の性能を向上させる、新しいフレームワークを提案する。本手法は、局所性に基づくクロッピングとCLIPに基づくフィルタリングを組み合わせたコピーペーストパイプラインを用い、誤検出を低減する。PASCAL VOCおよびMS COCOデータセットにおいて、本手法は実データと合成インスタンスを組み合わせ、ゼロショット分類フィルタリングにCLIPを適用することで、ベースラインのFSODモデル比で最大21.9%の性能向上を達成した。

ABSTRACT

Few-shot object detection (FSOD) aims to expand an object detector for novel categories given only a few instances for training. The few training samples restrict the performance of FSOD model. Recent text-to-image generation models have shown promising results in generating high-quality images. How applicable these synthetic images are for FSOD tasks remains under-explored. This work extensively studies how synthetic images generated from state-of-the-art text-to-image generators benefit FSOD tasks. We focus on two perspectives: (1) How to use synthetic data for FSOD? (2) How to find representative samples from the large-scale synthetic dataset? We design a copy-paste-based pipeline for using synthetic data. Specifically, saliency object detection is applied to the original generated image, and the minimum enclosing box is used for cropping the main object based on the saliency map. After that, the cropped object is randomly pasted on the image, which comes from the base dataset. We also study the influence of the input text of text-to-image generator and the number of synthetic images used. To construct a representative synthetic training dataset, we maximize the diversity of the selected images via a sample-based and cluster-based method. However, the severe problem of high false positives (FP) ratio of novel categories in FSOD can not be solved by using synthetic data. We propose integrating CLIP, a zero-shot recognition model, into the FSOD pipeline, which can filter 90% of FP by defining a threshold for the similarity score between the detected object and the text of the predicted category. Extensive experiments on PASCAL VOC and MS COCO validate the effectiveness of our method, in which performance gain is up to 21.9% compared to the few-shot baseline.

研究の動機と目的

  • テキストから画像に変換する生成モデルから得られる高品質な合成画像を、少数ショット物体検出(FSOD)に効果的に活用できるかを検証すること。
  • アノテーションのない合成データをFSODに統合する課題に対処するため、耐障害性の高いデータ拡張パイプラインを設計すること。
  • 合成データ拡張にもかかわらず、新規カテゴリにおける誤検出(FP)比が依然として高いという、主な制限要因を軽減すること。
  • 特徴ベースのサンプリングとクラスタリングを用いて、多様性を最大化することで代表的な合成データセットを構築すること。
  • CLIPをゼロショット分類器として統合し、誤検出をフィルタリングして検出の信頼性を向上させること。

提案手法

  • コピーペーストに基づくデータ拡張パイプラインを設計:合成画像に対して局所性検出を適用し、局所性マップの最小外接ボックスを用いて主な物体をクロッピングし、それを実際のベースデータセット画像に貼り付ける。
  • テキストから画像に変換する生成モデルの入力テキストプロンプト形式を体系的に評価し、プロンプト設計が異なる少数ショット設定において検出性能に顕著な影響を与えることが示された。
  • 使用する合成画像の数を最適化した結果、ほとんどの少数ショットシナリオにおいて、カテゴリあたり20枚の生成画像が最良の性能を示した。
  • 多様性を重視したデータ選択戦略を提案:CLIP特徴を用いて合成データをクラスタリングまたは一様にサンプリングすることで、最終的なトレーニングセットにおける代表性を高めた。
  • 推論パイプラインにCLIPを統合し、CLIP類似度スコアが学習済み閾値(0.1)未満の予測を破棄することで、誤検出をフィルタリングする。
  • 本フレームワークは、$K$枚の実際の新規カテゴリインスタンスと$G$枚の合成インスタンスを組み合わせた新しい$(K+G)$-ショット設定で評価された。プロンプト設計、データ量、フィルタリング閾値に関するアブレーションスタディも実施した。
Figure 1 : How to utilize synthetic data for FSOD? (a) The few-shot novel categories, including bird, bus, cow, motorbike, and sofa, are from the dataset of PASCAL VOC split 1. (b) The synthetic data from Stable Diffusion. (c) The saliency detection map of the synthetic data. (d) The cropped novel i
Figure 1 : How to utilize synthetic data for FSOD? (a) The few-shot novel categories, including bird, bus, cow, motorbike, and sofa, are from the dataset of PASCAL VOC split 1. (b) The synthetic data from Stable Diffusion. (c) The saliency detection map of the synthetic data. (d) The cropped novel i

実験結果

リサーチクエスチョン

  • RQ1アノテーションなしで、最先端のテキストから画像に変換する生成モデルから得られる合成画像を、少数ショット物体検出に効果的に統合する方法は何か?
  • RQ2FSOD性能を向上させるために、最適な合成データ生成枚数とプロンプト設計は何か?
  • RQ3大規模かつ多様性に富んだ合成データセットから、検出精度を最大化するために代表的な合成サンプルをどのように選択すべきか?
  • RQ4合成データ拡張を実施しても、新規カテゴリにおける誤検出比が依然として高い理由は何か?また、これを軽減できるか?
  • RQ5CLIPをゼロショットフィルタとして用いることで、FSODにおける誤検出をどの程度低減できるか?

主な発見

  • 局所性に基づくクロッピングを施したコピーペーストパイプラインにより、PASCAL VOCおよびMS COCOにおいてベースライン比で最大21.9%のFSOD性能向上が達成された。
  • カテゴリあたり20枚の合成画像を使用すると最良の性能が得られ、さらに増加させても精度は向上せず、飽和点に達することが示された。
  • CLIPベースのフィルタリング機構により、誤検出は最大90%まで低減され、CLIP類似度スコアの最適閾値は0.1に設定された。
  • 新規カテゴリのデータを合成データのみで使用しても、実データとの貼り付け差がわずかであり、合成データがFSODに非常に適していることが示された。
  • テキストから画像に変換する生成モデルの選定が重要である:Stable DiffusionはGLIDEを上回り、全ショット設定で2.3–3.0%の精度優位性を示した。
  • CLIPのテキストエンコーダーにベースカテゴリと新規カテゴリの両方の名前を入力すると、新規カテゴリのみを入力する場合よりも優れた結果が得られ、最適なリストサイズは20(PASCAL VOCの全カテゴリまたはMS COCOの新規カテゴリ全般)であった。
Figure 2 : The pipeline of using synthetic data for FSOD. (a) During the data generation, the novel dataset is generated by Stable Diffusion. (b) In the data selection step, the generated data is processed by the selection module to find representative samples for training. We use the cluster-based
Figure 2 : The pipeline of using synthetic data for FSOD. (a) During the data generation, the novel dataset is generated by Stable Diffusion. (b) In the data selection step, the generated data is processed by the selection module to find representative samples for training. We use the cluster-based

この論文を読む

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

Nubintでこの論文を読む

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