The research paper “BeNice!” presents a method for sharing KV caches across multiple passes in looped language models. This could reduce inference memory requirements, since each pass currently generates its own cache in these models.
Looped architectures repeatedly pass activations through the same block of layers. Earlier work found that the cache from the final pass can sometimes be shared with earlier passes without harming model quality. According to the authors, however, this property does not appear consistently, even in identically trained models.
BeNice! combines two steps: stochastic depth during pretraining is intended to move representations across passes toward a common limit. A subsequent post-training step broadcasts the final pass’s cache to the first pass and trains the model to produce compatible residuals. The authors report that the method enables KV-sharing and matches the validation perplexity of ordinary finetuning without a shared cache.
In simulated low-memory, long-context inference, the authors report cache hit rates increasing by up to 31.4% and throughput by up to 23.6%; p90 time-to-first-token fell by up to 83.6%. They also report that the method can be combined with several cache-compression approaches. Read the original paper on arXiv