Papers for

large language model 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.

FlatCake speeds up large language model memory with unified storage

FlatCake: A Flat KVCache Storage Architecture for LLM Serving

Abstract: KV cache reuse accelerates LLM serving, but existing systems manage host DRAM and NVMe SSD as a tiered hierarchy where DRAM acts as an intermediate cache. Production LLM workloads break both premises of this hierarchy. First, bimodal reuse defeats DRAM temporal filtering, since workloads are dominated either by one-shot blocks with long reuse distances or by multi-gigabyte agentic sessions that exceed DRAM capacity, putting SSD on the critical read path. Second, DRAM staging and eviction-ordered layout bottleneck SSD restoration. Holding host staging buffers for in-flight prefixes causes contention under load that aborts prefetches, while incremental eviction scatters a session's blocks across the SSD and prevents large sequential reads. We present FlatCake, a flat KV storage architecture that exposes host DRAM and NVMe SSD as peer media in a unified 64-bit address space. Exploiting the fact that KV blocks are write-once, immutable, and reused at session scope, FlatCake places each block directly onto its target medium in session-contiguous, layer-major order at creation time and never migrates it. FlatCake streams coalesced SSD reads directly into a bounded GPU window via GPUDirect Storage and decouples DRAM and SSD request queues to prevent head-of-line blocking. On a production Claude Code trace with DeepSeek-V4-Flash, FlatCake sustains a 94% cache hit rate as load increases (versus 64% for Mooncake), eliminates Mooncake's $6.5\times$--$6.7\times$ SSD read amplification, and reduces peak-load mean TTFT by $1.6\times$ while improving total token throughput by $1.6\times$. Across 8K--128K contexts on Llama-3.1-70B, FlatCake further reduces mean TTFT by up to $2.4\times$ over Mooncake and $1.8\times$ over Mooncake-GDS.

Wed 28 OctDistributed, Parallel, and Cluster ComputingOperating Systems
The gist
Large language models use a memory system called a key-value cache to run faster by remembering parts of previous work. Existing systems use two separate memory layers—fast DRAM and slower SSD—but the authors found this causes problems with new uses where memory needs are either very short or very large. The authors created FlatCake, which treats DRAM and SSD as equals in one memory space, putting each piece of data exactly where it belongs so it never needs moving. This design lets machines access memory faster and more efficiently, significantly improving speed and throughput in real large language model tasks.
Open → 2610.38355v1

Role aware quantization boosts memory efficiency of language model attention

RAQ-MLA: Role-Aware Quantization for Multi-Head Latent Attention Caches

Abstract: Multi-Head Latent Attention (MLA) has been adopted by recent frontier large language models. Instead of per-head keys and values, MLA caches a compressed KV latent that is up-projected into keys and values at decode time, together with a narrow positional key that carries position information into the attention score. Existing KV-cache quantization methods are designed around the keys and values of standard attention and do not account for what MLA actually caches, which costs accuracy at low bit widths. We analyze the MLA cache both in activation distribution and in how quantization error propagates to the attention output, and show that the two cached tensors play different roles: the latent mainly supplies the values, whereas the positional key dominates the attention score. We therefore propose RAQ-MLA (Role-Aware Quantization for Multi-Head Latent Attention Caches), which fits an invertible transform to each cached tensor against the error that tensor delivers to the attention output: attention-weighted value error for the latent and score perturbation for the positional key. Without training, RAQ-MLA quantizes the full MLA cache to about 2.5 bits per element, a 6.5x increase in theoretical KV-cache capacity, while remaining nearly lossless on reasoning and coding tasks across four MLA models.

Sat 24 OctArtificial IntelligenceMachine Learning
The gist
Large language models use a technique called Multi-Head Latent Attention (MLA) to focus on different parts of text efficiently. These models store compressed information to reuse during tasks, but saving this information in fewer bits often reduces accuracy. The authors studied how MLA stores these compressed bits and found two different parts have different roles. They designed a new method, RAQ-MLA, which carefully compresses each part based on their role, making the stored data six times smaller without losing much accuracy.
Open → 2610.33625v1

