Papers for

llm system engineers

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.

Rimuru boosts memory use and speed in large language model serving

Rimuru: Unified Memory Management for Modern LLM Serving via Elastic Expert Offloading

Abstract: Modern LLMs strain device memory through large model weights and attention states, particularly in resource-constrained scenarios. Existing systems separately provision memory for model weights and attention states, imposing fixed fixed boundaries that cannot adapt to the changing memory demands of workloads. Under heavy workloads, insufficient state capacity limits request concurrency and reduces throughput; under light workloads, idle memory in one region cannot be reallocated to another, wasting device memory. Meanwhile, modern LLM architectures introduce heterogeneous tensors with diverse layouts and lifetimes, further complicating memory management. These problems motivate unified memory management for heterogeneous tensors. However, a shared pool alone does not make memory directly reusable across tensors with different allocation granularities and execution layouts. This paper presents Rimuru, a modern LLM serving system that unifies memory management through elastic expert offloading. Rimuru establishes a shared page pool to enables elastic memory sharing across heterogeneous tensors. To accommodate different allocation granularities, Rimuru introduces memory views that allow each tensor type to interpret the shared memory space using its own page size and page table. Furthermore, Rimuru combines huge-page alignment with a multi-level page allocator that splits and merges pages, enabling cross-type capacity reuse. A page-table-aware fused MoE kernel directly accesses non-contiguous expert weights, avoiding copy overhead. Building on these mechanisms, Rimuru employs a workload-aware adjuster that dynamically reallocates pages across tensor types according to runtime demands. Implemented on top of vLLM, Rimuru remains compatible with modern LLMs. Evaluations show that Rimuru achieves up to 19.03x baseline throughput and reduces TTFT by 98.1% on average.

Thu 29 OctOperating SystemsMachine Learning
The gist
Large language models (LLMs) need a lot of memory for their big parts and the information they use while talking, which can slow things down especially when memory is limited. The authors show that splitting memory into fixed regions for different tasks wastes space and limits speed when demand changes. Their system Rimuru shares memory flexibly among all parts by letting different model pieces use the same pages differently. Rimuru also adjusts memory use based on demand and can directly use scattered model parts to avoid copying data. This leads to much faster processing and reduces waiting time when running LLMs.
Open → 2610.40305v1

LLM reasoning sped up by predictive subtree prefetching method

PreSTO: Predictive Subtree Prefetching for Fast LLM Power Sampling

Abstract: Power sampling improves large language model (LLM) reasoning at test time by sampling from a sharpened version of the base model's distribution. Its sampler, PowerMH, is slow because its Metropolis--Hastings (MH) updates are sequential: each accept/reject decision sets the state from which the next proposal is generated. Prior work reduces this cost by changing the sampler or the model (e.g., sequential Monte Carlo, approximate lookahead, distillation). We propose Predictive SubTree Prefetching (PreSTO), which accelerates PowerMH by prefetching future proposals and provably leaves its MH transition kernel unchanged. PreSTO views future MH outcomes as a tree of accept/reject decisions: in each model call, it generates the proposals of a \textit{prefetched subtree} of this tree in one batch, then follows the realized path with the original MH acceptance rule. We also observe that MH reaches only a sparse, nearly unary part of each prefetched subtree, we further design a \textit{predictive traversal rule} that chooses the subtree to maximize the predicted number of completed transitions. Across seven datasets and five base LLMs, PreSTO achieves median speedups of $1.71\times$, $1.91\times$, and $2.33\times$ on PowerMH and its follow-ups EntropyCut and MultiTryMH, respectively; on the first two, it makes a median of $3.9\times$ fewer model calls, each only $2.1\times$ longer. On LCB V6 with Qwen3.5-9B, the predictive traversal rule is a further $1.25\times$--$1.37\times$ faster than the default breadth-first traversal.

Fri 9 OctComputation and Language
The gist
Power sampling makes large language models (LLMs) better at reasoning by changing how they pick words, but the usual way to do this is slow because each step depends on the last. The authors introduced a method called PreSTO that guesses ahead many future steps in one go, speeding up the process without changing how the model decides what’s next. They also designed a way to predict which guesses will be useful, saving even more time. Their tests show PreSTO speeds up sampling by about two times while making fewer calls to the model.
Open → 2610.13171v1

Persistent memory adds cache cost but no accuracy gain in multi-agent llm inference

Persistent Memory in Multi-Agent LLM Inference: What It Costs, What It Buys, and When You Can Tell

