Papers for

chatbot platform developers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Hybrid attention model state handoff speeds up large language model usage

Beyond K/V Caches: Cross-Model State Handoff in Hybrid Linear-Attention LLMs

Abstract: Production deployments often use different models to balance cost and quality through cascading, routing, and switching models during long conversations. Context accumulates across turns. Each switch requires the target to repeat prefill over this context. Existing methods transfer full-attention (FA) K/V caches across models. Hybrid linear-attention models also retain recurrent states (REC) and convolution histories (Conv). The interaction between Conv and REC complicates cross-model state transfer. Conv perturbations can change keys and values in recurrent layers and alter REC updates. Conv histories are overwritten, but changes in REC can still affect later outputs. More accurate REC reconstruction need not improve continuation. Building on this, we propose Hybrid State Transfer (HST) for all three state types. It uses structured REC maps and preserves history order during Conv alignment. We calibrate the adapters using the frozen target's outputs during continuation. FA cache map updates are merged offline. Across five benchmarks, Qwen3.5 4B$\rightarrow$27B and 9B$\rightarrow$27B achieve mean task retentions of 89.88% and 94.11%, respectively. With source caches already available, separate timing on synthetic 16K inputs yields handoff body speedups of $21.66\times$ and $21.91\times$.

Thu 5 NovComputation and Language
The gist
Large language models (LLMs) often switch between different versions to balance quality and cost during long conversations, but switching requires repeating some setup work. The authors studied how to better transfer memory and state information between models with hybrid attention mechanisms, which keep multiple types of memory. They found interactions between these memory types make straightforward transfers less effective. To fix this, they designed a method called Hybrid State Transfer that carefully aligns and preserves these states, allowing faster and more accurate switching between models. Their tests show it keeps most of the task performance while speeding up the process over 20 times.
Open → 2611.08133v1

Scaling multi-agent systems with shared message coordination

Scaling Multi-Agent Intelligence with Substrate-Centric Coordination

Abstract: Existing large language model (LLM) based multi-agent systems have been shown to scale poorly, and we identify three problems: reading burden that grows with the group, useful information diluted by shared work of unknown quality, and fragility to failed agents. We argue that the problems are largely due to agent-centric designs: the coordination structure is wired into fixed workflows, central coordinators, or peer-to-peer messaging, and recent blackboard-style methods that move the coordination into a shared medium relieve only the last problem. To close the gaps, we build ScaleMAS, where asynchronous agents interact with a shared datastore of linked messages via three operations: publishing messages with optional references to earlier ones that they build on, searching for messages by content, and visiting messages by address. Search returns at most $k$ messages, so an agent's read stays bounded at any group size; results are ranked by relevance and by how often they are cited, which we find to be an effective proxy for quality; and messages persist after their producers leave, so the group carries on when individual agents fail. Across four agentic tasks, ScaleMAS outperforms agent-centric and blackboard-style baselines at lower inference compute, continues to scale up to 128 agents, and tolerates losing agents midway.

Mon 12 OctComputation and LanguageMultiagent Systems
The gist
Large groups of AI agents often struggle to work well together because each agent must read too much information, the helpful data gets lost among many contributions of uneven quality, and the system breaks if some agents fail. The authors show that these issues come from designs that focus on agents coordinating directly or through fixed workflows. They built ScaleMAS, a system where agents share information by posting and searching a common, searchable store of linked messages, so each agent only reads a manageable number of relevant, quality-ranked messages. This approach lets many agents work together efficiently, even if some drop out unexpectedly.
Open → 2610.16120v1

Output aware method reduces memory cost for long context language models

OVAL: Output-Aware Local Page Bases for KV Cache Retrieval

