Logic Gate Graph Neural Networks with Exact Count-Preserving Rules
Abstract
Many Graph Neural Network (GNN) explainers select influential subgraphs for local predictions, but do not show which patterns the GNN uses across a class. Logic-based explanations address this with logical rules over combinations of subgraph patterns (motifs). However, these rules act as surrogates to the trained GNN and can disagree with the model. Self-explainable logic GNNs, such as LogiX-GIN, train continuous units and binarize them afterward, so their rules likewise describe a network that can predict differently from the trained continuous network. We propose a Logic Gate Graph Neural Network (LGGNN) that uses discrete logic gates during training and inference. The trained network can be translated into exact circuit rules, with node-threshold bits expressible in graded modal logic for binary node features. Across seven graph classification datasets, LGGNN beats the compared self-explainable GNNs on average, achieving a mean test accuracy of 87.16%, above GIN's 86.74%. To summarize the circuit rules, we also fit shorter motif rules by tracing class votes to subgraphs. These motif rules agree with the model's predictions on 71.24%-100.00% of test graphs and achieve higher overall mean fidelity than the baselines.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI, cs.LO
Related papers
Compressing Gated DeltaNet States with a Shared Value Basis and an Adaptive Residual
Shared title terminologycs.LGIvan Krivorotov, Egor Maximov, Aleksei Merkelov et al.
Alignment and Convergence Analyses of Gradient Flow in Two-Layer Convolutional Neural Networks
Shared title terminologycs.LGWang Xiang, Saptarshi Chakraborty
BlockDTW: Efficient, Parallel and Differentiable Time-Series Alignment for Neural Learning Systems
Shared title terminologycs.LGAlberto Zancanaro, Leonardo Badia, Giulia Cisotto
Ultra-weak separable physics-informed neural networks
Shared title terminologycs.LGBruno Jacob, Carlos Antonio Ribeiro Duarte
Benchmarking Graph Self-Supervised Learning for Node-Level Tasks: Insights and a Strong Baseline
Shared title terminologycs.LGDmitry Eremeev, Gleb Bazhenov, Oleg Platonov et al.
ALPS: Annealed Local Penalties for Efficient Sobolev Regularization on Implicit Neural Representations
Shared title terminologycs.LGRichard F. M. Lim, Jeová Farias Sales Rocha Neto