Skip to content

Non-record: Prefix-Conditioned Suffix Diffusion — True Discrete Diffusion (diffusion_pll_bpb=1.8587) - #905

Open
anthony-maio wants to merge 3 commits into
openai:mainfrom
anthony-maio:submission/prefix-conditioned-suffix-diffusion
Open

anthony-maio wants to merge 3 commits into
openai:mainfrom
anthony-maio:submission/prefix-conditioned-suffix-diffusion

Conversation

@anthony-maio

@anthony-maio anthony-maio commented Mar 26, 2026 •

Copy link
Copy Markdown

Non-Record Submission: Prefix-Conditioned Suffix Diffusion

True discrete diffusion non-record submission. Answers OpenAI's explicit request for text diffusion submissions.

Approach

Prefix-conditioned suffix diffusion with absorbing-mask corruption:

  • Keep an observed prefix clean
  • Choose a future suffix, corrupt with absorbing mask at sampled timestep
  • Predict original clean suffix tokens from noisy sequence
  • Denoising loss only on corrupted suffix positions

Results (8xH100 SXM, 600s, seed=1337)

  • diffusion_pll_bpb: 1.8587 (int8+zlib roundtrip, approximate PLL metric)
  • diffusion_pll_loss: 3.2109
  • Steps: 2,398 at 250ms/step
  • Artifact: 13.7MB (under 16MB)
  • Scored tokens: 32,736

Note: This reports an approximate prefix-conditioned diffusion pseudo-log-likelihood BPB, not exact autoregressive challenge BPB. Scores are not directly comparable to AR submissions.

Why This Matters

First true discrete diffusion submission in the competition. Demonstrates that discrete diffusion can be trained within the competition's constraints, even if the scoring is approximate.

Training Progression

Step diffusion_pll_bpb diffusion_pll_loss
1000 2.1727 3.7532
2000 1.8994 3.2811
2398 1.8576 3.2089

Included files

  • train_gpt.py — training script
  • train_8xH100.log — full 8xH100 training log (seed=1337)
  • train.log — local smoke test log (4-step, 1xGPU)
  • submission.json
  • README.md

Credits

  • Baseline architecture: OpenAI Parameter Golf starter code
  • Discrete diffusion concepts: MDLM, SEDD literature

anthony-maio and others added 2 commits March 26, 2026 16:56
…ion)

True discrete diffusion with absorbing masks. Clean prefix conditions
the diffused suffix via timestep and role embeddings. Denoising loss
only on corrupted suffix tokens. Approximate prefix-conditioned
diffusion PLL evaluator. Answers OpenAI's "text diffusion" request.

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
Copilot AI review requested due to automatic review settings March 26, 2026 22:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 5 changed files in this pull request and generated no comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@MatoTeziTanka

Copy link
Copy Markdown

Community Review — Non-record: Prefix-Conditioned Suffix Diffusion — True Discrete Diffusion (diffusion_pll_bpb=1.8587)

Compliance: LOOKS CLEAN — pure-neural submission, no TTT/SLOT/n-gram-cache

VERDICT: PURE_NEURAL_CLEAN ## Summary PR #905 ("Prefix-Conditioned Suffix Diffusion" by Anthony Maio) is a non-record 16 MB track submission using a discrete diffusion model (prefix-conditioned absorbing-mask process), not an autoregressive LM. It scores with diffusion_pll_bpb = 1.8587 on 8xH100 in 600s. ## Check Results ### 1. ILLEGAL n-gram family bug (target XOR'd into hash key) NOT PRESENT. No BigramHash, n-gram hash, XOR key manipulation, or any n-gram component found anywhere in the file. No hash, xor, ^, or n-gram-style indexing into a lookup table using target tokens as keys. ### 2. ILLEGAL Pre-Quant TTT (multi-epoch on val_tokens without score-first) NOT PRESENT. The TTT path (eval_val_ttt_lora, lines 1116–1223) is behind a ttt_eval_enabled flag defaulting to "0" (line 96). It is not invoked during the competition evaluation — the scored output is diffusion_pll_bpb, not the TTT path. TTT is an optional diagnostic only. ### 3. LEGAL score-first TTT (PR #1413 pattern, is_last_chunk guard) NOT APPLICABLE to the submission score — TTT is disabled by default. However, the TTT implementation itself (lines 1190–1214) follows correct score-first ordering: - Line 1198–1206: _accumulate_bpb is called before the training step. - Line 1209–1214: Training is gated by needs_train and a per-doc mask ci < num_chunks[b] - 1 (line 1210), which zeros out gradient contribution for a doc's final chunk. This is the is_last_chunk guard pattern. - No multi-epoch TTT: each chunk sees exactly one Adam step. ### 4. HOLD scored-region SLOT NOT APPLICABLE. This is a non-record submission on a non-standard metric (diffusion_pll_bpb). The submission.json explicitly...

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 audit — this looks like a clean pure-neural submission.


Reviewed by @MatoTeziTanka — The Agora. Compliance audit via LLM agent (Sonnet) reviewing full train_gpt.py source, cross-checked against deterministic AST classifier. If this review misread your code, please call it out so I can re-audit manually.

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.

3 participants