The Edge That Wasn't
All 81 experiments › #15

#15 — Deep2 mean-reversion multi-seed

2026-04-12/13
Verdict: mixed · 🟡 real anti-overfit signal, below the spread
A two-hidden-layer CMA-ES net on an EUR_JPY M5 mean-reversion z-score produced OOS +1.15 p/d with every seed OOS > IS — but under the 2.3-pip spread, so not deployable.

Hypothesis — what it tests

Whether a deeper fixed-topology neural net can extract a deployable mean-reversion edge from an M5 z-score of price-minus-SMA10 on EUR_JPY.

Description

After the lookahead RCA wiped all pre-RCA genomes, the project probed whether a deeper fixed-topology net could find a mean-reversion edge on causal features. The feature was a percentile-scaled z-score of (close − SMA10) with a 10,000-bar rolling window, chosen over tanh because EUR_JPY z can reach ±29σ. The 'Deep2' architecture (4 inputs → 4 → 3 → 3, 54 parameters, activation-as-gene) was trained with CMA-ES across 4 seeds on EUR_JPY M5; every seed showed OOS better than IS (mean IS −1.45 vs OOS +1.15 p/d) — an unusual pattern for pure noise and the best 'clean' causal result to that date. A parallel 'Bottleneck' topology (4→4→1+skip→3) failed badly (OOS mean −5.73). The signal never passed the hard walk-forward gate (one of three chunks always unprofitable) and its magnitude sat far below EUR_JPY's 2.3-pip spread; it was later validated retrospectively as the fingerprint of the mean-reversion edge that Path D exposed architecturally.

Key result

OOS mean +1.15 p/d across 4 seeds (all OOS > IS; IS mean −1.45); seeds +0.43/+0.38/+2.58/+1.20; 1,200–1,400 OOS trades each; Bottleneck control −5.73 OOS; all gates FAIL; edge < 2.3p spread

Indicators

SMA10 residual z-scorerolling percentile rank (window 10,000)UPnL state

Algorithms

CMA-ES fixed-topology NN (Deep2 4→4→3→3, act-as-gene)multi-seed robustness test3-chunk walk-forward gate

Code

Interactive version (search, filters, figures): the experiment explorer.

← #14 S5 momentum NEAT + PnF#16 CMA-ES + regime gates →
This page is one experiment from the audited record behind the book The Edge That Wasn'tget the book · about the project.