Skip to main content
QUICK REVIEW

[Paper Review] Graph Structure of Neural Networks

Jiaxuan You, Leskovec, Jure|arXiv (Cornell University)|Jul 13, 2020
Advanced Graph Neural NetworksComputer Science23 citations
TL;DR

This paper introduces a relational graph framework to represent neural network architectures as dynamic message-passing processes over graphs, revealing that optimal performance emerges at a 'sweet spot' in graph topology defined by clustering coefficient and average path length. The study demonstrates that top-performing models exhibit structural similarities to biological neural networks and that performance is approximately a smooth function of these graph measures across diverse tasks and datasets.

ABSTRACT

Neural networks are often represented as graphs of connections between neurons. However, despite their wide use, there is currently little understanding of the relationship between the graph structure of the neural network and its predictive performance. Here we systematically investigate how does the graph structure of neural networks affect their predictive performance. To this end, we develop a novel graph-based representation of neural networks called relational graph, where layers of neural network computation correspond to rounds of message exchange along the graph structure. Using this representation we show that: (1) a "sweet spot" of relational graphs leads to neural networks with significantly improved predictive performance; (2) neural network's performance is approximately a smooth function of the clustering coefficient and average path length of its relational graph; (3) our findings are consistent across many different tasks and datasets; (4) the sweet spot can be identified efficiently; (5) top-performing neural networks have graph structure surprisingly similar to those of real biological neural networks. Our work opens new directions for the design of neural architectures and the understanding on neural networks in general.

Motivation & Objective

  • To understand the systematic relationship between neural network architecture and predictive performance.
  • To overcome limitations of traditional computational graph representations that are constrained by directionality, acyclicity, and layer-wise bipartite structure.
  • To develop a generalizable, graph-theoretic representation of neural networks that captures message exchange beyond unidirectional data flow.
  • To identify structural signatures of high-performing neural networks across diverse tasks and datasets.
  • To enable efficient identification of promising architectures using graph measures, facilitating automated neural architecture search.

Proposed method

  • Propose a relational graph representation where each neural network layer corresponds to a round of message exchange over an undirected graph, with nodes representing computation units and edges representing message exchanges.
  • Define a message function and aggregation function to model how information flows and combines across nodes in each round of message passing.
  • Use graph measures—clustering coefficient and average path length—as key descriptors of the relational graph structure to analyze performance.
  • Design a flexible graph generator (WS-flex) to systematically explore diverse graph topologies while preserving structural diversity.
  • Train and evaluate models across multiple datasets and tasks using relational graphs as architectural priors to study performance dependence on topology.
  • Reverse-engineer trained fully-connected networks by extracting weight-based relational graphs to observe structural evolution during training.

Experimental results

Research questions

  • RQ1Is there a systematic relationship between the graph structure of a neural network and its predictive performance?
  • RQ2What are the structural signatures of high-performing neural networks across different tasks and datasets?
  • RQ3Can the predictive performance of a neural network be approximated as a smooth function of its relational graph's topological measures?
  • RQ4Does the graph structure of a trained neural network evolve toward an optimal topology during training?
  • RQ5Can the relational graph framework unify the understanding of general neural architectures and Graph Neural Networks (GNNs)?

Key findings

  • A 'sweet spot' in relational graph topology—characterized by moderate clustering coefficient and short average path length—leads to significantly improved predictive performance across multiple datasets and tasks.
  • Neural network performance is approximately a smooth function of the clustering coefficient and average path length of its relational graph, enabling performance prediction from graph structure alone.
  • Top-performing neural networks, including ResNets and MLPs, exhibit graph structures remarkably similar to those found in real biological neural networks.
  • The relational graph representation reveals that trained fully-connected networks evolve toward the 'sweet spot' region in graph space, though they do not fully close the performance gap to explicitly designed optimal graphs.
  • The relational graph framework provides a unified view of GNNs and general neural architectures, showing that GNNs are a special case where message functions are shared and the graph is input-dependent.
  • The study demonstrates that structural priors based on optimal graph topology can outperform standard fully-connected architectures, even when trained from random initialization.

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.