Kv cache compression improves draft model accuracy for long outputs

RIFT: KV Cache Compression for Draft Models with Complementary Compressibility Training

Abstract: Speculative decoding is a popular decode acceleration method. As such, it is particularly relevant to long-output generation, which requires an increasingly large KV cache. KV cache compression offers a way to constrain costs in long-context drafting. However, compression methods that focus on prefill information can lose relevance as the output length grows. We term this phenomenon decode staleness and show that it degrades draft model accuracy under selection-based KV cache compression. We introduce RIFT, a family of selection-based KV cache compression strategies that balance prefill information and recent generated tokens. We show that refreshing the KV cache selection during token generation significantly improves the drafter's quality at the cost of additional decode latency. To alleviate the refresh costs, we propose an adaptive KV refresh strategy that reduces the number of score calculations while retaining the drafter's quality. We further demonstrate how a compressibility-driven drafter training phase, based on sparse attention masks, can improve the drafter's quality under a compressed KV cache. Combined with compressibility training, RIFT enables Qwen3.5-4B, drafting for Qwen3.5-122B, to retain over 98% of its full-cache acceptance length on 32K-token inputs, 4K-token outputs, and an 8K-token KV cache budget.

Thu 22 OctComputation and Language
The gist
Generating long pieces of text with AI requires storing a lot of information temporarily, which can be expensive. The authors found that some ways to compress this storage lose accuracy as the text gets longer. They created a new method called RIFT that updates what information is kept during generation to keep the draft quality high even with limited storage. They also introduce a way to train models to handle compression better, making this process more efficient. Their approach works well even with very large texts and smaller storage limits.
Open → 2610.31098v1

Certified sparse attention speeds up long text processing with error guarantees

Certified Sparse Attention via Perturbed Retrieval

Abstract: Sparse attention speeds up long-context decoding by reading few keys of the KV cache, but existing methods do not control the error of a query, and on real KV caches their errors have heavy tails. We show that perturbing the score of every key with an independent Exp(1) variable turns threshold retrieval into sampling keys with probability proportional to their attention weights. Lowering the threshold along a geometric grid gives nested samples, a Horvitz--Thompson estimate of the output at every level, and confidence bounds that hold simultaneously over all levels, so each head stops at the first level whose certificate meets the target error $\varepsilon$. With fresh perturbations at every decoding step, each certificate fails with probability at most $δ$ during generation. At a suitable threshold, the estimator reads $O(\varepsilon^{-2}\log(1/δ))$ values regardless of the context length, and no adaptive method reads fewer, up to constants. A 4-bit scan with deterministic bounds, shared across a grouped-query-attention group, generates the candidates exactly but reads every key. On three LLMs and ten settings at 16K--128K tokens, no certificate is violated, and at equal keys read our 90th-percentile error is 4.6--7.9$\times$ lower than that of the best of 15 baseline families. At equal bytes, the best baselines have 0.6--1.6 times our 90th-percentile error and at least 4.9 times our largest. End to end, our method stays within one point of dense attention on tasks and within 0.1\% in PG-19 perplexity, and the strongest baselines at equal bytes score as well. On CPU, decoding steps at 32K--128K tokens run 1.1--1.4$\times$ faster than dense attention on the same 16-bit cache.

Sun 18 OctMachine LearningComputation and Language
The gist
Processing long pieces of text with attention models takes a lot of time because the model reads many parts of the text. This paper shows how to speed this up by carefully sampling parts to read while mathematically guaranteeing that the error stays low. The authors introduce a way to estimate attention using a probabilistic method that reads fewer parts but still gives reliable results with a confidence certificate. Their method works well on very long texts and performs better than existing approaches while running faster on CPUs.
Open → 2610.24991v1

Short context drafters retain speedup benefits at ultra long contexts

Long-Context Drafting Does Not Require Long-Context Drafters

