Record: Alpha-Scaled LoRA + Warm-start A + WD 1.0 — val_bpb 1.07266 (3-seed mean)#1765
Open
renqianluo wants to merge 1 commit intoopenai:mainfrom
Open
Record: Alpha-Scaled LoRA + Warm-start A + WD 1.0 — val_bpb 1.07266 (3-seed mean)#1765renqianluo wants to merge 1 commit intoopenai:mainfrom
renqianluo wants to merge 1 commit intoopenai:mainfrom
Conversation
…(3-seed mean) Three composable novel changes on top of dexhunter's phased-TTT code: 1. Alpha/rank LoRA scaling enables stable higher rank (128 vs 96) 2. Warm-start LoRA A across batches lets feature directions accumulate 3. Raised TTT weight decay (0.5 -> 1.0) prevents warm-A overfit on seed 314 3-seed mean 1.07266 BPB (seeds 1337, 42, 314). Every seed improves or ties vs the rank-96 reproduction baseline. Inherits samacqua's VarLen+FusedMLP (PR openai#1530), romeerp's phased TTT (PR openai#1610), bigbag's triple recurrence + parallel residuals (PR openai#1493), EthanYangTW's parameter banking (PR openai#1523), dexhunter's multi-phase global SGD + trimmed GPTQ.
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
Three composable, small-LOC novel changes on top of @dexhunter's 1.07193 phased-TTT pipeline. All three modify only the LoRA adapter's init / forward / weight-decay — everything else (VarLen attention, Fused MLP, multi-phase global SGD, trimmed GPTQ, int7 embeddings, triple depth recurrence) is unchanged.
(1) Alpha/rank output scaling on
BatchedLinearLoRAPrior phased-TTT code uses
forward(x) = (x @ A.T) @ B.Twith no rank scaling. RaisingTTT_LORA_RANKfrom 96 → 128 on that code diverges on seeds 314 and 1337 (TTT BPB collapses to ~1.133) while working on seed 42. Adding the standardalpha/rankfactor decouples rank from effective LR and makes rank 128 stable on all three seeds.(2) Warm-start LoRA A across batches
Previously A is re-randomized every batch. Keeping A warm (only B resets to zero) lets the A matrix accumulate feature directions across the ~780 phased-TTT batches. In isolation this helps seeds 42/1337 but regresses on seed 314 (A drifts into overfit for that seed's doc ordering).
(3) Raised TTT weight decay 0.5 → 1.0
Introduced specifically to counteract the across-batch A overfit enabled by (2). On seed 314 it restores parity with the rank-96 baseline (1.07200 → 1.07203); on 42/1337 the bulk of the warm-start gain is preserved.
Results
All three seeds improve or stay flat vs the rank-96 reproduction.
Compliance
All runs under 600s train, under 600s eval, <16MB artifact. Issue #1017 conditions 1–4 verified (causal, full normalized distribution, score-before-update, single pass).