You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit dc20a18
Browse filesBrowse the repository at this point in the historyBrowse files
Search the whole box when the starting values are guesses (#221)
A fit that moves one parameter at a time from the agent's guesses can
settle in a compensating basin. Seed 1 of the Domino round fixes_r4 fit
domino spinning friction 0.01 with mass 0.6 and restitution 0.43, while
the world's materials (spinning friction 0.5) scored better on the same
level-1 recording (replay error 4.456 against 4.480). Its belief, traced
along lines through that point, put spinning friction at 0 to 0.003, and
the rehearsal of its 47-degree turn said 97% where the world stalled.
Under guessed starting values (code_sim_learning_prior_spans_bounds) a
scrambled Sobol design over the whole box is scored in one batch, and
the rollout LM runs from its best points beside the fit from the
guesses; the result with the lowest posterior cost is the point
estimate. Every distinct result within twice the model's own misfit (the
SSE the best fit leaves above the declared noise, or the likelihood
floor) is a basin: recordings the model fits no closer cannot prefer one
of them. The parameter belief mixes the basins, weighted by
exp(-dSSE / (2 misfit)): a draw picks a basin and samples it jointly,
and the report's factors are the mixtures.
On seed 1's recording a 128-point design found three points better than
the world's materials, and every LM run from the design settled at
spinning friction 0.4 to 0.75, near the world's 0.5.
Copy file name to clipboardExpand all lines: docs/uncertainty/principled-belief.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,11 @@ There is no added model-error allowance and no between-segment term; both were m
34
34
4. Draws: an independent sample from each line (inverse CDF), discrete parameters included.
35
35
`K = belief_joint_draws` draws are made once per fit with a seed derived from `CFG.seed` and the fit identity, so a cached fit reuses them.
36
36
5. Before any fit of the current program (and in the no-fitting ablation), `prior_belief` draws from the same Gaussian prior, restricted to the bounds.
37
+
6. Basins: when the starting values are guesses (`code_sim_learning_prior_spans_bounds`), the fit also scores a scrambled Sobol design of `code_sim_learning_rollout_global_design_points` points over the whole box and runs the LM from the best `code_sim_learning_rollout_global_starts` of them.
38
+
The result cheapest on the fit's own cost, the guesses' fit included, is the MAP.
39
+
Every distinct result whose SSE lies within `2 m` of the MAP's is a basin, where the misfit `m` is the SSE the MAP leaves above the declared noise channel's expected SSE, or the likelihood floor when that is larger.
40
+
`q(theta)` is then a mixture with one factor per basin, built as in steps 1 to 4 around that basin's point and weighted by `exp(-dSSE / (2 m))`.
41
+
A draw picks a basin by weight and samples its factor, so it never pairs one basin's value of a parameter with another basin's value of the next.
37
42
38
43
The fit's consistency loop drops explainable segments that disagree; under the posterior view they are pooled (`code_sim_learning_rollout_consistency_factor = 0`), and their disagreement raises the estimated noise level.
39
44
A segment is unexplainable when its own best replay over the parameter grid leaves a root-mean-square standardized error above `code_sim_learning_rollout_trim_rms_factor` (2); it stays excluded and is reported as evidence of a missing mechanism.
0 commit comments