Abstract: Decomposing long-context inference across cooperating agents bounds the active KV cache per call rather than total evidence, which matters when KV-cache memory binds. Many such systems add a persistent tier storing and recalling reasoning traces, usually validated by an ablation reporting an accuracy gain. We measure both on one three-tier agent architecture. Decomposition delivers: peak KV working set of 14.3 MiB per query against 35.5 and 35.3 MiB for single-pass and retrieval-augmented baselines. The persistent tier does not: across eight controlled dataset pairs at n=100 per arm it costs +0.368 MiB [+0.167, +0.590] of peak cache and produces no detectable accuracy change (+0.015, 95% CI [-0.011, +0.046]). We argue the null is structural: single-question benchmarks supply each item with its own evidence and score it independently, and correctness requires resetting stored traces between conditions, so recall has nothing informative to retrieve. Reaching it took four measurement corrections -- three inflating the apparent benefit, the fourth making an effect that size look resolvable -- none visible in the results table. We give the conditions an agent-memory ablation must satisfy and detection procedures that need no knowledge of the specific defect.

Tue 6 OctArtificial IntelligenceComputation and LanguageDistributed, Parallel, and Cluster Computing
The gist
Large language models (LLMs) can split long tasks across multiple agents to save memory, but adding a layer that remembers past reasoning doesn’t always help accuracy. The authors tested a system with three memory layers and found that while splitting tasks reduced memory use, the extra persistent memory used a bit more but didn’t improve correctness. They explain this is because the test tasks treated every question independently, so recalling past information wasn’t useful. The study also highlights subtle measurement errors that can make memory seem more helpful than it really is.
Open → 2610.07782v1

LLM judges improve reliability estimation using verdict-conditioned signals

VERA: Verdict-Conditioned Reliability for Adaptive LLM Judges

Abstract: Accurately estimating judgment reliability is a central challenge in adapting LLM judges to newly verified feedback while preserving previously learned behavior. However, existing approaches often rely on output-level confidence, which can be overconfident and poorly aligned with judgment correctness. We propose VERA, a VErdict-conditioned Reliability Axis that estimates reliability from hidden activations by distinguishing correct from incorrect judgments within each predicted-verdict group. Using VERA as a control signal, we develop a VERA-guided periodic adaptation framework that integrates reliability-ranked corrective updates, reliability-residual replay, and periodic refresh of the reliability directions. After VERA-guided adaptation on Chatbot Arena, 8B- and 14B-parameter judges outperform the strongest baseline on each of four held-out public benchmarks, with relative gains of up to 23.01%. The framework also improves focal-class recall by up to 16.1% relative to the strongest adaptive baselines on a separate proprietary temporal auditing task.

Sun 4 OctMachine Learning
The gist
Judging how reliable a large language model (LLM) is at giving correct answers can be tricky because usual confidence scores can be misleading. The authors introduce a new method called VERA that looks inside the model’s hidden layers to better tell when a judgment is likely right or wrong for each type of verdict it gives. They then use this method to guide retraining of the model, helping it learn from new feedback without forgetting old knowledge. This approach improved performance on multiple benchmarks and specific auditing tasks compared to previous adaptive methods.
Open → 2610.05452v1

Memory-poisoning defenses vary in hidden costs for harmless conversations

The Price of Safety: Benign-Case Utility and Token Overhead of Memory-Poisoning Defenses in LLM Agents

Abstract: Memory-poisoning defenses for LLM agents are typically evaluated by their ability to prevent attacks. However, the traffic they process is rarely adversarial. The cost of implementing a defense is paid with each interaction, while its benefits are only seen in a small percentage of cases. We developed a measurement setup that keeps the memory backend, retrieval process, and judge consistent across different conditions, changing only the defense itself. We test each condition three times across five conversations to distinguish the defense's real effects from noise inherent in the pipeline's runs, which remains significant even at temperature zero. Across three write-time defenses (input sanitization, provenance checking, and LLM-based anomaly detection) and one read-time defense (reranking), tested on entirely benign traffic, the write-time defenses show no utility cost we can resolve, with 95% confidence intervals spanning roughly +/-4.5 points and including zero. The reranker is different: it lowers core accuracy by 4.4 points (95% CI [-9.0,-0.05], bootstrap; McNemar p=0.064), a result that survives replication but sits at the edge of our resolution. Its clearer cost is mechanical rather than statistical. On conversations containing no attack, the reranker quarantines legitimate memories on 33.6% of adjudicated items, reaching as many as 106 false quarantines in a single conversation, at 2.7% token overhead. Stacking all four defenses does not compound this cost: the combined condition's accuracy loss is smaller, and its confidence interval includes zero, suggesting the write-time defenses may partly offset what the reranker discards. Where a defense intercepts the pipeline, not whether it uses an LLM, appears to determine its benign-case price.

Sat 19 SeptCryptography and SecurityArtificial Intelligence
The gist
Memory-poisoning defenses help protect AI systems that use large language models (LLMs) from malicious attacks. This paper studied how these defenses affect normal, safe interactions where no attacks happen. They found that some defenses that check input or track data origin don’t reduce accuracy or add overhead in peaceful situations. However, a defense that reranks memories to filter threats sometimes removes correct information and adds extra cost, even when there is no attack. Overall, this shows that the way a defense integrates matters more for normal use than whether it relies on an AI model or not.
Open → 2609.22818v1