Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

LogicXGNN: Grounded Logical Rules for Explaining Graph Neural Networks

About

Existing rule-based explanations for Graph Neural Networks (GNNs) provide global interpretability but often optimize and assess fidelity in an intermediate, uninterpretable concept space, overlooking grounding quality for end users in the final subgraph explanations. This gap yields explanations that may appear faithful yet be unreliable in practice. To this end, we propose LogicXGNN, a post-hoc framework that constructs logical rules over reliable predicates explicitly designed to capture the GNN's message-passing structure, thereby ensuring effective grounding. We further introduce data-grounded fidelity ($\textit{Fid}_{\mathcal{D}}$), a realistic metric that evaluates explanations in their final-graph form, along with complementary utility metrics such as coverage and validity. Across extensive experiments, LogicXGNN improves $\textit{Fid}_{\mathcal{D}}$ by over 20% on average relative to state-of-the-art methods while being 10-100 $\times$ faster. With strong scalability and utility performance, LogicXGNN produces explanations that are faithful to the model's logic and reliably grounded in observable data. Our code is available at https://github.com/allengeng123/LogicXGNN/.

Chuqin Geng, Ziyu Zhao, Zhaoyue Wang, Haolin Ye, Yuhe Jiang, Xujie Si• 2025

Related benchmarks

TaskDatasetResultRank
Graph ClassificationNCI1 (test)
Accuracy63.63
177
Graph ClassificationMutagenicity (test)
Accuracy68.69
14
Graph ClassificationBAShapes (test)
Accuracy82.67
3
Graph ClassificationIMDB (test)
Accuracy74.16
3
Graph Classification ExplanationBAShapes
Weighted F1-score82.68
3
Graph Classification ExplanationMutagenicity
Weighted F181.44
3
Graph Classification ExplanationNCI1
Weighted F1 Score73.66
3
Graph Classification ExplanationIMDB
Weighted F1 Score71.43
3
Graph Classification ExplanationIMDB
Weighted Recall74.16
3
Graph Classification ExplanationBAShapes (test)
Weighted Precision82.76
3
Showing 10 of 28 rows

Other info

Follow for update