QGShap: Quantum Acceleration for Faithful GNN Explanations
Preprint
Abstract
Graph Neural Networks (GNNs) have become indispensable in critical domains such as drug discovery, social network analysis, and recommendation systems, yet their black-box nature hinders deployment in scenarios requiring transparency and accountability. While Shapley value-based methods offer mathematically principled explanations by quantifying each component's contribution to predictions, computing exact values requires evaluating $2^n$ coalitions (or aggregating over $n!$ permutations), which is intractable for real-world graphs. Existing approximation strategies sacrifice either fidelity or efficiency, limiting their practical utility. We introduce QGShap, a quantum computing approach that leverages amplitude amplification to achieve quadratic speedups in coalition evaluation while maintaining exact Shapley computation. Unlike classical sampling or surrogate methods, our approach provides fully faithful explanations without approximation trade-offs for tractable graph sizes. We conduct empirical evaluations on synthetic graph datasets, demonstrating that QGShap achieves consistently high fidelity and explanation accuracy, matching or exceeding the performance of classical methods across all evaluation metrics. These results collectively demonstrate that QGShap not only preserves exact Shapley faithfulness but also delivers interpretable, stable, and structurally consistent explanations that align with the underlying graph reasoning of GNNs. The implementation of QGShap is available at https://github.com/smlab-niser/qgshap.
Keywords
All Related Versions
This publication has 15 references indexed in Scilit:
- A survey of graph neural network based recommendation in social networksNeurocomputing, 2023
- Evaluating explainability for graph neural networksScientific Data, 2023
- Graph neural networks for materials science and chemistryCommunications Materials, 2022
- GraphLIME: Local Interpretable Model Explanations for Graph Neural NetworksIEEE Transactions on Knowledge and Data Engineering, 2022
- Learning Graph Representations2021
- A Comprehensive Survey on Graph Neural NetworksIEEE Transactions on Neural Networks and Learning Systems, 2020
- Quantum algorithms: an overviewnpj Quantum Information, 2016
- Quantum speedup of Monte Carlo methodsProceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 2015
- Chapter 53 The shapley value2002
- Quantum amplitude amplification and estimation2002