Elith日本語版
Menu

Speeding Up LLM Inference: Floodgates, Which Lets Looped Language Models Draft for Themselves

From the primary source, we sort out the preprint (November 25, 2026) on Floodgates, which drafts with a shallow loop of a looped language model and verifies with the deep loops: the basics of speculative decoding, how it works, speedups and their conditions, limits on matching outputs and batch size, and four checks.

Published
{minutes} min read
5 min read
Abstract 3D illustration on a blue background of translucent rounded panels, three on top and two below, joined by thin lines into a loop, with small white blocks lined up on a line that crosses the middle of the loop and turns orange after passing a small panel on the right

For companies that use AI in their work, the time and cost of LLM inference are a major issue. On November 25, 2026, researchers from EPFL, the University of Maryland and KAIST published a paper on arXiv proposing Floodgates, a method that speeds up inference for looped language models (arXiv listing). It is a preprint (v1) that has not been peer-reviewed, and all figures are from the authors' experiments. As an example of LLM inference acceleration, we sort out how it works, how fast it is and its limits.

The basics of speculative decoding: draft, then verify in one go

LLMs normally generate text one token at a time. Speculative decoding drafts the next few tokens with a cheap method and then has the original model verify them together. Drafted tokens that match are accepted, and those that do not are discarded and generated again. Because the original model decides what to accept, it can in principle speed things up without changing the output under greedy decoding, or the output distribution under sampling. The paper calls such methods "lossless."

In looped models, a shallow loop of the same model can draft

A looped language model computes by repeating the same layers many times. Floodgates drafts with a shallow computation that runs the loop only once, and verifies with the model running its loops to their full depth. It is a self-speculative method that does not need a separate draft model.

To draft several tokens in parallel, it appends a block of mask tokens to the end of the input and trains LoRA adapters that are active only while drafting. The weights of the verifying model are not changed, so the output stays the same (paper, "1 Introduction", "3 Floodgates"). Because the adapters must be trained, it is not a method that works without training.

The paper gives two reasons for the speedup.

  • Looped models are trained to predict at every depth, so even a shallow loop can predict several tokens ahead.
  • The drafter can read the final-loop prefix cache (the computed states of the earlier tokens) produced during verification.

On models that run many loops, it also uses "elastic drafting," which refines the draft with a few more passes of the original loop. This part needs no extra training.

Diagram comparing plain decoding with Floodgates, headed: Floodgates drafts with a shallow loop and verifies with the deep loops. The subtitle says it is self-speculative decoding for looped language models, which repeat the same layers. The upper part shows plain decoding: run all the loops, output one token, and repeat this for every token. The lower part shows Floodgates: step 1, one loop plus a mask block plus LoRA drafts several tokens; step 2, the original model's deep loops verify them at once; step 3, accept the matching leading part, discard the rest and draft again. The drafter reads the deep prefix cache computed during verification, and LoRA is active only while drafting, so the verifier weights are unchanged. A bar chart at the lower right shows speedup with plain decoding as 1.00, for Ouro 1.4B, GSM8K, A100, batch 1 and greedy decoding: plain 1.00×, LoopSpec 2.77×, Floodgates 5.04×. The notes at the bottom say that this is a preprint (v1) that has not been peer-reviewed, that it applies to looped models only, and that the speedups hold for the paper's conditions, not for every model or setup
Figure 1. Plain decoding compared with Floodgates (draft with a shallow loop → verify with the deep loops → accept or discard). Source: arXiv:2611.33896v1, "1 Introduction", Table 1 and Figure 2

How fast is it: figures with conditions

The measurements covered seven models: Ouro 1.4B and 2.6B and their Thinking versions, Recurrent Llama 3.2, Recurrent TinyLlama and Huginn 3.5B. The five tasks were GSM8K, MATH-500, HumanEval+, MBPP+ and BBH, measured on one NVIDIA A100-80GB at batch size 1. The figures are wall-clock speedups over plain one-token-at-a-time decoding (same paper, "4.1").

In Table 1, Ouro 1.4B on GSM8K was 5.04× faster. LoopSpec, an existing method for looped models, was 2.77×. Ouro 2.6B on MATH-500 was 6.04× (LoopSpec 3.10×), and Recurrent Llama 3.2 on HumanEval+ was 6.91× (LoopSpec 6.03×). Under greedy decoding, it was the fastest of the lossless methods compared on every model and task. The paper's "up to 7.5×" is the average over the four tasks that could be evaluated when Recurrent TinyLlama was run with greedy decoding at batch size 1. On individual tasks, the maximum was 8.20×.

Under sampling, it was fastest in 16 of the 24 settings in Table 1. LoopSpec was faster on Recurrent TinyLlama and on four of the five tasks of Recurrent Llama 3.2. On the two Thinking models (Table 2), it was fastest under both greedy decoding and sampling.

Limits: matching outputs and batch size

Keeping the output unchanged is a property in principle. In the batch-size-1 experiments, bfloat16 rounding differences meant that up to seven problems per task got a different answer from plain decoding, and accuracy differed by no more than 3 points. In the batched experiments, which used kernels whose rounding does not depend on batch size, the paper says the outputs were bit-identical to plain decoding on all problems (same paper, "8.3 Accuracy").

As more requests are processed at once, the speedup over plain decoding shrinks. On the two Ouro models, Floodgates had the highest throughput at every batch size tested, but at the largest batch size that fits in memory it was 2.1× and 2.7× plain decoding. On Recurrent Llama 3.2, however, it led only up to batch size 64, and at the two largest batch sizes another method, DAS, was slightly ahead (1.75× vs 1.65× at batch size 128; same paper, "4.4").

The code is published under the Apache-2.0 license, with training and evaluation scripts and instructions for downloading the trained draft adapters (GitHub repository).

What to check when speeding up LLM inference

This method applies only to looped language models; it does not make every LLM faster. We recommend that companies thinking about inference costs check the following points.

  1. Is the model you use, or plan to use, a looped model?
  2. Have you measured the speed at your own concurrency and batch sizes?
  3. Have you planned for the effort and compute needed to train the draft adapters?
  4. Have you checked in your environment whether the output matches plain decoding?

Tailoring inference to how a model is built leaves room to speed it up while keeping the output. Checking in your own environment under which conditions you get which speedup is the starting point.

Elith builds AI products for enterprises and conducts advanced research on a foundation of AI safety and security. We share trends in AI safety and security and insights from research and practice in Elith AI Signal. We will keep reading research on using LLMs efficiently against primary sources and reporting on it.

Sources

  1. arXiv:2611.33896, Looped Models are Fast Multi-Token Predictors (listing, submitted November 25, 2026)
  2. Full text of the same paper (arXiv HTML version, v1)
  3. Floodgates code (GitHub repository)