Abstract: Speculative decoding pairs a cheap drafter with parallel verification against the target. At ultra-long context it stops paying, because a drafter that attends over the full prefix inherits the target's context-dependent cost, so the speedup it was meant to provide first erodes and then reverses. The standard response is to build a long-context drafter, by training or fine-tuning one, or by using a multi-token-prediction head shipped inside the target checkpoint. We argue this is unnecessary, because the drafters in use are target-conditioned, reading hidden states the target computed over the entire prefix, so distant context already reaches them without their own attention, and verification corrects what they miss. We therefore freeze released short-context drafters and run them far past their training length under two inference-time mechanisms, one bounding the attention cache they see, which fixes their cost, and one re-basing their rotary position indices into the trained range. No weight is touched and the only tunable saturates early, so one vLLM-side configuration spans 4k to two million tokens, costing at most 0.16x of speedup at short length. We prove when a common index shift leaves the drafter's computation exactly unchanged, and decompose acceptance into two measurable gaps with sharp bounds. Whatever speedup a frozen drafter delivers at short context, it retains out to two million tokens, across three target-drafter pairs and five corpora. The claim concerns the flatness rather than the multiple, and removing either mechanism eliminates it. The gain is conditional on the speculative cost per emitted token staying below the matched target-only cost.

Wed 14 OctMachine Learning
The gist
Generating very long text faster usually requires special long-memory models, which can be expensive to train. This paper shows that you can use existing short-memory text generators far beyond their usual length without changing their training. The authors introduce methods that let these short-memory drafters efficiently handle huge text contexts by cleverly adjusting internal positions and limiting what they 'pay attention' to. They prove this approach maintains speed benefits at lengths up to two million tokens across multiple datasets.
Open → 2610.20865v1

Adaptive budget allocation improves compression of large language model caches

ChampionKV: Head-Wise Adaptive Budget Allocation for KV Cache Compression

Abstract: Some observation-window-based KV cache compressors use prompt attention to identify important tokens but allocate uniform or predefined budgets across heads, overlooking input-dependent differences in budget demand. We propose ChampionKV, an input-adaptive head-wise budget allocator for long-context KV cache compression. It uses the maximum aggregated observation-window attention score as a lightweight empirical proxy for attention concentration, assigning larger budgets to heads with dispersed attention and smaller budgets to concentrated heads. An abnormal-head mask and a floor-budget mechanism improve robustness under weak attention responses. ChampionKV plugs into compressors such as SnapKV and PyramidKV without changing their token-selection procedures. On LongBench and RULER, both Champion variants consistently improve over their SnapKV and PyramidKV base compressors; the improvements are largest and statistically significant on Llama3.1-70B-Instruct, especially under tight budgets, whereas results on the tested 7B/8B models remain competitive but mixed. ChampionKV does not uniformly outperform Ada-KV, whose global cross-head Top-K selection retains an advantage in several settings. Controlled analysis further shows improved retained attention mass over the corresponding base compressors at negligible overhead.

Tue 13 OctMachine LearningArtificial Intelligence
The gist
Large language models use memory to remember important information from long conversations or texts, but storing all this data can be costly. This paper introduces ChampionKV, a method that smartly allocates memory space to different parts of the model based on how much information they pay attention to. By doing so, it compresses this memory more efficiently, keeping the most useful details while saving space. The authors show that ChampionKV works well on large models like Llama3, especially when memory is very limited.
Open → 2610.18026v1

AlignPred reduces key value cache storage with error control

AlignPred: Error-Controlled KV Cache Compression via Alignment and Predictive Coding

Abstract: Long-running agents retain KV caches across turns and sessions for hours or days. Compressing these persistent caches requires reducing storage while controlling reconstruction error. We present AlignPred, a codec that combines local alignment with predictive coding under a configurable KV reconstruction-error budget. Local orthogonal transforms align related heads or layers into a common coordinate frame, allowing AlignPred to combine token-wise prediction with same-token prediction across heads or layers. Residuals are quantized on an error-bounded lattice and entropy-coded, without learned predictors, encoder-side mode search, or large joint transforms. Across three attention mechanisms, AlignPred requires less storage than the evaluated baselines at comparable measured reconstruction error. Against the evaluated CPU codec implementations, it decodes at least 1.6 times faster while matching or improving encode time. AlignPred achieves near-native task scores at substantially compressed operating points on LongBench-Pro at 128K context. AlignPred's SGLang HiCache integration reduces persistent target-KV storage by 42-72% relative to native HiCache, with comparable latency.

