Skip to main content
QUICK REVIEW

[논문 리뷰] Distill n' Explain: explaining graph neural networks using simple surrogates

Tamara Pereira, Erik Nasciment|arXiv (Cornell University)|2023. 03. 17.
Explainable Artificial Intelligence (XAI)Computer Science인용 수 3
한 줄 요약

이 논문은 지식 정련을 통해 단순한 대체 GNN로 복잡한 GNN을 정제하고, 볼록 최적화를 통해 설명을 추출함으로써 그래프 신경망(GNNs)을 설명하는 데에 새로운 프레임워크인 Distill n’ Explain (DnX)를 제안한다. DnX와 그 더 빠른 변종인 FastDnX는 GNNExplainer 대비 최대 65,000배 빠른 속도로 최신 기준의 설명 충실도와 정확도를 달성하며, 정제 품질과 설명 충실도 간의 이론적 보장도 제공한다.

ABSTRACT

Explaining node predictions in graph neural networks (GNNs) often boils down to finding graph substructures that preserve predictions. Finding these structures usually implies back-propagating through the GNN, bonding the complexity (e.g., number of layers) of the GNN to the cost of explaining it. This naturally begs the question: Can we break this bond by explaining a simpler surrogate GNN? To answer the question, we propose Distill n' Explain (DnX). First, DnX learns a surrogate GNN via knowledge distillation. Then, DnX extracts node or edge-level explanations by solving a simple convex program. We also propose FastDnX, a faster version of DnX that leverages the linear decomposition of our surrogate model. Experiments show that DnX and FastDnX often outperform state-of-the-art GNN explainers while being orders of magnitude faster. Additionally, we support our empirical findings with theoretical results linking the quality of the surrogate model (i.e., distillation error) to the faithfulness of explanations.

연구 동기 및 목표

  • 깊은 아키텍처를 거쳐 역전파를 수행해야 하는 복잡한 GNN의 설명에 대한 높은 계산 비용을 해결하기 위해.
  • 기존 GNN 대신 경량 대체 모델을 사용하여 설명 비용이 GNN의 깊이에 따라 증가하는 데서 벗어나기 위해.
  • 기존 GNN 설명기반 보다 인fer 속도를 크게 향상시키면서도 높은 설명 충실도를 유지하는 방법을 개발하기 위해.
  • 정제된 대체 모델의 품질과 도출된 설명의 충실도 간의 이론적 근거를 제공하기 위해.
  • 기존 GNN 설명 벤치마크의 타당성을 도전하기 위해, 단순한 인덕티브 편향(예: 노드 차수)이 합성 데이터셋에서 높은 정확도를 달성할 수 있음을 보여주기 위해.

제안 방법

  • 기존 GNN의 예측을 모방하는 단순한 대체 GNN(예: SGC)을 지식 정련을 통해 훈련한다.
  • 대체 모델 내에서 영향력 있는 노드를 식별하는 볼록 최적화 문제를 해결하여 노드 또는 엣지 수준의 설명을 추출한다.
  • FastDnX에서 대체 모델의 선형 구조를 활용해 닫힌 해를 통한 해법을 통해 설명 계산을 가속화한다.
  • 기존 GNN의 순방향 전파만을 사용하여 대체 모델을 훈련함으로써 역전파를 피하고 블랙박스 접근을 가능하게 한다.
  • 대체 GNN의 노드 특징에 대해 희소 마스크 학습 문제로 설명 작업을 공식화하며, 희소 제약 조건 하에 예측 충실도를 최대화한다.
  • 기존 GNN과 대체 GNN 간의 정제 오차가 감소할수록 설명의 충실도가 향상됨을 보여주는 이론적 경계를 제시한다.
Figure 1: Time comparison. The bar plots show the average time each method takes to explain a prediction from GCN. FastDnX is consistently the fastest method, often by a large margin. For the datasets with largest average degree (Bitcoin datasets), FastDnX is 4 orders of magnitude faster than PGMExp
Figure 1: Time comparison. The bar plots show the average time each method takes to explain a prediction from GCN. FastDnX is consistently the fastest method, often by a large margin. For the datasets with largest average degree (Bitcoin datasets), FastDnX is 4 orders of magnitude faster than PGMExp

실험 결과

연구 질문

  • RQ1기존의 깊은 GNN을 직접 설명하는 것보다, 단순하고 정제된 대체 GNN을 설명하는 것이 더 효율적이고 충실한 설명을 얻을 수 있는가?
  • RQ2대체 모델에서 도출된 설명의 충실도는 기존 GNN과 대체 GNN 간의 정제 오차와 어떤 관계가 있는가?
  • RQ3간단한 선형 대체 모델이 복잡한 GNN에 대해 충분한 표현 능력을 유지하여 고품질의 설명을 생성할 수 있는가?
  • RQ4현재의 GNN 설명 벤치마크가 단순한 인덕티브 편향(예: 노드 차수)에 의해 영향을 받는 정도는 어느 정도이며, 이를 기초적인 히وري스틱으로 쉽게 이용할 수 있는가?
  • RQ5제안된 방법이 실제 그래프에 대해 적용되었을 때, 최신 기준의 설명기보다 뛰어난 속도와 성능를 유지할 수 있는가?

주요 결과

  • DnX와 FastDnX는 여덟 개의 노드 분류 벤치마크에서 최신 기준의 GNN, PG, PGM 설명기보다 높은 설명 충실도를 달성한다.
  • 실제 데이터셋에서 FastDnX는 GNNExplainer 대비 최대 65,000배 빠른 속도를 기록했으며, 모든 테스트 작업에서 최소 200배의 속도 향상을 보였다.
  • 합성 데이터셋에서 DnX/FastDnX는 정확도가 최고가 아니었음에도 불구하고 50%의 경우에서 가장 높은 충실도를 기록하여 우수한 충실도를 입증했다.
  • 간단한 백그라운드 기반 모델(정규화된 인접 행렬을 세 번 거듭제곱한 것)만으로도 합성 데이터셋에서 90~99.9%의 정확도를 달성하여 현재의 벤치마크가 너무 단순할 수 있음을 시사한다.
  • Faber 등이 제시한 더 도전적인 벤치마크(Community 및 Negative Evidence)에서 FastDnX는 각각 94.0%와 99.5%의 정확도를 기록하여 기존 기반 모델들을 압도했다.
  • 이론적 분석을 통해 정제 오차가 낮을수록 더 충실한 설명이 도출됨을 확인하였으며, 대체 모델 기반 접근의 타당성을 검증했다.
Figure 2: Confusion matrix of the distillation process for the BA-Community dataset. Classes 1 and 5 correspond to base nodes. While the surrogate misclassifies many motif nodes, it is able to correctly predict almost all base ones.
Figure 2: Confusion matrix of the distillation process for the BA-Community dataset. Classes 1 and 5 correspond to base nodes. While the surrogate misclassifies many motif nodes, it is able to correctly predict almost all base ones.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.