Record: SP8192 + Pre-Quant TTT + QK-Gain 5.0 + Depth Recurrence + MuonEq-R — val_bpb 1.0791 (3-seed mean)#1423
Open
aryanbhosale wants to merge 1 commit intoopenai:mainfrom
Conversation
… mean) SP8192 + Pre-Quant AdamW TTT + QK-Gain 5.0 on PR openai#1394 base. 3-seed mean: 1.0791 BPB. Track A, no eval-time adaptation.
Contributor
|
Hey just heads up, you are fine-tuning the model directly on the validation data for 6 epochs before quantization: The function (https://github.com/openai/parameter-golf/pull/1423/files#diff-train_gpt.py, ~line 1208): def ttt_adapt_adamw(args, base_model, device, val_tokens, ...):
"""AdamW TTT: fine-tune on val data BEFORE quantization"""
for epoch in range(args.ttt_epochs): # 6 epochs
...
local = val_tokens[raw_start:raw_end] # validation data
loss = base_model(x, y) # forward on val
loss.backward() # backward on val
optimizer.step() # update weightsThe call site (~line 2204) passes the actual validation tokens: # AdamW TTT: fine-tune EMA model on val data BEFORE quantization
if args.ttt_enabled:
ttt_adapt_adamw(args, base_model, device, val_tokens, ...)The logs confirm it (seed 42): post_ema val_bpb: 1.1026 ← before touching val data
ttt_adamw:epoch 1/6 loss:2.9122
ttt_adamw:epoch 6/6 loss:2.7668 ← loss drops across epochs
post_ttt val_bpb: 1.0687 ← after training on val: -0.034 BPBThis is not score-first TTT (PR #461 style) where each chunk is scored under inference_mode() before any weight update. |
This was referenced Apr 7, 2026
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.
Record: SP8192 + Pre-Quant TTT + QK-Gain 5.0
val_bpb = 1.0791 (3-seed mean, std 0.0012) | ~15.12 MB | 8×H100 SXM
3-Seed Results
Merged SOTA (PR #1019): 1.1147 BPB. Delta: −0.0356 BPB.
Key Change
Takes @clarkkev's SP8192 base (PR #1394, 1.0856 BPB) + @stukenov's pre-quant TTT (PR #1364) and adds QK-Gain 5.0 (from 4.0, validated by PR #1217 @bigbag). One hyperparameter change that improves 3-seed mean by 0.0004 over PR #1416.
Full Stack
SP8192 vocab, MLP 4x, depth recurrence (loop 4,5), MuonEq-R, SDClip quantization, GPTQ embeddings, sigmoid-gated U-Net skips, pre-quant AdamW TTT (6 epochs, lr=0.0005, freeze first 2 blocks, cosine decay), brotli compression.
Compliance (Track A — Fixed Predictor)
Reproduction
Credits
PR #1394 @clarkkev, PR #1364 @stukenov, PR #1416 @erichroepke, PR #1217 @bigbag, PR #1204 @msisovic, PR #1260 @dexhunter, PR #1019 @abaybektursun