Skip to main content
QUICK REVIEW

[論文レビュー] CounTR: Transformer-based Generalised Visual Counting

Chang Liu, Yujie Zhong|arXiv (Cornell University)|Aug 29, 2022
Video Surveillance and Tracking MethodsComputer Science被引用数 31
ひとこと要約

CounTR は、 exemplar-guided attention と self-supervised pre-training を用いた、オープンワールドのゼロショットからファウショットまでの視覚カウントのための transformer ベースのアーキテクチャを提案し、FSC-147 で最先端の結果を達成します。

ABSTRACT

In this paper, we consider the problem of generalised visual object counting, with the goal of developing a computational model for counting the number of objects from arbitrary semantic categories, using arbitrary number of "exemplars", i.e. zero-shot or few-shot counting. To this end, we make the following four contributions: (1) We introduce a novel transformer-based architecture for generalised visual object counting, termed as Counting Transformer (CounTR), which explicitly capture the similarity between image patches or with given "exemplars" with the attention mechanism;(2) We adopt a two-stage training regime, that first pre-trains the model with self-supervised learning, and followed by supervised fine-tuning;(3) We propose a simple, scalable pipeline for synthesizing training images with a large number of instances or that from different semantic categories, explicitly forcing the model to make use of the given "exemplars";(4) We conduct thorough ablation studies on the large-scale counting benchmark, e.g. FSC-147, and demonstrate state-of-the-art performance on both zero and few-shot settings.

研究の動機と目的

  • 任意の意味カテゴリと可変数の exemplars(ゼロショットからファウショットまで)をサポートするオープンワールドな視覚オブジェクトカウントの動機づけ。
  • 自己注意を利用して画像領域と exemplars を比較する transformer ベースのCounting TRansformer(CounTR)を開発。
  • MAE ベースの自己監視プリトレーニングを経た二段階のトレーニング regime を提案。
  • 長尾分布を緩和し exemplars 条件付けを改善するスケーラブルなモザイクデータ合成パイプラインを導入。
  • ゼロショットおよびファウショット設定の下で FSC-147 における最先端の性能を示す。

提案手法

  • 画像 ViT エンコーダが特徴トークンを出力し、 exemplar 特徴を別個にエンコードして特徴相互作用モジュール(FIM)でクロスアテンションを行う transformer ベースの CounTR アーキテクチャを提案。
  • FIM はデコーダースタイルのトランスフォーマー層を用いて画像パッチと exemplar 表現の間のクロス・および自己アテンションを可能にし、密度マップを生成。
  • FIM 出力を段階的にアップサンプルして 2D 密度マップを得るデコーダを用い、最終カウントはこの密度マップの総和。
  • 二段階のトレーニング:最初は MAE を用いた画像再構成による ViT エンコーダの自己監視プリトレーニング、次にカウントのための監視付きファインチューニング。
  • 多数のインスタンスと多様な背景を持つ画像を作成するスケーラブルなモザイクデータ生成パイプライン( collage および blending )を導入し、長尾分布に対応。
  • 推論時の正規化とクロップ戦略を用いて予測をキャリブレーションし、 tiny object や exemplar の配置を考慮。

実験結果

リサーチクエスチョン

  • RQ1ゼロショットまたはファウショットが与えられた場合、 transformer ベースのモデルは任意の物体クラスのカウントを一般化できるか。
  • RQ2自己監視プリトレーニングはゼロショットおよびファウショット設定のカウント性能を向上させるか。
  • RQ3訓練データのモザイク合成は長尾分布を緩和し、インスタンス数が多い画像でのカウントを改善するか。
  • RQ4推論時の正規化戦略は exemplar-guided counting の密度出力をキャリブレーションするのに有効か。

主な発見

  • CounTR は FSC-147 におけるゼロショットおよびファウショット設定で最先端の MAE/RMSE を達成(例:ゼロショット MAE 18.07、Val での RMSE 71.84、Test での MAE 14.71、RMSE 106.87)。
  • 自己監督 MAE プリトレーニングは、監視付きファインチューニングのみよりも性能を大幅に改善。
  • モザイクデータ合成は、特に多数のインスタンスを含む画像で結果をさらに改善。
  • 推論時の正規化とクロップは、特にファウショット設定でカウント精度を高める。
  • 3 exemplars を用いた CounTR は頑健であり、1、2、3ショット間の差は小さい。

この論文を読む

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

Nubintでこの論文を読む

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