[Paper Review] Deep Graph Attention Model
This paper proposes the Graph Attention Model (GAM), a recurrent neural network with attention and external memory that selectively processes informative subgraphs for graph classification. By focusing on salient regions instead of the entire graph, GAM-mem outperforms models using full-graph processing, achieving state-of-the-art accuracy on five benchmark datasets, including NCI-33 and NCI-83.
Graph classification is a problem with practical applications in many different domains. Most of the existing methods take the entire graph into account when calculating graph features. In a graphlet-based approach, for instance, the entire graph is processed to get the total count of different graphlets or sub-graphs. In the real-world, however, graphs can be both large and noisy with discriminative patterns confined to certain regions in the graph only. In this work, we study the problem of attentional processing for graph classification. The use of attention allows us to focus on small but informative parts of the graph, avoiding noise in the rest of the graph. We present a novel RNN model, called the Graph Attention Model (GAM), that processes only a portion of the graph by adaptively selecting a sequence of "interesting" nodes. The model is equipped with an external memory component which allows it to integrate information gathered from different parts of the graph. We demonstrate the effectiveness of the model through various experiments.
Motivation & Objective
- Address the limitation of existing graph classification methods that process entire graphs, which can introduce noise and incur high computational costs.
- Improve classification performance on large, noisy real-world graphs where discriminative patterns are sparse and localized.
- Develop a model that uses attention to dynamically select informative subgraph regions, reducing reliance on global graph statistics.
- Integrate an external memory component to aggregate information from multiple visited nodes, enhancing representation learning.
- Demonstrate that focusing on small, relevant subgraphs can yield better performance than processing the entire graph, especially when signal-to-noise ratios are low.
Proposed method
- Propose a recurrent neural network (RNN) architecture that processes a sequence of nodes selected via an attention mechanism.
- Use an attention network to compute a score for each node, guiding the selection of the next node to visit in the graph.
- Introduce an external memory component that stores and aggregates hidden states from visited nodes, enabling long-range information integration.
- Apply weighted pooling over history vectors in the memory to support longer walks and improve representation quality.
- Train the model using reinforcement learning with a policy gradient approach, where the reward is based on prediction accuracy.
- Fix hyperparameters such as sequence length $T=12$, number of samples $M=20$, and use Adam optimization with learning rate scheduling.
Experimental results
Research questions
- RQ1Can an attention-based RNN model that selectively processes subgraphs outperform models that process the entire graph in graph classification?
- RQ2How does incorporating an external memory component affect the performance of an attention-based graph classification model?
- RQ3Does limiting the model to observe only a portion of the graph degrade performance compared to full-graph baselines, and can attention mitigate this?
- RQ4How sensitive is the model's performance to the number of steps $T$ in the sequence of node visits?
- RQ5Can random attention (i.e., random subgraph sampling) achieve comparable performance to learned attention, and what does this imply about the value of attention?
Key findings
- The Graph Attention Model with memory (GAM-mem) achieves state-of-the-art performance on five graph classification datasets, ranking first on four and second on NCI-33.
- GAM-mem consistently outperforms GAM, demonstrating that the external memory significantly improves representation learning by integrating information from multiple graph regions.
- Even with access to only a portion of the graph, GAM outperforms full-graph baselines like Agg-Attr and Agg-WL on most datasets, indicating that selective attention is more effective than global processing.
- Applying random attention to the baselines (Agg-Attr and Agg-WL) drastically reduces their performance, especially Agg-WL, which performs nearly at random on four datasets, proving that attention is not just a regularizer but a key mechanism for identifying useful substructures.
- The model achieves strong performance even with short walks ($T \leq 3$), being only 5–6% worse than the best performance, suggesting that molecular graphs are relatively small and local patterns are highly informative.
- Increasing $T$ improves performance for both GAM and GAM-mem, with GAM-mem benefiting more due to its ability to leverage weighted memory pooling over longer sequences.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.