When evolution cheats: Frozen-weights Baselines reveal static-solvers interference in evolved plastic spiking neural networks

Denis Larsen, Kazi Shah Nawaz Ripon, Anis Yazidi, Gustavo Borges Moreno e MelloNeurIPS 2026

TL;DR

When we evolve neural networks to learn within their own lifetimes, evolution sometimes "cheats" by discovering rigid wiring that solves the task out-of-the-box using random weights—no actual learning required. This paper introduces a clever two-phase evaluation and an "extinction" filter to catch these static imposters red-handed. In doing so, the authors prove that genuine, online synaptic plasticity—not clever static wiring—is what allows agents to generalize to unseen environments.

What Problem Does This Paper Address?

Nature builds brains using two distinct timescales: evolution slowly shapes our neural architecture across generations, while synaptic plasticity lets us learn and adapt within a single lifetime. AI researchers mimic this dual-inheritance setup using evolved plastic neural networks, where an evolutionary outer loop searches for network topologies and learning rules, and an inner loop adapts synaptic weights on the fly.

Here’s the catch: if you only measure an agent's final score at the end of its life, you have no idea how it succeeded. Evolution is notoriously lazy and opportunistic. Given the chance, it will often produce static solvers—networks whose inherited wiring diagrams are so well-tuned to a task that they succeed with frozen, randomly initialized weights, rendering the learning rules completely redundant (or even harmful). Because standard pipelines rarely test their evolved champions with learning switched off, inherited competence and genuine lifetime adaptation remain hopelessly entangled.

Methods

The authors start with a standard biologically inspired setup: NEAT (an algorithm that evolves network topologies) paired with Spiking Neural Networks (SNNs) that mimic biological neurons via discrete electrical spikes. Crucially, weights are never inherited—every agent starts life with fresh random weights and adapts online using local Spike-Timing-Dependent Plasticity (STDP) rules (essentially, "neurons that fire together, wire together").

To untangle wiring from learning, the authors introduce three methodological innovations:

  • Two-Phase Evaluation: Every single genome is tested twice on the exact same task. Phase 1 (frozen-weight) disables STDP, measuring what the raw topology can do with random initial weights. Phase 2 (plastic-weight) turns STDP on, and only this score guides evolutionary selection.
  • The Extinction Mechanism: An explicit evolutionary filter against cheating. Any genome whose Phase 1 (frozen) fitness exceeds a strict 10% threshold is culled from the breeding pool before reproduction, forcing survival to depend on plasticity.
  • A Complete $2 \times 2$ Factorial Design: Toggling Extinction (ON/OFF) and Learning (ON/OFF) yields four distinct conditions: Pure NEAT (baseline), Extinction Only (negative control), Learning Only, and Extinction + Learning.

Datasets

Rather than static datasets, agents are evaluated on mutable reinforcement learning control environments where physical parameters shift mid-lifetime (forcing weights to reset at each change):

  • Mutable Cart-Pole (Primary): Adopted from prior work (NAGI), agents train on pole lengths $\{0.3, 0.5, 0.7\}$ and are tested on unseen held-out lengths $\{0.1, 0.4, 0.9\}$.
  • Acrobot & Continuous Mountain Car (Replication): Two classic control benchmarks modified with mutable link lengths and engine power, respectively, run under the exact same protocol to verify that findings aren't cart-pole quirks.

Key Insights and Ideas

  • The Static-Solver Fingerprint is Real: Without plasticity, evolution easily finds static topologies that ace the training environments using unadapted random weights (~42% frozen fitness), but these brittle solutions collapse when pole lengths change.
Figure 1: Diagnostic channels, n=30 per cell; shaded bands are 95% CI (dark) and, in (a), ±1 SD (light). (a) Champion frozen-weight fitness f1(i⋆): each generation’s Phase-2 champion i⋆is re-evaluated with weights frozen (f1(i⋆)), not the per-generation population maximum maxi f1(i). Only Pure NEAT develops high static competence (∼42%, the static-solver signature), while the two learning-enabled conditions and the extinction-pruned Extinction Only stay near the floor (∼3–8%). (b) Population size stays at the 300 target whenever extinction is OFF; Extinction Only prunes continuously.
  • Plasticity Drives Generalization: Within-lifetime STDP isn't just decorative; when environments shift, plastic agents exhibit a classic "dip-and-recover" curve, actively re-tuning their weights within 1–3 episodes to master unseen physics.
  • Extinction is a Microscope, Not a Steroid: Surprisingly, adding extinction pressure doesn't boost average test scores when learning is enabled—in fact, Learning Only scores slightly higher because evolution naturally gravitates toward plasticity when it's rewarded. Instead, extinction acts as an attribution guarantee: it procedurally rules out static shortcuts and tightens run-to-run consistency.

