When to Be Critical? Performance and Evolvability in Different Regimes of Neural Ising Agents

Sina Khajehabdollahi, Jan Prosi, Emmanouil Giannakakis, Georg Martius, Anna Levina

TL;DR

This paper challenges the "criticality hypothesis"—the idea that systems perform best at the "edge of chaos"—by showing that while evolving neural agents actually prefer a subcritical regime for peak performance, initializing them near criticality is essential for evolvability and resilience. The researchers demonstrate that the optimal distance from the critical point is not universal but scales with task complexity: harder tasks require dynamics closer to the phase transition.

What Problem Does This Paper Address?

For decades, scientists have hypothesized that biological and artificial systems gain an adaptive advantage by operating near a critical point—a transition between ordered and disordered states. This "criticality" is thought to maximize information transmission and sensitivity. However, recent observations in nature (like neural activity in animals or schooling fish) often show "slightly subcritical" behavior.

The authors set out to resolve this tension. They ask: If criticality is so great, why do we see subcriticality in nature? Does the optimal dynamical regime change based on how hard a task is? And does it matter where you start the evolutionary process, even if you end up in the same place?

Methods

The researchers used Ising Neural Networks (INNs) to control agents in a 2D foraging environment.

  • The Model: INNs are stochastic networks where neurons flip states based on energy minimization (Glauber dynamics). The "temperature" of the system (controlled by a parameter $\beta$) determines how noisy or deterministic the network is.
  • The Environment: Agents must find food to gain energy. The authors introduced two versions: a Simple Task (eat by passing over food) and a Hard Task (must slow down significantly to consume food).
  • Evolutionary Algorithms: To ensure their findings weren't just quirks of one algorithm, they tested both a Genetic Algorithm (GA) and an Evolution Strategy (ES).
  • Measuring Criticality: They used the peak of the system's "heat capacity" (a measure of how much the network's energy fluctuates with temperature) to define the distance to criticality, denoted as $\delta$.
Schematic of the foraging environment and the 12-neuron Ising control network.

Datasets

The study primarily uses a custom-built 2D multi-agent foraging simulation. To validate the differences between their two evolutionary algorithms (GA vs. ES), they also employed standard benchmark optimization functions:

  • Sphere function: A simple, smooth landscape.
  • Rastrigin function: A highly "rugged" landscape with many local minima.
  • Rosenbrock function: A landscape with a narrow, curved valley.

Key Insights and Ideas

  • Criticality as a Launchpad: While successful agents eventually evolve to be subcritical, those that start in the critical regime discover solutions much faster. Initially subcritical agents often get stuck in local optima, behaving like a "random search" that fails as task complexity or network size increases.
  • The Complexity-Criticality Link: The "optimal" regime isn't a fixed point. For the hard task, agents evolved to stay closer to the critical point than they did for the simple task. This suggests that complex problems require the high-sensitivity dynamics found near phase transitions.
  • Resilience and Generalizability: This is the "aha" moment. Even if an initially critical agent and an initially subcritical agent reach the same fitness, the one that started near criticality is far more robust. It generalizes better to longer lifespans and survives genetic mutations (perturbations to its weights) that would "catastrophically" break a subcritical agent.
  • Subcriticality for Stability: The move toward subcriticality during evolution likely represents a trade-off where the system sacrifices some sensitivity for the stability needed to reliably execute a learned behavior.
Heat capacity peaks for different initial regimes. The maximum (dot) defines the distance to criticality.

Key Results

  • Task Sensitivity: In the simple task, agents converged to an average distance from criticality of $\delta \approx -0.4$. In the hard task, they stayed significantly closer, at $\delta \approx -0.2$ (closer to 0 is more critical).
  • Generalizability: Initially critical agents showed near-perfect generalizability ($\gamma_t \approx 1$) when their lifespan was extended from 2,000 to 50,000 steps. In contrast, many subcritical populations failed to generalize at all ($\gamma_t \approx 0$), having overfit to their specific training lifespan.
  • Genetic Stability: When weights were perturbed, the fitness of subcritical agents decayed at more than double the rate of critical agents (decay exponent $\alpha = -5.03$ vs. $-2.26$).
  • Scaling: As network size increased from 12 to 28 neurons, initially critical populations still found solutions easily, while subcritical ones failed to reach even half their original fitness, falling victim to the "complexity catastrophe."
Fitness curves showing that initially critical populations (top row) consistently outperform subcritical ones (bottom row) in harder or larger scenarios.

Limitations and Future Work

  • Thermalization Time: For computational efficiency, the authors fixed the network's "thinking time" (thermalization steps) to 10. They acknowledge that near criticality, systems actually need more time to reach equilibrium, and future work could explore how this constraint affects the results.
  • Maintenance of Criticality: The paper shows that evolution naturally pushes systems away from criticality toward order. How biological systems manage to stay near the edge of chaos over long evolutionary timescales remains an open and vital question.
  • Algorithm Refinement: The authors suggest that future studies could use more advanced evolutionary strategies with adaptive search variances (like CMA-ES) to further probe these dynamical landscapes.

Summary updated

BibTeX
@inproceedings{khajehabdollahi2022when,
  author = {Sina Khajehabdollahi and Jan Prosi and Emmanouil Giannakakis and Georg Martius and Anna Levina},
  title = {{When to Be Critical? Performance and Evolvability in Different Regimes of Neural Ising Agents}},
  booktitle = {Artif. Life},
  year = {2022},
  url = {https://openreview.net/forum?id=Wo8ZXkHbq3},
}
Figure