TL;DR
This paper introduces Graph Concept Bottleneck Models (GCBMs), a novel framework that makes Graph Neural Networks (GNNs) intrinsically interpretable by routing predictions through a layer of human-understandable graph concepts. By treating subgraphs as "words" and graphs as "sentences," GCBMs leverage language models to capture concept correlations, achieving state-of-the-art classification performance while providing clear, editable, and quantifiable explanations of their reasoning.
What Problem Does This Paper Address?
Graph Neural Networks (GNNs) excel at analyzing graph-structured data like molecules or social networks, but they operate as black boxes. Understanding why a GNN makes a prediction is crucial, especially in high-stakes fields like drug discovery.
Existing GNN explainability methods fall short in two major ways:
- Post-hoc limitations: They typically train a separate surrogate model to approximate how a pre-trained GNN works, which can be inaccurate and fail to reflect the model's true internal reasoning.
- Hard logical rules: They produce rigid Boolean formulas (e.g., "contains Subgraph A AND NOT Subgraph B") that cannot quantify exactly how much each structural feature contributes to the final decision.
The authors address these challenges by designing an intrinsically interpretable GNN that uses "soft" logical rules to explicitly show and weigh the combinatorial reasoning behind its predictions.
Methods
The core innovation is the Graph Concept Bottleneck Layer, which integrates into any GNN architecture and breaks the classification process into two transparent stages:
- Concept Extraction & Selection: The framework extracts structural patterns using Weisfeiler-Lehman (WL) subtrees (see Figure 2), which naturally mirror GNN message-passing mechanisms. It then uses Information Gain to filter out irrelevant subgraphs, keeping only the top $M$ most discriminative "graph concepts."
- Graph Concept Embedding (GCBM-E): The authors observed that subgraph distributions in real-world datasets follow a power law, remarkably similar to word distributions in natural language (see Figure 3). Capitalizing on this, they treat graph concepts as "graph words" and entire graphs as "graph sentences." They train a Transformer (BERT variant) to learn dense, context-aware concept embeddings that capture structural correlations (e.g., the semantic similarity between different chemical rings).
- Bottleneck and Sparse Classifier: The backbone GNN predicts a score for each concept based on these embeddings. These scores are then mapped to the final class label via a sparse linear layer. Because this final step is linear and sparse, humans can directly read the weights to see exactly which concepts drove the prediction.
Datasets
The authors evaluated their method across 14 benchmark datasets spanning multiple domains:
- Bioinformatics: MUTAG, PTC-MR, BZR, COX2, DHFR, and PROTEINS (standard graph classification).
- Social Networks: IMDB-B, IMDB-M, COLLAB, and DBLP_v1.
- Class-Imbalanced Benchmarks: PC-3 and MCF-7 (large-scale datasets to test robustness against rare classes).
- Specialized Interpretation Benchmarks: Solubility and Benzene (datasets with ground-truth annotations of interpretable subgraphs to quantitatively evaluate explanation accuracy).
Key Insights and Ideas
- Graphs as Language: Subgraph frequencies follow a power law distribution (Figure 3), justifying the use of Natural Language Processing tools. Using a Transformer to embed "graph sentences" allows the model to understand that two slightly different subgraphs might share the same underlying semantic meaning, avoiding the pitfalls of rigid, orthogonal one-hot representations.
- Intrinsic vs. Post-Hoc: By embedding the concept layer directly into the architecture, the model's explanations are guaranteed to reflect its true internal reasoning, rather than an approximation generated after the fact.
- Intervenability: Because the bottleneck layer exposes explicit concept scores, humans can interact with the model in real-time. If the model misclassifies a graph due to an incorrect concept prediction, a user can manually adjust the concept score or weight to correct the final output, proving that the model actually relies on these concepts for its decision-making.
Key Results
- State-of-the-Art Performance: GCBM-E outperforms or matches 23 baseline models (including standard GNNs, graph kernels, and post-hoc explainers) across the 10 standard datasets.
- Superiority in Imbalanced Scenarios: On highly imbalanced datasets (PC-3 and MCF-7), GCBM-E achieved substantial gains in AUC (e.g., 88.8% on PC-3 compared to GNNExplainer's 84.1%), proving theoretically and empirically that concept alignment prevents the model from ignoring minority class features.
- High-Quality Interpretability: On the Solubility and Benzene datasets, GCBM achieved significantly higher interpretability AUC scores (91.2% and 83.6%) than baselines like GNNExplainer (51.8% and 54.7%), matching true ground-truth subgraphs without requiring complex post-hoc training.
- Domain Validation: When tested on the DHFR molecule dataset, the model automatically assigned high weights to purine and pteridine ring structures—substructures independently verified by biochemists as key active groups for drug inhibitors (see Figure 6).
Limitations and Future Work
While powerful, GCBMs currently rely primarily on WL-subtrees as their structural concepts, which might not capture all forms of complex graph topologies. The authors note that future work will focus on expanding the types of graph concepts—potentially using Large Language Models (LLMs) to generate textual descriptions of graph properties. Additionally, they plan to explore more advanced backbone architectures, such as Graph Transformers, to further scale the framework to highly complex graph data.
Summary updated