Non-record: 11L NativeFlowMatcher + Legal TTT — val_bpb 1.1199 (3-seed mean no-TTT: 1.1225)#1170
Open
Christopher-Lee-McClendon wants to merge 3 commits intoopenai:mainfrom
Conversation
- NativeFlowMatcher: 393K-param OT-CFM velocity network with gated hidden-state correction - Legal score-first TTT: SGD lr=0.002, 10 epochs, freeze_blocks=2 - val_bpb: 1.11991 (sliding window stride=64, legal TTT) - val_bpb: 1.12312 (sliding window stride=64, no TTT) - Artifact: 15,745,776 bytes (254K headroom) - Single-seed (42) exploratory submission - Supplementary: eval logs, SLURM scripts, comparison data
- 2x2 matrix: NFM x TTT with base no-TTT baseline (1.12087) - Loss weight sweep: 0.01, 0.05, 0.1, 0.2 - Hidden dim sweep: 128, 256, 512 - 13 SLURM jobs submitted (6 train + 7 eval) - Results pending, will update when jobs complete
Author
Ablation Studies Submitted13 SLURM jobs have been submitted to run comprehensive ablation studies for this NFM submission: 2×2 Matrix: NFM × Legal TTTIsolating the individual contributions of NFM and legal TTT at matched 7k steps.
NFM Hyperparameter SweepsLoss weight sweep (hidden_dim=256, seed=42):
Hidden dim sweep (loss_weight=0.1, seed=42):
Also pending
Results will be updated in README as jobs complete. |
- Training completed for seeds 42, 1337, 2025 (all 7k steps) - 3-seed mean sliding BPB (no TTT): 1.12252 ± 0.00151 - Seed 42: 1.12312, Seed 1337: 1.12367, Seed 2025: 1.12077 - Legal TTT eval jobs submitted (SLURM 55411651-55411654) - Added completed E2E TTT+Flow eval log (SLURM 55398555, BPB=1.12418) - Added training logs and SLURM scripts for all seed runs - Updated README with 3-seed results table and training trajectories - Updated submission.json with per-seed metrics and job IDs
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
Non-record submission exploring NativeFlowMatcher (NFM) — a 393K-parameter OT-CFM (Optimal Transport Conditional Flow Matching) velocity network that applies gated hidden-state correction to transformer hidden states, jointly trained with the AR objective. The Flow Matching module is trained as distribution transport, but used at inference as a small residual correction.
Results
Three-seed reproducibility (training-time sliding window, no TTT):
Primary (seed=42, with legal TTT):
Legal TTT gain: −0.00321 BPB
Architecture
Training
Ablation Studies
2×2 Matrix: NFM × TTT (isolating NFM contribution):
Base retraining is running. Loss weight sweep (lw=0.01, 0.05, 0.20) and hidden dim sweep (hd=128, 512) are queued.
Supplementary: E2E TTT + FlowRefiner 7k eval completed: legal TTT BPB = 1.12418.
Limitations
Credits
Base architecture (PR #549, @abaybektursun), Muon (baseline), BigramHash/SmearGate (PR #65, @aquariouserworkman), XSA (PR #187/#265, @Idan3011/@unnir), mixed quant (PR #76), sliding window (PR #50, @mattqlf), legal TTT (PR #77, @samacqua, PR #461 @Christopher-Lee-McClendon ), VE/PartialRoPE/LN Scale (PR #315/#374, @jfprincz/@unnir), gated attention/value residual (PR #940), EMA (PR #65, @aquariouserworkman)
Checklist