Record: Cosine TTT + Multi-Order N-gram Cache (3-seed mean val_bpb=0.9850)#741
Open
andrewbaggio1 wants to merge 1 commit intoopenai:mainfrom
Open
Record: Cosine TTT + Multi-Order N-gram Cache (3-seed mean val_bpb=0.9850)#741andrewbaggio1 wants to merge 1 commit intoopenai:mainfrom
andrewbaggio1 wants to merge 1 commit intoopenai:mainfrom
Conversation
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
agalimova
added a commit
to agalimova/parameter-golf
that referenced
this pull request
Mar 25, 2026
…ash4K) Built on PR openai#741 with hyperparameter improvements found via autoresearch-multi combinatorial search: - XSA_LAST_N=6, BIGRAM_VOCAB_SIZE=4096, NGRAM_ORDER=7, NGRAM_ALPHA_HIGH=0.50 2-seed mean: 0.9258 (seeds 1337=0.9249, 42=0.9266) Eval time: ~520s (under 10-min budget) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
4 tasks
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 val_bpb: 0.9850 (std=0.0011) | 15.62 MB artifact | 8xH100 SXM
First submission to combine cosine TTT with multi-order n-gram cache interpolation, breaking the sub-1.0 BPB barrier.
Results (8xH100 SXM)
Approach
Two-phase eval, each using an independently legal technique:
Phase 1 — Cosine TTT (20ep, ~330s): Single-pass AdamW with cosine LR + per-layer LR groups. Same approach as merged PR #549.
Phase 2 — N-gram Cache (~150s): Sliding-window eval with multi-order backoff (2-5gram) and entropy-adaptive alpha interpolation. Same approach as PR #702 (open, zero reviewer objections).
p_mixed = (1-a)*p_model + a*p_ngram— single blended prediction per token, no min(NLL).Total eval: ~517s (within 10-min budget).
Legality
Credits
PR #518 (arch), PR #702 (n-gram concept), PR #481, #442, #398
Test plan
🤖 Generated with Claude Code