Agent workloads strain serving state: hybrid-model prefix checkpoints, KV-transfer path collisions and in-model context compression
Three papers posted on 2026-10-30 follow the state a serving stack has to keep and move when the workload is an agent rather than a chat: recurrent checkpoints for hybrid models whose prefixes agents revisit, KV-cache transfers between prefill and decode pools that collide on the network, and the growing context of long-horizon agents. In each case a default that works for conventional requests, checkpointing at fixed boundaries, hashing flows onto paths, or rewriting context with an external compressor, leaves measurable latency or compute unclaimed.
Hybrid models cannot rewind a recurrent state
HiState starts from a property of hybrid LLMs, which combine full-attention layers with recurrent linear layers to cut inference cost. Prefix caching saves recomputation across requests, but a recurrent checkpoint cannot recover the earlier state that corresponds to a shorter prefix, so existing hybrid prefix caches keep checkpoints only at selected boundaries chosen for conventional conversations. Agent workloads break that pattern: they modify and revisit earlier contexts, exposing reusable prefixes whose checkpoints were never saved or have already been evicted. Keeping more checkpoints reduces recomputation, but their combined footprint pushes reusable prefixes from other sessions out of the cache and causes misses elsewhere.
The key observation is an asymmetry: a prefix hit reads all matching key-value (KV) entries but only one recurrent checkpoint, however many checkpoints are retained. HiState therefore keeps historical checkpoints on SSD and reserves fast memory for KV entries, so each hit fetches a single checkpoint whose size does not grow with context length. Within that hierarchy, adaptive interval control balances checkpoint storage against recomputation, and unified eviction coordinates sparsifying checkpoints with reclaiming stale agent trajectories. Implemented on vLLM and evaluated on two public coding-agent trace datasets and controlled microbenchmarks, HiState achieves up to 5.73 times and 5.44 times speedups in p99 time to first token (TTFT) over the vLLM-Marconi and SGLang-HiCache baselines.
KV-cache transfers are elephant flows
ARK, a seven-page paper in the proceedings of ACM SIGCOMM 2026, looks at the network under disaggregated inference, where prefill and decode run on separate GPU pools. Moving the KV cache between them produces transfers that last from hundreds of milliseconds to seconds, which behave as mega elephant flows that dominate link bandwidth. In that regime stateless equal-cost multipath routing (ECMP) can perform poorly: hash collisions may overload one spine link while others sit idle, stretching transfer times by seconds.
The same persistence that causes the problem makes coordination affordable, because even lightweight one-to-all coordination is amortized over a flow's long lifetime. ARK is a distributed path reservation mechanism for these elephant flows: senders coordinate to choose source ports whose hashes map concurrent flows onto distinct spines, with no switch changes and no packet reordering at the receiver. In packet-level RDMA simulations it reduces mean and P95 flow completion time by up to 27.3 and 34.0 percent under moderate load, and mean TTFT by up to 12.9 percent.
Compress context inside the model, not outside it
In-Model Context Compression with Agentic Soft Tokens addresses long-horizon agents whose accumulated context raises compute cost and buries the evidence a decision depends on. Existing methods train external compressors or context-management agents to rewrite the context as shorter hard-token sequences, but that external selection may not match the model's evolving internal representation and is necessarily lossy.
Agentic Soft-Token Compression (ASTC) is training-free. It uses the model's native recurrent dynamics, in the commonly used hybrid of Gated Delta Network (GDN) and attention layers, to determine which information has already been absorbed, carries that information forward as agentic soft tokens, and keeps exact values as hard tokens. The compact sequence reduces later-layer computation and yields reusable KV caches, so the savings extend across the agent's trajectory. On long-horizon tasks, ASTC matches or exceeds the uncompressed agent's accuracy with up to 50.68 percent fewer end-to-end attention pairs, while trained compressors need 15.4 to 103.7 times more attention pairs per successful task.
For agents, state placement is the serving problem
The three systems answer one question at different layers: where should the state of a long-running request live, and how should it move? HiState decides between SSD and fast memory based on how a hit actually reads state, ARK decides which spine link a transfer uses based on how long it will last, and ASTC decides which tokens stay exact and which are carried as soft tokens based on what the model has already absorbed. Two of the three depend on hybrid architectures with recurrent layers, which change the rules for caching because a recurrent state summarizes a prefix rather than storing it token by token.
For teams operating inference for agent products, the practical consequences are concrete:
- Profile on agent traces: Evaluate prefix caching with agent traces that edit and revisit context, as HiState did with coding-agent traces, not only with chat-style conversations.
- Tier checkpoints by access pattern: Because each hit reads one recurrent checkpoint but many KV entries, slower storage can hold checkpoints while fast memory holds KV.
- Treat KV transfers as network flows: In disaggregated deployments, check spine-link utilization for hash collisions during prefill-to-decode transfers; source-port selection can spread flows without switch changes.
- Measure cost per successful task: Compare context compression methods by compute per successful task, as the ASTC results do, rather than by tokens removed.
Limits of the evidence
HiState's speedups are best-case figures, reported as up to, for p99 TTFT on two coding-agent trace datasets and microbenchmarks, and they apply to hybrid models. ARK's gains come from packet-level simulations under moderate load rather than a hardware deployment. ASTC relies on the recurrent dynamics of hybrid GDN-attention models, its savings are reported as up to 50.68 percent, and attention pairs are a proxy for compute rather than measured wall-clock time. HiState and ASTC are preprints; the figures here are the authors' own.
Sources
- HiState: Hierarchical Prefix Cache Management for Hybrid LLM Serving in Agentic Workloads · arXiv · 2026-10-30
- ARK: Avoiding Routing Collisions for KV Cache Transfer in Disaggregated LLM Inference · arXiv · 2026-10-30
- In-Model Context Compression with Agentic Soft Tokens for Long-Horizon LLM Agents · arXiv · 2026-10-30