Deep Graphs

Emmanouil Antonios Platanios, Alex SmolaarXiv 2018

Introduction

Traditionally, graph-based learning has relied on hand-crafted algorithms like PageRank or HITS to extract meaningful features from network structures. While effective, these heuristics are often rigid and may not be optimal for specific downstream tasks. In "Deep Graphs," Emmanouil Antonios Platanios and Alex Smola propose a framework that treats graph learning as a trainable recurrent process. By replacing fixed mathematical formulas with learned neural networks, the authors demonstrate significant performance gains in node classification and ranking.

Problem Statement

The primary challenge in graph representation learning is the reliance on domain expertise to engineer static features. Standard algorithms use fixed update rules to propagate information across edges. Deep Graphs (DG) addresses this by seeking an end-to-end approach where update functions are learned directly from data, allowing the model to adapt its aggregation strategy to the specific characteristics of the dataset and task.

Methodology

The core innovation of Deep Graphs is viewing a graph as an unrolled Recurrent Neural Network (RNN).

The Update Mechanism

Instead of a fixed heuristic, DG defines a parametric function $f$ (parameterized by $\theta$) to update a vertex's state $\phi(i)$ based on its current state and the states of its neighbors.

The Deep Graphs framework updates vertex features using a learned function $f$ that aggregates information from neighboring nodes.

The authors explored two primary architectures for the update function:

  • DG-S (Sigmoid): A standard multi-layer perceptron (MLP) with sigmoid activation.
  • DG-G (GRU): A Gated Recurrent Unit, which mitigates vanishing gradient issues and better captures long-range dependencies across the graph topology.

Unrolling and Optimization

To train the model, the graph iterations are "unrolled" for $K$ steps, enabling Backpropagation Through Time (BPTT).

Unrolling the graph iterations allows the model to be trained as a recurrent neural network over $k$ steps.

Due to the global nature of graph updates, standard Stochastic Gradient Descent (SGD) often struggles. The authors instead utilized BFGS, a quasi-Newton optimization method that leverages curvature information to navigate the loss landscape more effectively. Despite the complexity of the learned functions, the algorithm maintains a computational complexity of $O(|E| + |V|)$, ensuring scalability to large networks.

Experimental Evaluation

The framework was evaluated across several diverse datasets:

  • Blogosphere: A network of political blogs for liberal/conservative classification.
  • DREAM 5: Gene regulatory networks for identifying transcription factors.
  • WebSpam: A large-scale dataset (over 1.8M edges) for host-level spam detection.

Key Results

  • Efficiency: DG learned to approximate classical metrics like PageRank and HITS in just 6 iterations, significantly faster than the hundreds of iterations typically required for convergence.
  • Classification Performance: On the WebSpam dataset, DG achieved an AUC of 0.98, a dramatic improvement over the previous state-of-the-art (0.67 AUC). On the DREAM datasets, DG consistently matched or outperformed competing methods, often achieving near-perfect scores.
  • Generalization: Models trained on one subset of the DREAM data showed strong performance when transferred to others, indicating that DG learns generalizable structural patterns.

Conclusion

Deep Graphs represents a shift from manual algorithm design to automated representation learning on graphs. By leveraging gated recurrent units and unrolled optimization, the framework achieves state-of-the-art results while maintaining linear scalability. Future work includes extending the model to handle complex edge attributes and multi-typed relationships in knowledge-base graphs.

Summary updated

BibTeX
@misc{platanios2018deep,
  author = {Emmanouil Antonios Platanios and Alex Smola},
  title = {{Deep Graphs}},
  year = {2018},
  eprint = {1806.01235},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1806.01235},
}
Figure