Optimization of a Hydrodynamic Computational Reservoir through Evolution

Alessandro Pierro, Kristine Heiney, Shamit Shrivastava, Giulia Marcucci, Stefano Nichele

Abstract

Traditional silicon-based computing architectures face increasing energy demands, prompting research into alternative paradigms such as Reservoir Computing (RC). This study explores the optimization of a physical reservoir—specifically a hydrodynamic system governed by shallow water wave equations—using evolutionary algorithms. By employing the MAP-Elites algorithm to navigate the complex parameter space of fluid dynamics, researchers achieved a thousand-fold improvement in computational separability compared to manual tuning. This work demonstrates that "Evolution in Materio" can effectively bridge the gap between complex physical phenomena and practical computational utility.

Introduction

As the limits of Moore’s Law approach, Reservoir Computing (RC) has emerged as a promising alternative to the von Neumann architecture. In an RC system, a fixed, non-linear physical medium (the "reservoir") maps input signals into a high-dimensional space. Only a simple linear output layer requires training, significantly reducing the computational cost of learning. While the concept of using a "bucket of water" as a reservoir has existed as a theoretical metaphor for decades, the practical implementation is hindered by the extreme sensitivity and non-linearity of fluid physics.

Finding the optimal hyperparameters for such a system—such as data encoding methods and measurement timing—presents a massive search problem. This paper details a methodology for using evolutionary strategies to optimize these parameters within a simulated hydrodynamic environment.

Methodology

Physical Simulation

The researchers utilized a physics-based simulation of a shallow water reservoir governed by the Korteweg–de Vries (KdV) equation. This model describes the propagation and interaction of solitons and cnoidal waves, providing a realistic 1D environment for testing wave-based computation.

Evolution in Materio

To optimize the reservoir, the team employed MAP-Elites, a "quality diversity" evolutionary algorithm. Unlike standard optimization that seeks a single global maximum, MAP-Elites maintains a grid of high-performing solutions across different wave regimes (defined by the mean and standard deviation of wave parameters). This allowed the researchers to explore how different physical behaviors affected computational performance.

Two primary data encoding strategies were evaluated:

  1. Amplitude Encoding: Varying the height of the input waves.
  2. Frequency Encoding: Varying the wavelength of the input waves.

Fitness and Separability

A critical innovation in this study was the use of a "label-blind" fitness function. Instead of training the system on specific tasks during the evolutionary phase, the algorithm maximized the determinant of the readout matrix. A higher determinant indicates that the reservoir is more effective at spreading inputs into a high-dimensional space, making them linearly separable and thus easier for the final linear layer to classify or regress.

Benchmarking and Results

The optimized system was benchmarked on two fundamental tasks: the non-linear XNOR logic gate and Sigmoid Regression.

Massive Performance Gains

The evolutionary approach yielded a top-performing solution with a readout matrix determinant of 11.8. This represents a three-order-of-magnitude improvement over previous proof-of-concept attempts that relied on hand-selected parameters, which achieved a determinant of only 0.0115.

Encoding Superiority

The results clearly indicated that amplitude encoding significantly outperformed frequency encoding. From a physics perspective, cnoidal waves are more sensitive to amplitude variations, which leads to richer and more distinct wave interactions within the reservoir. This sensitivity translates directly into higher computational capacity.

Generalization and Correlation

In the sigmoid regression task, the researchers found a strong correlation ($R^2 = 0.686$) between high fitness (separability) and low Mean Squared Error (MSE) on out-of-sample test data. This suggests that optimizing for the geometric properties of the data representation (separability) effectively prepares the reservoir for general functional approximation rather than just memorizing specific training points.

Discussion: Temporal Fingerprinting

One of the most intriguing insights from the evolutionary process was the discovery of "temporal fingerprinting." The MAP-Elites algorithm evolved a strategy where specific input combinations were associated with large wave peaks at distinct, highly specific readout times. Essentially, the evolution learned to "time" the measurements to coincide with the most informative moments of wave interference, effectively using the temporal dimension of the fluid dynamics to encode logic.

Conclusion and Future Work

This research demonstrates that evolutionary algorithms can unlock the latent computational potential of complex physical systems. By moving beyond manual parameter tuning, the researchers achieved a 1000x improvement in the system's ability to process information.

However, limitations remain. The current study relies on a 1D KdV simulation, which may not account for real-world factors such as surface tension, noise, and 3D boundary reflections. Future work will focus on "closing the loop" by applying these evolutionary strategies directly to physical hydrodynamic hardware, using the simulation's findings to guide the search for robust, real-world computational parameters.

Summary updated

Abstract

As demand for computational resources reaches unprecedented levels, research is expanding into the use of complex material substrates for computing. In this study, we interface with a model of a hydrodynamic system, under development by a startup, as a computational reservoir and optimize its properties using an evolution in materio approach. Input data are encoded as waves applied to our shallow water reservoir, and the readout wave height is obtained at a fixed detection point. We optimized the readout times and how inputs are mapped to the wave amplitude or frequency using an evolutionary search algorithm, with the objective of maximizing the system's ability to linearly separate observations in the training data by maximizing the readout matrix determinant. Applying evolutionary methods to this reservoir system substantially improved separability on an XNOR task, in comparison to implementations with hand-selected parameters. We also applied our approach to a regression task and show that our approach improves out-of-sample accuracy. Results from this study will inform how we interface with the physical reservoir in future work, and we will use these methods to continue to optimize other aspects of the physical implementation of this system as a computational reservoir.1
BibTeX
@inproceedings{pierro2023optimization,
  author = {Alessandro Pierro and Kristine Heiney and Shamit Shrivastava and Giulia Marcucci and Stefano Nichele},
  title = {{Optimization of a Hydrodynamic Computational Reservoir through Evolution}},
  booktitle = {GECCO},
  year = {2023},
}
Figure