[論文レビュー] ProtoPFormer: Concentrating on Prototypical Parts in Vision Transformers for Interpretable Image Recognition
ProtoPFormerは、Vision Transformers向けにグローバルおよびローカルプロトタイプを特別に設計し、前景パーツにプロトタイプを集中させ、ブランチ間の相互修正を可能にすることで、画像認識の解釈性と精度を向上させる。
Prototypical part network (ProtoPNet) has drawn wide attention and boosted many follow-up studies due to its self-explanatory property for explainable artificial intelligence (XAI). However, when directly applying ProtoPNet on vision transformer (ViT) backbones, learned prototypes have a "distraction" problem: they have a relatively high probability of being activated by the background and pay less attention to the foreground. The powerful capability of modeling long-term dependency makes the transformer-based ProtoPNet hard to focus on prototypical parts, thus severely impairing its inherent interpretability. This paper proposes prototypical part transformer (ProtoPFormer) for appropriately and effectively applying the prototype-based method with ViTs for interpretable image recognition. The proposed method introduces global and local prototypes for capturing and highlighting the representative holistic and partial features of targets according to the architectural characteristics of ViTs. The global prototypes are adopted to provide the global view of objects to guide local prototypes to concentrate on the foreground while eliminating the influence of the background. Afterwards, local prototypes are explicitly supervised to concentrate on their respective prototypical visual parts, increasing the overall interpretability. Extensive experiments demonstrate that our proposed global and local prototypes can mutually correct each other and jointly make final decisions, which faithfully and transparently reason the decision-making processes associatively from the whole and local perspectives, respectively. Moreover, ProtoPFormer consistently achieves superior performance and visualization results over the state-of-the-art (SOTA) prototype-based baselines. Our code has been released at https://github.com/zju-vipa/ProtoPFormer.
研究の動機と目的
- ViTベースの画像認識におけるプロトタイプ的パートの説明を動機付け、ViTバックボーンにおけるプロトタイプ分散に対処する。
- ViTアーキテクチャに整合するグローバルおよびローカルプロトタイプを備えた二枝のProtoPFormerフレームワークを提案する。
- 前景保存機構とプロトタイプ的パート濃縮機構を開発し、解釈性と精度を向上させる。
- グローバルプロトタイプとローカルプロトタイプの相互修正を示し、真実性が高く解釈可能な決定を生み出す。
提案手法
- ViT出力を、クラストークンストリーム(グローバルブランチ)と画像トークンストリーム(ローカルブランチ)に分割する。
- 各クラスあたりm_g個のグローバルプロトタイプとm_l個のローカルプロトタイプを導入し、それぞれクラストークンおよび画像トークンとの類似度を計算する。
- アテンションロールアウトにより得られる前景保持(FP)マスクを使用して、ローカルブランチで前景トークンを保持し背景を抑制する。
- 各ローカルプロトタイプの類似マップをガウスとしてモデリングし、平均と共分散を推定してプロトタイプリート濃縮(PPC)損失を推進する。
- PPC損失を定義して共分散のトレースを最小化し、クラス内のプロトタイプ中心の分離を最大化して、多様で局在化したパーツを促進する。
- グローバルブランチとローカルブランチのロジットを学習された重みで結合し、最終予測を形成する。クロスエントロピー損失とPPC損失で訓練する。
実験結果
リサーチクエスチョン
- RQ1ViTベースのプロトタイプネットワークは、意味のあるパーツではなく背景でプロトタイプが活性化するプロトタイプ分散に悩まされることがあるのだろうか?
- RQ2前景マスキングとガウスベースの監視を用いて、グローバル(クラストークン駆動)およびローカル(トークン駆動)プロトタイプを導入することで、ViTにおけるProtoPNetsの解釈性と精度を向上させることができるか?
- RQ3グローバルおよびローカルのプロトタイプは相互に修正し、最終決定に共同で影響を与えて、より良い説明と性能を引き出すのか?
主な発見
- ProtoPFormerは、3つのデータセットと3つのViTバックボーンに渡って、7つのプロトタイプベースのベースラインを一貫して上回る。
- 二枝設計は相互修正を可能にし、グローバルプロトタイプが全体的な特徴を捉え、ローカルプロトタイプが識別に重要なパーツに焦点を当てる。
- 前景保持マスキングとPPC損失は、ローカルプロトタイプをプロトタイプ的パーツへ集中させ、背景の分散を減らす。
- 可視化により、ProtoPFormerが局在化された意味的に意味のあるプロトタイプを生成し、従来の方法のように背景に注意が広がることはない。
- アブレーションにより、グローバル/ローカルの結合意思決定が、別々のブランチよりも優れており、実用的な範囲でプロトタイプ数を増やすと一般に精度が向上することが示される。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。