Optimal Recurrent Network Topologies for Dynamical Systems Reconstruction

Christoph Jürgen Hemmer, Manuel Brenner, Florian Hess, Daniel Durstewitz

Introduction

In the current deep learning landscape, the prevailing paradigm often follows a "scale then prune" trajectory. We train over-parameterized models and subsequently remove weights to improve efficiency. The standard heuristic for this process is magnitude-based pruning: the assumption that the smallest weights are the least important. However, a recent study published at ICML 2024, titled "Optimal Recurrent Network Topologies for Dynamical Systems Reconstruction," demonstrates that for a specific and vital class of problems—Dynamical Systems Reconstruction (DSR)—this assumption is fundamentally flawed.

The researchers argue that when reconstructing complex systems, such as neural firing patterns or cardiac rhythms, the geometry of the network's connectivity is far more critical than the numerical magnitude of its weights. By shifting the focus from weight size to topological structure, they reveal a new blueprint for sparse Recurrent Neural Networks (RNNs) that outperform their fully connected counterparts.

The Challenge of Dynamical Systems Reconstruction

Unlike standard time-series forecasting, which focuses on minimizing point-wise error for the next time step, DSR aims to capture the underlying "soul" of a system. This involves building a generative model capable of reproducing the system's long-term statistics, its attractors, and its geometric structure in state space.

In scientific modeling, parsimony is essential for interpretability. While the "Lottery Ticket Hypothesis" suggests that dense networks contain sparse sub-networks that can perform just as well, the authors found that standard pruning methods often discard the "winning ticket" in DSR tasks. In chaotic systems, a very small weight might be the linchpin holding an attractor together, while a large weight might be redundant. Removing weights based on magnitude frequently causes the reconstructed system to collapse from a complex, chaotic state into a simple fixed point, failing to preserve the physics of the original data.

Methodology: Geometric Pruning

To address this, the researchers introduced Geometric Pruning. This method evaluates a weight's importance based on how its removal affects the reconstructed attractor's geometry, measured via Kullback-Leibler (KL) divergence ($D_{stsp}$). If removing a weight significantly alters the "shape" of the system's behavior, that weight is preserved, regardless of its magnitude.

The study primarily utilized Piecewise Linear RNNs (PLRNNs). Unlike standard "black box" models like LSTMs, PLRNNs are mathematically tractable; their fixed points and cycles can be calculated exactly. This transparency allowed the researchers to observe exactly how topological changes influenced the model's dynamical properties.

The GeoHub Blueprint

By analyzing the networks that survived geometric pruning, the authors identified a recurring structural motif they termed the GeoHub topology. This specific connectivity pattern is characterized by:

  1. Readout Hubs: A small number of nodes that are heavily connected to the system's outputs.
  2. Small-World Properties: A structure that ensures short path lengths between any two nodes, facilitating efficient information transfer.

This discovery led to the development of the GeoHub algorithm, a graph-generation tool that can initialize RNNs with this optimal topology from the start, bypassing the need for expensive pruning cycles.

Experimental Results

The team benchmarked their approach against several classic and real-world systems, including the Lorenz-63 butterfly attractor, bursting neuron models, human ECG data, and the high-dimensional Lorenz-96 system. Their findings were consistent across the board:

  • Extreme Sparsity: Geometric pruning can remove up to 95% of parameters without degrading reconstruction quality.
  • The Topological Lottery Ticket: Remarkably, if a "winning" GeoHub topology is re-initialized with entirely random weights, it still performs exceptionally well. This confirms that the connectivity structure itself, rather than the specific learned weights, is the primary driver of performance.
  • Training Efficiency: RNNs initialized with GeoHub topologies reached peak performance significantly faster than those using random, small-world, or scale-free initializations.
  • Generalizability: While the study focused on PLRNNs, the topological insights were found to hold true for vanilla RNNs and LSTMs, suggesting a universal principle for dynamical modeling.

Conclusion and Future Work

The research proves that for dynamical systems, magnitude is a poor proxy for importance. While geometric pruning is currently computationally expensive—requiring simulations to test the impact of each weight—the identification of the GeoHub topology provides a shortcut for researchers to build more efficient, interpretable models.

Future work will focus on finding mathematical proxies to estimate geometric importance more cheaply and exploring whether these "GeoHub" priors can be applied to non-physical sequences, such as natural language, where the underlying "geometry" of the data is more abstract. For now, the study provides a powerful new blueprint for designing sparse networks that respect the complex dynamics of the real world.

Summary updated

BibTeX
@inproceedings{hemmer2024optimal,
  author = {Christoph Jürgen Hemmer and Manuel Brenner and Florian Hess and Daniel Durstewitz},
  title = {{Optimal Recurrent Network Topologies for Dynamical Systems Reconstruction}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=HZyOz9VEg4},
}
Figure