Skip to main content
QUICK REVIEW

[Paper Review] Graph Neural Tangent Kernel: Convergence on Large Graphs

Sanjukta Krishnagopal, Luana Ruiz|arXiv (Cornell University)|Jan 25, 2023
Advanced Graph Neural NetworksComputer Science4 citations
TL;DR

This paper introduces the graphon neural tangent kernel (WNTK) as the limit of graph neural tangent kernels (GNTKs) on sequences of growing graphs, proving that GNTKs and their spectra converge to the WNTK in the large-graph limit. This enables transfer of GNTK-based learning dynamics and convergence rates from small to large graphs, offering theoretical guarantees for training GNNs on massive networks via kernel regression on smaller, representative graphs.

ABSTRACT

Graph neural networks (GNNs) achieve remarkable performance in graph machine learning tasks but can be hard to train on large-graph data, where their learning dynamics are not well understood. We investigate the training dynamics of large-graph GNNs using graph neural tangent kernels (GNTKs) and graphons. In the limit of large width, optimization of an overparametrized NN is equivalent to kernel regression on the NTK. Here, we investigate how the GNTK evolves as another independent dimension is varied: the graph size. We use graphons to define limit objects -- graphon NNs for GNNs, and graphon NTKs for GNTKs -- , and prove that, on a sequence of graphs, the GNTKs converge to the graphon NTK. We further prove that the spectrum of the GNTK, which is related to the directions of fastest learning which becomes relevant during early stopping, converges to the spectrum of the graphon NTK. This implies that in the large-graph limit, the GNTK fitted on a graph of moderate size can be used to solve the same task on the large graph, and to infer the learning dynamics of the large-graph GNN. These results are verified empirically on node regression and classification tasks.

Motivation & Objective

  • To understand the training dynamics of overparametrized GNNs on large graphs, where traditional analysis is challenging.
  • To formalize the limit behavior of GNTKs as graph size increases, using graphons as a theoretical framework.
  • To establish that GNTKs and their eigenvalues converge to a well-defined limit object—the graphon NTK (WNTK)—enabling transferability across graph sizes.
  • To provide theoretical and empirical evidence that GNTKs on moderate-sized graphs can predict learning dynamics and convergence rates on much larger graphs.

Proposed method

  • Define the graphon NTK (WNTK) as the limit of GNTKs when the underlying graph sequence converges in the graphon sense.
  • Use mathematical induction to prove that GNTKs converge to the WNTK under mild regularity conditions on the graphon and GNN architecture.
  • Establish spectral convergence of GNTKs to WNTKs, showing that eigenvalues and eigenvectors of the GNTK converge to those of the WNTK.
  • Leverage the NTK formalism to relate GNN training dynamics to kernel regression, enabling analysis of convergence speeds via eigenvalue decay.
  • Use graphon sampling to generate sequences of graphs of increasing size, enabling empirical validation of convergence in GNTK and eigenvalue behavior.
  • Perform kernel regression on small graphs using the GNTK and transfer the model to larger graphs, validating performance and convergence rates.
Figure 1: Difference between the test error achieved by the GNTK fitted on the $n$ -node graph when used for prediction the $n$ -node graph, and the test error achived by the same GNTK when used for predicition on the $N$ -node graph. (left) Opinion dynamics on geometric and SBM graphs, where the te
Figure 1: Difference between the test error achieved by the GNTK fitted on the $n$ -node graph when used for prediction the $n$ -node graph, and the test error achived by the same GNTK when used for predicition on the $N$ -node graph. (left) Opinion dynamics on geometric and SBM graphs, where the te

Experimental results

Research questions

  • RQ1Does the graph neural tangent kernel (GNTK) converge to a well-defined limit object as the graph size increases?
  • RQ2Can the spectrum of the GNTK—related to learning speed along different eigendirections—converge to a limit as the graph grows?
  • RQ3Can the GNTK trained on a small graph be used to predict the learning dynamics and convergence rates of a GNN on a much larger graph?
  • RQ4How does the convergence of the GNTK and its spectrum behave empirically on real-world and synthetic graph sequences?

Key findings

  • The GNTK converges to the graphon NTK (WNTK) in the limit of large graph size, as proven via mathematical induction on graphon-convergent sequences.
  • The eigenvalues of the GNTK converge to those of the WNTK, implying that learning dynamics such as convergence speed along principal components are preserved across graph sizes.
  • For the Cora, CiteSeer, and PubMed citation networks, the dominant eigenvalue of the GNTK stabilizes as graph size increases, with the 1600-node graph approximating the full-graph eigenvalue to within 70% for all but PubMed.
  • Empirical results show that GNNs and GNTKs trained on small graphs exhibit aligned outputs and reduced variance with increasing width, validating the NTK approximation.
  • Kernel regression on a small graph using the GNTK achieves comparable performance on the full large graph, demonstrating transferability with theoretical guarantees.
  • The convergence of the GNTK spectrum enables estimation of GNN convergence rates on large graphs from smaller, computationally feasible graphs.
Figure 2: Projections of the inputs and outputs of the GNTK and GNN, and of the target or true labels onto the second eigenvector of the adjacency matrix of a $80$ -node SBM graph for widths $F=10$ (left), $F=50$ (center) and $F=250$ (right).
Figure 2: Projections of the inputs and outputs of the GNTK and GNN, and of the target or true labels onto the second eigenvector of the adjacency matrix of a $80$ -node SBM graph for widths $F=10$ (left), $F=50$ (center) and $F=250$ (right).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.