Tech Studies

91,965 research papers, searchable by meaning as well as exact wording. So “steering vectors” also surfaces work on “activation steering.”

Papers
91,965
Semantically indexed
91,965
Subject areas
145
Authors
199,823
Newest paper
25 Nov

117 results for “Cache”

Matched on wording only, meaning-matching is unavailable right now

101

RidgeFill: Training-Free Late-Layer Cache Fill for Faster Prefill

6 Nov · Dylan Johnston, Robert P. Smith · arXiv:2611.09709

RidgeFill shortens prefill by not computing most of a model's upper layers for the prompt. The lower layers run exactly up to a split; from the split layer's state a per-layer map predicts every later layer's input, and each late layer writes its cache from that prediction. The design follows YOCO and DeepSeek-V4.1-Flash, where the projection is trained into the model. RidgeFill retrofits it onto models that were…

Code and data: https://github.com/Approximate-Science/ridgefill-data Machine learning Language & NLP Matched by wording
102

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

5 Nov · Jiacheng Cai, Tao Zhang, Siqi Liang +2 · arXiv:2611.08133

Production deployments often use different models to balance cost and quality through cascading, routing, and switching models during long conversations. Context accumulates across turns. Each switch requires the target to repeat prefill over this context. Existing methods transfer full-attention (FA) K/V caches across models. Hybrid linear-attention models also retain recurrent states (REC) and convolution…

Language & NLP Matched by wording
103

How Small Can We Go? Calibrating Activation-Cache Compression for SAE Training

5 Nov · Abraham Yeung · arXiv:2611.08551

