FlashLoop: Fast and Memory-Efficient Looped Transformers via Lazy Updates
TL;DR - FlashLoop is a training-free inference framework that eliminates redundant computation and storage across repeated Looped Transformer passes. It preserves accuracy while delivering up to 1.64Ă— end-to-end speedup and 6Ă— KV-cache memory reduction.
- Updates only the shrinking subset of token states that changes significantly across loops.
- Exploits sparse, stable key columns that dominate attention-output differences.
- Quantizes increasingly compressible KV residuals between adjacent loops.
- Improves the practicality of Looped Transformers at greater computational depths and longer contexts.