The KV Cache Is Live State: Migrating It at the Edge, and Why a Reader Must Keep Its Own
Three papers posted to arXiv on 2026-10-15 treat the key-value cache as state that has to move: between edge servers when one disconnects or overloads, and between agents that would rather share what they have already read than re-read it as text. Their common finding is that the cache is not a portable file; how it travels and where it enters the next computation decide whether moving it pays off.
Edge inference turns the cache into a migration problem
Mingjin Zhang, Jiannong Cao, Tao Wu, Xiangchun Chen and Ne Wang start from the cost of centralized serving. Large language models rely heavily on cloud GPU clusters, which brings bandwidth costs, latency and privacy problems. Edge computing moves models closer to users, but a single edge server often cannot meet a model's computational demands. Collaborative edge computing pools multiple geo-distributed, heterogeneous edge servers that jointly host small model shards and the KV cache associated with them.
That arrangement makes the cache a liability when a node fails. Edge servers may disconnect or become overloaded, so the stateful KV cache must be migrated to other servers to keep the service running. The two standard cloud techniques, direct transmission of the cache across GPUs and recomputation from the input tokens, are poorly suited to edge environments that are short of both bandwidth and compute.
Send some of the cache, recompute the rest
The authors' scheme, EdgeFlow, is a hybrid. It combines direct KV cache transmission with activation-based recomputation and runs computation and communication in parallel to minimize migration time. On that basis they formulate migration across multiple nodes as an optimization problem and design a 2-approximation algorithm using an improved linear programming relaxation and bipartite graph techniques.
In experiments on a real distributed LLM inference platform, EdgeFlow reduces migration time by up to 45%. The paper was accepted at ICDCS 2026. The design point to take away is that the choice between moving bytes and recomputing them is not all-or-nothing; when links are slow and compute is scarce, splitting the work and overlapping the two is what shortens the outage.
Substituting one model's cache for another's does not work
The other two papers, both by Adam Deng, Shicheng Liu and Yada Zhu, move the cache between agents rather than between servers. Multi-agent LLM systems usually communicate in text, which is lossy and wasteful because the sender discards the reading it has already done. A growing literature instead transmits the KV cache, the natural carrier of that reading.
In Close Enough is Nowhere Near, the authors test the most appealing version of the idea: both models stay frozen, the sender's cache is substituted for the reader's, and nothing is trained. It does not work, and the obstruction lies with the reader. A frozen transformer can read only caches close to the one it would have written itself, a region the authors call its tolerable set. Geometric similarity to the reader's own cache does not predict whether the reader can use a substitute, and the failure is not gradual, so a more faithful substitute is not the remedy it appears to be. The authors explain the effect through competitive attention.
The evidence is a clean null. Eight diverse substitution methods are tested against two measured reference points: an uninformative-cache baseline and the reader's own accuracy after reading the passage itself. All eight sit at the baseline. A different design does work: if the reader keeps its own cache and attends over the sender's as extra context, adapting only its queries, it beats its own baseline. With eight senders pooled it still clears the baseline, whereas undirected attention over the same union falls below it. The authors present this as a characterization on one probe, not a leaderboard claim.
Augment the cache, replace the activation
The companion paper reframes inter-agent communication as sharing rather than transfer. Under transfer, every pair of agents that must communicate needs its own bridge, and every new agent needs a bridge fitted against each existing one. Under sharing, an agent publishes its internal state once into a pool, and every peer reads the pool through a single mechanism fitted to no sender in particular, so adding an agent adds a publisher and no new bridge.
The main finding is that the choice of carrier and the choice of fusion mechanism are coupled, and the deciding factor is where the carrier enters the receiver's computation. Consumability is a property of the receiving computation, not of the representation. The KV cache must be augmented rather than swapped in: the receiver cross-attends over a peer's cache while keeping its own and, with only a small query-side adapter trained, matches the accuracy it gets from reading the source document. Activations behave the other way. They work best written straight into the receiver, with no bridge, adapter or training, which beats exposing them alongside the receiver's own, though that advantage depends on knowing where in the receiver the state belongs.
The rule, augment the KV cache and replace the activation, is established under one protocol with a shared control ladder. One adapter, trained once, also serves publishers it never trained on, and a pool of several at once, but only those whose internal state lies close to the receiver's own.
What the three results share
Read together, the papers make the same point at two scales. The cost of moving KV state is not just bytes on a link; it is whether the receiving computation can use what arrives. At the edge, EdgeFlow trades transmission against recomputation to get a usable cache onto the new server sooner. Between agents, the receiver could use another model's cache as additional context next to its own, while none of the eight substitution methods tested did better than an uninformative cache; and a shared adapter generalized only to senders whose internal state was close to the receiver's.
For system designers, that shifts the question from how faithfully a cache can be copied to how the receiving model will consume it. A faithful copy that the receiver cannot read is worth no more than an uninformative cache; an added cache read through a small trained query adapter matched the accuracy of reading the source document.
Engineering takeaways
Each result is reported on its own platform or probe, so these are starting points for validation rather than settled defaults.
- Plan for migration in sharded edge serving: Where model shards and their caches are spread across edge servers, design failover to mix cache transmission with activation-based recomputation and to overlap the two.
- Do not swap caches between frozen models: Eight substitution methods landed at the uninformative baseline; keep the receiver's cache and attend over the sender's as extra context.
- Budget for a query-side adapter: The augmenting design that worked trained only a small adapter on the receiver's queries, leaving both models frozen.
- Keep pools homogeneous: A single adapter generalized to new publishers only when their internal state was close to the receiver's, so test candidate pool members for that closeness before relying on a shared adapter.
Sources
- Efficient KV Cache Migration for Geo-Distributed LLM Inference in Collaborative Edge Computing · arXiv · 2026-10-15
- Close Enough is Nowhere Near: Fidelity-Consumability Decoupling in KV Caches · arXiv · 2026-10-15
- Augment the Cache, Replace the Activation: A 2x2 Study of Internal-State Sharing · arXiv · 2026-10-15