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

#10 — CMA-NN with sin basis

2026-04-10
Verdict: negative · ⛔ lookahead; causal retrain +0.11 p/d
A tiny fixed-topology network with sin activations trained by CMA-ES matched NEAT's best result in 220 seconds instead of hours — but the +73 p/d edge was the same lookahead artifact.

Hypothesis — what it tests

Can CMA-ES on a fixed-topology sin-activation network match NEAT's evolved-topology results at a fraction of the compute, and which extra indicator best complements the V3 core?

Description

An alternative to NEAT: a fixed 7→8→3 network trained with CMA-ES, where fixing every hidden activation to sin (weight=frequency, bias=phase, i.e. a learned Fourier basis per Tancik 2020) beat a 9-wavelet activation bank (+50.51 vs +43.15 OOS on CHF_JPY) and trained 22% faster. A 10-candidate indicator sweep found V3+macd_hist the best stack at +73.03 OOS p/d on CHF_JPY, beating IronNet V3's +65.5 in 220 seconds versus hours of NEAT — at 1/100 the compute. A striking side finding: SHAP rank did not predict trading value (tec_5, SHAP #1, ranked 9/10 here), and the strongest singleton features did not compose (adding macd_hist to a range_pos_30 base collapsed IS by 89%). The RCA later showed the +73 was lookahead; the clean causal retrain of the same configuration produced +0.11 p/d — noise.

Key result

V3+macd_hist+sin: +73.03 OOS p/d CHF_JPY in 220s (vs IronNet +65.5 in hours); fixed sin +50.51 vs wavelet bank +43.15; causal retrain of same config +0.11 p/d — lookahead

Indicators

MC(D)MC(dD)Kaufman Efficiency Ratio (er_norm)MACD histogramRangePositionBollinger Band widthAroon OscillatorStochastic %DTEC_5MFE/MAE/UPnL

Algorithms

CMA-ESfixed-topology NN with sin (Fourier) activationsgreedy forward selection / backward eliminationsingle-feature sweep

Code

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

← #9 IronNet V3 H1 12-pair + V7#11 CMA-NN 12-pair grid + mixed activations →
This page is one experiment from the audited record behind the book The Edge That Wasn'tget the book · about the project.