Looped language models can run shallow passes for speed and deep passes for quality. A new arXiv paper says shallow passes can also draft several tokens ahead, hitting up to 7.5x faster lossless decoding when a method called Floodgates verifies those drafts with deeper loops.
The work, Looped Models are Fast Multi-Token Predictors (arXiv 2611.33896, submitted November 25, 2026), comes from Ayhan Suleymanzade, Sean McLeish, Sehoon Kim, Jinwoo Kim, and Antoine Bosselut. It extends self-speculative decoding on looped stacks from one-token drafts to multi-token blocks, using mask-token suffixes and LoRA on the shallow loop path.
TL;DR
| Question | Answer per arXiv abstract |
|---|---|
| What changed? | Shallow loops draft multiple future tokens, not just one |
| Method name | Floodgates |
| Speed | Up to 7.5x lossless decode in their sweeps |
| Models tested | Seven looped LMs |
| Benchmarks | Five text tasks |
| Decoding modes | Greedy and sampled |
Why looped models are a different inference animal
A looped transformer reuses the same weights across multiple computational loops instead of growing width-only depth. At inference you can stop early (shallow) or continue (deep). NVIDIA's Dory 4B looped model popularized dialable loops on the bench; SenseNova Loop 9B brought the idea to multimodal stacks.
Researchers already used shallow loops as drafters and deep loops as verifiers for self-speculative decoding of one token at a time. The arXiv authors argue shallow loops are more predictive than that: they can forecast several tokens when the model is trained across depths.
If OpenAI's rumored looped flagship ships, inference tricks like Floodgates could matter commercially. Today the evidence is peer-reviewed-style preprint only.
How Floodgates works
Draft-verify speculative decoding: a fast draft path checked against a slower verify path
The paper's pipeline has three ideas builders can reuse conceptually:
-
Mask suffix — Append a block of mask tokens after the current prefix so the model has slots to fill in parallel.
-
Shallow draft with LoRA — Run few loops with a low-rank adaptation path that learns to fill the mask block quickly.
-
Deep verify — Run more loops on the accepted prefix, checking drafts against the full-depth computation. Reject mismatches and fall back like standard speculative decoding.
Because drafting still runs full parameters on shallow loops, it avoids the quality gap of tiny auxiliary models, the paper argues. That differs from classic speculative decoding (Leviathan et al., arXiv 2211.17192), where a 1–3B drafter pairs with a 70B+ verifier.
For KV-cache mechanics behind any draft-verify pattern, see our KV cache explainer and the Ramp speculative encoding claimed-vs-verified post on prefill-side tricks.
What 7.5x means and what it does not
The abstract's 7.5x is an upper bound across their grid: seven models, five benchmarks, batch sizes, greedy and sampled paths. It is not a promise for your API tier on Monday.
Lossless here means the final string matches the deep-loop baseline when verification succeeds. Sampling paths need identical RNG handling; any production port must test byte-for-byte parity on your tokenizer.
| Claim | Careful reading |
|---|---|
| Fastest lossless method in most cases | Authors' comparison set on looped models only |
| 7.5x acceleration | Best case; rejection rates dominate on hard prompts |
| No output change | Theoretical property; verify in your stack |
All-depth training is the hidden requirement
The paper's analysis section ties gains to training looped models at every depth, not just the deepest setting. Shallow loops must see supervision during training or they will not predict future tokens well enough to draft.
That has product implications:
- Fine-tunes of looped base models need loop-aware training scripts, not one-shot SFT at max depth only.
- Quantized shallow paths (NVFP4 looped deploys) must preserve draft accuracy; bad quant on shallow loops raises reject rates.
How Floodgates compares to other speed tricks
| Approach | Mechanism | Needs looped LM? |
|---|---|---|
| Speculative decoding | Small drafter + big verifier | No |
| MTP / multi-token prediction | Extra heads predict n-grams | No (architecture-specific) |
| Medusa / Eagle | Additional lightweight heads | No |
| Floodgates | Shallow vs deep same weights | Yes |
Our dictionary guide to speculative decoding walks through acceptance math. Floodgates is closest to self-speculative rows in that table, but with block masks instead of single-token drafts.
Conceptual speculative decoding rails: small fast draft ahead of larger verify step
What developers are saying on Hacker News
Discussants on HN item 50694426 noted the elegance of shallow loops as self-contained speculative decoding (comment by hankbond). Others joked about 1000x shortcuts via cached intermediate states (hashmap) and questioned whether faster generation without quality gains is worthwhile (hellohn87). The thread was small when this post was written; treat reactions as early sentiment, not benchmarks.
Can you try it today?
The arXiv page lists PDF and HTML (experimental) views and no linked public code repository. Implementation will require:
- A looped checkpoint with configurable loop count
- Training or adaptation for the Floodgates LoRA draft head
- A verify loop schedule matching the paper's greedy or sampling setup
Until code ships, treat Floodgates as a research direction for teams already committed to looped inference.
Who should care
| Role | Why read this |
|---|---|
| Inference engineer | New knob on looped stacks you may already benchmark |
| API vendor | Lossless speedups protect parity SLAs |
| Researcher | Bridges looped LM training and speculative decoding theory |
| Mobile / edge | Shallow loops already help local Inkling runs; multi-token drafts may follow |
Teams learning inference craft can pair this with hands-on AI builder workshops when they move from papers to profiling.
Implementation checklist before you port Floodgates
If a vendor ships looped weights with Floodgates support, verify each item:
-
Parity harness — Log 1,000 prompts where deep-only decode is the golden output. Run Floodgates and diff tokens.
-
Loop schedule — Document shallow loop count, draft block length, and verify loop count. Autoscaling must not collapse them into one number.
-
LoRA shard — Confirm whether draft adapters ship beside base weights and how quantization interacts with shallow paths.
-
Sampling — For non-greedy paths, record RNG streams. A common bug is divergent samples that still look "fast."
-
Batching — Mixed shallow and deep forwards in one batch need schedulers; naive implementations may serialize and erase gains.
-
Telemetry — Track acceptance rate and tokens per second separately; headline speed without acceptance is meaningless.
-
Fallback — Ship a feature flag to disable Floodgates without redeploying weights.
This mirrors production lessons from ForeSpark work-conserving speculation and MMFlash VLM stacks: the draft path is only production-ready when rejection math is visible in dashboards.
Serving economics
Floodgates targets latency-sensitive workloads where lossless output is mandatory—billing disputes, codegen with compliance hooks, evaluation harnesses. It is a poor fit when you already tolerate approximate drafts (some chat UX) or when models are not looped.
| Workload | Floodgates fit |
|---|---|
| Looped chat API | High if acceptance stays high |
| Classic transformer API | None without architecture change |
| Offline batch eval | Medium; throughput may matter less than cost |
| On-device looped model | Unknown until shallow quant profiles ship |
Pair speed work with tokens-per-second literacy so product teams do not confuse prefill wins with decode wins.
Limitations the paper implies
Multi-token drafting blows up KV cache traffic on reject paths. Wide mask blocks raise memory during verify. Batch>1 serving needs careful scheduling so shallow drafts do not starve deep verifies.
The authors compare only looped baselines and prior self-speculative single-token methods. Cross-family numbers against Eagle or Medusa on non-looped models are not in the abstract.
FAQ alignment with search queries
Readers often ask is speculative decoding lossless and how speculative decoding works. Floodgates is a special case: it is lossless relative to the deep-loop baseline when verification rejects bad drafts. It is not interchangeable with MTP or Medusa on standard transformers.
| Search intent | Floodgates answer |
|---|---|
| What is speculative decoding? | Draft cheaply, verify faithfully; Floodgates uses loop depth instead of a second model |
| When was speculative decoding invented? | Classic method predates this paper; Floodgates is November 2026 looped-model work |
| Does speculative decoding reduce accuracy? | Not when rejections work; measure on your prompts |
| Speculative decoding vs MTP | MTP adds heads; Floodgates reuses looped weights |
For engine integrations, compare notes in vLLM vs SGLang before you assume any draft path is enabled by default.
Historical context
Self-speculative decoding on looped stacks appeared before Floodgates named multi-token blocks. The contribution here is parallel mask filling with LoRA on shallow loops, not the bare idea of shallow versus deep. Readers migrating from Dory 4B adjustable loops should expect training recipe changes, not a drop-in flag.
When OpenAI looped flagship rumors resolve into shipping weights, watch whether vendors document lossless fast paths in model cards. Until then, arXiv numbers are the best public benchmark. Re-run validate-blogs on your integration branch after you add a reference implementation. Profile shallow and deep forwards separately.
