Skip to main content
QUICK REVIEW

[論文レビュー] Energy-based Out-of-Distribution Detection for Graph Neural Networks

Qitian Wu, Yi-Ting Chen|arXiv (Cornell University)|Feb 6, 2023
Advanced Graph Neural NetworksComputer Science被引用数 8
ひとこと要約

論文は、GNNの logits から導出されたエネルギースコアを用い、エネルギーに基づく信念伝播方式と任意のOOD露出によるエネルギー正則化をオプションで強化した、グラフニューラルネットワーク向けのエネルギー基盤OOD検出器GNNSafeを提案する。GNNSafeはグラフOODベンチマークで最先端手法に対してAUROCの大幅な向上を達成しつつ、効率性とモデル非依存性を維持する。

ABSTRACT

Learning on graphs, where instance nodes are inter-connected, has become one of the central problems for deep learning, as relational structures are pervasive and induce data inter-dependence which hinders trivial adaptation of existing approaches that assume inputs to be i.i.d.~sampled. However, current models mostly focus on improving testing performance of in-distribution data and largely ignore the potential risk w.r.t. out-of-distribution (OOD) testing samples that may cause negative outcome if the prediction is overconfident on them. In this paper, we investigate the under-explored problem, OOD detection on graph-structured data, and identify a provably effective OOD discriminator based on an energy function directly extracted from graph neural networks trained with standard classification loss. This paves a way for a simple, powerful and efficient OOD detection model for GNN-based learning on graphs, which we call GNNSafe. It also has nice theoretical properties that guarantee an overall distinguishable margin between the detection scores for in-distribution and OOD samples, which, more critically, can be further strengthened by a learning-free energy belief propagation scheme. For comprehensive evaluation, we introduce new benchmark settings that evaluate the model for detecting OOD data from both synthetic and real distribution shifts (cross-domain graph shifts and temporal graph shifts). The results show that GNNSafe achieves up to $17.0\%$ AUROC improvement over state-of-the-arts and it could serve as simple yet strong baselines in such an under-developed area.

研究の動機と目的

  • ノードの相互依存性が存在するグラフ構造データに対する信頼性のあるOOD検出の欠如に対処する。
  • GNNのlogitsから抽出されたエネルギー スコアに基づく単純でアーキテクチャに依存しないOOD検出器(GNNSafe)を導入する。
  • グラフのトポロジーを活用したエネルギー基盤の信念伝播方式で検出を強化する。
  • エネルギーギャップを狭めつつ分布内性能を保持するための任意のOOD露出を伴う訓練を検討する。

提案手法

  • ノード分類をG CNベースのエンコーダでモデル化し、各ノードのロジットを生成する。
  • エネルギー関数をE(x, Gx, y; h) = -h_theta(x, Gx)[y]、自由エネルギーをE(x, Gx) = -log sum_y exp(h_theta(x, Gx)[y])と定義する。
  • 標準の教師あり損失で訓練し、分布内データでエネルギーが低下することを保証する(命題1)。
  • エネルギー基盤の信念伝播を適用する:E^(k) = alpha E^(k-1) + (1 - alpha) D^{-1} A E^(k-1) でエネルギーをエゴグラフ全体に伝播する(式7)。
  • 判定規則:伝播されたエネルギー tilde{E} <= tau の場合はOOD、それ以外は分布内(式8)。
  • 任意で、エネルギー正則化をOOD露出とともに追加し、エネルギーを [t_in, t_out] の範囲に束縛して教師あり学習を保持する(式9と命題3)。
(a) The energy distributions on Twitch where nodes in different sub-graphs are OOD instances
(a) The energy distributions on Twitch where nodes in different sub-graphs are OOD instances

実験結果

リサーチクエスチョン

  • RQ1GNNの logits から導出されたエネルギー基盤スコアは、グラフ上の分布内データとOODサンプルを効果的に識別できるか?
  • RQ2エネルギーをグラフトポロジー上に伝播させることは、密度モデルを再訓練せずにOOD検出を改善するか?
  • RQ3OOD露出をエネルギー正則化目的で組み込むことで、分布内精度を損なうことなくOOD識別をさらに強化できるか?
  • RQ4GNNSafeはGNNアーキテクチャに依存せず、複数のグラフデータセットとOODタイプで効果的か?

主な発見

  • GNNSafeはOOD検出ベンチマークで最先端手法より平均AUROCを最大で17.0%改善する。
  • エネルギー伝播は単独のエネルギーを用いる場合よりも一貫してOOD検出性能を改善する。
  • GNNSafe++(エネルギー正則化付き)は、多くの設定で分布内データとOODデータ間のエネルギーギャップをさらに拡大する。
  • GNNSafeは分布内の精度を維持しつつOOD信頼性と効率を向上させる。
  • 本手法はアーキテクチャに依存せず、既製のGNNやグラフトランスフォーマーにも適用可能である。
(b) The energy distributions on Arxiv where nodes appearing in the future are OOD instances
(b) The energy distributions on Arxiv where nodes appearing in the future are OOD instances

この論文を読む

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

Nubintでこの論文を読む

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