The Graph Concept Bottleneck: Decoding Combinatorial Reasoning in GNNs for Interpretability

Yue Niu, zhaokai sun, Jiayi Yang, Chunchun Chen, Xiaofeng Cao, Rui Fan, Xin Sun, Wei YeNeurIPS 2026

TL;DR

Graph Neural Networks (GNNs) are great at predicting molecular properties or classifying social networks, yet we rarely know why they make a specific call—a dangerous blind spot in high-stakes fields like drug discovery. This paper introduces Graph Concept Bottleneck Models (GCBMs), forcing GNNs to route their predictions through a transparent layer of human-understandable graph substructures ("concepts") using soft, differentiable logic. Better yet, by treating these substructures like words in a sentence and embedding them with Language Models, GCBMs don't have to sacrifice accuracy for interpretability—they actually beat black-box baselines at both.

What Problem Does This Paper Address?

When a GNN flags a molecule as a promising drug candidate, is it recognizing valid chemical functional groups, or just exploiting a spurious dataset quirk? Answering this requires decoding combinatorial reasoning: how a GNN discovers discrete subgraphs (motifs) and combines them into a global decision rule.

Historically, researchers tried to peek inside the black box after training (post-hoc methods), using surrogate models to approximate the GNN's behavior with hard Boolean rules (e.g., IF Motif A AND Motif B -> Class 1). This has two major flaws:

  1. Unfaithful proxies: Post-hoc surrogates guess what the GNN did after the fact, which can deviate from the network's true internal reasoning.
  2. Rigid, unquantified rules: Hard True/False Boolean logic treats every motif in a rule as binary, failing to tell us how much each substructure actually contributed to the final prediction.

Meanwhile, Concept Bottleneck Models (CBMs)—which build intrinsic interpretability directly into neural networks—have thrived in vision and text, but previous attempts on graphs relied on expensive, manually defined concepts with poor expressiveness.

Methods

The authors propose GCBMs, an end-to-end framework that splits graph classification into two transparent steps: a GNN backbone (like GIN) predicts which structural "concepts" exist in a graph, and a sparse linear layer combines those concept scores to predict the final class. Because linear classifiers can represent continuous relaxations of Boolean logic, this bottleneck acts as a learnable, "soft" reasoning engine.

Figure 1: Overview of the GCBMs construction pipeline.

Building this pipeline without manual human labeling requires three clever steps:

  • Automated Concept Extraction & Selection: Since standard GNN message-passing mimics the Weisfeiler-Lehman (WL) graph isomorphism test, the authors extract WL-subtrees (local neighborhood trees of height $1$ to $K$) as candidate concepts. They prune the massive vocabulary down to the top $M$ most informative subtrees using mutual information (information gain) against the class labels.
  • Context-Aware "Graph Words" (GCBM-E): Standard one-hot encodings treat concepts as completely independent, ignoring chemical or structural similarities (like pyridine vs. pyrimidine rings). Noticing that graph substructures follow a natural-language-like power-law distribution, the authors treat WL-subtrees as "graph words." They sort a graph's subtrees lexicographically into a "graph sentence" and train a Transformer Language Model to learn dense, context-aware embeddings. Ground-truth concept supervision labels are then generated via cosine similarity in this rich embedding space.
  • Joint Training: The network optimizes three losses simultaneously: aligning GNN layer outputs with ground-truth concept scores, cross-entropy for class prediction, and $L_1$ regularization to keep the final reasoning weights sparse and readable.

Datasets

No new datasets are introduced, though the authors evaluate across 14 existing benchmarks spanning biochemistry, social networks, and bioinformatics:

  • Interpretability (annotated with ground-truth subgraphs): Solubility, Benzene.
  • Standard Classification Benchmarks: MUTAG, PTC-MR, BZR, COX2, DHFR, IMDB-B, IMDB-M, COLLAB, DBLP_v1.
  • Large-scale Class-Imbalanced Benchmarks: PC-3, MCF-7, OGBG-MOLHIV.

