Researchers have developed Floodgates, a method that accelerates AI text generation up to 7.5x without altering output quality. The approach modifies computation in looped language models by adding mask token blocks and using low-rank adaptation to draft multiple future tokens in parallel. This self-speculative decoding technique treats shallow loops as predictive drafters and deep loops as verifiers, maintaining full parameter usage during drafting while reducing computational load.
The study tested Floodgates across seven models, five benchmarks, various batch sizes, and both greedy and sampled decoding methods. It demonstrated consistent speed improvements in most scenarios, with notable gains in lossless inference. The acceleration stems from all-depth training of looped models, where shallow drafters leverage full computation by conditioning on deep prefix cache during verification.
This advancement represents a significant efficiency breakthrough in AI inference, allowing faster text generation without compromising accuracy or requiring model architecture changes. The findings suggest broad applicability for real-time language model applications where speed is critical.
Source: Hacker News · Summarized by HeadlinesBriefing