Looped transformers improve parameter efficiency by applying the same transformer block repeatedly over multiple recurrent loops. This increases computational depth without increasing the number of parameters, making them attractive for resource-constrained settings. However, the key-value (KV) cache—which stores intermediate representations during inference—still consumes significant memory, limiting the practical benefits of looping.

A new paper on arXiv introduces ResidualQuant, a method that quantizes the KV cache to just 2 bits using residuals. By storing only the residual differences between successive loop iterations, the approach dramatically reduces memory footprint while aiming to preserve model accuracy. The authors propose this as a way to make looped transformers more viable for long-context or memory-limited applications.

The abstract notes that the method targets the specific structure of looped transformers, where the shared block produces highly correlated KV states across loops—making residual encoding particularly effective. While full experimental details are not yet available in the abstract, the work addresses a clear bottleneck in a growing area of efficient model design.