Dual-Primal Graph Convolutional Networks

Federico Monti, Oleksandr Shchur, Aleksandar Bojchevski, Or Litany, Stephan Günnemann, Michael M. BronsteinarXiv 2018

Abstract

Dual-Primal Graph Convolutional Networks (DPGCNN) introduce a novel architecture that alternates convolutions between a graph (the primal) and its corresponding line graph (the dual). By learning rich, neighborhood-aware edge features rather than treating edges as simple scalars, DPGCNN provides a powerful generalization of Graph Attention Networks (GAT). This approach enables the model to capture complex structural information often missed by vertex-centric models, achieving state-of-the-art results in vertex classification, link prediction, and recommender systems.

Introduction

In the field of Geometric Deep Learning, most Graph Convolutional Networks (GCNs) focus primarily on vertex features. While nodes often carry rich data, the edges—the connections between them—are frequently relegated to simple weights or ignored entirely. A significant limitation of popular models like the Graph Attention Network (GAT) is their "blind spot" regarding edge context: GAT computes the importance of an edge based solely on the features of the two nodes it connects. Consequently, the attention mechanism is unaware of the broader neighborhood context. For instance, if two different edges connect nodes with identical features, GAT assigns them the same attention score, regardless of their structural roles. DPGCNN addresses this by treating edges as "first-class citizens" capable of learning from their own local neighborhoods.

Methodology

The core innovation of DPGCNN is the systematic use of the Dual Graph (also known as a line graph or adjoint graph).

The Dual Graph Concept

In a dual graph, every node represents an edge from the original (primal) graph. Two nodes in the dual graph are connected if their corresponding edges in the primal graph share a vertex. This transformation allows edge-level information to be processed using standard graph convolution techniques.

Construction of the dual graph from the primal graph.

Alternating Convolutions

The DPGCNN architecture alternates between two types of layers to iteratively refine both node and edge representations:

  1. Dual Convolutional Layer: Performs a GAT-like operation on the dual graph, producing "edge features" that incorporate information from surrounding edges.
  2. Primal Convolutional Layer: Uses these newly learned, context-aware edge features to compute the attention scores for the nodes in the primal graph.

By allowing dual attention scores to be learned rather than fixed, DPGCNN acts as a significantly more expressive generalization of GAT.

Key Insights

Neighborhood-Aware Edges

By convolving on the dual graph, an edge "knows" about the patterns of other edges flowing into or out of its incident nodes. This allows the model to better characterize the relevance of a connection, especially in the presence of noisy data or outliers.

Breaking Symmetry

A critical advantage of DPGCNN is its ability to distinguish between structurally different edges even when the incident nodes have identical features. Standard GAT models fail in these scenarios because their attention mechanism is purely local to the node pair.

Illustration of nodes with identical feature vectors, highlighting how DPGCNN breaks symmetry through structural context.

Computational Efficiency

While constructing a dual graph can be computationally expensive for dense graphs ($O(n^3)$), the authors demonstrate that for the sparse graphs typically found in real-world applications, the cost remains linear ($O(n)$), making the approach scalable.

Evaluation and Results

DPGCNN was evaluated across three distinct tasks: vertex classification (CORA, Citeseer), link direction prediction (directed CORA), and graph-guided matrix completion for recommender systems (MovieLens, Flixter, Douban, Yahoo Music).

The model consistently outperformed existing methods:

  • Citation Networks: On CORA, DPGCNN achieved 83.3% accuracy, surpassing GAT (83.0%) and MoNet (81.7%).
  • Link Prediction: In predicting edge directions, DPGCNN reached 76.45% accuracy, a significant improvement over Primal GAT (74.95%).
  • Recommender Systems: The model achieved state-of-the-art Root Mean Squared Error (RMSE) on all four matrix completion datasets. Notably, on MovieLens, it achieved an RMSE of 0.915, outperforming both Chebyshev GCNs and standard GAT (0.929).

Conclusion and Future Work

While DPGCNN offers superior performance, it introduces higher memory requirements and computational overhead compared to primal-only GCNs. For massive graphs, the authors utilized randomly sparsified dual graphs to manage GPU memory constraints. Future research will explore applying this framework to other domains like point cloud analysis in Computer Vision and leveraging datasets that naturally contain rich edge metadata.

Summary updated

BibTeX
@misc{monti2018dual,
  author = {Federico Monti and Oleksandr Shchur and Aleksandar Bojchevski and Or Litany and Stephan Günnemann and Michael M. Bronstein},
  title = {{Dual-Primal Graph Convolutional Networks}},
  year = {2018},
  eprint = {1806.00770},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.00770},
}
Figure