arXiv(opens in a new tab)cs.LGSep 2016Cited by 99 papers on PaperVantageClassic Paper

Manuscript Offprint

arXiv:1609.02907

Semi-Supervised Classification with Graph Convolutional Networks

Thomas N. Kipf, Max Welling

ABSTRACT

We present a scalable approach for semi-supervised learning on graph-structured data that is based on an efficient variant of convolutional neural networks which operate directly on graphs. We motivate the choice of our convolutional architecture via a localized first-order approximation of spectral graph convolutions. Our model scales linearly in the number of graph edges and learns hidden layer representations that encode both local graph structure and features of nodes. In a number of experiments on citation networks and on a knowledge graph dataset we demonstrate that our approach outperforms related methods by a significant margin.

1 INTRODUCTION

We consider the problem of classifying nodes (such as documents) in a graph (such as a citation network), where labels are only available for a small subset of nodes. This problem can be framed as graph-based semi-supervised learning, where label information is smoothed over the graph via some form of explicit graph-based regularization (Zhu et al., 2003; Zhou et al., 2004; Belkin et al., 2006; Weston et al., 2012), e.g. by using a graph Laplacian regularization term in the loss function:

L=L0+λLreg,withLreg=∑i,jAij∥f(Xi)−f(Xj)∥2=f(X)⊤Δf(X).(1)\mathcal{L}=\mathcal{L}_{0}+\lambda\mathcal{L}_{\mathrm{r e g}},\quad\mathrm{w i t h}\quad\mathcal{L}_{\mathrm{r e g}}=\sum_{i,j}A_{i j}\|f(X_{i})-f(X_{j})\|^{2}=f(X)^{\top}\Delta f(X). \tag{1}

Here, L0\mathcal{L}_0 denotes the supervised loss w.r.t. the labeled part of the graph, f(⋅)f(\cdot) can be a neural network-like differentiable function, λ\lambda is a weighing factor and XX is a matrix of node feature vectors XiX_i. Δ=D−A\Delta = D - A denotes the unnormalized graph Laplacian of an undirected graph G=(V,E)\mathcal{G} = (\mathcal{V}, \mathcal{E}) with NN nodes vi∈Vv_i \in \mathcal{V}, edges (vi,vj)∈E(v_i, v_j) \in \mathcal{E}, an adjacency matrix A∈RN×NA \in \mathbb{R}^{N \times N} (binary or weighted) and a degree matrix Dii=∑jAijD_{ii} = \sum_j A_{ij}. The formulation of Eq. 1 relies on the assumption that connected nodes in the graph are likely to share the same label. This assumption, however, might restrict modeling capacity, as graph edges need not necessarily encode node similarity, but could contain additional information.

In this work, we encode the graph structure directly using a neural network model f(X,A)f(X, A) and train on a supervised target L0\mathcal{L}_0 for all nodes with labels, thereby avoiding explicit graph-based regularization in the loss function. Conditioning f(⋅)f(\cdot) on the adjacency matrix of the graph will allow the model to distribute gradient information from the supervised loss L0\mathcal{L}_0 and will enable it to learn representations of nodes both with and without labels.

Our contributions are two-fold. Firstly, we introduce a simple and well-behaved layer-wise propagation rule for neural network models which operate directly on graphs and show how it can be motivated from a first-order approximation of spectral graph convolutions (Hammond et al., 2011). Secondly, we demonstrate how this form of a graph-based neural network model can be used for fast and scalable semi-supervised classification of nodes in a graph. Experiments on a number of datasets demonstrate that our model compares favorably both in classification accuracy and efficiency (measured in wall-clock time) against state-of-the-art methods for semi-supervised learning.

References (41)

  • Large-scale machine learning on heterogeneous systems, 2015
  • Diffusion-convolutional neural networks
  • Manifold regularization: A geometric framework for learning from labeled and unlabeled examples
  • On modularity clustering
  • Spectral networks and locally connected networks on graphs
  • Toward an architecture for never-ending language learning
  • Convolutional neural networks on graphs with fast localized spectral filtering
  • Brendan L. Douglas. The Weisfeiler-Lehman method and graph isomorphism testing. arXiv preprint arXiv:1101.5211, 2011. (opens arXiv in a new tab)
  • Convolutional networks on graphs for learning molecular fingerprints
  • Understanding the difficulty of training deep feedforward neural networks
  • A new model for learning in graph domains
  • node2vec: Scalable feature learning for networks
  • Wavelets on graphs via spectral graph theory
  • Deep residual learning for image recognition
  • Adam: A method for stochastic optimization
  • Gated graph sequence neural networks
  • Link-based classification
  • Visualizing data using t-sne
  • Distributed representations of words and phrases and their compositionality
  • Learning convolutional neural networks for graphs
  • Deepwalk: Online learning of social representations
  • The graph neural network model
  • Collective classification in network data
  • Dropout: a simple way to prevent neural networks from overfitting
  • Line: Large-scale information network embedding
  • A reduction of a graph to a canonical form and an algebra arising during this reduction
  • Deep learning via semi-supervised embedding
  • Revisiting semi-supervised learning with graph embeddings
  • Learning with local and global consistency
  • Semi-supervised learning using gaussian fields and harmonic functions
  • A well-studied framework for the unique assignment of node labels given a graph and (optionally) discrete initial node labels is provided by the 1-dim Weisfeiler-Lehman (WL-1) algorithm (Weisfeiler & Lehmann, 1968):
  • $\text{hash}(\cdot)$ is a hash function
  • Further, we can take $h_i^{(l)}$ now to be a vector of activations of node $i$ in the $l^{\text{th}}$ neural network layer
  • As an example, consider the following 3-layer GCN model:
  • $\hat{A}$, X and Z are defined as in Section 3.1
  • This graph contains 34 nodes, connected by 154 (undirected and unweighted) edges
  • Right: Embeddings obtained from an untrained 3-layer GCN model (Eq
  • $N$ is the number of nodes in the graph
  • We report results on a 5-fold cross-validation experiment on the Cora, Citeseer and Pubmed datasets (Sen et al., 2008) using all labels
  • Other hyperparameters are chosen as follows: 0.5 (dropout rate, first and last layer), $5 \cdot 10^{-4}$ (L2 regularization, first layer), 16 (number of units for each hidden layer) and 0.01 (learning rate)
  • We observe that for models deeper than 7 layers, training without the use of residual connections can become difficult, as the effective context size for each node increases by the size of its $K^{th}$-order neighborhood (for a model with K layers) with each additional layer

Cited by (99)