Key Results

Across 30 independent runs per condition (120 runs on Cart-Pole, plus 240 replication runs):

  • Closing the Generalization Gap: On Cart-Pole, Pure NEAT achieves high whole-trajectory training AUC (69.3%) but plummets on held-out test poles (36.1%)—a massive ~33-point drop. Enabling STDP shrinks this train–test gap to ~9 points, nearly doubling test AUC (Learning Only: 61.7%; Extinction + Learning: 56.1%). Learning accounts for the vast majority of test variance ($\eta^2 = 0.68, p < 10^{-15}$).
Figure 2: Per-generation Phase 2 fitness, n=30 per cell; shaded bands are 95% CI (dark) and ±1 SD (light). On training, all conditions except Extinction Only reach 70–85%; on held-out poles only Learning-enabled conditions climb — the static-solver fingerprint.
  • Cross-Task Replication: Running the unchanged protocol on Acrobot and Continuous Mountain Car reproduces the exact same test performance hierarchy: Learning Only > Extinction + Learning > Pure NEAT > Extinction Only.
  • Fitness-Independent Readout: Simply turning plasticity ON reduces the number of static-leaning mutants pruned by the extinction filter each generation by $2.4\times$ (Cart-Pole), $1.8\times$ (Acrobot), and $5.1\times$ (Mountain Car).

Limitations and Future Work

The authors are admirably transparent about their bounds:

  • Benchmark Scale & Threshold Tuning: All three tasks are low-dimensional physics testbeds. Furthermore, a fixed 10% extinction threshold bites much harder in tasks with dense partial credit (like Acrobot, pruning ~207/300 genomes when learning is off), meaning nominal thresholds don't equate to uniform selection pressure across tasks.
  • Statistical Power on Variance: While Extinction + Learning reduced test-score standard deviation by ~30% compared to Learning Only on Cart-Pole, 30 replicates left this specific variance-reduction claim slightly underpowered.
  • Future Directions: Next steps include exploring neuromodulated (reward-driven) plasticity, measuring adaptation latency, and porting these compact, self-tuning spiking networks onto neuromorphic hardware.

Summary updated

Abstract

In artificial systems, neuroevolution with synaptic plasticity promises agents that adapt during their lifetime, yet standard fitness evaluations do not distinguish inherited static competence from within-lifetime adaptation. Evolutionary algorithms can produce static solvers: genomes whose inherited topology performs well even when synaptic plasticity is disabled and weights remain at their lifetime initialization, confounding adaptation with evolved structure. We hypothesize that within-lifetime learning, not inherited structure, drives held-out generalization. To test this, we introduce a two-phase evaluation protocol that measures each genome with plasticity disabled (frozen-weight) and enabled (plastic-weight) on the same task, and an extinction mechanism that removes any genome whose frozen-weight fitness exceeds a threshold. We combine this protocol with a complete $2{\times}2$ factorial design that independently toggles extinction pressure and within-lifetime learning, using NEAT-evolved spiking networks with per-connection spike-timing-dependent plasticity (STDP) that learns online from weights reinitialized each lifetime. Across $30$ replicates per condition on a mutable cart-pole benchmark, the protocol reveals a clear static-solver fingerprint: plasticity-free neuroevolution reaches high training fitness but suffers a roughly $33$-point train--test gap on held-out pole lengths. Learning-enabled agents reduce this gap to about $9$ points and achieve the highest held-out AUC. Extinction does not improve mean test performance when learning is available; instead, it strengthens attribution. Run unchanged on Acrobot and Continuous Mountain Car, the protocol reproduces the same condition ordering, and the extinction-rate mechanism replicates as a fitness-independent read-out. These results position extinction not as a generic performance booster, but as a diagnostic intervention for disentangling inherited structure from genuine within-lifetime adaptation.
BibTeX
@inproceedings{larsen2026when,
  author = {Denis Larsen and Kazi Shah Nawaz Ripon and Anis Yazidi and Gustavo Borges Moreno e Mello},
  title = {{When evolution cheats: Frozen-weights Baselines reveal static-solvers interference in evolved plastic spiking neural networks}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=eM1YG0hXNB},
}
Figure