LLMExplainer: Large Language Model based Bayesian Inference for Graph Explanation Generation
Jiaxing Zhang, Jiayi Liu, Dongsheng Luo, Jennifer Neville, Hua Wei
TL;DR
This work introduces LLMExplainer, a framework that embeds a Large Language Model as a Bayesian prior within a graph information bottleneck explainer to mitigate learning bias in GNN explanations arising from scarce ground-truth annotations. By coupling Bayesian variational inference with an LLM-based grading mechanism, the method generates explanation subgraphs via a BI-enhanced generator and updates them using a scoring signal from the LLM, ensuring stable convergence and improved fidelity. The approach is evaluated on five datasets (two synthetic, three real-world) against strong baselines, with consistent AUC improvements and evidence that the LLM score effectively reflects and guides explanation quality. The results suggest significant potential for LLM-guided Bayesian explanations to enhance interpretability and reliability of GNN explanations in practical, data-scarce settings, with broader implications for explainable AI in graph domains.
Abstract
Recent studies seek to provide Graph Neural Network (GNN) interpretability via multiple unsupervised learning models. Due to the scarcity of datasets, current methods easily suffer from learning bias. To solve this problem, we embed a Large Language Model (LLM) as knowledge into the GNN explanation network to avoid the learning bias problem. We inject LLM as a Bayesian Inference (BI) module to mitigate learning bias. The efficacy of the BI module has been proven both theoretically and experimentally. We conduct experiments on both synthetic and real-world datasets. The innovation of our work lies in two parts: 1. We provide a novel view of the possibility of an LLM functioning as a Bayesian inference to improve the performance of existing algorithms; 2. We are the first to discuss the learning bias issues in the GNN explanation problem.