Tue 13 OctPerformanceMachine Learning
The gist
Keeping large amounts of remembered information accessible for AI models over long periods uses a lot of storage. The authors developed AlignPred, a way to squeeze these memory caches smaller while keeping errors in the information low and predictable. Their method aligns related data so it can be better predicted and compressed without complex training. They showed it saves a lot of space and works fast on various attention types without hurting performance much.
Open → 2610.17970v1

Rational approximations speed up multilayer perceptron inference with good accuracy

Rationally Linearized MLPs

Abstract: We present Rationally Linearized Multilayer Perceptrons(RaLiMPs), a new approach to efficiently linearizing MLPs using low-degree rational approximations of standard activation functions. Inspired by polynomial-based MLP linearization, we show that rational approximations can provide accurate representations at substantially lower degree. RaLiMPs exploit these approximations to construct kernel representations with narrow bottlenecks, enabling efficient composition across MLP layers. We provide theoretical guarantees for the resulting approximation and evaluate RaLiMPs across applications ranging from implicit 3D models to large language models. Our experiments demonstrate favorable accuracy--efficiency tradeoffs, with RaLiMPs achieving competitive or improved accuracy while substantially reducing inference cost.

Fri 9 OctMachine Learning
The gist
Multilayer perceptrons (MLPs) use complex math functions called activations, which can make them slow to use. The authors found a way to approximate these functions with simpler rational functions that need less math but still work well. This lets computers run MLPs faster while keeping accuracy high. They showed how this method helps in areas like 3D modeling and language understanding.
Open → 2610.13568v1

Attic kv remembers better by rehearsing what matters most

Rehearse Everything, Remember Nothing: Attic-KV Rehearses What Will Be Read

Abstract: Many key-value (KV) caches are compressed before anyone knows what will be asked of them: a document cached for retrieval, a prompt prefix shared across requests, the memory of a long conversation. The prevailing approach scores KV entries by rehearsal: the model rereads the context and keeps the entries it attends to, assuming that the more completely a cache rehearses its context, the better it remembers it. We show that under tight budgets this assumption backfires: rehearse everything, remember nothing. At a 3% keep ratio, rereading the whole context keeps 31.5 of 96.5 points on RULER, and on LongBench's natural-text tasks it falls below methods that rehearse nothing at all. The cause is that a cache keeps what it rehearses: rereading spreads the budget across the whole context, so the answer's own entries survive at little more than chance. Like a student before an exam, a cache remembers more by testing itself than by rereading. Two principles follow: rehearse what will be read, and rehearse as much as there is. We instantiate them as Attic-KV (Attic for short), a training-free rehearsal in which the model quizzes itself with question-answer pairs that quote the context, alongside anchor tokens in a content-adaptive amount. Changing only the rehearsal lifts three hosts that score it in three different ways: Attic alone is the best training-free method in all eight settings we test on RULER and LongBench's natural-text tasks, and plugged into the gradient-based KVgrad and the trained RestoreKV+, it raises them by up to 17.1 and 28.1 points. Its advantage grows as the budget shrinks, reaching 41.9 points over full rereading at a 3% keep ratio, and it compresses faster than rereading the whole context.

Thu 8 OctComputation and LanguageMachine Learning
The gist
Key-value caches help models remember information by storing important pieces of context. Usually, these caches rehearse or reread everything to decide what to keep, but this method fails when the cache is very limited in size. The authors found that focusing rehearsal only on what the model will actually need to read, rather than everything, helps the model remember more important details. They created Attic-KV, a way for the model to quiz itself on key parts, which improves memory performance especially when storage is tight.
Open → 2610.12133v1

How restarting reasoning at different points improves large language model answers

Expanding LLM Reasoning

