TL;DR
This paper adapts popular Convolutional Neural Network (CNN) explainability methods to Graph Convolutional Neural Networks (GCNNs), enabling us to understand what parts of a graph are important for a GCNN's prediction. They evaluate these methods on visual scene graphs and molecular graphs, proposing metrics for fidelity, contrastivity, and sparsity to characterize their trade-offs.
What Problem Does This Paper Address?
Deep learning models, particularly CNNs, have achieved remarkable success in various domains. However, their "black box" nature makes it difficult to understand why they make certain predictions. This lack of interpretability is a significant hurdle, especially in critical applications like medical diagnosis or scientific discovery. While explainability methods for CNNs (which operate on grid-like image data) have been developed, GCNNs, which handle more complex, non-Euclidean graph-structured data (like social networks, molecules, or scene graphs), have lacked similar interpretability tools. This paper aims to bridge this gap by extending existing CNN explainability techniques to the GCNN domain.
Methods
The authors adapt three well-established CNN explainability methods to GCNNs:
- Contrastive Gradient-based (CG) Saliency Maps: This method computes the gradient of the output with respect to the input features. For GCNNs, this translates to identifying important nodes in the graph.
- Class Activation Mapping (CAM) and Gradient-weighted CAM (Grad-CAM): These methods identify important regions in the last convolutional layer rather than the input space. The authors extend this to GCNNs by using feature maps from GCNN layers and adapting the global average pooling (GAP) mechanism commonly used with GCNNs. Grad-CAM is particularly noted for relaxing the strict architectural requirements of CAM.
- Excitation Backpropagation (EB): This method uses a backward pass through the network to generate heatmaps. The authors adapt EB for GCNNs by defining backward passes through graph convolutional layers. They also introduce a contrastive EB (c-EB) variant.
To quantitatively evaluate these methods, they propose three metrics:
- Fidelity: Measures how much classification accuracy drops when salient features identified by the explanation are occluded.
- Contrastivity: Assesses how well an explanation highlights different features for different classes.
- Sparsity: Quantifies how localized an explanation is, which is crucial for large graphs.
Datasets
The paper evaluates their methods on two types of graph data:
- Visual Scene Graphs: Derived from the Visual Genome dataset, used for binary classification tasks like "country vs. urban" and "indoor vs. outdoor." These graphs combine relational information between objects with visual features extracted from image regions.
- Molecular Graphs: Three datasets are used: BBBP, BACE, and NR-ER from TOX21. These datasets represent molecules as graphs where nodes are atoms and edges are bonds, used for predicting chemical properties.
Key Insights and Ideas
- Generalizability of CNN Explainability: The core idea is that explainability concepts developed for grid-structured data (CNNs) can be meaningfully adapted to graph-structured data (GCNNs), opening up a new avenue for understanding these powerful models.
- Trade-offs are Crucial: No single method is universally best. The choice depends on the application's needs, with Grad-CAM offering good contrastivity but potentially lower sparsity on large graphs, while c-EB excels in sparsity at the cost of fidelity.
- Functional Groups in Molecules: The analysis of salient substructures in molecular graphs revealed interpretable patterns that correspond to known "functional groups," suggesting GCNN explainability can aid in scientific discovery.
- Importance of Contrastivity for Class-Specific Explanations: For explanations to be useful in distinguishing between classes, contrastivity is a key property, making methods like CG less suitable for this specific purpose.
Key Results
- Quantitative Evaluation: Table 2 provides a comprehensive comparison of the adapted methods across datasets and metrics.
- Fidelity: CG achieved the highest fidelity.
- Contrastivity: Grad-CAM showed the highest contrastivity, followed closely by c-EB.
- Sparsity: c-EB was the sparsest, with EB also performing well.
- Qualitative Examples: Figures 3 and 4 showcase visual explanations for scene graphs and molecules, demonstrating how different methods highlight different parts of the input. For scene graphs, Grad-CAM and CAM/Grad-CAM were shown to highlight different objects for different classes, unlike the gradient method. For molecules, c-EB demonstrated remarkable sparsity.
- Subgraph Analysis: The frequency analysis of salient substructures identified by Grad-CAM on molecular datasets revealed patterns interpretable as functional groups, such as amides and aromatic structures.
Limitations and Future Work
- Limitations of CG: The paper notes that Contrastive Gradient (CG) has high fidelity but low contrastivity, making it unsuitable for class-specific explanations.
- Scalability: While c-EB offers good sparsity, making it suitable for large graphs, its lower fidelity might be a concern. Grad-CAM, while contrastive, might be problematic on very large graphs due to sparsity limitations.
- Future Work: The authors suggest investigating new explainability methods for graphs, exploring their use to improve GCNN performance (e.g., in visual scene graph generation), and further validating the chemical interpretability of identified molecular substructures. They also mention that their methods could be extended to GCNNs with relational edges.
Summary updated