# Key-Value cache

Published articles for Key-Value cache.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Turnout: Adaptive Attention Switching for Efficient Reasoning

DevFeed: [Turnout: Adaptive Attention Switching for Efficient Reasoning](<https://devfeed.tech/articles/turnout-adaptive-attention-switching-for-efficient-reasoning-148768.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.27500>)

Author: Anna Kuzina, Mart van Baalen, Paul N. Whatmough, Babak Ehteshami Bejnordi

Published: 2026-11-23T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Reinforcement learning](<https://devfeed.tech/topics/reinforcement-learning.md>), [Transformer](<https://devfeed.tech/topics/transformer.md>), [Post-training optimization](<https://devfeed.tech/topics/post-training-optimization.md>)

Tags: [adaptive](<https://devfeed.tech/tags/adaptive.md>), [attention](<https://devfeed.tech/tags/attention.md>), [cache](<https://devfeed.tech/tags/cache.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [hybrid](<https://devfeed.tech/tags/hybrid.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [layer](<https://devfeed.tech/tags/layer.md>), [linear-attention](<https://devfeed.tech/tags/linear-attention.md>), [memory](<https://devfeed.tech/tags/memory.md>), [policy](<https://devfeed.tech/tags/policy.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [reduction](<https://devfeed.tech/tags/reduction.md>), [reinforcement-learning](<https://devfeed.tech/tags/reinforcement-learning.md>), [reward](<https://devfeed.tech/tags/reward.md>), [static](<https://devfeed.tech/tags/static.md>), [switching](<https://devfeed.tech/tags/switching.md>)

### AI overview

Turnout aims to reduce the accuracy loss that can come from replacing full attention's growing key-value cache with linear attention's fixed-size state, a concern amplified by long reasoning generations. It adds a distilled linear-attention path to a pretrained model while keeping its original full-attention path intact. At generation time, a learned policy chooses when each layer switches between the two paths; reinforcement learning trains that policy to balance answer correctness against memory use. The abstract reports that this adaptive approach achieves a better accuracy-efficiency Pareto frontier on reasoning tasks than fixed switching and static hybrid baselines, without giving quantitative results.

### Source excerpt

arXiv:2611.27500v1 Announce Type: cross Abstract: Post-hoc transformer linearization replaces the key-value cache of full attention, which grows linearly with generation length, with a fixed size state. This change reduces memory consumption but often hurts accuracy. In reasoning tasks, which require long generations, this effect is especially pronounced. In this work we introduce Turnout, a method that mitigates accuracy loss as a result of linearization, while maintaining its memory-reduction benefits. We apply post-hoc linearization to a pretrained full-attention model, training a linear path through distillation while leaving the original full-attention path unchanged. During response generation, the resulting hybrid model retains both paths and uses a learned policy to control when each layer switches from full to linear attention. We train the policy with reinforcement learning using a reward that balances answer correctness and memory use. Empirical evaluation of our method shows that the learned adaptive policy achieves a better accuracy-efficiency Pareto frontier on reasoning tasks compared to fixed switching and static hybrid baselines.

## MoE-Context: Show the Model Only What It Needs

DevFeed: [MoE-Context: Show the Model Only What It Needs](<https://devfeed.tech/articles/moe-context-show-the-model-only-what-it-needs-142788.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.24379>)

Author: Vedant Navale

Published: 2026-11-19T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [block](<https://devfeed.tech/tags/block.md>), [blocks](<https://devfeed.tech/tags/blocks.md>), [cache](<https://devfeed.tech/tags/cache.md>), [context](<https://devfeed.tech/tags/context.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [failed](<https://devfeed.tech/tags/failed.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [linear](<https://devfeed.tech/tags/linear.md>), [lookup](<https://devfeed.tech/tags/lookup.md>), [model](<https://devfeed.tech/tags/model.md>), [moe](<https://devfeed.tech/tags/moe.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [qwen3](<https://devfeed.tech/tags/qwen3.md>), [recall](<https://devfeed.tech/tags/recall.md>), [subagents](<https://devfeed.tech/tags/subagents.md>), [switching](<https://devfeed.tech/tags/switching.md>), [synthetic](<https://devfeed.tech/tags/synthetic.md>)

### AI overview

MoE-Context keeps context in blocks and, at each step, selects needed blocks while retaining one-line notes for the rest; hidden blocks are masked in a shared key-value cache rather than deleted. In a laptop experiment with Qwen3-1.7B on a synthetic lookup task, showing only the needed block raised accuracy from 93 to 119 out of 120. The model's own selection was weaker: a supervised linear probe improved selection accuracy from 80 to 110 out of 120, while keyword search was perfect on this task. The probe did not transfer to a second task. The authors also describe undoing failed attempts and running subagents without creating a new context as uses enabled by switching blocks.

### Source excerpt

arXiv:2611.24379v1 Announce Type: new Abstract: AI agents read their whole history at every step. People do not work like that: we keep what the moment needs and hold the rest as a rough note we can recall. MoE-Context applies this to language models. The context is split into blocks. Before each step a fast yes or no pass decides which blocks the step needs; the rest stay as one-line notes that can be brought back, and nothing is deleted. In the version we build, one model makes this decision and then answers, over a single key-value cache where hidden blocks are masked rather than removed. On a laptop with Qwen3-1.7B and a synthetic lookup task, showing only the needed block raises accuracy from 93 to 119 of 120, and a masked block is as hidden as a deleted one. The model's own picking is the weak part. A supervised linear probe written into spare output rows lifts its accuracy from 80 to 110 of 120, but simple keyword search picks perfectly on this task, and the probe does not transfer to a second task. We report these results openly, along with two cheap usage patterns that block switching enables: undoing a failed attempt and running subagents without a new context.

## Bilateral Log-Linear Attention

DevFeed: [Bilateral Log-Linear Attention](<https://devfeed.tech/articles/bilateral-log-linear-attention-138813.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.18974>)

Author: Kazi Ashik Islam, Guojing Cong

Published: 2026-11-17T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [model architecture](<https://devfeed.tech/topics/model-architecture.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [compression](<https://devfeed.tech/tags/compression.md>), [costs](<https://devfeed.tech/tags/costs.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [hierarchy](<https://devfeed.tech/tags/hierarchy.md>), [inference](<https://devfeed.tech/tags/inference.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [linear](<https://devfeed.tech/tags/linear.md>), [log](<https://devfeed.tech/tags/log.md>), [parallel](<https://devfeed.tech/tags/parallel.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [recall](<https://devfeed.tech/tags/recall.md>), [recurrent](<https://devfeed.tech/tags/recurrent.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [ruler](<https://devfeed.tech/tags/ruler.md>), [sequence](<https://devfeed.tech/tags/sequence.md>), [storage](<https://devfeed.tech/tags/storage.md>), [test](<https://devfeed.tech/tags/test.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

Bilateral log-linear attention adds a second, causal hierarchy anchored at the sequence origin to the existing hierarchy, which favors recent context. Combining their reads gives finer access to both early and recent context. The authors report recurrent and chunkwise parallel formulations that retain log-linear training and prefill work, logarithmic decoding work per token, and logarithmic persistent state storage at fixed feature dimensions and chunk size. Across multiple seeds, mean multi-query associative-recall accuracy rose from 76.37% with forward log-linear attention to 96.12%. With pretrained language models and approximate parameter matching, the mean score on six selected RULER tasks at 6,144 tokens rose from 26.97% to 50.03%; bilateral attention also scored higher on seven of eight downstream retrieval tasks. These results are limited to the reported benchmarks and settings.

### Source excerpt

arXiv:2611.18974v1 Announce Type: new Abstract: Sequence models represent past context at different resolutions, using token-level keys and values, fixed-size recurrent states, or hierarchies of compressed summaries. Full attention supports strong associative recall but requires quadratic work during training and prefill and a linearly growing key-value cache during inference. Linear attention and state-space models reduce these costs through fixed-size recurrent memory, but this compression can limit recall. Log-linear attention offers a middle ground by maintaining logarithmically many state matrices. However, its hierarchy favors finer resolution near the current query while compressing earlier context into coarser summaries. To complement this allocation of resolution, we introduce bilateral log-linear attention, which pairs the existing hierarchy with a second hierarchy anchored at the sequence origin. By combining their reads, the two branches provide finer access to both early and recent context while remaining causal. We derive recurrent and chunkwise parallel formulations for the added branch, preserving log-linear training and prefill work, logarithmic decoding work per token, and logarithmic persistent state storage at fixed feature dimensions and chunk size. In multi-query associative recall, this design raises mean overall test accuracy from 76.37% to 96.12% over forward log-linear attention across multiple training seeds. For pretrained language models under approximate parameter matching, it raises the mean score on six selected RULER needle-in-a-haystack tasks from 26.97% to 50.03% at a context length of 6144 tokens. In the same setting, bilateral attention also outperforms forward log-linear attention on seven of eight downstream retrieval tasks, including question answering and information extraction.

## TailDART: Compute-Efficient Foundation Models for Financial Time-Series Forecasting

DevFeed: [TailDART: Compute-Efficient Foundation Models for Financial Time-Series Forecasting](<https://devfeed.tech/articles/taildart-compute-efficient-foundation-models-for-financial-time-series-forecasting-124631.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.09176>)

Author: Chiang Qin Zhi, Ranjan Satapathy, Erik Cambria, Joyjit Chattoraj

Published: 2026-11-09T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Time Series](<https://devfeed.tech/topics/time-series.md>), [Finance](<https://devfeed.tech/topics/finance.md>), [AI Foundation Models](<https://devfeed.tech/topics/ai-foundation-models.md>)

Tags: [acceleration](<https://devfeed.tech/tags/acceleration.md>), [attention](<https://devfeed.tech/tags/attention.md>), [autoregressive](<https://devfeed.tech/tags/autoregressive.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [compute](<https://devfeed.tech/tags/compute.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-ce](<https://devfeed.tech/tags/cs-ce.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [error](<https://devfeed.tech/tags/error.md>), [finance](<https://devfeed.tech/tags/finance.md>), [financial](<https://devfeed.tech/tags/financial.md>), [forecasting](<https://devfeed.tech/tags/forecasting.md>), [foundation-model](<https://devfeed.tech/tags/foundation-model.md>), [foundation-models](<https://devfeed.tech/tags/foundation-models.md>), [grouped-query-attention](<https://devfeed.tech/tags/grouped-query-attention.md>), [inference](<https://devfeed.tech/tags/inference.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [latency](<https://devfeed.tech/tags/latency.md>), [lightweight](<https://devfeed.tech/tags/lightweight.md>), [low-latency](<https://devfeed.tech/tags/low-latency.md>), [time-series](<https://devfeed.tech/tags/time-series.md>), [time-series-forecasting](<https://devfeed.tech/tags/time-series-forecasting.md>)

### AI overview

TailDART is a 2.68-million-parameter model for financial time-series forecasting, designed to address low signal-to-noise ratios, non-stationarity, and the latency costs of autoregressive decoding. It uses grouped-query attention in a lightweight backbone to reduce key-value cache memory bandwidth overhead; the abstract reports inference acceleration of up to 48.1% over prevailing state-of-the-art time-series foundation models. Across multi-asset benchmarks at varying temporal resolutions, TailDART reportedly matches the predictive fidelity of substantially larger baselines and shows greater error resilience in high-volatility regimes. These findings are reported in the abstract; benchmark details are not included in the supplied text.

### Source excerpt

arXiv:2611.09176v1 Announce Type: new Abstract: Although time-series foundation models (TSFMs) achieve strong zero-shot transferability across high-information-density physical systems, applying overparameterized TSFMs to quantitative finance is fundamentally constrained by low signal-to-noise ratios, non-stationarity, and prohibitive autoregressive decoding latency. To reconcile representation learning with institutional operational constraints, this study presents TailDART, a dense 2.68 million-parameter foundation model engineered for financial time-series forecasting. By integrating grouped-query attention into a lightweight backbone, the architecture drastically reduces Key-Value cache memory bandwidth overhead, achieving major inference acceleration (up to 48.1%) over prevailing state-of-the-art TSFMs to enable low-latency, high-throughput streaming execution. Furthermore, multi-asset benchmarks across varying temporal resolutions show that a compact model can remain competitive for market forecasting: TailDART matches the predictive fidelity of substantially larger baselines while demonstrating superior error resilience in high-volatility regimes.

## Shallow Encoding Emits Deep Memories

DevFeed: [Shallow Encoding Emits Deep Memories](<https://devfeed.tech/articles/shallow-encoding-emits-deep-memories-119104.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.06084>)

Author: Mingyuan Ma, Yangmin Li, Harris Nover, Zheyu Fu, Po-Han Huang, Alex Settle, Ashwin Nanjappa

Published: 2026-11-05T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Distributed Computing](<https://devfeed.tech/sources/arxiv-distributed-computing.md>)

Topics: [Deep neural networks](<https://devfeed.tech/topics/deep-neural-networks.md>), [AI Infrastructure](<https://devfeed.tech/topics/ai-infrastructure.md>), [Compression](<https://devfeed.tech/topics/compression.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [sglang](<https://devfeed.tech/topics/sglang.md>), [Mamba](<https://devfeed.tech/topics/mamba.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [cs-dc](<https://devfeed.tech/tags/cs-dc.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [delta](<https://devfeed.tech/tags/delta.md>), [gb300](<https://devfeed.tech/tags/gb300.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [high-bandwidth-memory](<https://devfeed.tech/tags/high-bandwidth-memory.md>), [hybrid](<https://devfeed.tech/tags/hybrid.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [kimi](<https://devfeed.tech/tags/kimi.md>), [language](<https://devfeed.tech/tags/language.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [layer](<https://devfeed.tech/tags/layer.md>), [layers](<https://devfeed.tech/tags/layers.md>), [linear](<https://devfeed.tech/tags/linear.md>), [mamba](<https://devfeed.tech/tags/mamba.md>), [mamba-2](<https://devfeed.tech/tags/mamba-2.md>), [memory](<https://devfeed.tech/tags/memory.md>), [prefill](<https://devfeed.tech/tags/prefill.md>), [qwen3-8-flash-next](<https://devfeed.tech/tags/qwen3-8-flash-next.md>), [serving](<https://devfeed.tech/tags/serving.md>), [sglang](<https://devfeed.tech/tags/sglang.md>)

### AI overview

SEED reduces serving costs in hybrid language models by shortening prompt prefill and representing recurrent states compactly. Trained "emitters" write deep-layer memories from a shallower layer's residual stream, letting all but the final prompt token run through as few as 63% of the layers. For decoding, SEED represents each recurrent state as a rank-one state sink plus low-rank working-memory factors; the Gated DeltaNet, Kimi Delta Attention, and Mamba-2 updates extend this representation exactly, and the authors bound error from repeated low-rank compression independently of the number of compressions. The method freezes original weights, leaves attention caches uncompressed, and still runs every layer for generated tokens. Across six checkpoints from five 30B-plus production hybrids, it was nearly lossless on eleven official exams. In an SGLang test on NVIDIA GB300 GPUs using an agentic-coding trace, Qwen3.8-Flash-Next achieved 1.2-1.4x per-GPU throughput.

### Source excerpt

arXiv:2611.06084v1 Announce Type: cross Abstract: Hybrid language models interleave a few softmax-attention layers with many linear-attention or state-space layers, so every layer keeps a memory of earlier tokens: a key-value cache or a fixed-size recurrent state. Serving them spends more compute and high-bandwidth memory on these memories than the output requires. The prefill runs every layer for every prompt token, and every decode step loads and stores whole recurrent states, which on Qwen3.8-Flash-Next take as many bytes per request as the attention cache of thousands of tokens. We find two properties of trained hybrids that locate this excess. First, writes are easier than reads: writing a deep layer's memory of a token needs little of the deep computation that predicting the next token needs. Trained copies of the deep layers' write paths, which we call emitters, therefore write a prompt's deep memories from the residual stream of a shallower anchor layer, and all prompt tokens but the last run as few as 63% of the layers. Second, recurrent states have a state sink: most of their energy lies in a rank-one term along a fixed direction of each head, and the rest is a low-rank working memory. SEED builds on both: it makes the prefill shallow in depth and the decode state shallow in representation. Each recurrent state is stored as its sink plus low-rank factors, which the Gated DeltaNet, Kimi Delta Attention and Mamba-2 updates extend exactly; we prove that the open-loop error of the periodic compressions back to low rank is bounded independently of their number. SEED keeps the original weights frozen, compresses no attention cache, and runs all layers for every generated token. On six checkpoints of five production hybrids of 30B to over 300B parameters, it is nearly lossless on eleven official exams. Served with SGLang on NVIDIA GB300 GPUs on an agentic-coding trace, it raises the per-GPU throughput of Qwen3.8-Flash-Next 1.2-1.4x.

## Mine or Yours? Self-Other Confusion in Latent LLM Communication

DevFeed: [Mine or Yours? Self-Other Confusion in Latent LLM Communication](<https://devfeed.tech/articles/mine-or-yours-self-other-confusion-in-latent-llm-communication-117312.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.33020>)

Author: Yunlong Xu

Published: 2026-11-04T05:00:00Z

Content type: news

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [llama](<https://devfeed.tech/topics/llama.md>), [qwen](<https://devfeed.tech/topics/qwen.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [communication](<https://devfeed.tech/tags/communication.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [less](<https://devfeed.tech/tags/less.md>), [llm](<https://devfeed.tech/tags/llm.md>), [model](<https://devfeed.tech/tags/model.md>), [ownership](<https://devfeed.tech/tags/ownership.md>), [partner](<https://devfeed.tech/tags/partner.md>), [priority](<https://devfeed.tech/tags/priority.md>)

### AI overview

When one language model reads another's key-value cache, it can use the partner's information without reliably tracking who it belongs to. In tests with two copies of Qwen3-4B or Llama-3.1-8B given different private priorities, placing the partner's cache over the receiver's context led to the receiver claiming the partner's priority as its own in about half of answers. Moving the cache in front reduced that error to 5% for Qwen and 43% for Llama, while both models became less likely to identify the priority as the partner's. The receiver still used a fact found only in the partner's cache in every answer. Its report of an inserted memory also could not distinguish the partner's cache from a copy of its own. The results show that cache placement affects attribution, but neither tested layout reliably preserves ownership.

### Source excerpt

arXiv:2610.33020v2 Announce Type: replace-cross Abstract: If two minds were linked, would each still know which thoughts are its own? Language models are increasingly linked in this way: instead of exchanging text, one model reads another's key-value cache. Systems that join a foreign cache to the receiver's own use one of two layouts: the cache lies over the receiver's own context, at the same token positions, or in front of it. We give two copies of one model different private priorities and link them in both layouts. With the cache over its own context, the receiver gives a fact found only in its partner's cache in every answer. Yet in about half of its answers it gives the partner's priority as its own, in both Qwen3-4B and Llama-3.1-8B: as often as a receiver that ignored whose priority was whose, although the text in the cache names its owner. With the same cache moved in front, this falls to 5% in Qwen but only to 43% in Llama, although both models nearly stop naming the partner's priority as the one they are using. Where the cache sits matters, yet neither layout in use protects both models. Fewer such errors do not mean better attribution: once the cache is moved, the receiver names the partner's priority as the partner's less often, not more, and its report of an inserted memory cannot tell the partner's cache from a copy of its own. In short, shared caches deliver content but not ownership.

## Merge and Branch: Efficient Tree-Structured Supervised Fine-Tuning of LLMs for Recommendation

DevFeed: [Merge and Branch: Efficient Tree-Structured Supervised Fine-Tuning of LLMs for Recommendation](<https://devfeed.tech/articles/merge-and-branch-efficient-tree-structured-supervised-fine-tuning-of-llms-for-recommendation-107998.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.37973>)

Author: Yunqin Zhu, Yao Xie

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [personalization](<https://devfeed.tech/topics/personalization.md>)

Tags: [cache](<https://devfeed.tech/tags/cache.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-ir](<https://devfeed.tech/tags/cs-ir.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [efficiently](<https://devfeed.tech/tags/efficiently.md>), [encoding](<https://devfeed.tech/tags/encoding.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [flashattention](<https://devfeed.tech/tags/flashattention.md>), [generative](<https://devfeed.tech/tags/generative.md>), [history](<https://devfeed.tech/tags/history.md>), [independent](<https://devfeed.tech/tags/independent.md>), [input](<https://devfeed.tech/tags/input.md>), [interaction](<https://devfeed.tech/tags/interaction.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [layout](<https://devfeed.tech/tags/layout.md>), [llms](<https://devfeed.tech/tags/llms.md>), [multiple](<https://devfeed.tech/tags/multiple.md>), [public](<https://devfeed.tech/tags/public.md>), [recommendation](<https://devfeed.tech/tags/recommendation.md>), [structured](<https://devfeed.tech/tags/structured.md>)

### AI overview

Merge and Branch (M&B) makes supervised fine-tuning for generative recommendation more efficient by sharing computation over long interaction histories while learning from multiple target items. It compresses each historical item's semantic identifier and text into learned tokens, then arranges independent target predictions as branches in a shallow, wide tree. Tree FlashAttention processes the shared history once and propagates gradients from each branch; a tree-structured key/value cache carries history sharing into constrained decoding. The abstract reports that M&B outperforms strong recommendation baselines on public benchmarks and substantially improves training and decoding efficiency.

### Source excerpt

arXiv:2610.37973v1 Announce Type: cross Abstract: LLM-based generative recommendation reads long, text-rich interaction histories but generates only short semantic identifiers (SIDs). This asymmetry makes supervised fine-tuning inefficient: encoding the history is expensive, yet each history usually provides supervision for only one target. We present Merge and Branch (M&B) to reduce input cost and learn more from each encoded history. Merge compresses each historical item's SID and text into a small number of learned tokens. Branch uses the compressed history to predict multiple target SIDs. To share history computation while keeping these targets independent, M&B organizes each example as a shallow, wide tree. We develop tree FlashAttention to execute this layout efficiently, processing the shared history once and propagating gradients from every branch for end-to-end training. A tree-structured key/value cache extends history sharing to constrained decoding. Experiments on public benchmarks show that M&B outperforms strong recommendation baselines while substantially improving training and decoding efficiency.

## Behavioral Consistency in Machine Learning

DevFeed: [Behavioral Consistency in Machine Learning](<https://devfeed.tech/articles/behavioral-consistency-in-machine-learning-96851.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2606.07581>)

Author: Lan Wu, Bruce Changlong Xu

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Inference](<https://devfeed.tech/topics/inference.md>), [Language models](<https://devfeed.tech/topics/language-models.md>), [model-deployment](<https://devfeed.tech/topics/model-deployment.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [vllm](<https://devfeed.tech/topics/vllm.md>), [quantization](<https://devfeed.tech/topics/quantization.md>), [hugging face](<https://devfeed.tech/topics/hugging-face.md>), [Reinforcement learning](<https://devfeed.tech/topics/reinforcement-learning.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [batching](<https://devfeed.tech/tags/batching.md>), [consistency](<https://devfeed.tech/tags/consistency.md>), [contracts](<https://devfeed.tech/tags/contracts.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-et](<https://devfeed.tech/tags/cs-et.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [hugging-face](<https://devfeed.tech/tags/hugging-face.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [precision](<https://devfeed.tech/tags/precision.md>), [vllm](<https://devfeed.tech/tags/vllm.md>)

### AI overview

Identical model weights can produce different outputs when run by different kernels or serving setups. The paper proposes kernel contracts that bound a serving kernel's drift from a reference on each traffic slice and specify a response when limits are exceeded. It proves non-asymptotic links between logit differences and distribution divergence, expected reward changes, policy-gradient bias, and greedy-token changes. GPU experiments with Qwen2.5-7B-Instruct using Hugging Face and vLLM found that lower precision, serving engine, and batch size each changed tokens on some prompts; changes clustered where the model was nearly split between two tokens. The reported bounds held on every measured prompt, and per-slice contract checks caught differences that aggregate metrics could miss.

### Source excerpt

arXiv:2606.07581v2 Announce Type: replace Abstract: A trained model is usually described by its weights, as if the weights fixed its behavior. In practice the same weights are run by different programs. Training uses high-precision accumulation and fixed tensor shapes, while serving uses low-precision arithmetic, fused attention kernels, a paged key-value cache, and dynamic batching. These programs produce different next-token distributions from identical weights. We make this dependence explicit by indexing a policy by the kernel that executes it, and we propose kernel contracts, which state how far a serving kernel may drift from a reference kernel on each slice of traffic and what the serving system should do when a limit is exceeded. We prove non-asymptotic bounds that link the logit difference between two kernels to total-variation and KL divergence, to the change in expected reward, to the bias of policy gradients computed from rollouts generated by another kernel, and to whether the greedy token can change. We test the bounds and the contracts in GPU experiments on Qwen2.5-7B-Instruct with Hugging Face and vLLM. The bounds hold on every prompt we measured. Lower precision, a different serving engine, and a different batch size each change the generated token on some prompts, and these changes concentrate on prompts where the model is nearly undecided between two tokens. A kernel can therefore look fine on aggregate metrics while behaving differently on exactly these prompts. Checking a contract separately on each slice of traffic catches these cases.

## Extreme Compression of Per-Layer Embeddings via Cross-Layer Latent Vector Quantization

DevFeed: [Extreme Compression of Per-Layer Embeddings via Cross-Layer Latent Vector Quantization](<https://devfeed.tech/articles/extreme-compression-of-per-layer-embeddings-via-cross-layer-latent-vector-quantization-97047.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.31309>)

Author: Jiacheng Liu, Yaxin Luo, Xiaohan Zhao, Peng Sun, Xinyi Shang, Jiacheng Cui, Yonina C. Eldar, Zhiqiang Shen

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [quantization](<https://devfeed.tech/topics/quantization.md>), [Compression](<https://devfeed.tech/topics/compression.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>)

Tags: [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [cache](<https://devfeed.tech/tags/cache.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [code](<https://devfeed.tech/tags/code.md>), [compression](<https://devfeed.tech/tags/compression.md>), [cross](<https://devfeed.tech/tags/cross.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [decoder](<https://devfeed.tech/tags/decoder.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [embeddings](<https://devfeed.tech/tags/embeddings.md>), [gemma](<https://devfeed.tech/tags/gemma.md>), [gemma-4](<https://devfeed.tech/tags/gemma-4.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [gpu-memory](<https://devfeed.tech/tags/gpu-memory.md>), [inference](<https://devfeed.tech/tags/inference.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [language](<https://devfeed.tech/tags/language.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [layer](<https://devfeed.tech/tags/layer.md>), [quantization](<https://devfeed.tech/tags/quantization.md>), [vector](<https://devfeed.tech/tags/vector.md>)

### AI overview

OPTIC compresses Per-Layer Embeddings (PLE) by storing one quantized code tuple per token and decoding it at each layer with a layer-specific affine decoder. The codes and decoders are fitted to the PLE output path. At about 100x compression of BF16 Gemma 4 E4B PLE, OPTIC retains 97.8% of aggregate performance across seven benchmarks, compared with 66.3% for product quantization, the strongest of six conventional baselines. It retains 90.5% and 84.1% at 594x and 1,002x compression, respectively, and 96.9% on the official W4A16 E4B release at about 100x. In inference at that compression, BF16 E4B uses 29.7% less GPU memory at the same key-value cache size and runs at most 0.40% slower.

### Source excerpt

arXiv:2610.31309v1 Announce Type: new Abstract: Scaling embedding capacity alongside Transformer computation is an emerging trend in language models. This trend makes high compression rates increasingly useful. Hence, we study extreme compression of Per-Layer Embeddings (PLE), which follow this trend and account for 35.2% of the parameters of Gemma 4 E4B. At such rates, conventional quantizers give each token-layer vector its own code of only a few bytes. We instead develop OPTIC (Output-Path-fitted, Token-shared Indexed Codes), which stores one quantized code tuple per token and decodes it at every layer with a layer-specific affine decoder. Codes and decoders are fitted to the PLE output path rather than to the stored vectors. At about $100\times$ PLE compression of bfloat16 (BF16) E4B, OPTIC retains an aggregate 97.8% of the uncompressed model's performance across seven benchmarks, whereas product quantization, the strongest of six conventional baselines, retains 66.3%. At $594\times$ and $1,002\times$ PLE compression of BF16 E4B, OPTIC retains 90.5% and 84.1%. On the official E4B release with 4-bit linear weights and 16-bit activations (W4A16), OPTIC retains 96.9% at about $100\times$ PLE compression. During inference at about $100\times$ PLE compression, BF16 E4B uses 29.7% less GPU memory than with uncompressed PLE at the same key-value cache size, while running at most 0.40% slower.

## OpenAttention: One Percent Is Enough with Tail Proxies

DevFeed: [OpenAttention: One Percent Is Enough with Tail Proxies](<https://devfeed.tech/articles/openattention-one-percent-is-enough-with-tail-proxies-97004.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.30951>)

Author: Hyunwoo Yu, Jongbeom Lee, Hyunbin Kim, Sungjun Park, Jaemin Choi, Jincheol Yang, Seunghun Moon, Bongjoon Hyun, Kyomin Sohn, Kyeongbo Kong, Suk-Ju Kang

Published: 2026-10-23T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [infini-attention](<https://devfeed.tech/topics/infini-attention.md>), [clustering](<https://devfeed.tech/topics/clustering.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [cache](<https://devfeed.tech/tags/cache.md>), [clustering](<https://devfeed.tech/tags/clustering.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [distribution](<https://devfeed.tech/tags/distribution.md>), [efficiently](<https://devfeed.tech/tags/efficiently.md>), [error](<https://devfeed.tech/tags/error.md>), [faster](<https://devfeed.tech/tags/faster.md>), [flash](<https://devfeed.tech/tags/flash.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [keys](<https://devfeed.tech/tags/keys.md>), [llama](<https://devfeed.tech/tags/llama.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [query](<https://devfeed.tech/tags/query.md>), [ruler](<https://devfeed.tech/tags/ruler.md>), [selection](<https://devfeed.tech/tags/selection.md>), [selector](<https://devfeed.tech/tags/selector.md>), [token](<https://devfeed.tech/tags/token.md>), [top](<https://devfeed.tech/tags/top.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

OpenAttention addresses sparse attention's unread key-value cache tail with a count-aware mean proxy, which the authors report gives lower output error than sampling at every tested read level behind a practical selector. They say sampling nearly doubles the weight error of discarding at low reads, while one proxy stays below discarding's error. Their pipeline combines training-free Query-Geometry Clustering (QGC), a Query-Geometry Selector (QGS), ErrorGate allocation based on estimated cluster weight error, and top-k selection. On RULER-32K HARD with Llama-3.1-8B, it reportedly retains 99% of dense accuracy at a 1% read; the abstract also reports 10x faster decode attention from a customized kernel at that read level. The excerpt does not provide evaluation details beyond these claims.

### Source excerpt

arXiv:2610.30951v1 Announce Type: new Abstract: Sparse attention reads only a small subset of the key-value cache, and how to treat the unread tail remains a key challenge. Discarding the tail biases the output, and sampling it as previous approaches do fails at reads of 5% and below, where the tail likely holds heavy hitters the selector missed. Our key observation is that the simplest possible proxy, one token that folds the entire tail into its count-aware mean, already yields lower output error than a sample at every read behind a practical selector. We further show in closed form that at low reads sampling nearly doubles the weight error of discarding while a single proxy stays below it. Building on these findings, we explore approximating the dense attention distribution with a few proxies that target the tail. We propose OpenAttention, a pipeline of clustering, ErrorGate and top-k selection followed by a count-aware mean proxy. To implement clustering and selection both efficiently and effectively, we design training-free Query-Geometry Clustering (QGC) and a Query-Geometry Selector (QGS), which compress the keys while respecting the query directions. Additionally, unlike prior methods that rank clusters by centroid alone, ErrorGate allocates the exact read by the estimated weight error of each cluster. On RULER-32K HARD with Llama-3.1-8B, OpenAttention retains 99% of dense accuracy at a 1% read. It also achieves state-of-the-art accuracy across models, context lengths and datasets. Our customized attention kernel, OpenAttention.flash, runs the decode attention stage 10$\times$ faster than dense attention at a 1% read.

## First Passage Attention

DevFeed: [First Passage Attention](<https://devfeed.tech/articles/first-passage-attention-94780.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.22714>)

Author: Yuxuan Liu

Published: 2026-10-22T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Transformer](<https://devfeed.tech/topics/transformer.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [context](<https://devfeed.tech/tags/context.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [field](<https://devfeed.tech/tags/field.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [keys](<https://devfeed.tech/tags/keys.md>), [language-model](<https://devfeed.tech/tags/language-model.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>)

### AI overview

First Passage Attention (FPA) uses the deepest dip of a learned scalar field below a key's level along the key-query span to penalize its logit. This lets later dips selectively remove intermediate keys while preserving older relevant ones; with a shared learned walk, unpenalized keys form a stack. The paper reports that a constant-dimension FPA head can realize any subset of keys left alive by subsequent dips, while comparable softmax heads with positional biases or token-level forget gates need dimension linear in the number of keys. In synthetic experiments, one-layer FPA heads converged to target sets across seeds, unlike the tested softmax and FoX baselines. In a 110M-parameter language model, FPA matched FoX in perplexity and achieved perfect passkey retrieval at eight times training length, including with the key-value cache compressed to about 25%.

### Source excerpt

arXiv:2610.22714v1 Announce Type: cross Abstract: Augmenting softmax attention with forget gates typically relies on summing decay contributions along the key--query path. Because such accumulation is monotonic, these mechanisms cannot selectively erase intermediate context while preserving older, structurally relevant tokens. We propose First Passage Attention (FPA), which shifts from path summation to path extrema by lowering a key's logit proportionally to the deepest dip of a learned scalar field below that key's level over the intervening span. FPA encompasses the Forgetting Transformer (FoX) as a special case, and when the field and levels follow a shared learned walk, the alive keys with unpenalised logits naturally form a stack. We show that a constant-dimension FPA head realises any subset of keys left alive by subsequent dips, whereas softmax heads with positional biases or token-level forget gates require a head dimension linear in the number of keys. In synthetic experiments, one-layer FPA heads converge to these target sets while comparable softmax and FoX baselines fail on every seed. Scaling to a 110M-parameter language model, FPA matches FoX in perplexity and uniquely achieves perfect passkey retrieval at $8\times$ the training length, even with its key--value cache compressed to about $25\%$.

## Service-Induced Congestion in Memory-Constrained LLM Serving

DevFeed: [Service-Induced Congestion in Memory-Constrained LLM Serving](<https://devfeed.tech/articles/service-induced-congestion-in-memory-constrained-llm-serving-94144.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2606.15555>)

Author: Ruicheng Ao, Jing Dong, Gan Luo, David Simchi-Levi

Published: 2026-10-21T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [scheduling](<https://devfeed.tech/topics/scheduling.md>)

Tags: [batching](<https://devfeed.tech/tags/batching.md>), [cache](<https://devfeed.tech/tags/cache.md>), [capacity](<https://devfeed.tech/tags/capacity.md>), [concurrency](<https://devfeed.tech/tags/concurrency.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [cycles](<https://devfeed.tech/tags/cycles.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [design-principles](<https://devfeed.tech/tags/design-principles.md>), [inference](<https://devfeed.tech/tags/inference.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [limit](<https://devfeed.tech/tags/limit.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-serving](<https://devfeed.tech/tags/llm-serving.md>), [math-oc](<https://devfeed.tech/tags/math-oc.md>), [memory](<https://devfeed.tech/tags/memory.md>), [model](<https://devfeed.tech/tags/model.md>), [multiple](<https://devfeed.tech/tags/multiple.md>), [scheduling](<https://devfeed.tech/tags/scheduling.md>), [stable](<https://devfeed.tech/tags/stable.md>), [stat-ml](<https://devfeed.tech/tags/stat-ml.md>), [system](<https://devfeed.tech/tags/system.md>), [throughput](<https://devfeed.tech/tags/throughput.md>), [time](<https://devfeed.tech/tags/time.md>)

### AI overview

As requests generate tokens, their growing key-value caches increase GPU memory pressure; when capacity is exceeded, evicting active requests discards cached state and wastes computation. The paper models admission, memory growth, and eviction under continuous batching. With saturated input and homogeneous workloads, the eviction-free equilibrium is unstable, and nearly all initial states converge to a stable eviction cycle that can reduce throughput by up to 50%. For heterogeneous workloads, the authors establish a stability criterion for two classes with common input and extend the survival-polynomial analysis to multiple classes and varied input lengths. In an input-dominated regime, coprime decoding lengths stabilize eviction-free service, while non-coprime lengths can synchronize completions and drive instability. The results point to workload heterogeneity and scheduling as ways to reduce service-induced congestion; the supplied abstract does not specify particular scheduling algorithms.

### Source excerpt

arXiv:2606.15555v3 Announce Type: replace-cross Abstract: In large language model (LLM) serving, each request accumulates persistent graphics processing unit (GPU) memory during service as its key-value cache grows with every generated token. Under high concurrency, aggregate memory usage therefore increases endogenously over time: the service process itself creates future capacity pressure. When memory capacity is exceeded, systems evict active requests, discarding cached state and restarting them later, which wastes computation and reduces throughput. We develop a discrete-time dynamical model of memory-constrained LLM inference that captures admission, memory growth, and eviction under continuous batching. In the saturated-input regime, the system admits both eviction-free fixed points and limit cycles with evictions. For homogeneous workloads, we show that the eviction-free equilibrium is unstable and that, except for a Lebesgue-measure-zero exact-capture set, the system converges to a unique worst-case limit cycle that is asymptotically stable outside this exceptional set, with throughput losses as large as 50%. For heterogeneous workloads, we prove a stability criterion in the two-class common-input setting and explain how the survival-polynomial mechanism generalizes to multiple classes and heterogeneous-input lengths. Under an input-dominated scaling regime, coprime decoding lengths stabilize the eviction-free equilibrium, while non-coprime lengths create synchronized modes that drive instability. These results characterize when workload heterogeneity desynchronizes completions and helps stabilize memory-constrained serving. More broadly, we identify service-induced congestion as a structural instability mechanism and derive scheduling design principles for sustaining high throughput.

## The KV-Surgeon: Compensation-Aware Offline KV-Cache Compaction

DevFeed: [The KV-Surgeon: Compensation-Aware Offline KV-Cache Compaction](<https://devfeed.tech/articles/the-kv-surgeon-compensation-aware-offline-kv-cache-compaction-93575.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.25933>)

Author: Moritz Wagner, Christophe Roux, Max Zimmer, Sebastian Pokutta

Published: 2026-10-21T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Machine learning](<https://devfeed.tech/topics/machine-learning.md>), [Cache](<https://devfeed.tech/topics/cache.md>), [infini-attention](<https://devfeed.tech/topics/infini-attention.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [cache](<https://devfeed.tech/tags/cache.md>), [compaction](<https://devfeed.tech/tags/compaction.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [greedy](<https://devfeed.tech/tags/greedy.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [kv-cache](<https://devfeed.tech/tags/kv-cache.md>), [machine-learning](<https://devfeed.tech/tags/machine-learning.md>), [mixture-of-experts](<https://devfeed.tech/tags/mixture-of-experts.md>), [mixture-of-experts-models](<https://devfeed.tech/tags/mixture-of-experts-models.md>), [models](<https://devfeed.tech/tags/models.md>), [offline](<https://devfeed.tech/tags/offline.md>)

### AI overview

KV-Surgeon compacts a key-value cache for repeated queries by accounting for how deleting one entry changes attention weights across the remaining entries. Using calibration data, it derives a quadratic surrogate with closed-form greedy removal and compensation decisions. The abstract reports improved cost-accuracy tradeoffs across QuALITY, LongHealth, and Long Code Arena for dense and mixture-of-experts models from 4B to 30B parameters. At 50x compaction, it improves question-answering accuracy by up to four points over attention matching at comparable cost; a faster variant also exceeds that method while using two-fifths of its cost.

### Source excerpt

arXiv:2610.25933v1 Announce Type: new Abstract: Offline compaction of the key--value cache (KV-cache) reduces the cost of repeatedly querying a fixed context by constructing a smaller cache once and reusing it subsequently. The central challenge of compaction is deciding which cache entries to delete and which to retain. Existing methods score each candidate for deletion on its own, with the rest of the cache being held fixed. However, softmax renormalization of the attention operation couples these decisions in a nonlinear manner: removing one entry changes the attention weights of every remaining one. In this work, we introduce KV-Surgeon, which uses calibration data to take interactions into account in a tractable way. We derive a quadratic surrogate that admits closed-form expressions for jointly making the optimal greedy removal decision as well as compensation within the remaining entries. On QuALITY, LongHealth, and Long Code Arena, and at every evaluated compaction ratio, KV-Surgeon substantially advances the cost--accuracy Pareto frontier of dense and mixture-of-experts models from 4B to 30B parameters. At $50\times$ compaction, KV-Surgeon improves question-answering accuracy by up to four points over attention matching (Zweiger et al., 2026), the state of the art, at comparable cost. Lastly, we introduce an even faster variant, which also exceeds the state of the art while requiring only two fifths of its cost.

## Cached list queries now use up to 69% less memory and serve up to 29% more requests

DevFeed: [Cached list queries now use up to 69% less memory and serve up to 29% more requests](<https://devfeed.tech/articles/cached-list-queries-now-use-up-to-69-less-memory-and-serve-up-to-29-more-requests-66881.md>)

Original publisher: [Read original article](<https://appwrite.io/blog/post/faster-list-caching-binary-format>)

Author: Luke B. Silver

Published: 2026-10-07T00:00:00Z

Content type: release

Language: en

Sources: [Appwrite Blog](<https://devfeed.tech/sources/appwrite-blog.md>)

Topics: [pull through cache](<https://devfeed.tech/topics/pull-through-cache.md>), [Schema-less data format](<https://devfeed.tech/topics/schema-less-data-format.md>)

Tags: [announcements](<https://devfeed.tech/tags/announcements.md>), [cache](<https://devfeed.tech/tags/cache.md>), [json](<https://devfeed.tech/tags/json.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [latency](<https://devfeed.tech/tags/latency.md>), [saving](<https://devfeed.tech/tags/saving.md>)

### AI overview

Appwrite has replaced JSON with a binary format for key-value cache entries, reducing cached list-query memory use by up to 69% and increasing throughput by up to 29% in benchmarks. The format also speeds cache reads, with measured latency improvements, while response conversion to JSON still limits throughput gains for large pages. It ships in self-hosted Appwrite 2.3; upgrades require no migration or cache flush.

### Source excerpt

Appwrite now serializes key-value cache entries in a binary format instead of JSON. Cached list responses consume up to 69% less memory, and cached list throughput increases by up to 29%.

## Exclusive: Iterate.ai's Lifeboat runs up to six times more AI agent sessions per GPU

DevFeed: [Exclusive: Iterate.ai's Lifeboat runs up to six times more AI agent sessions per GPU](<https://devfeed.tech/articles/exclusive-iterate-ai-s-lifeboat-runs-up-to-six-times-more-ai-agent-sessions-per-gpu-64890.md>)

Original publisher: [Read original article](<https://siliconangle.com/2026/10/05/exclusive-iterate-ais-lifeboat-runs-up-to-six-times-more-ai-agent-sessions-per-gpu/>)

Author: Duncan Riley

Published: 2026-10-05T13:00:47Z

Content type: news

Language: en

Sources: [SiliconANGLE](<https://devfeed.tech/sources/siliconangle.md>)

Topics: [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Cryptography](<https://devfeed.tech/topics/cryptography.md>), [Local AI](<https://devfeed.tech/topics/local-ai.md>)

Tags: [advanced-micro-devices](<https://devfeed.tech/tags/advanced-micro-devices.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-agent](<https://devfeed.tech/tags/ai-agent.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [amd](<https://devfeed.tech/tags/amd.md>), [attestation](<https://devfeed.tech/tags/attestation.md>), [blackwell](<https://devfeed.tech/tags/blackwell.md>), [brian-sathianathan](<https://devfeed.tech/tags/brian-sathianathan.md>), [cache](<https://devfeed.tech/tags/cache.md>), [computing](<https://devfeed.tech/tags/computing.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [confidential-computing](<https://devfeed.tech/tags/confidential-computing.md>), [context-window](<https://devfeed.tech/tags/context-window.md>), [costs](<https://devfeed.tech/tags/costs.md>), [generate](<https://devfeed.tech/tags/generate.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [gpus](<https://devfeed.tech/tags/gpus.md>), [hardware-attestation](<https://devfeed.tech/tags/hardware-attestation.md>), [inference](<https://devfeed.tech/tags/inference.md>), [inference-engine](<https://devfeed.tech/tags/inference-engine.md>), [intel](<https://devfeed.tech/tags/intel.md>), [iterate-ai](<https://devfeed.tech/tags/iterate-ai.md>), [iterate-studio](<https://devfeed.tech/tags/iterate-studio.md>), [jon-nordmark](<https://devfeed.tech/tags/jon-nordmark.md>), [key-value-cache](<https://devfeed.tech/tags/key-value-cache.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [lifeboat](<https://devfeed.tech/tags/lifeboat.md>), [mixture-of-experts](<https://devfeed.tech/tags/mixture-of-experts.md>), [netapp](<https://devfeed.tech/tags/netapp.md>), [netapp-insight](<https://devfeed.tech/tags/netapp-insight.md>), [news](<https://devfeed.tech/tags/news.md>), [nvidia](<https://devfeed.tech/tags/nvidia.md>), [qwen](<https://devfeed.tech/tags/qwen.md>), [the-latest](<https://devfeed.tech/tags/the-latest.md>), [top-story-6](<https://devfeed.tech/tags/top-story-6.md>), [trusted-execution-environment](<https://devfeed.tech/tags/trusted-execution-environment.md>)

### AI overview

Iterate.ai launched Lifeboat, an inference engine for large language models designed to increase the number of concurrent AI agent sessions supported per GPU. The company attributes the gains to scheduling and admission controls, key-value cache optimizations, and selective loading of mixture-of-experts components. Its reported tests on one RTX PRO 6000 Blackwell GPU showed 2,048 concurrent sessions, while a memory-pressure test reported a 1.5-second 99th-percentile time to first token. Lifeboat also offers per-session security capsules and a Confidential Computing edition with hardware attestation; the article describes license tiers and pricing.

### Source excerpt

Enterprise artificial intelligence software company Iterate Studio Inc. today launched Lifeboat, an inference engine for large language models that has confidential computing built in. Iterate.ai says the software fits two to six times as many concurrent AI agent sessions on each graphics processing unit. Lifeboat is seeking to take on a memory problem that agents [...] The post Exclusive: Iterate.ai's Lifeboat runs up to six times more AI agent sessions per GPU appeared first on SiliconANGLE.