Sparse Diffusion-Convolutional Neural Networks.

James Atwood, Siddharth Pal, Don Towsley, Ananthram SwamiarXiv 2017

Abstract

The predictive power and overall computational efficiency of Diffusion-convolutional neural networks (DCNNs) make them an attractive choice for node classification tasks. However, a naive dense-tensor-based implementation of DCNNs leads to $O(N^2)$ memory complexity, which is prohibitive for large graphs. In this paper, we introduce a simple method for thresholding input graphs that provably reduces memory requirements of DCNNs to $O(N)$ (i.e., linear in the number of nodes in the input) without significantly affecting predictive performance.

Introduction

Deep learning on graphs, such as social networks or citation webs, is inherently challenging due to the non-Euclidean nature of the data. DCNNs address this by utilizing a "diffusion" process to learn local features, simulating how information spreads across a graph. While effective, the standard implementation relies on dense tensors to store power series of the transition matrix across multiple "hops," resulting in a memory bottleneck of $O(N^2)$. For large-scale graphs, this complexity renders DCNNs impractical. This work introduces a sparsification strategy to break this bottleneck, enabling DCNNs to scale to massive datasets.

The sDCNN Architecture and Sparsity

The DCNN architecture maps graph nodes to a latent representation $Z$ by combining a transition matrix $P$ with a feature matrix $X$. The model learns weights for different diffusion depths to capture multi-scale structural information.

Overview of the DCNN architecture showing the transformation from input matrices P and X to the latent representation Z and final output Y.

To address the memory wall, we investigate two ways to introduce sparsity:

  1. Pre-thresholding: Before computing the diffusion process, any transition probability in the initial matrix below a threshold $\sigma$ is set to zero. Because the starting matrix is sparse, all subsequent matrix powers (hops) remain sparse. We prove this reduces memory complexity to $O(N)$.
  2. Post-thresholding: Pruning small values after the full diffusion process is computed. While this may provide regularization, it does not solve the memory issue as the dense $O(N^2)$ matrix must still be instantiated.

The resulting sparse DCNN (sDCNN) focuses on the most influential neighbors, effectively pruning "weak ties" that contribute little to node classification.

Empirical Evaluation

We evaluated the sDCNN on the Cora citation dataset, a standard benchmark for node classification. The primary goal was to determine the impact of the threshold $\sigma$ on predictive accuracy.

Accuracy of sDCNN across different diffusion hops under various thresholding levels.

Our results show that predictive performance is remarkably resilient to sparsification. For small to moderate thresholds ($\sigma \leq 0.1$), there was no significant drop in classification accuracy compared to the dense model. Performance only begins to degrade when the threshold becomes high enough ($\sigma > 0.5$) to disconnect the graph significantly, causing the model to lose vital neighborhood information.

Conclusion

By introducing pre-thresholding, we demonstrate that DCNNs can achieve $O(N)$ memory complexity, placing them on par with other state-of-the-art methods like Graph Convolutional Networks (GCNs) in terms of scalability. The sDCNN maintains high accuracy while significantly reducing the computational burden, making it a viable candidate for large-scale graph intelligence. Future work will focus on automated threshold selection and testing on multi-billion node graphs.

Summary updated

BibTeX
@misc{atwood2017sparse,
  author = {James Atwood and Siddharth Pal and Don Towsley and Ananthram Swami},
  title = {{Sparse Diffusion-Convolutional Neural Networks.}},
  year = {2017},
  eprint = {1710.09813},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1710.09813},
}
Figure