Abstract: Long context inference with large language models becomes increasingly expensive as attention must operate over an ever growing KV cache. Page sparse attention reduces this cost by representing each KV page compactly and retrieving only a subset for each query. Existing retrieval methods are designed to estimate attention scores or page relevance, but their objectives do not directly account for how approximation errors affect the resulting value weighted attention output. We introduce \method{}, an output aware page encoding derived from the joint structure of keys and values while preserving the key information needed for accurate retrieval. \method{} is training free and requires no additional value dependent statistics at inference time. Once constructed, its stored representation has the same size and decode time scoring cost as a key only spectral representation. Across long reasoning, long context understanding, and long generation benchmarks, \method{} consistently improves over the key only spectral baseline and performs competitively with recent KV cache compression and retrieval methods. On long reasoning benchmarks, it achieves strong avg@\(k\) performance across model benchmark pairs, while matching or surpassing leading baselines on several long context understanding and generation settings with modest decoding overhead. Code is available at \url{https://github.com/Ashkan13776/oval-kv}.

Mon 5 OctMachine Learning
The gist
Large language models remember information using a big memory called the KV cache, which grows and slows down responses over long conversations or documents. The authors introduced OVAL, a new way to shrink and search this memory more efficiently by looking at both the memory keys and values together. This method doesn't need extra training and keeps retrieval just as fast while improving accuracy across many tests involving long reasoning and contexts. OVAL helps models work better and faster with longer inputs without extra complexity.
Open → 2610.06686v1

SparseEngine boosts large language model speed and memory efficiency

SparseEngine: Sparse-First Inference Engine

Abstract: Long-context LLM agents accumulate interaction histories that strain KV-cache memory and attention computation. Although sparse attention reduces these costs, heterogeneous cache representations and workflows hinder integration with existing inference engines, while prior sparse-serving abstractions support only specific layouts or workflows. We present SparseEngine, a ground-up, sparse-first inference engine whose shared lifecycle contract lets each method control its KV representation and computation while coordinating state transitions with common serving infrastructure. SparseEngine supports 15 methods across four categories and enables cross-request state management through Chain Cache, which resumes KV-eviction methods from retained history, and controllable Prefix-Cache Pruning, which removes KV from selected history regions while preserving logical-prefix matching. While maintaining method quality, SparseEngine delivers over 10x higher throughput with KV eviction, over 2.5x faster decoding at matched concurrency than vLLM, and over 2x end-to-end speedup on agent benchmarks. The code is available at https://github.com/CURRENTF/SparseEngine.

Wed 30 SeptMachine Learning
The gist
Handling long conversations with large language models (LLMs) uses lots of memory and slows down processing. The authors created SparseEngine, a new tool that organizes and manages memory more efficiently by focusing on sparse attention methods. It supports many ways to store and prune information, making LLM use faster by over twice or even ten times in some cases. This helps keep the quality of responses while speeding up real-world applications like chat agents.
Open → 2609.39068v1

Agent security risk rises when users and AI share control

DUMA-Bench: A Dual-Control Multi-Agent Benchmark for Evaluating LLM Agent Security

Abstract: LLM-based agents increasingly operate in environments where they interact with users, tools, and external systems. Yet most security evaluations assume passive users and static control, ignoring the interactive dynamics that shape real agent behavior. We introduce \textbf{DUMA-Bench}, a benchmark and evaluation protocol for measuring agent security under \emph{dual-control} interaction, where both the agent and the user can influence the shared environment state. DUMA-Bench extends $τ^2$-bench ~\cite{barres2025tau} with adversarial environments covering eight vulnerability classes, including RAG poisoning, cross-agent manipulation, and unsafe output handling. We evaluate \textbf{14 models from five model families} (OpenAI, Anthropic, DeepSeek, Qwen, and Z.ai) across eight domains and multiple user-behavior regimes. Across our experiments, introducing dual-control interaction increases the attack success rate from \textbf{26.9\%} to \textbf{41.1\%}. These results show that agent security is not solely a property of the model but emerges from the interaction between the model, the user, and the environment. DUMA-Bench provides a missing evaluation layer for studying security in realistic agent deployments.

Mon 21 SeptArtificial Intelligence
The gist
Large language model agents often work by interacting with people and other tools, but most security tests assume the user just watches and does not affect the system. The authors created DUMA-Bench, a test setup that checks how safe these agents are when both the user and the agent can change what’s going on. They found that when users can also control parts of the environment, attacks against agents succeed much more often. The study shows that keeping AI safe depends on the back-and-forth between the AI, the user, and the environment, not just the AI model itself.
Open → 2609.24662v1

PolicyMem stores language model rules as reusable geometric memories

PolicyMem: Geometric Policy Memory for LLM Governance

Abstract: As large language models (LLMs) are increasingly deployed in real-world high-stakes applications, effective governance has become essential. Existing safeguards largely follow two paradigms: learning-based guards provide strong semantic discrimination but couple policy behavior to trained models and taxonomies, while programmable frameworks offer flexible control but require substantial manual prompt and workflow engineering. Neither externalizes policies as reusable operational states, making it difficult to consistently reuse policy evidence across detection, intervention, and verification. In this paper, we introduce PolicyMem, a geometric policy memory that externalizes natural-language policies as reusable geometric memory objects represented by low-rank subspaces in a shared representation space. A memory writer compiles natural-language policies into policy memory slots, and query-response pairs read the policy memory through projection energy. The resulting policy-evidence profile directly mediates the safety verdict and is reused for policy attribution and post-intervention verification. Coupled with a response rewriter, PolicyMem enables a detect-rewrite-verify loop for LLM governance. Across five widely used benchmarks, PolicyMem achieves state-of-the-art unsafe behavior detection while enabling effective policy attribution, rewriting, and post-intervention verification through the shared policy memory.

Sat 12 SeptComputation and LanguageArtificial Intelligence
The gist
Large language models need ways to stay safe and follow rules when answering questions. Existing methods either rely on trained models or require lots of manual setup, making consistent rule use hard. The authors propose PolicyMem, a system that turns written rules into reusable geometric objects in a shared space, allowing the model to detect, rewrite, and verify responses against these rules efficiently. This makes the model's safety checks easier to manage and more consistent across different tasks.
Open → 2609.13734v1