Skip to content

Recursive Transformer 4B/7L + VE + QAT + TTT — val_bpb 1.1696 (3-seed mean)#927

Open
Tonyy1977 wants to merge 2 commits intoopenai:mainfrom
Tonyy1977:recursive-transformer-submission
Open

Recursive Transformer 4B/7L + VE + QAT + TTT — val_bpb 1.1696 (3-seed mean)#927
Tonyy1977 wants to merge 2 commits intoopenai:mainfrom
Tonyy1977:recursive-transformer-submission

Conversation

@Tonyy1977
Copy link
Copy Markdown

@Tonyy1977 Tonyy1977 commented Mar 27, 2026

Summary

Recursive transformer: 4 shared blocks × 7 loops (7× weight reuse) at dim=1024, with ValueEmbedding, int6 QAT from step 0, and score-first TTT+sliding window eval.

3-seed mean: 1.1696 BPB | ~15.85MB artifact | 600s on 8xH100 SXM

Seed TTT+Sliding BPB Post-quant BPB Artifact
1337 1.1698 1.1952 15,749,104
42 1.1697 1.1949 15,778,257
2024 1.1693 1.1947 15,750,116
Mean 1.1696 1.1949

Key novelty

Unlike other depth recurrence submissions that repeat 1-2 layers on top of 10-11 unique blocks (~1.2× reuse), this uses 4 shared blocks looped 7 times (7× reuse). This enables dim=1024 (2× wider than standard 512) while staying under 16MB.

Architecture highlights

  • U-Net encoder-decoder skip connections across loops
  • Int6 QAT from step 0 (essential for recursive models — without it, quantization error compounds through loops)
  • ValueEmbedding reinjects token identity at late loops
  • SmearGate + BigramHash + XSA on last 4 loops
  • Score-first TTT + sliding window eval (stride=64)

See README.md in the submission folder for full details and negative results.

Tonyy1977 and others added 2 commits March 26, 2026 23:29
… mean)

True Universal Transformer: 4 shared blocks x 7 loops (7x weight reuse),
dim=1024, int6 QAT from step 0, score-first TTT+sliding window eval.
3-seed mean: 1.1696 BPB, 15.85MB artifact, 600s training on 8xH100.
Required for zstd-22 compression of the int8 quantized model artifact.
Without it, the script falls back to zlib which produces 17.5MB (over 16MB budget).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant