Files
SirRoboGarage/tools/elm_bench/online_run.log
T
SirStone 6d0dd987ca tools/elm_bench: aim-error ELM benchmark suite + findings
Extractors, benchmarks and analysis for "can we predict an opponent's aim
error from our own belief state?". All labels come from BulletFiredEvents;
all features come only from the shooter's own state and its ScannedBotEvent
history (the target's true state is used for the label and never for a
feature, verified by a ground-truth-poisoning re-extraction).

  extract.py / extract_realistic.py   label + oracle features / realistic ones
  gen_analysis.py, analyse_realistic.py, audit_independent.py
  bench.nim, bench_realistic.nim, cross_opponent.nim, online.nim
  gen/*.ndjson                          the per-opponent sample tables
  README.md                             the write-up, ~1200 lines

Headline: DrussGT applies about 13% of the correct lead, and that 13% is
computable from one feature (beliefPredErr) as label ~ 0.8663*predErr +
0.0418. ELM ALL-21 pools to RMSE 0.4220 against a constant 1.1463 (-63%).
The network is not the finding; the single linear term is. Cross-opponent,
--prev leakage audit and an independent re-derivation are in the README.

The top-level samples_realistic*.ndjson are byte-identical to gen/DrussGT* and
are gitignored; gen/ is the authoritative copy.
2026-10-05 22:42:39 +02:00

72 lines
4.3 KiB
Plaintext

corpora: 9 features=22 H=128 lambda=0.01 refitEvery=25
POOLCAP=600/corpus, ONLINE_A=700 shots/corpora, window=100
CassiusClay n=702 mean=+0.0022
Diamond n=822 mean=+0.0076
Dookious n=123 mean=-0.1759
DrussGT n=8676 mean=+0.1136
GresSuffurd n=895 mean=-0.0764
Komarious n=1302 mean=-0.1005
LionWWSVMvoid n=2696 mean=+0.0095
Lukious n=1344 mean=+0.0088
Phoenix n=954 mean=+0.0067
================ EXPERIMENT A: within-enemy adaptation speed ================
pooled priors trained on 8 corpora, held-out corpus streamed one shot at a time
crossover = first shot from which the windowed RMSE stays below the reference
held-out decay poolOnly crossovershot finalRMSE(win) vs const%
CassiusClay 1.000 0.1493 const@1 0.1253 -45.6% (vs pool crosses@42)
CassiusClay 0.999 0.1284 const@0 0.1034 -55.1% (vs pool crosses@29)
CassiusClay 0.990 0.1370 const@1 0.0984 -57.3% (vs pool crosses@457)
CassiusClay 0.950 0.1795 const@1 0.1712 -25.7% (vs pool crosses@596)
CassiusClay 0.900 0.2813 const@594 0.2007 -12.9% (vs pool crosses@636)
Dookious 1.000 0.5357 const@0 0.5333 -6.6% (vs pool crosses@121)
Dookious 0.999 0.5769 const@1 0.5598 -2.0% (vs pool crosses@121)
Dookious 0.990 0.6764 const@19 0.5698 -0.2% (vs pool crosses@100)
Dookious 0.950 0.6578 const@never 0.6509 +14.0% (vs pool crosses@25)
Dookious 0.900 0.8070 const@never 0.6429 +12.6% (vs pool crosses@25)
Phoenix 1.000 0.1568 const@0 0.1404 -60.7% (vs pool crosses@28)
Phoenix 0.999 0.1684 const@0 0.1142 -68.0% (vs pool crosses@39)
Phoenix 0.990 0.2352 const@0 0.1121 -68.6% (vs pool crosses@140)
Phoenix 0.950 0.5810 const@29 0.2394 -33.0% (vs pool crosses@415)
Phoenix 0.900 0.5673 const@never 0.3969 +11.0% (vs pool crosses@423)
================ EXPERIMENT B: opponent switch / forgetting ================
sequence pooled-prior -> A(M shots) -> B(M shots) -> C(M shots)
reconvergence = shots into the new opponent until windowed RMSE <= the B-only reference
sequence decay segRMSE(win) refRMSE delta%
Phoenix->CassiusClay 1.0 0.1638 0.1092 0.1151 -5.1%
Phoenix->CassiusClay 0.999 0.1953 0.0958 0.1151 -16.7%
Phoenix->CassiusClay 0.99 0.1348 0.1049 0.1151 -8.8%
Phoenix->CassiusClay 0.95 0.4218 0.1354 0.1151 +17.7%
Phoenix->CassiusClay 0.9 0.6415 0.1662 0.1151 +44.5%
CassiusClay->Phoenix 1.0 0.1201 0.1461 0.1175 +24.3%
CassiusClay->Phoenix 0.999 0.0955 0.1288 0.1175 +9.6%
CassiusClay->Phoenix 0.99 0.1075 0.1322 0.1175 +12.5%
CassiusClay->Phoenix 0.95 0.1354 0.4218 0.1175 +258.9%
CassiusClay->Phoenix 0.9 0.1662 0.6415 0.1175 +445.8%
Phoenix->CassiusClay->Dookious 1.0 0.1638 0.1092 0.3810 0.1416 +169.0%
Phoenix->CassiusClay->Dookious 0.999 0.1953 0.0958 0.5509 0.1416 +288.9%
Phoenix->CassiusClay->Dookious 0.99 0.1348 0.1049 0.6142 0.1416 +333.7%
Phoenix->CassiusClay->Dookious 0.95 0.4218 0.1354 0.6997 0.1416 +394.0%
Phoenix->CassiusClay->Dookious 0.9 0.6415 0.1662 0.6290 0.1416 +344.1%
== reconvergence / dip detail (Phoenix -> CassiusClay, M={M} each) ==
decay dipMax% dipAtShot reconvShots finalSegRMSE BonlyRMSE
1.000 +0.0% 0 363 0.1092 0.1151 pooled 0.1211
0.999 +0.0% 0 0 0.0958 0.1151 pooled 0.1568
0.990 +0.0% 0 1 0.1049 0.1151 pooled 0.1527
0.950 +0.0% 0 never 0.1354 0.1151 pooled 0.5151
0.900 +97.5% 138 never 0.1662 0.1151 pooled 0.5927
================ EXPERIMENT C: refit cost / memory ================
corpus=DrussGT n=8676
100 5.1 0.02 MB
500 23.6 0.10 MB
1000 46.6 0.19 MB
2000 92.4 0.38 MB
5000 230.6 0.96 MB
8700 402.0 1.67 MB
final n=8700 samples, sampleMem=1.67 MB (growth: UNBOUNDED, one sample per shot)