A General Deep Learning Framework for Network Reconstruction

Zhang Zhang, Yi Zhao, Jing Liu, Shuo Wang, Ruyue Xin

Abstract

Many complex processes can be viewed as dynamical systems on networks. However, in real cases, only the performances of the system are known; the network structure and the dynamical rules are not observed. Therefore, recovering latent network structure and dynamics from observed time-series data are important tasks because it may help us to open the black box and even build up the model of a complex system automatically. Although this problem hosts a wealth of potential applications in biology, earth science, and epidemics, conventional methods have limitations. In this work, we introduce a new framework, Gumbel Graph Network (GGN), which is a model-free, data-driven deep learning framework to accomplish the reconstruction of both network connections and the dynamics on it. Our model consists of two jointly trained parts: a network generator that generates a discrete network with the Gumbel Softmax technique; and a dynamics learner that utilizes the generated network and one-step trajectory values to predict states in future steps. We exhibit the universality of our framework on different kinds of time-series data: with the same structure, our model can be trained to accurately recover the network structure and predict future states on continuous, discrete, and binary dynamics, outperforming competing network reconstruction methods.

Introduction

In many complex systems—ranging from gene regulatory networks to climate patterns and social epidemics—we can observe the "output" (time-series data of individual nodes), but the underlying "wiring diagram" (structural connectivity) and the "rules of the game" (dynamical equations) remain hidden. Inferring this hidden structure is known as the inverse problem of network science.

Existing methods often struggle with two primary issues. First, statistical inference methods like Granger causality often identify "functional connectivity" (nodes that happen to move together) rather than true "structural connectivity" (nodes that actually influence each other). Second, many reconstruction techniques are model-dependent, requiring prior knowledge of the system's physics or failing when applied to discrete or binary systems. The Gumbel Graph Network (GGN) addresses these gaps by providing a data-driven approach that requires no prior assumptions about the underlying dynamics.

The Gumbel Graph Network (GGN) Framework

The GGN framework consists of two neural network components that are trained jointly in an unsupervised fashion to minimize the error between predicted and observed future states.

The GGN framework architecture, illustrating the joint training of the Network Generator and Dynamics Learner.

1. The Network Generator

This module aims to learn the adjacency matrix $A$. Because edges in a graph are discrete, standard backpropagation usually fails. GGN utilizes the Gumbel-Softmax technique, which provides a continuous, differentiable approximation of a discrete distribution. This allows the model to "sample" a network structure while maintaining gradient flow through the entire system, effectively transforming a combinatorial search into a continuous optimization problem.

2. The Dynamics Learner

The Dynamics Learner is a Graph Network (GN) that takes the generated adjacency matrix and the current state of the nodes ($X^t$) to predict the next state ($X^{t+1}$). It processes information in four distinct stages: Node-to-Edge, Edge-to-Edge, Edge-to-Node, and Node-to-Node. By learning the dynamics alongside the network structure, the learner provides the necessary supervision for the generator.

Experimental Evaluation

The authors evaluated GGN on three distinct types of synthetic dynamical systems to demonstrate its universality:

  • Kuramoto Model: A system of continuous, phase-coupled oscillators.
  • Coupled Map Lattice (CML): A system with discrete time steps but continuous state variables, often used to study chaos.
  • Boolean Networks: Systems where every node is binary (0 or 1) and follows logic-based rules.
Visualizations of the three types of dynamics used for evaluation: (a) Kuramoto, (b) Coupled Map Lattice, and (c) Boolean Network.

GGN was compared against standard LSTMs and the Neural Relational Inference (NRI) model, a state-of-the-art baseline.

Key Results

  • Superior Accuracy: In Boolean networks, GGN achieved network reconstruction accuracy (ACC) of over 99% for 10-node systems, whereas NRI performance hovered around 50-60%.
  • Handling Chaos: For Coupled Map Lattices (CML) in chaotic regimes, GGN maintained nearly 100% accuracy in identifying edges, significantly outperforming all baselines.
  • Scalability and Data Efficiency: The model remained effective as the number of nodes increased to 100. While reconstruction accuracy is sensitive to the amount of training data, performance stabilizes at a very high level once a data threshold is reached.

Conclusion

GGN represents a significant step forward in network reconstruction by successfully combining differentiable discreteness with joint learning of structure and dynamics. While current limitations include a static topology assumption and a Markovian constraint, the framework's ability to handle continuous, discrete, and binary logic makes it a powerful tool for automated model building in complex systems. Future work will focus on expanding the model's capacity for much larger, sparser, and time-varying networks.

Summary updated

BibTeX
@misc{zhang2018general,
  author = {Zhang Zhang and Yi Zhao and Jing Liu and Shuo Wang and Ruyue Xin and Jiang Zhang},
  title = {{A General Deep Learning Framework for Network Reconstruction}},
  year = {2018},
  eprint = {1812.11482},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1812.11482},
}
Figure