On the probability of necessity and sufficiency of explaining Graph Neural Networks: A lower bound optimization approach.

Journal: Neural networks : the official journal of the International Neural Network Society
PMID:

Abstract

The explainability of Graph Neural Networks (GNNs) is critical to various GNN applications, yet it remains a significant challenge. A convincing explanation should be both necessary and sufficient simultaneously. However, existing GNN explaining approaches focus on only one of the two aspects, necessity or sufficiency, or a heuristic trade-off between the two. Theoretically, the Probability of Necessity and Sufficiency (PNS) holds the potential to identify the most necessary and sufficient explanation since it can mathematically quantify the necessity and sufficiency of an explanation. Nevertheless, the difficulty of obtaining PNS due to non-monotonicity and the challenge of counterfactual estimation limit its wide use. To address the non-identifiability of PNS, we resort to a lower bound of PNS that can be optimized via counterfactual estimation, and propose a framework of Necessary and Sufficient Explanation for GNN (NSEG) via optimizing that lower bound. Specifically, we depict the GNN as a structural causal model (SCM), and estimate the probability of counterfactual via the intervention under the SCM. Additionally, we leverage continuous masks with a sampling strategy to optimize the lower bound to enhance the scalability. Empirical results demonstrate that NSEG outperforms state-of-the-art methods, consistently generating the most necessary and sufficient explanations. The implementation of our NSEG is available at https://github.com/EthanChu7/NSEG.

Authors

  • Ruichu Cai
    Faculty of Computer Science, Guangdong University of Technology, Guangzhou, People's Republic of China. Electronic address: cairuichu@gmail.com.
  • Yuxuan Zhu
    Department of Electrical and Computer Engineering, University of California, San Diego, La Jolla, CA, 92093, USA.
  • Xuexin Chen
    School of Computer Science, Guangdong University of Technology, Guangzhou 510006, China. Electronic address: im.chenxuexin@gmail.com.
  • Yuan Fang
    Department of Neurology, Dongyang People's Hospital, Affiliated to Wenzhou Medical University, Dongyang, China.
  • Min Wu
    Guizhou University of Traditional Chinese Medicine, Guiyang, Guizhou Province, China.
  • Jie Qiao
  • Zhifeng Hao
    School of Computer Science and Technology, Guangdong University of Technology, Guangzhou 510006, China. zfhao@gdut.edu.cn.