To train a sparse autoencoder (SAE), you need a massive cache of model activations. We look into the effects that compression has on an SAE in two ways: we keep the original fp32-trained SAE and pass the compressed cache into the same SAE to see how many feature activations stay the same (the frozen-SAE test), and we retrain an SAE on the compressed cache and see how many of the original features still exist (the…

Accepted at the NeurIPS 2026 Workshop on Interpretability as a Science (InterpScience), non-archival Machine learning Language & NLP Matched by wording
104

The Gating Mechanism of KV Cache Eviction

5 Nov · Hao Gu, Xintong Yang, Zhiwei Li +9 · arXiv:2611.07605

KV cache eviction must decide which entries carry information that the rest of the cache can no longer supply. A natural way to estimate this is a learnable gate: give each cached entry a gate on its attention weight and train the gate on the model's own objective. The gate belongs inside the normalizing softmax, where suppressing one entry hands its mass to the others rather than discarding it. That same normalizer…

https://github.com/Chooovy/IndexMem Language & NLP Matched by wording
105

Where Should a KV-Cache Repair Budget Go? Distractor Structure and Contextual Compatibility in Non-Prefix Reuse

4 Nov · Yuxing Peng, Zhiqing Tang, Weijia Jia · arXiv:2611.06397

Non-prefix KV-cache reuse encodes retrieved chunks independently and concatenates their caches. To find where a small repair budget should be spent, we vary the chunks around the answer-bearing one (the target) across three 7B-8B models and four datasets of dialogue memory, open-domain QA and API documentation. Reuse loses 19-100% of the context-dependent questions that full prefill answers, and it loses more when…

Language & NLP Matched by wording
106

LowRAM: Low-Rank Keys and Amortised Values for Composable KV Cache Compression at Test-Time

4 Nov · Teresa Delgado, Hugo Hazard, Martin Benfeghoul +2 · arXiv:2611.07025

Autoregressive decoding relies on the KV cache, whose memory footprint grows linearly with context length and caps batch size and throughput. Existing post-training methods exploit redundancy across tokens, layers, and feature dimensions, or lower numerical precision. We identify a complementary axis: within each attention head, values are largely predictable from their corresponding keys. We exploit this with value…

107

LoopKV: Loop-Aware KV Cache Compression for Serving Looped Transformers

3 Nov · Tianle Zhou, Yang Zhang, Tianyu Wu +3 · arXiv:2611.04137

Looped transformers apply a shared block several times per token to improve accuracy without adding parameters. For models such as Ouro that keep a separate key-value (KV) cache per loop, cache memory limits the batch size that amortizes repeated weight reads. Uniform-bit quantization and fixed rules per loop do not allocate precision according to each layer's sensitivity in each loop. Measurements on Ouro show that…

108

Multi-Turn Semantic Caching for Low-Cost LLM Serving

31 Oct · Baran Atalar, Selly Beyene, Xutong Liu +1 · arXiv:2611.01077

Semantic caching lowers the cost of serving large language models (LLMs) by reusing stored responses for similar requests. In multi-turn conversations, whether a cached response is acceptable depends on both conversations' histories, which embedding similarity of requests and histories predicts poorly (AUC 0.62--0.74 on five workloads). We therefore learn the \emph{reuse risk}, the probability that a cached response…

109

KV-Cache Patching: Tracing How and Where Fine-Tuned Behaviors Arise

30 Oct · Jonas Loos, Oliver Eberle · arXiv:2610.41480

Fine-tuning a language model changes how it responds, but where is this fine-tuned behavior instantiated? To better understand this, we evaluate whether the change in model behavior arises only during the generation of the answer tokens where the change manifests, or whether altered processing of previous tokens causes it via the attention mechanism. For this, we patch the KV cache from a LoRA fine-tuned model into…

Interpretability as a Science Workshop at NeurIPS 2026. Project page: https://jonasloos.github.io/kv-patching Language & NLP Machine learning Matched by wording
110

KV Cache Quantization for Diffusion Language Models

29 Oct · Yan Tai, Yunan Ding, Guangzhao Li +5 · arXiv:2610.39853

KV cache quantization is well studied for autoregressive language models, where cached prefix states are exact under causal attention and quantization is mainly a cache reconstruction problem. Diffusion language models (dLLMs) break this assumption. Fast dLLM inference reuses KV states across denoising steps, but bidirectional token representations can change as masked tokens are revealed, so the reused cache may…

Language & NLP Matched by wording
111

NoHairCache: Calibrate-Once KV Cache Eviction with One Power-Law Exponent

21 Nov · Shuyang Xiang · arXiv:2611.29006

The decay exponent $α$ in KV-cache eviction is an intrinsic property of the model: calibrated once on a single corpus, it transfers directly across domains. Attention-based accumulation (H2O) and recency-based sliding windows (StreamingLLM) are two dominant eviction frameworks, often treated as unrelated, but we show that they are the two endpoints of a single power-law family: by scoring each token as $s_i = A_i…

112

Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference

16 Jul · Yuan Feng, Junlin Lv, Yukun Cao +2 · arXiv:2407.11550

Large Language Models have excelled in various domains but face efficiency challenges due to the growing Key-Value (KV) cache required for long-sequence inference. Recent efforts aim to reduce KV cache size by evicting vast non-critical cache elements during runtime while preserving generation quality. However, these methods typically allocate compression budgets uniformly across all attention heads, ignoring the…

NeurIPS 2025 Language & NLP Artificial intelligence Matched by wording
113

Specialized Large Language Models for Markovian Reasoning: Structural Cache Compression, Transition Pretraining, and Dual-Loop Transformers

20 Nov · Haibin Tong, Liangliang Xin, Yamei Zhu +1 · arXiv:2611.28285

Standard autoregressive large language models attend to the growing history of generated tokens, making the key-value (KV) cache a central memory and throughput bottleneck in long-chain reasoning and multi-branch sampling. Yet an important class of reasoning problems is naturally first-order Markovian: the next step depends on a sufficient representation of the current state, rather than on the raw sequence of all…

114

Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoning

25 Oct · Yu Fu, Zefan Cai, Abedelkadir Asi +3 · arXiv:2410.19258

Key-Value (KV) caching is a common technique to enhance the computational efficiency of Large Language Models (LLMs), but its memory overhead grows rapidly with input length. Prior work has shown that not all tokens are equally important for text generation, proposing layer-level KV cache compression to selectively retain key information. Recognizing the distinct roles of attention heads in generation, we propose…

Accepted to ICLR2025 Language & NLP Artificial intelligence Matched by wording
115

DroidSpeak: KV Cache Sharing for Cross-LLM Communication and Multi-LLM Serving

5 Nov · Yuhan Liu, Yuyang Huang, Jiayi Yao +9 · arXiv:2411.02820

Compound AI systems, such as agentic systems, are an emerging trend in large-scale enterprise settings, with multiple LLMs specialized for different users, tasks, and/or roles working together. In these scenarios, different models often process inputs that share the same context prefix. Although much work was done in the past to enable the reuse of prefix KV caches across inputs for a single model, how to enable one…

116

TokenSelect: Efficient Long-Context Inference and Length Extrapolation for LLMs via Dynamic Token-Level KV Cache Selection

5 Nov · Wei Wu, Zhuoshi Pan, Chao Wang +6 · arXiv:2411.02886

Rapid advances in Large Language Models (LLMs) have spurred demand for processing extended context sequences in contemporary applications. However, this progress faces two challenges: performance degradation due to sequence lengths out-of-distribution, and excessively long inference times caused by the quadratic computational complexity of attention. These issues limit LLMs in long-context scenarios. In this paper,…

117

End-to-End Long Document Summarization using Gradient Caching

3 Jan · Rohit Saxena, Hao Tang, Frank Keller · arXiv:2501.01805

Training transformer-based encoder-decoder models for long document summarization poses a significant challenge due to the quadratic memory consumption during training. Several approaches have been proposed to extend the input length at test time, but training with these approaches is still difficult, requiring truncation of input documents and causing a mismatch between training and test conditions. In this work,…

Accepted to Transactions of the Association for Computational Linguistics (TACL 2025); Pre MIT Press version Language & NLP Artificial intelligence Matched by wording