Key Insights and Ideas

  • Graphs speak Zipf's Law: Just like words in English, a few WL-subtrees appear everywhere while most are rare. Sorting these subtrees lexicographically into "sentences" clusters topologically similar motifs together, letting a standard Transformer with positional encodings capture subtle structural co-occurrences.
  • Interpretability without the "accuracy tax": Usually, forcing a neural network through a human-readable bottleneck hurts predictive power. Here, supervising intermediate GNN layers with multi-scale concept frequencies and LM embeddings actually guides the GNN toward better structural representations.
  • Synergistic Human Intervention: Because the bottleneck is explicit, humans can step in and edit concept activations or weights at test time. Crucially, tweaking two related chemical concepts jointly fixes more errors than the sum of tweaking them individually—proving the model genuinely relies on combinatorial logic rather than isolated features.

Key Results

Sankey diagram showing how GCBM-E weights key molecular concepts to decide between classes on the DHFR dataset.

  • Quantitative Interpretability: On subgraph alignment (AUC), GCBMs score 91.2% on Solubility (vs. 84.0% for second-best LogiX-GIN) and 83.6% on Benzene, with zero variance because concept selection is deterministic.
  • Domain Alignment: On the DHFR dataset, the highest-weighted concepts map directly back to purine and pteridine rings—substructures independently confirmed by biochemists as active functional groups in dihydrofolate reductase inhibitors.
  • Classification Accuracy: The LM-enhanced GCBM-E achieves top-2 accuracy on 8 of 9 standard benchmarks (ranking #1 on 6, such as 93.6% on MUTAG and 87.6% on DBLP_v1), outperforming black-box GNNs, graph kernels, and Graph Transformers.
  • Imbalanced & Large-Scale Data: GCBM-E shines on tough, imbalanced datasets, hitting 88.8% AUC on PC-3, 86.2% on MCF-7, and 81.0% on OGBG-MOLHIV.
  • Intervenability: Editing misclassified concept vectors in GCBM boosts DHFR accuracy from 85.7% to 87.3%, while joint weight intervention on two key concepts in GCBM-E lifts accuracy from 86.1% to 87.0%.

Limitations and Future Work

While the authors don't dedicate a standalone section to flaws, a few constraints emerge from their experiments and conclusion:

  • Concept Expressiveness: Relying on WL-subtrees ties the concept vocabulary to the expressive limits of the first-order WL test (for instance, struggling to explicitly represent certain cyclic nuances without tree unfolding), and pruning $K$ (subtree height) too aggressively degrades accuracy.
  • Intervention Trade-offs: In GCBM-E, globally editing concept-to-class weights isn't surgical—fixing 15 misclassified molecules also introduced 8 new errors on previously correct samples.
  • Future Directions: The authors plan to move beyond WL-subtrees by leveraging Large Language Models to expand the types of extractable graph concepts, alongside testing more advanced GNN backbones.

Summary updated

Abstract

GNNs have achieved remarkable success in graph learning, yet their black-box nature obscures the combinatorial reasoning behind their predictions. A core challenge lies in understanding how GNNs translate topological patterns (graph concepts) into logical rules. Current works only uncover hard Boolean logical rules over graph concepts, which cannot quantify the contribution of each concept to model predictions. Moreover, they are post-hoc methods that generate explanations after training via surrogate models, and thus may deviate from the true combinatorial reasoning of GNNs. In this work, we develop the graph concept bottleneck that enforces the combinatorial reasoning of GNNs to fit soft logical rules over graph concepts, thereby quantifying the contribution of each concept. To further enhance the graph concept bottleneck, we treat graph concepts as "graph words" and graphs as "graph sentences", and leverage language models to learn context-aware graph concept embeddings. Extensive experiments on multiple datasets show that our method GCBMs achieve state-of-the-art performance in both interpretability and classification.
BibTeX
@inproceedings{niu2026graph,
  author = {Yue Niu and zhaokai sun and Jiayi Yang and Chunchun Chen and Xiaofeng Cao and Rui Fan and Xin Sun and Wei Ye},
  title = {{The Graph Concept Bottleneck: Decoding Combinatorial Reasoning in GNNs for Interpretability}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=XNzMICeQlD},
}
Figure