Introduction
Predicting the behavior of complex, non-linear dynamical systems—ranging from viral spread in social networks to neuronal firing in the brain—remains a fundamental challenge in computational science. While linear systems are mathematically tractable, non-linear systems often require specialized, computationally intensive solutions. Koopman operator theory provides a powerful framework for this problem by suggesting that non-linear dynamics can be represented as linear transformations in a sufficiently high-dimensional latent space. However, traditional data-driven Koopman methods often fail to account for the underlying network topology of these systems, treating states as unstructured vectors. This lack of inductive bias leads to poor performance when modeling systems where interactions are constrained by a graph structure.
Methodology: Koopman Message Passing Neural Networks
To address these limitations, we introduce Koopman Message Passing Neural Networks (KMPNN). This framework integrates the structural awareness of Graph Neural Networks (GNNs) with Koopman theory to learn linear embeddings for networked dynamics. The KMPNN architecture is an autoencoder consisting of three primary components:
- Graph Encoder ($\phi$): Utilizes Message Passing Neural Networks (MPNNs) to map node states into a latent space. Unlike standard dense layers, MPNNs allow the model to learn representations based on the local neighborhood of each node, effectively capturing the underlying network topology.
- Linear Koopman Operator ($K$): In the latent space, the dynamics are evolved using a simple diagonal matrix. This forces the complex graph interactions to evolve linearly over time, fulfilling the core promise of Koopman theory.
- Graph Decoder ($\phi^{-1}$): An MPNN-based structure that maps the evolved latent states back into the original physical domain (e.g., node values or network weights).
The model is optimized via a composite loss function that ensures perfect reconstruction from the latent space, linear evolution within that space, and accurate prediction of the final physical state.
Experimental Setup
The KMPNN framework was evaluated across two distinct categories of dynamics: synthetic network models and neural network optimization trajectories.
For the synthetic evaluation, five classic ordinary differential equation (ODE) models were employed, representing diverse scientific fields such as genetics, neuroscience, and ecology. These models provide a rigorous testbed for the framework's ability to linearize varied non-linear interactions.
Beyond synthetic models, the researchers applied KMPNN to the training dynamics of other neural networks (MLPs and CNNs). By treating the weights and biases of a target network as nodes in a graph, KMPNN attempted to predict the optimization trajectories—how parameters change from random initialization to convergence.
Results and Analysis
KMPNN demonstrated significant performance gains over state-of-the-art baselines. On synthetic tasks, the model achieved Mean Squared Errors (MSE) that were often two to three orders of magnitude lower than the previous state-of-the-art (the Lusch autoencoder). For instance, in epidemic dynamics, KMPNN reached an MSE of $8.142 \times 10^{-6}$, compared to $2.576 \times 10^{-3}$ for the baseline.
A key insight from the study is the model's global validity. While many previous attempts to linearize neural network training only worked near local minima at the end of training, KMPNN successfully predicted trajectories from the very first random initialization. Furthermore, the KMPNN-generated parameters achieved 90% to 100% of the performance of parameters found via classical optimizers like Adam or SGD.
One of the most surprising findings was the extreme compression achieved: the training of a network with hundreds of parameters could be represented by as few as 10 linearly-evolving eigenfunctions. This suggests that neural network training, despite its apparent complexity, occurs within a very low-dimensional subspace.
Discussion and Future Work
While KMPNN offers superior accuracy and structural awareness, it faces challenges regarding computational overhead, typically requiring longer training times than simpler baselines. Additionally, memory scaling remains a hurdle; because the model treats every parameter in a target network as a node, scaling to "foundation-model" sizes (millions or billions of parameters) will require further architectural optimizations.
Future research will explore how these linear representations can be used to "dissect" complex networks. Understanding the underlying Koopman modes could lead to novel methods for network pruning or accelerating deep learning models by predicting their converged states early in the training process.
Summary updated