跳到正文
Hacker News (official RSS)(arxiv.org)·· 3 小時前品質評分58

Floodgates 讓迴圈式語言模型生成文字最高快 7.5 倍

Researchers make AI text generation up to 7.5x faster without changing output

重點導讀

語言模型逐字產生內容時,推論速度可能很慢。

  • 這篇研究提出 Floodgates,讓模型先用較淺的迴圈一次猜多個後續 token,再由較深的迴圈檢查,並保留原本的輸出結果。
  • 研究在七個模型和五種基準測試中比較不同設定,Floodgates 在多數情況下是最快的無損解碼方法,最高加速 7.5 倍。

AI 伴隨問答

自備 Key 深度分析

針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:

正文

View PDF HTML (experimental)

Abstract:Looped language models can adapt computation for predicting a token without a proportional rescaling in unique model parameters by adjusting the number of loops. This property has been used for self-speculative decoding, taking shallow loops as fast drafters and deep loops as verifiers, which is effective since drafting still uses full parameters. In this paper, we show that shallow loops can be also predictive of several future tokens and leverage this to drastically accelerate the inference of looped language models. To that end, we present Floodgates, a simple self-speculative decoding method that appends a block of mask tokens as a suffix and learns via low-rank adaptation to draft these tokens in parallel. Across seven models, five benchmarks, a range of batch sizes, and both greedy and sampled decoding, Floodgates is the fastest lossless decoding method in most cases, attaining up to 7.5x acceleration. Through analysis, we show that this speedup is enabled by all-depth training of looped models, with the shallow drafter's ability to leverage full-depth computation by conditioning on deep prefix cache evaluated during verification.
Subjects: Machine Learning (cs.LG); Computation and Language (cs.CL)
Cite as: arXiv:2611.33896 [cs.LG]
  (or arXiv:2611.33896v1 [cs.LG] for this version)
  https://doi.org/10.48550/arXiv.2611.33896

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Ayhan Suleymanzade [view email]
[v1] Wed, 25 Nov 2026 07:16:56 UTC (2,821 KB)

讀者討論

理性交流 · 即時討論