The substrate finding
The honest result of running FEP + STDP against the LIF simulator on random 15% connectivity. Not the marketing result.
The claim
An earlier, single-seed version of the toward-target test XPASSed on seed 29 with +0.65 signed movement. That result was updated in the moment as "the loop is steering." A 10-seed sweep with a shuffled-label null control retracted the claim.
The collapse mode
Bare STDP + reward-pulse stimulation collapses the network within tens of trials. The failure has a root cause and a proximate cause.
Root cause: reward and punishment stimulation run through the same _step() function as stimulus. STDP updates weights based on last-spike timing. When the reward pulses fire input electrodes at high amplitude for 100 ms, the resulting spikes overwrite the last_spike trace with reward-pulse timing. The next stimulus's STDP then sees reward-timing rather than stimulus-timing, and potentiates class-independent paths. Over trials the network converges to firing uniformly regardless of input.
Proximate cause: without weight normalization, LTP saturates all pathways to w_max. Everything fires on everything.
The three interventions
Three fixes, none of which change the caller-facing interface:
- Plasticity gate —
stimulate(..., plasticity: bool = True).apply_feedback()hard-forcesplasticity=False. Feedback pulses drive dynamics without writing to synapses. - Trace reset per trial —
Dish.reset_traces()clearslast_spike.FreeEnergyTrainer.trial()calls it at trial start so THIS trial's STDP only sees THIS trial's timing. - Homeostatic scaling + weight decay —
homeostatic_target_row_sum=10.0caps STDP runaway by renormalizing each row of|W|to a target;weight_decay=0.002perstimulate()call slowly forgets. Set the homeostatic target ABOVE the initial row-sum (~6-7 for the defaults) so it acts as a stabilizing ceiling, not a shrink.
With those in place, the anti-collapse metric goes from catastrophic to survivable:
| Condition | Baseline L1 | Trained L1 | Verdict |
|---|---|---|---|
| No interventions | 4.30 | 0.00 | Complete collapse |
| All three interventions | 4.30 | 2.50 | Survived (~40% degraded) |
Survived. But: survived is not learned.
The null discriminator
The full test:
- For each of 10 seeds, build the same dish config, run FEP training with real labels.
- For each of the same 10 seeds, run FEP training with the labels randomly shuffled (destroys any stimulus→target correspondence but keeps all other dynamics).
- Measure normalized signed movement:
(own_target_share − other_target_share) / total_activity— normalizing prevents "decay with bias" from disguising itself as steering. - Compare medians. Real must beat null by a threshold.
The 10-seed result (Protocol 001)
Canonical dataset:
research/data/substrate-finding-10seed-2026-08-10.csvDataset SHA256:
9802d38666b0b774e12604d6dc51a018448ac43187a0d8a846964545071ac7adBIO commit SHA:
dc9c21f26d302f33151d203b60bdb4eaec07f6c9wetware module:
ai-agents/wetware/src/wetwareEnvironment: Python 3.14.6 · NumPy 2.5.2 · PyTest 9.1.1
Seeds:
[7, 11, 13, 17, 19, 23, 29, 31, 37, 41]Aggregation: Median per-seed normalized signed movement (REAL: +0.0005, NULL: +0.0005, Δ: +0.0000)
Protocol 001 is frozen: on random 15% connectivity, real-label training did not exceed shuffled-label training (median real +0.0005, null +0.0005; delta +0.0000). The system’s anti-collapse interventions preserve measurable activity but do not establish learning.
Protocol Comparison: 001 vs 003
| Dimension | Protocol 001 (Frozen Baseline) | Protocol 003 (Curated Topology) |
|---|---|---|
| Connectivity | Random i.i.d. (15% density) | Spatial distance-decay: $P_{ij} = \min(1, c \exp(-(d_{ij}/\sigma)^2))$ |
| Electrode Mapping | Random disjoint permutation | Geographic clustering (Class A & B input/output zones) |
| Plasticity Rule | STDP + protected feedback gate | STDP + 3-Factor Eligibility Traces ($\Delta W = \eta M e_{ij}$) |
| Status | Frozen Negative Result | Pre-registered Experimental Test |
| Success Condition | $\text{median}(\text{REAL}) - \text{median}(\text{NULL}) > +0.02$ (Not met) | $\text{median}(\text{REAL}) - \text{median}(\text{NULL}) > +0.02$ |
Protocol 003 Pre-Registered Verdict Criteria
| Outcome | Metric Threshold | Scientific Interpretation |
|---|---|---|
| Learning confirmed | $\Delta_{\text{median}} > +0.02$ | Curated spatial topology supports label-dependent steering under declared condition. |
| Inconclusive | $-0.02 \le \Delta_{\text{median}} \le +0.02$ | No learning established; investigate spatial separation and stability knobs. |
| Learning not supported | $\Delta_{\text{median}} \le -0.02$ | Chosen spatial topology and FEP feedback rule do not outperform matched null. |
How to read this
The FEP + STDP loop, on random topology, does not learn. That is the honest statement. It has three components:
- The three interventions (plasticity gate, trace reset, homeostatic scaling) DO prevent catastrophic collapse. That is verified anti-collapse infrastructure.
- The anti-collapse metric (trained L1 as fraction of baseline L1) reports survival, not learning.
- To detect learning, the null discriminator is required. On random topology, the discriminator says no.