# omega: a knob that was set wrong, not a defect to design around `unseen.md` found a 17x swing in held-out error between two hand-picked values of `omega`, the CPPN's bandwidth, and noted that every chess number in this project sits at one of them without anyone having examined it. This file decides which of two things that is: - a **knob** that wants a value per domain — document it, choose it, leave `AffectiveCPPN` alone; - a **defect** — a narrow optimum that moves with the domain, in which case a learned or multi-scale frequency is a mechanism question worth asking rather than a tune. The answer is the first one, and the reason the code already gave for it is measured **false**. ## The curve, one domain, 8 seeds MSE on held-out relations, `unseen.py`, teacher bandwidth `kfreq=0.35`. ``` omega 0.25 0.5 1 2 4 8 16 random 0.00052 0.00016 0.00008 0.00006 0.00007 0.00112 0.00019 band 0.00087 0.00034 0.00014 0.00008 0.00007 0.00064 0.00028 (seen) 0.00044 0.00012 0.00007 0.00006 0.00006 0.00024 0.00011 ``` A plateau at **omega ∈ [1,4]**, in the same place for both hold-out structures. The project's default of 10 sits outside it, 7-11x worse than the optimum. `omega=1`, which `unseen.md` ran at and which was picked without measuring, is not the optimum either — 2 is. That result was obtained by luck, and it is recorded as luck. **omega=8 is unstable, not merely mis-tuned.** Per seed: 0.00028, 0.00425, 0.00016, 0.00127, 0.00037, 0.00159, 0.00043, 0.00059. `seen` degrades with it (0.00024), so this is optimisation breaking down rather than a bandwidth mismatch — and 16 recovers to 0.00019. The curve has a cliff in the middle, not a single valley, and a sweep of three points could have missed it. ## Does the optimum move with the domain? No. The deciding axis. `kfreq` is the **domain's** spatial frequency, `omega` the **model's**. 6 seeds, random hold-out, MSE on held-out relations. ``` kfreq \ omega 0.5 1 2 4 8 best 0.15 0.00006 0.00003 0.00003 0.00003 0.00138 4 0.35 0.00017 0.00009 0.00006 0.00006 0.00132 2 0.70 0.00118 0.00046 0.00028 0.00020 0.00143 4 ``` The optimum sits at 2-4 across a domain bandwidth that varies by 4.7x. It does not track the domain. What *does* change with the domain is the **penalty for being under-banded**: at `kfreq=0.7` an `omega` of 0.5 costs 6x the optimum, at `kfreq=0.15` only 2x. And `omega=8` fails at ~0.0013-0.0014 for every domain tested, which confirms the cliff is a property of the model, not of what it is fitting. **This contradicts the comment in `core.py`**, which states that omega "is a calibration knob that wants tuning against the domain's length scale". That was a plausible assumption and it is now measured false over the range tested: a fixed value in [2,4] is near-optimal for every domain bandwidth here. The comment should say what the measurement says. ## What follows **Do not rework `AffectiveCPPN`.** There is a broad plateau, it does not move, and a learned or multi-scale frequency would be solving a problem that was not found. That option stays available if a domain ever turns up whose optimum is outside [1,4]; none has. **The default is a footgun and the debt is recorded rather than paid here.** Every chess number in this project was produced at `omega=10`, outside the plateau. Those results are comparisons at a *fixed* omega, so the comparisons remain fair and nothing in `chess_reach.md`, `chess_rules.md` or `chess_dist.md` is invalidated — but their absolute levels come from a badly calibrated kernel, and how much of the gap to the rule-knowing control was bandwidth is unknown. Re-running the chess arc in the plateau belongs to the chess arc, which is parked. ## What this does not establish Three domain bandwidths over one order of magnitude, one teacher family (Gabor), one hold-out structure for the grid, 6 seeds. The grid's resolution in omega is 2x, so a shift in the optimum smaller than that would not show. "The optimum does not move" is a statement about this range, and the honest form of it is: nothing was found that would justify redesigning the kernel's frequency, which is a weaker claim than nothing exists. ## Reproduce ``` for w in 0.25 0.5 1 2 4 8 16; do for k in random band; do uv run python unseen.py --holdout $k --arms rp --omega $w --steps 2500 \ --seeds 0,1,2,3,4,5,6,7 --out results/sweep_${k}_w${w}.json; done; done for kf in 0.15 0.35 0.70; do for w in 0.5 1 2 4 8; do uv run python unseen.py --holdout random --arms rp --omega $w --kfreq $kf --steps 2500 \ --seeds 0,1,2,3,4,5 --out results/grid_k${kf}_w${w}.json; done; done uv run python analyse_sweep.py ```