V20: Cascaded 2-Phase L-BFGS Causal SLOT (1.00497 BPB, 3-seed)#1372
Closed
Bortlesboat wants to merge 1 commit intoopenai:mainfrom
Closed
V20: Cascaded 2-Phase L-BFGS Causal SLOT (1.00497 BPB, 3-seed)#1372Bortlesboat wants to merge 1 commit intoopenai:mainfrom
Bortlesboat wants to merge 1 commit intoopenai:mainfrom
Conversation
Author
|
Closing this PR. After reviewing @resouer's closing comment on #1350, I confirm our submission inherits both compliance violations:
Thanks @resouer for the clear writeup and @ClassicLarry for flagging. Self-closing to keep the record straight. Will be more careful about causality in any future submission. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
3-seed mean: 1.00497477 BPB (1.69685330 nats)
Beats merged SOTA PR #1019 (1.11473509 BPB) by 0.18532523 nats = 37.1x the required 0.005-nat threshold (Welch t=-139.79, df=2.29, p<<0.001).
The Stack
This submission layers one new eval-time optimization technique on top of the existing SOTA stack:
Cascaded 2-Phase L-BFGS
The PR #1350 L-BFGS Causal SLOT runs a single 25-iteration pass per window with history_size=20. We split this budget:
Total `510 + 1820 = 410` "history-iters" vs baseline `25*20 = 500` — ~18% less L-BFGS work, 8% faster eval (487s vs 560s) with equivalent quality.
Why reset history between phases: per Codex gpt-5.4 review, if Phase 2 changes the objective the prior curvature pairs approximate the wrong Hessian. We warm-start the delta tensor across batches (like PR #1350) but reset L-BFGS memory between phases.
Causality: opt_mask is strictly `[focal_start, s)` where `s = max(wl - slot_stride, 0)` — only already-scored positions. Same guarantee as PR #1350.
Results
All seeds hit 600s wallclock cap. All artifacts well under 16MB.
Ablation note
The train_gpt.py also implements importance-weighted CE mixture (`V20_GRAD_WEIGHTED=1`) with `w_t ∝ (1 - p_target)`. Tested with α=0.5 on seed 1337 and got 1.00725 (~0.003 BPB worse than uniform). Per Codex's prediction: the cascaded structure and importance-weighting overlap rather than compound. This path is disabled by default.
Concurrent PRs
Shares lineage with open PRs #1350 (L-BFGS Causal SLOT) and #1351 (Discriminative TTT). If PR #1350 merges first, this submission becomes a technique-focused contribution documenting Cascaded L-BFGS as an equivalent-quality, faster variant.
Environment