Abstract: Extra inference compute is usually spent on sampling more reasoning chains. We study where inside an existing chain an additional continuation should begin. We define expansion utility, the change in correctness from restarting a chain at a stored step, and measure it at every eligible step for nine models on six benchmarks (41 model and benchmark cells). Restart position matters: steps selected on one set of continuations beat uniform placement when scored on disjoint ones, in held-out audits on 5, 16, and 38 cells (+4.25 points [+2.51, +6.63] in a fresh five-cell audit). A fixed rule that restarts from the last eligible steps, always-last, is a strong baseline: our learned router beats uniform placement but shows no detected gain over it, and on DeepSeek-R1-Distill-Qwen-14B/MATH-500 always-last exceeds the exact self-consistency frontier at matched aggregate generated output by +0.052 [+0.008, +0.098], using 0.774x the aggregate generated output of four-sample self-consistency. Cross-fitted oracle selection still finds held-out headroom beyond declared positional classes, a target for future selectors. Finally, breaking step-label ties by earliest index flips the sign of a pointwise selector's gain over uniform placement in every seed of a five-seed diagnostic with four rollouts per step; randomized ties remove the bias.

Sun 4 OctMachine LearningArtificial IntelligenceComputation and Language
The gist
When large language models (LLMs) work through a problem, they often create chains of reasoning steps. This paper finds that instead of always starting these chains from the beginning, restarting them at specific intermediate steps can make the final answer more accurate. The authors measure how useful each restart point is and identify strategies that beat simply choosing restarts evenly or always restarting from the end. They also show that choosing the best restart points is still an open challenge for future work. Lastly, they reveal that small technical details, like how to break ties in scores, can significantly affect these improvements.
Open → 2610.05584v1

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

TokenProbe improves reasoning efficiency by cutting redundant tokens

On the Token Value Inequality in Efficient Reasoning

Abstract: Chain-of-Thought reasoning has enabled large language models to achieve substantial performance gains on complex tasks. However, these gains come at the cost of dramatically increased token consumption. This raises a fundamental question: is every token in the reasoning trace equally valuable? We present a diagnostic and optimization framework grounded in a key empirical finding: the value of tokens within a CoT reasoning sequence is highly non-uniform, and this non-uniformity can be effectively characterized by token-level log probability signals. We show that normalized log probability helps distinguish core tokens, which carry structural and decisive reasoning content, from redundant tokens, which are exploratory, low-confidence filler that contributes less directly to the final answer. Building on these findings, we formulate the TokenProbe framework around two empirical findings and one claim: findings identify token value inequality first and then establish TokenProbe as a core-token proxy, and the claim introduces an efficient GRPO objective positing that selectively compressing redundant tokens can yield Pareto improvements in the accuracy-token efficiency space. Empirically, our method preserves reasoning quality while reducing the token usage by 76% of the baseline. Under matched reasoning-length budgets, we show that it can even outperform strong flagship baselines like Gemini-3.1-Pro. Homepage: https://runjia.tech/tokenprobe/.

Sun 27 SeptComputation and LanguageArtificial Intelligence
The gist
Thinking through complex problems with AI often takes a lot of words, and not all those words carry equal importance. The authors found that some words in AI explanations are crucial while others are just extra filler. They created TokenProbe, a way to recognize and remove these less helpful words without hurting the AI's reasoning. This method lets AI give answers using far fewer words and can even beat some top existing models when using the same word limit.
Open → 2609.33970v1

Model merging raises hallucination risk but MergeHEIR cuts it down

MergeHEIR: Mitigating Multimodal Hallucinations as the Tax of Model Merging

Abstract: Model merging consolidates task-specialized experts into a single deployable model. However, we show that such capability consolidation incurs a merging tax of increased hallucination: across 8 model-merging methods, every merged checkpoint exhibits a higher hallucination rate than the average of its constituent experts. An intuitive approach is to adapt existing hallucination-mitigation methods to the post-merge model, yet this unconstrained adaptation disrupts inherited capabilities, creating a tension between hallucination mitigation and expertise retention. To tackle this challenge, we introduce MergeHEIR, a post-merge adaptation framework designed to reduce this merging tax while preserving expertise inherited from initial experts. Using small expert-task calibration sets, MergeHEIR constructs layer-wise null-space projectors via SVD from task-specific activations collected from the merged checkpoint, and periodically projects the accumulated post-merge displacement onto the resulting null spaces to preserve inherited expertise. Theoretically, we establish minimum-distortion and maximum-dimensionality guarantees, characterize the threshold-controlled adaptation-retention trade-off, and extend perturbation guarantees beyond finite calibration data. Across 24 paired comparisons spanning three MLLM configurations and 8 model-merging methods, MergeHEIR consistently mitigates hallucination while largely preserving inherited expertise, demonstrating a more favorable hallucination-retention trade-off.

