Grafy News
Try Grafy free

Looped AI text generation gets up to 7.5x faster

Researchers say Floodgates speeds up looped language models by drafting several tokens at once, with up to 7.5x gains and no output change in tests.

Illustration for the news story: Looped AI text generation gets up to 7.5x fasterSource: Hacker News — front page

Researchers have introduced Floodgates, a self-speculative decoding method that makes looped language models generate text up to 7.5×7.5\times faster without changing the verifier's parameters or the final output, according to the Hacker News front-page entry pointing to arXiv:2611.33896. The result matters because inference speed is a practical bottleneck for AI products, and the method targets a model family that can trade computation for speed by running its layers fewer times.

What did researchers announce?

According to the Hacker News front-page entry, the paper describes looped language models as models that apply a shared block of layers repeatedly. That lets them reduce computation for a token by using fewer loops, without proportionally reducing unique parameters. The authors argue existing self-speculative decoding already uses shallow loops as drafters and deep loops as verifiers, but prior methods either draft one token per loop or need many loops for good acceptance. Floodgates instead appends a block of mask tokens and trains low-rank adapters to draft several future tokens in parallel from a single loop. The adapters are active only during drafting, so the verifier parameters stay unchanged and decoding remains lossless, according to the source.

How does it speed up generation?

Autoregressive models generate one token at a time, creating a serialized bottleneck. Speculative decoding uses a fast drafter to propose tokens and the full model to verify them in one pass. Floodgates uses one loop of a looped model as the drafter and the full-depth model as verifier. The drafter reads the deep prefix cache, the keys and values of earlier tokens at the final loop, which verification has already computed. The source says this lets the shallow drafter use full-depth computation for free. On models with many loops, elastic drafting adds passes of the pretrained loop to refine the draft, balancing cost and acceptance without extra training.

Why does the deep prefix cache matter?

The paper's analysis links the speedup to all-depth training. Because looped training supervises every depth, it pressures each future token to be predicted as early as possible, making shallow hidden states of past tokens useful. The deep prefix cache then gives the shallow drafter access to final-loop context. According to the source, controlled comparisons show the cache accelerates decoding up to 1.3×1.3\times. The authors also report that single-loop drafting outperforms drafting with a separate smaller network such as EAGLE or DFlash, or with the first layers of a non-looped model such as Llama 3.2 or LayerSkip, supporting the value of using all model parameters.

What did the benchmarks show?

According to the Hacker News front-page entry, Floodgates was evaluated on seven looped models and five math, coding and reasoning benchmarks, across batch sizes and both greedy and sampled decoding. It was the fastest lossless method on every model and task under greedy decoding and in most cases under sampling. The source reports up to 5.1×5.1\times faster than plain decoding on average with a single loop on 4-loop models, and up to 7.5×7.5\times faster with elastic drafting on 32-loop models. On some models it was nearly twice as fast as the best prior method. At the largest batch size that fit in memory, it reached up to 1.9×1.9\times the throughput of the strongest baseline.

What are the limits and open questions?

The source does not present Floodgates as universally faster: it says the method was fastest in most cases under sampling, not all. It also notes that prior pipelined methods need separate per-depth prefix caches, which can become a memory bottleneck when serving many requests. Floodgates avoids that by using the final-loop cache, but the paper's reported gains depend on looped models, all-depth training and the cost-acceptance tradeoff handled by elastic drafting. For practitioners, the practical question is whether a given looped model and serving setup match the tested regimes.

How can Grafy users explore this?

No Grafy app implements Floodgates or looped decoding directly. The genuine connection is research reading and model comparison. A reader can use Grafy Reader to open the arXiv paper, search its sections and ask questions about the method, then use Grafy Chat to compare speculative decoding with other acceleration ideas across models. That is a way to explore the topic, not a claim that Grafy runs Floodgates. The Grafy News Desk suggests treating the result as a research signal: check the paper's benchmarks before assuming a speedup in a production stack.

Frequently asked questions

Does Floodgates change the model's output?

According to the source, no. The low-rank adapters are active only while drafting, and the verifier parameters are not changed. The full model still verifies the drafted tokens and accepts them up to the first mismatch, so the method is described as lossless. The reported speedups come from drafting and verification, not from altering the final generated text.

What speedups did the researchers report?

The source reports up to 7.5 times faster generation with elastic drafting on 32-loop models, up to 5.1 times faster on average with a single loop on 4-loop models, and up to 1.9 times the throughput of the strongest baseline at the largest fitting batch size. It also says the deep prefix cache can add up to 1.3 times acceleration.

How does the deep prefix cache help the drafter?

The deep prefix cache holds the keys and values of earlier tokens at the final loop. Verification computes it, so the shallow drafter can attend to it without extra work. According to the source, this lets the drafter use full-depth computation and improves acceptance, contributing to the reported speedups.

Source: Hacker News front page


Source: Hacker News — front page — Researchers make AI text generation up to 7.5x faster without changing output