Open
Conversation
Extends the SOTA 3-layer depth recurrence to 4 layers by setting LOOP_END=6 (was 5), creating 19 virtual layers from 11 physical instead of 17. Total layer-step compute budget is identical (~77,350). Also absorbs QK_GAIN_INIT=5.25 as the script default (was passed as an env var in the prior SOTA submission). Results pending on 8xA100 hardware.
- test_architecture.py: CPU-only PyTorch test verifying forward pass, gradient flow, and virtual layer structure for both SOTA and 4-layer configs; all checks pass locally - README: add virtual layer diagrams, skip-connection table, compute budget equivalence analysis, and verified test output
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
Extends the current SOTA (val_bpb=1.0810, PR openai#1509) by expanding depth recurrence from 3 looped layers to 4 (
LOOP_END=6). All other techniques are unchanged.The two-line code diff from SOTA:
Architecture Change
Virtual layer sequences:
[0,1,2,3,4,5,3,4]dec:[5,3,4,5,6,7,8,9,10][0,1,2,3,4,5,6,3,4]dec:[5,6,3,4,5,6,7,8,9,10]Motivation
The total layer-step compute budget is identical:
Prior submissions show each incremental depth expansion improved BPB. This PR tests whether organizing the same compute as a deeper (19-layer) rather than shallower (17-layer) virtual network continues that trend.
The additional looped layer also adds one more U-Net skip connection, enriching encoder-to-decoder cross-layer information flow.
Reproduction
No extra env vars needed -- QK_GAIN_INIT=5.25 is now the default.
Results pending on 8xA100 hardware.
Test plan