docs: correct the omega comment -- it claimed something now measured false

core.py said omega "wants tuning against the domain's length scale". Measured in
experiments/results/omega.md: the optimum sits at 2-4 while the domain bandwidth
varies 4.7x, and omega=8 is an optimisation cliff regardless of the domain. What
the domain changes is the penalty for being under-banded, not where the optimum
is.

The default of 10.0 is outside that plateau and every chess number was produced
at it. Left alone rather than silently changed: those results are comparisons at
a fixed omega and remain fair, and one synthetic teacher family is not grounds to
move a library default.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HCydQraDSoZ9WoTm2v23Eb
This commit is contained in:
chrnxandClaude Opus 5 committed 2026-09-07 17:45:03 -05:00
1 parent 3ef8868ffa
commit 503c374968
1 file changed
+11 -3
+11 -3
View File
@@ -16,9 +16,17 @@ class AffectiveCPPN(nn.Module):
super().__init__()
self.l1 = nn.Linear(coord_dim + n_edge_types + context_dim, hidden)
self.l2 = nn.Linear(hidden, out_dim)
# omega scales the sine pre-activation and sets the kernel bandwidth; it is
# a calibration knob that wants tuning against the domain's length scale
# (the particles domain's sigma). l1 deliberately keeps PyTorch's default init.
# omega scales the sine pre-activation and sets the kernel bandwidth. This was
# documented as "a calibration knob that wants tuning against the domain's length
# scale"; experiments/results/omega.md measured that and it is FALSE over the range
# tested -- the best omega sits at 2-4 for a domain bandwidth varying 4.7x, and 8 is
# an optimisation cliff for every domain tried. What the domain changes is the
# penalty for being under-banded, not where the optimum is.
# The default of 10.0 is OUTSIDE that plateau and every chess result was produced at
# it. It is left alone rather than silently changed: those results are comparisons at
# a fixed omega and stay fair, and one synthetic teacher family is not enough to move
# a library default. Pass omega explicitly, and measure it for a new domain.
# l1 deliberately keeps PyTorch's default init.
self.omega = omega
def forward(self, r: Tensor, edge_onehot: Tensor, context: Tensor) -> Tensor: