synodic-ai™ ML SYSTEMS
ML Systems Desk · Inference Systems

A KV-cache win depends on the regime: shared caches in looped models, drift-timed refresh and Apple Silicon

Three papers posted on 2026-10-22 test KV-cache and decoding optimizations outside the conditions they were designed for: looped models whose recurrences each grow their own cache, long-form multimodal generation where the evidence a model reads keeps moving, and single-request decoding on Apple Silicon. Their shared finding is that a memory or throughput gain belongs to the combination of model, workload and hardware, not to the technique alone.

Looped models: training the cache to be shared

Looped architectures scale quality at a fixed parameter count by passing activations repeatedly through the same block of layers. At inference time each recurrence produces its own KV cache, so memory grows linearly with the number of loops. Prior work proposed sharing caches across depth and found that, in some cases, the final recurrence's cache can be reused by earlier recurrences without loss of quality, a property BeNice! Closing Looping's Inference-Memory Gap via KV-Sharing calls KV-shareability. The mechanism behind it was poorly understood, and even identically trained looped models did not exhibit it consistently.

The authors make shareability something a model is trained for, in two stages. Stochastic depth during pretraining induces contractive residual dynamics that drive representations toward a common limit across recurrences. A post-training method, BeNice!, then broadcasts the final recurrence's KV cache into the first recurrence and trains the model to produce compatible residuals while preserving its original quality. The result enables KV-sharing while matching the validation perplexity of standard unshared finetuning.

Sharing also composes with other memory savings: it works alongside memory-efficient sequence mixers such as multi-latent attention and with low-precision KV-cache formats including fp8, mxfp8 and nvfp4. In simulated low-memory, long-context inference, KV-sharing raised cache hit rates by up to 31.4 percent, increased throughput by up to 23.6 percent and cut 90th-percentile time to first token by up to 83.6 percent.

Multimodal generation: refreshing what the cache keeps

KV-cache compression for multimodal models usually selects the visual tokens to keep once, at prefill, and reuses that selection for the whole generation. Drift Says When, Budget Says How Much: Rate-Controlled KV Re-selection for Long-Form Multimodal Generation shows how limited that is on long outputs. On detailed image description, even an oracle that selects tokens using the attention of the uncompressed answer reaches only 0.44 to 0.52 ROUGE-L agreement with the uncompressed output, because the evidence the model reads moves as the description unfolds.

Re-selecting whenever attention drifts outside the kept set is the obvious remedy, but a fixed drift threshold fails systematically: drift magnitudes are not comparable across samples, so low-drift samples are almost never refreshed even though they benefit most. Rate-Controlled Refresh lets drift decide when and where to re-select while a per-sample controller regulates how often, combined with a low-rank drift detector, re-selection restricted to candidates and a decision that stays on the GPU.

With one setting for all models and tasks, it beat the per-step retrieval method InfiniGen by 1.6 to 3.8 ROUGE-L points on five of six model-task settings, with no significant difference on the sixth, and stayed within 1.7 points of exact per-step re-selection at comparable estimated data movement per step and with a GPU-resident detector four times smaller. On DetailCaps, drift-chosen timing beat random timing at the same refresh rate, and periodic timing even at a higher rate, by 2.0 to 5.0 points. On pre-registered video description, where drift is homogeneous across samples, the method matched InfiniGen on one reported model and exceeded it on another but no longer beat a fixed threshold at the nearest tested rates, which is what the authors' diagnosis predicts.

Apple Silicon: which optimizations travel

Evaluating the Applicability of LLM Inference Optimizations on Apple Silicon, accepted at two NeurIPS 2026 workshops, starts from a mismatch: Apple Silicon is among the most widely used platforms for local inference, yet nearly all inference optimizations are designed and validated on server-class NVIDIA GPUs under batched serving workloads. The authors test four optimization families, KV-cache pruning, speculative decoding, ported GPU kernels and post-training quantization, on four Apple machines under a common single-request decode workload, with matched RTX 4090 comparisons where possible.

KV-cache pruning reached up to 1.75 times end-to-end throughput on Apple hardware but can reduce throughput on desktop NVIDIA GPUs. Under the common benchmark, every speculative decoding method evaluated reduced throughput on Apple, despite reported gains of 2 to 6 times on server GPUs. CUDA kernel designs transferred only partially: public Metal lacks asynchronous copy, and batch-one decoding makes several serving-oriented mechanisms inapplicable, although the components that did transfer yielded up to 1.20 times decode throughput. Quantization gains varied by machine. The authors' conclusion is that a reported speedup is not a portable property of a technique but a joint function of technique, runtime, hardware contract and workload regime.

What the three have in common

The papers attack different bottlenecks, but each finds that the benefit of a cache or decoding technique depends on conditions the original evaluation held fixed. Cache sharing in looped models works when training has shaped the recurrences to agree, not by default. A token selection made once at prefill falls short as long descriptions move across an image, and an adaptive refresh policy helps most where drift varies across samples. Speculative decoding and serving-oriented kernels that pay off under batched server workloads can cost throughput in batch-one decoding on Apple hardware.

For teams running inference across heterogeneous hardware and workloads, that suggests a few working rules:

Limits of the evidence

The KV-sharing gains are measured in simulated low-memory, long-context inference rather than in a production serving system. The refresh results come from image and video description tasks, and the gain over a fixed threshold disappears where drift is homogeneous. The Apple Silicon study uses a single-request decode workload on four machines, so other workload regimes may behave differently. None of the three has yet been independently replicated, but each gives a concrete reason to re-measure an optimization before trusting a speedup reported under other conditions.

Sources