DAGCN: Dual Attention Graph Convolutional Networks

Fengwen Chen, Shirui Pan, Jing Jiang, Huan Huo, Guodong Long

Abstract

Graph Convolutional Networks (GCNs) are powerful tools for network-structured data but often struggle with graph-level classification due to the loss of local hierarchical information and over-simplified pooling methods. We present Dual Attention Graph Convolutional Networks (DAGCN), a framework that employs attention mechanisms at two stages: an Attention Graph Convolution (AGC) layer to capture multi-hop neighborhood features and a self-attention pooling layer to generate multi-faceted graph embeddings. Evaluated on several bioinformatics benchmarks, DAGCN demonstrates superior performance and faster convergence compared to existing deep learning models.

Introduction

Graph classification involves categorizing an entire graph, a task central to fields like bioinformatics and chemoinformatics. While standard GCNs excel at node-level tasks, they face two primary challenges in graph-level analysis: "information amnesia" regarding early-stage local structures and the loss of topological nuance during global pooling. Most models rely solely on the final $k$-hop neighborhood representation and use simple mean or max pooling, which fails to capture the complex, multi-scale nature of graph data.

Methodology: The Dual Attention Framework

DAGCN addresses these limitations through a dual-attention architecture designed to preserve hierarchical features and provide a comprehensive graph summary.

Attention Graph Convolution (AGC)

Unlike traditional aggregation that focuses on a fixed neighborhood size, the AGC layer learns to weight the importance of information from different "hops" (1 to $k$). By assigning attention weights to each hop, the model can prioritize local chemical bonds or global molecular structures as needed. This hierarchical approach is further stabilized using residual learning, ensuring that original input features are not lost as the network grows deeper.

Self-Attention Pooling

To transition from node-level embeddings to a graph-level representation, DAGCN utilizes a self-attention pooling mechanism. Instead of a single vector, it produces a graph embedding matrix where each row captures a distinct "perspective" or "signature" of the graph. This multi-dimensional summary allows the model to simultaneously recognize multiple significant sub-structures.

Overview of the DAGCN architecture, featuring the Attention Convolutional Module and the multi-perspective Attention Pooling layer.

Experimental Evaluation

The model was tested on seven bioinformatics datasets, including NCI1, NCI109 (anti-cancer activity), D&D, PROTEINS, ENZYMES (protein structures), MUTAG, and PTC (toxicology). These datasets represent a variety of graph sizes and classification challenges.

Results and Discussion

DAGCN consistently outperformed deep learning baselines such as DCNN and DGCNN, showing significant accuracy gains—up to 8% on NCI109. The model also proved competitive with traditional Weisfeiler-Lehman (WL) graph kernels while maintaining linear scalability, a major advantage for large-scale applications.

Comparison of training accuracy and convergence between DAGCN and DGCNN across NCI109, ENZYMES, and NCI1 datasets.

Beyond accuracy, DAGCN exhibits faster convergence. As shown in the performance plots, DAGCN reaches higher accuracy levels earlier in the training process than its counterparts, indicating a more efficient learning trajectory.

Conclusion

DAGCN introduces a robust framework for graph classification by treating graphs as hierarchies of features rather than flat node collections. By leveraging dual attention for both feature extraction and global pooling, the model captures nuanced structural information that simpler GCNs overlook. Future work will focus on applying this architecture to heterogeneous datasets like social networks and improving the interpretability of the learned attention weights.

Summary updated

BibTeX
@inproceedings{chen2019dagcn,
  author = {Fengwen Chen and Shirui Pan and Jing Jiang and Huan Huo and Guodong Long},
  title = {{DAGCN: Dual Attention Graph Convolutional Networks}},
  booktitle = {IJCNN},
  year = {2019},
  doi = {10.1109/ijcnn.2019.8851698},
}
Figure