Learning emergent partial differential equations in a learned emergent space

Felix P. Kemeth, Tom Bertalan, Thomas N. Thiem, Felix Dietrich, Sung Joon Moon, Carlo R. Laing, Ioannis G. KevrekidisNature Communications 2022

Abstract

We propose an approach to learn effective evolution equations for large systems of interacting agents. This is demonstrated on two examples, a well-studied system of coupled normal form oscillators and a biologically motivated example of coupled Hodgkin-Huxley-like neurons. For such types of systems there is no obvious space coordinate in which to learn effective evolution laws in the form of partial differential equations. In our approach, we accomplish this by learning embedding coordinates from the time series data of the system using manifold learning as a first step. In these emergent coordinates, we then show how one can learn effective partial differential equations, using neural networks, that do not only reproduce the dynamics of the oscillator ensemble, but also capture the collective bifurcations when system parameters vary. The proposed approach thus integrates the automatic, data-driven extraction of emergent space coordinates parametrizing the agent dynamics, with machine-learning assisted identification of an emergent PDE description of the dynamics in this parametrization.

Introduction

Modeling the collective behavior of large-scale agent systems—such as firing neurons in the brain or synchronized oscillators in a power grid—remains a significant challenge in complex systems research. While individual agent dynamics might be known, describing the "macro" rules governing the ensemble often requires high-dimensional ordinary differential equation (ODE) simulations. These are computationally expensive and frequently lack the physical insight provided by continuum descriptions like partial differential equations (PDEs).

Standard physics uses PDEs to describe fields over physical space ($x, y, z$). However, many systems lack a natural spatial coordinate, existing instead on complex networks or defined by internal heterogeneities. Without a clear "space" coordinate, calculating the spatial derivatives necessary for a PDE is impossible. This work, published in Nature Communications, introduces a framework to simultaneously learn the intrinsic coordinate system and the governing PDE from data.

Methodology: The Data-to-PDE Pipeline

The authors propose a two-step approach to bridge the gap between agent-based modeling and continuum mechanics:

1. Manifold Learning via Diffusion Maps

The first step involves identifying a low-dimensional "emergent space" from time-series data. Using Diffusion Maps, the algorithm identifies coordinates ($\phi_1, \phi_2, \dots$) that organize agents based on the similarity of their long-term behavior. This process effectively discovers the intrinsic geometry of the system, where agent heterogeneity (e.g., varying intrinsic frequencies) acts as a surrogate for spatial coordinates.

Comparison of agent-based data indexed by $i$ (left) versus the same data organized by the learned emergent coordinate $\phi_i$ (right).

2. PDE Learning via Neural Networks

Once the agents are mapped into this emergent space, the system can be treated as a spatiotemporal field. A feed-forward neural network is then trained to approximate the evolution equation: $$\frac{\partial W}{\partial t} = f(W, \frac{\partial W}{\partial \phi}, \frac{\partial^2 W}{\partial \phi^2}, \dots; \gamma)$$ where $\gamma$ represents system parameters. The network learns to map the current state and its spatial derivatives in the emergent space to the rate of change. To maintain physical consistency and stability, SVD-based filtering is employed during inference to project predictions back onto the learned manifold.

Results and Discussion

The framework was validated across three distinct systems:

  • Complex Ginzburg-Landau (CGL) Equation: By scrambling spatial labels, the authors demonstrated that the method could recover the original physical coordinates and governing physics.
  • Stuart-Landau Oscillators: The model successfully captured collective bifurcations, such as "oscillator death" (a Hopf bifurcation), by including system parameters as inputs.
  • Hodgkin-Huxley Neurons: In a network of 1,024 neurons with structural and kinetic heterogeneity, the method correctly identified a 2D emergent space corresponding to connectivity and internal current.

A key insight is that even in systems with global coupling, long-term collective dynamics can often be described by local operators (derivatives) within the correctly identified emergent space. The learned PDEs matched ground-truth ODE simulations with high fidelity, accurately capturing transients and steady-state behaviors.

Conclusion

This research demonstrates a powerful integration of manifold learning and neural networks for discovering emergent physics. While the method shows great promise, challenges remain regarding boundary conditions in learned spaces and the automated selection of derivative orders. Future work may utilize techniques like Automatic Relevance Determination (ARD) to further automate the identification process. Ultimately, this approach provides a systematic way to derive macro-scale laws for complex, high-dimensional agent systems where traditional physical coordinates are absent.

Reference: Kemeth, F. P., et al. (2022). Learning emergent partial differential equations in a learned emergent space. Nature Communications, 13:3318. https://doi.org/10.1038/s41467-022-30628-6

Summary updated

BibTeX
@inproceedings{kemeth2022learning,
  author = {Felix P. Kemeth and Tom Bertalan and Thomas N. Thiem and Felix Dietrich and Sung Joon Moon and Carlo R. Laing and Ioannis G. Kevrekidis},
  title = {{Learning emergent partial differential equations in a learned emergent space}},
  booktitle = {Nature Communications},
  year = {2022},
  doi = {10.1038/s41467-022-30628-6},
}
Figure