Sat 26 SeptArtificial Intelligence
The gist
Combining different expert AI models into one can make the new model more likely to make up false information, called hallucination. The researchers found that all merged models they tested had higher hallucination rates than the original experts on their own. They created MergeHEIR, a technique that adjusts the merged model carefully to reduce hallucination while keeping the original skills. MergeHEIR uses small task-specific examples to guide its changes so it doesn’t lose what each expert knew. Tests show it balances reducing false information against keeping expertise better than other methods.
Open → 2609.32422v1

Sparse attention shapes token groups by forming distinct clusters

Opinion Leader Dynamics: How Sparse Attention Shapes Token Clustering

Abstract: Sparse attention reduces the quadratic cost of global self-attention while retaining strong empirical performance, but how its restricted interactions shape the evolution of token representations remains theoretically underexplored. Modeling tokens as particles on the unit sphere, we introduce opinion leader dynamics, a framework that identifies two mechanisms through which token groups converge internally while maintaining distinct limiting directions. In the explicit model, fixed representatives induce a potential that attracts tokens toward distinct local maxima. In the implicit model, disconnected interaction groups evolve toward separate consensus directions. We formulate both models as reverse Wasserstein gradient flows and establish exponential convergence under suitable conditions. We further connect these theoretical predictions to token evolution in frontier sparse-attention LLMs that motivate our framework. Across four benchmarks, Kimi-K3, MiniMax-M3, and DeepSeek-V4-Flash consistently exhibit clearer cluster separation and higher clustering scores than the dense-attention model GLM-4.7-Flash in projected token representations. These observations support the relevance of the predicted multiple-group structure to trained frontier LLMs, while finite-particle simulations illustrate the theoretical convergence behavior. Together, our results connect restricted token interactions to distinct group-level attractors, providing a dynamical account of how sparse attention can support alignment within groups while preserving separation between them.

Mon 21 SeptMachine LearningArtificial Intelligence
The gist
Processing language with large models is expensive because every word looks at every other word. The authors study a model called sparse attention that limits these connections to save computation. They explain mathematically how tokens form groups that settle on their own 'opinions' but remain separated from other groups. This helps understand how language models keep related words aligned while distinguishing different ideas. Their findings are supported by experiments on advanced language models showing clearer groupings than traditional methods.
Open → 2609.24202v1

Quality gated layers convert pretrained attention in language models

TinyCeNN-LM: Quality-Gated Conversion of Pretrained Attention with CeNN-Inspired Cellular-Recurrent Layers

Abstract: Replacing attention in a pretrained language model is a compatibility problem: a plausible substitute may alter representations expected by later layers. TinyCeNN-LM introduces a \emph{quality-gated post-training conversion} framework using CeNN-inspired cellular-recurrent layers with bounded local processing, compact recurrent memory, routing, fusion, and accept-or-rollback validation. Three implementations are studied: Integrated Memory, MemoryFusion, and PDelta3-GDN2-CLVR+Local32. Strict PDelta3 conversion accepts a layer only when representation and NLL criteria pass fixed thresholds. On SmolLM2-135M, layers 0-2 are accepted with cumulative $Δ\mathrm{NLL}=+0.01209$, while layer 3 is rejected despite acceptable NLL because representation fidelity fails. On Qwen3.5-0.8B, full-attention layers 3, 7, and 11 are accepted with final $Δ\mathrm{NLL}=+0.02073$. Integrated Memory keeps perplexity within $-0.07\%$ to $+0.93\%$ while reducing total cache by up to $6.01\%$. A sampled 200-item downstream sanity check gives $28.5\%$--$32.0\%$ overall accuracy for converted Qwen releases. The results support conservative, quality-gated structural conversion rather than universal attention replacement or speedup.

