🤖 AI Summary
To address the high time complexity (O(L²)) and large cache overhead (O(L²)) of autoregressive generation in convolutional sequence models, this paper proposes FutureFill. FutureFill is the first method to achieve near-linear generation complexity (O(L log L)) for convolutional models, enabled by a causality-aware convolution kernel decomposition and an incremental state update mechanism that eliminates redundant computation. Additionally, it introduces a minimal caching strategy that compresses the prefill cache to O(L), scaling linearly with sequence length. Theoretical analysis and synthetic task evaluations demonstrate that FutureFill accelerates generation by 3.2–5.8× and reduces memory footprint by one to two orders of magnitude, significantly outperforming state-of-the-art convolutional and Transformer baselines—while preserving modeling capacity and overcoming the long-standing inference efficiency bottleneck of convolutional architectures.
📝 Abstract
We address the challenge of efficient auto-regressive generation in sequence prediction models by introducing FutureFill - a method for fast generation that applies to any sequence prediction algorithm based on convolutional operators. Our approach reduces the generation time requirement from quadratic to quasilinear relative to the context length. Additionally, FutureFill requires a prefill cache sized only by the number of tokens generated, which is smaller than the cache requirements for standard convolutional and attention-based models. We validate our theoretical findings with experimental evidence demonstrating correctness and efficiency gains in a synthetic generation task.