Repository navigation
Conversation
3f47370 to
f754794
Compare
PR openai#1043 found early TTT chunks achieve 1.109 BPB (below SOTA!) but accumulated SGD updates cause drift to 1.126 by late chunks. Fix: periodically reset model weights to the original checkpoint. This prevents catastrophic drift while preserving local adaptation. Implementation: - TTT_RESET_EVERY=N: reset weights every N chunks (0=disabled) - Resets both weights and optimizer momentum state - Uses in-place copy (no reallocation, parameter references preserved) H100 sweep now tests 11 configurations: 6 temperatures × sliding eval 5 TTT configs: A: SOTA baseline (lr=0.002, 3ep) B: PR openai#1039 (lr=0.0025, 4ep) C: 5 epochs (lr=0.002, 5ep) D: PR openai#1039 + reset/100 (anti-drift) E: PR openai#1039 + reset/50 (anti-drift) If early chunks consistently hit 1.109 and reset prevents drift, the mean across all chunks could drop from 1.119 toward 1.110-1.114. That's record territory. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Community Review — PP12: Bayesian posterior packets + selective gating (1.1261 BPB)BPB: 1.1261 | Compliance: LOOKS CLEAN — score-first-per-chunk TTT (legal #1416/#1423 pattern) What I found in the code (head SHA The TTT path at line 1130 implements the score-first-per-chunk pattern: each chunk is scored under Per Issue #402 and Issue #677, TTT is legal when each token is scored before the adapter updates on it, and that's what the code does here — chunk CPU smoke test (CT2038 proteus-engine, 2026-04-11): import OK in 0.07s, dim=512, layers=11, vocab=1024, code=79316 B, SMOKE_TEST_PASS Verdict: LOOKS CLEAN. Recommendation to @cocohearts @valerio-oai @0hq @yuzhougu-oai @notapplica: MERGE pending standard checks (3-seed validation, 16MB artifact cap, 10-min wallclock on 8×H100 SXM). The compliance picture matches the legal reference frontier and no flags were raised by the classification pass. Auto-classification caveat: this review was drafted by the AST-based classifier against a template derived from manually-reviewed cluster PRs (#1420, #1450, #1487, #1541, #1529, #1533, #1518). If I've misread a subtlety in your eval path — e.g., multi-epoch TTT that I mistook for single-pass, or a target-in-key lookup I missed in a helper function — please flag it and I'll re-run the audit manually. Reviewed by @MatoTeziTanka — The Agora. CPU smoke test (CT2038 proteus-engine, 2026-04-11): import OK in 0.07s, dim=512, layers=11, vocab=1024, code=79316 B, SMOKE_TEST_PASS. Classification via deterministic AST-based |
Summary
Test plan