Thu 17 SeptArtificial Intelligence
The gist
Language models use a technique called attention to understand text, but swapping this out after training can harm how well the model works later. The authors present TinyCeNN-LM, a careful step-by-step method that replaces attention with special recurrent layers inspired by cellular networks without losing too much accuracy. They test their method on different large language models showing it keeps performance stable by only accepting new layers when they meet strict quality checks. This helps keep models efficient while maintaining the expected behavior.
Open → 2609.21139v1

Long-context language models speed up prompt processing using radius-based sparse attention

RBS-Attention: Radius-Bounded Sparse Prefill for Long-Context Large Language Models

Abstract: Long-context large language model inference is increasingly limited by prefill, where dense self-attention processes the entire prompt before generation begins. Sparse block selection can reduce this cost, but a block centroid may hide a highly relevant token among many irrelevant ones. We call this failure mode mean dilution and propose RBS-Attention, a training-free sparse-prefill method with two complementary selection branches. A centroid base branch captures average relevance, while a rescue branch uses the maximum key-block radius and its prompt-, layer-, and head-dependent distribution to identify blocks at risk of underestimation. Independently thresholding the two branches and combining their masks controls the contribution of rescue blocks while preserving regular block-sparse FlashAttention execution. On H100 GPUs, RBS-Attention achieves 20.65$\times$ standalone prefill-attention speedup, 11.92$\times$ vLLM prefill-attention speedup, and 5.97$\times$ end-to-end time-to-first-token speedup at 128K on Qwen3-30B-A3B-Instruct-2507-FP8. On the dense Qwen3-32B model, it obtains 88.65 overall RULER accuracy versus 89.52 for dense attention; LongBench-v2, InfiniteBench, and Video-MME provide additional quality evaluation. Supporting experiments measure actual retention, compare selectors at matched density, and characterize block-size, threshold, and memory behavior. Together, these results support radius-adaptive dual-branch selection as an effective approach to long-context prefill.

Thu 17 SeptArtificial Intelligence
The gist
Large language models struggle to quickly process really long text prompts because they need to look at every word before they start generating answers. The authors found that picking groups of words by their average importance sometimes misses very relevant words hidden inside the group. They introduced a method called RBS-Attention that uses two ways to select important text blocks, one based on overall importance and another that detects blocks that might have very important hidden words. This approach speeds up the model’s processing a lot without losing much accuracy, enabling much longer contexts to be handled efficiently.
Open → 2609.20971v1

Agentkv improves key storage for multitask language models

AgentKV: Phase-Aware KV Eviction for Agentic LLMs

Abstract: Agentic serving can consume orders of magnitude more tokens than chatbot workloads, stressing both KV-cache capacity and decode-time bandwidth. Most KV-eviction methods score cached keys against representative queries drawn from the most recent tokens, assuming future attention resembles recent attention. We show that agentic generation violates this assumption: future queries form a mixture over think, act, tool, and others phases, and principal-angle analysis shows these components occupy measurably different query subspaces, so recency representatives systematically undervalue keys that upcoming phases will need. We propose AGENTKV, which maintains a small query buffer per phase and scores cached keys against their union. We further implement AGENTKV in a persistent multi-turn serving path that carries compressed KV state across turns and compacts retained KV pages online. Across two models, six task domains, and three KV budgets each, AGENTKV improves task score by 5.5 points on average over R-KV and 5.3 over Tri-attention. Relative to upstream full-KV SGLang, AGENTKV improves output-token throughput by up to 1.80x. Code: https://github.com/LiuTaowen-Tony/agentkv.

Mon 14 SeptMachine LearningComputation and Language
The gist
Language models that act with multiple steps, like thinking, acting, and using tools, need to remember many parts of their past interactions. The usual ways they decide what to keep or discard from memory assume future actions look like recent ones, but that doesn’t work well for these multi-phase tasks. The authors show that different task phases use different types of memory and offer a method, AGENTKV, that keeps track of these separately. This method improves task performance and speeds up the model’s output compared to previous approaches.
Open → 2609.14872v1