Repository navigation
Record: 11L LeakyReLU² + VRL + lzma — val_bpb 1.1229 (3-seed mean) - #175
anthony-maio wants to merge 2 commits into
Conversation
…toneInit) Combines the two strongest orthogonal improvements that haven't been stacked: - SOTA training (1.1748): 10L, Muon WD, FP16 tied embed, spectral init, sliding window - TTT eval (1.1928 on baseline): per-document LoRA adaptation, document isolation Modifies CausalSelfAttention, Block, and GPT forward methods to accept optional LoRA delta parameters while preserving default training behavior. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
There was a problem hiding this comment.
Pull request overview
Adds LoRA test-time training (TTT) evaluation on top of the existing SOTA training recipe in the records/track_10min_16mb track, aiming to report both standard sliding-window validation and per-document LoRA-adapted validation results.
Changes:
- Extends the model forward path to accept optional batched LoRA deltas (Q/V + LM head) used only during evaluation.
- Adds batched per-document LoRA adaptation and a document-isolated, chunked TTT evaluation routine.
- Runs sliding-window eval after int8+zlib roundtrip, then runs TTT LoRA eval and logs both metrics.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| records/track_10min_16mb/2026-03-20_TTT_SlidingWindow_FP16Emb_10L_MuonWD_OvertoneInit/train_gpt.py | Implements TTT LoRA adapters + evaluation and integrates it after the existing quantized sliding-window eval. |
| records/track_10min_16mb/2026-03-20_TTT_SlidingWindow_FP16Emb_10L_MuonWD_OvertoneInit/submission.json | Adds submission metadata for the new record entry. |
| records/track_10min_16mb/2026-03-20_TTT_SlidingWindow_FP16Emb_10L_MuonWD_OvertoneInit/README.md | Documents the combined recipe, expected results, and reproduction command. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Replaces original TTT LoRA submission with current validated stack. 3-seed: 1.1234 / 1.1225 / 1.1228 = mean 1.1229 (std 0.0005) All artifacts under 16MB. All logs attached. Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Community Review — Record: 11L LeakyReLU² + VRL + lzma — val_bpb 1.1229 (3-seed mean)BPB: 1.1229 | Compliance: LOOKS CLEAN — pure-neural submission, no TTT/SLOT/n-gram-cache What I found in the code (head SHA Static code review found no TTT adaptation function, no SLOT optimization loop, no n-gram-cache class, and no pre-quant val-token fine-tune. The eval path uses the standard sliding-window stride-64 pattern. The submission is a pure-neural architecture iteration on the standard SP1024/SP4096/SP8192 baseline. CPU smoke test (CT2038 proteus-engine, 2026-04-11): import OK in 0.03s, dim=512, layers=11, vocab=1024, code=60243 B, SMOKE_TEST_PASS Verdict: LOOKS CLEAN. Recommendation to @cocohearts @valerio-oai @0hq @yuzhougu-oai @notapplica: MERGE pending the usual record-track checks (3-seed validation, under-16MB artifact cap, ≤600s train + ≤600s eval on 8×H100 SXM). No compliance flags from the classification pass — this looks like a clean pure-neural iteration on the standard baseline. Auto-classification caveat: this review was drafted by the AST-based classifier. If there's a non-standard eval mechanism (logit postprocessing, hedge mixing, etc.) that I missed because it's factored into a helper file or a non-standard function name, 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.03s, dim=512, layers=11, vocab=1024, code=60243 B, SMOKE_TEST_PASS. Classification via deterministic AST-based |
Summary
val_bpb = 1.1229 (3-seed mean, std 0.0005) | ~15.89 MB | 8×H100 SXM
3-Seed Results (8×H100 80GB SXM, PyTorch 2.9.1+cu128)
All 3 artifacts under 16,000,000 bytes. All 3 train logs attached.
Key Innovations
LeakyReLU(0.5)²: One-line activation swap preserving negative gradient flow through MLP. ~-0.002 BPB vs standard relu². Credit: PR #493 @parinzee, PR #518 @sofiabod.
Value Residual Learning (VRL): Layer 0's V output blended into all subsequent attention layers via learned sigmoid gates. Combats attention concentration (ResFormer, arXiv:2410.17897). +10 scalar params. Credit: PR #569 @gowtham0992.
lzma compression: Stdlib replacement for zstd-22, compresses 2-5% tighter on quantized weights. Recovers ~300-500KB headroom, enabling full MLP 3× + BigramHash 2048 under 16MB without capacity cuts. No external dependencies.
Architecture
PR #414 base + LeakyReLU² + VRL + lzma:
Credits
Test plan