Abstract
Graph Neural Networks (GNNs) are powerful tools for analyzing structured data, yet their "black box" nature often limits their deployment in sensitive domains like drug discovery. We present HELP (Hierarchical Explainable Latent Pooling), a GNN architecture designed to be interpretable-by-design. By mimicking human cognition—building from small motifs to high-level concepts—HELP provides transparent, hierarchical explanations for its predictions. Our method utilizes a novel pooling strategy that combines embedding-based clustering with connected component merging. Experimental results demonstrate that HELP maintains competitive accuracy while significantly outperforming existing methods in concept consistency and alignment with domain expertise.
Introduction
Graph Neural Networks (GNNs) excel at tasks like social network analysis and molecular property prediction, but understanding why a model makes a specific prediction remains a challenge. Existing explainability methods typically suffer from two main drawbacks: they are often post-hoc (explaining a model after training, which can be unfaithful) and they focus on "flat" concepts, ignoring the natural hierarchy of graphs. In chemistry, for instance, atoms form functional groups, which in turn form molecules. HELP addresses these issues by explicitly building these hierarchies into the network architecture, allowing for inspection at every level of abstraction.
Methodology
The core of the HELP architecture is a series of "pool blocks" that coarsen the graph while preserving its structural meaning.
Unlike standard pooling methods, HELP uses a multi-step process:
- GNN Layers: Standard message-passing updates node embeddings.
- Clustering: $k$-means clustering groups similar nodes across the dataset in the embedding space.
- Merging Connected Components: This is the critical "interpretable" step. HELP only merges nodes that are in the same cluster and belong to the same connected component. This preserves spatial structure, such as keeping distinct functional groups separate even if they share the same chemical signature.
- Differentiability: To allow backpropagation through the non-differentiable clustering step, the authors employ a Hyperplane Gradient Approximation, using Monte Carlo estimates to smooth the loss landscape.
Experimental Setup
HELP was evaluated on a diverse set of benchmarks:
- Synthetic Hierarchical & Expressivity: New datasets designed to test if models can discover hierarchical motifs (like "houses" made of triangles) and distinguish between structures that standard GNNs (limited by the 1-WL test) typically fail to differentiate.
- Real-World Chemistry: Mutagenicity and BBBP (Blood-Brain Barrier Penetration) datasets.
- Social Networks: REDDIT-BINARY.
Results and Discussion
HELP achieves predictive accuracy on par with state-of-the-art "black box" methods like DiffPool and ASAP. However, its primary advantage lies in its interpretability.
Key Insights:
- Concept Conformity: The authors introduced a "Conformity" metric to measure how consistently a discovered concept represents the same underlying subgraph. HELP achieved a conformity of ~84% on the Mutagenicity dataset, compared to just ~16% for post-hoc methods like GCExplainer.
- Expert Alignment: Qualitative analysis showed that HELP’s discovered concepts in molecular datasets aligned perfectly with known chemical functional groups (e.g., $NO_2$ groups or aromatic rings) that human experts recognize as drivers of toxicity.
- Expressivity: By explicitly searching for connected components during pooling, HELP breaks the 1-WL expressivity barrier, making it more powerful than standard message-passing GNNs.
Conclusion
HELP provides a robust framework for building GNNs that are both powerful and transparent. While the computational cost of the gradient approximation and sensitivity to the number of clusters ($k$) remain areas for optimization, the model's ability to discover human-aligned hierarchical concepts marks a significant step forward for trustworthy AI in graph-based domains. Future work will explore integrating these concepts into logic-based rules for even greater human readability.
Summary updated