HYPIC: Accelerating Hybrid-Attention LLM Serving with Position-Independent Caching
On the map: Retrieval-augmented generation → Generation and context integration
also in 1 more
Abstract (arXiv)
In retrieval-augmented generation and agentic LLM serving, prompts are assembled from independent segments into long contexts, making the prefill stage dominate per-request cost. Two directions have emerged to reduce this cost: position-independent caching (PIC) admits KV reuse for non-contiguous segments shared across requests, while hybrid-attention models cut computation by replacing most full-attention layers with linear attention. However, they cannot coexist: applying existing PIC methods to hybrid-attention models breaks down because per-token KV-cache reuse primitives do not transfer to the per-request recurrent state. We present Hypic, the first system to accelerate hybrid-attention LLM serving with position-independent caching. For linear-attention layers, we identify the segment-cumulative transition operator as the missing algebraic primitive and cache it alongside each segment's zero-start end-state, enabling near-exact and constant-time composition of independently cached segments. For the remaining full-attention layers, existing PIC methods also fail because linear layers do not expose the per-token hidden states needed for selective recomputation. We show that the largest deviations concentrate at segment beginnings and construct a small seam window that propagates hidden states through the hybrid-attention stack to repair cross-segment attention. Finally, Hypic introduces segment parallelism, which exploits PIC's segment-level self-containment to parallelize cache-miss prefill across instances, turning long cold requests into an accelerable workload. Evaluated across four hybrid-attention models and five workloads, Hypic reduces time-to-first-token by 3.25× on average and improves QPS by 1.66× over Prefix Cache, while preserving task quality with a 1.71-point gap from Full Recompute.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 38 of its 55 references that are in the map. First posted on arXiv 1 Jul 2026.
Builds on
38 of 55 references.
Closest ancestors · 3
Same direction, newest first
- 2025A3: Attention-Aware Accurate KV Cache Fusion for Fast Large Language Model Serving13 Nov
- 2025CacheClip: Accelerating RAG with Effective KV Cache Reuse11 Oct
- 2024TurboRAG: Accelerating Retrieval-Augmented Generation with Precomputed KV Caches for Chunked Text10 Oct
Other references · 35
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,829
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,259
- 2023SGLang: Efficient Execution of Structured Language Model Programscited by 1,107
- 2021MuSiQue: Multihop Questions via Single-hop Question Compositioncited by 893
23 more
- 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 595
- 2023Splitwise: Efficient generative LLM inference using phase splittingcited by 536
- 2019SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarizationcited by 530
- 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Servecited by 507
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
- 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 373
- 2021Efficient Attentions for Long Document Summarizationcited by 342
- 2023Prompt Cache: Modular Attention Reuse for Low-Latency Inferencecited by 255
- 2025MiniMax-M1: Scaling Test-Time Compute Efficiently with Lightning Attentioncited by 248
- 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusioncited by 211
- 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 169
- 2021Sequence Parallelism: Long Sequence Training from System Perspectivecited by 125
- 2024ChunkAttention: Efficient Self-Attention with Prefix-Aware KV Cache and Two-Phase Partitioncited by 81
- 2024Hydragen: High-Throughput LLM Inference with Shared Prefixescited by 71
- 2025KVLink: Accelerating Large Language Models via Efficient KV Cache Reusecited by 60
- 2024LongRAG: A Dual-Perspective Retrieval-Augmented Generation Paradigm for Long-Context Question Answeringcited by 49
- 2025KVShare: An LLM Service System with Efficient and Effective Multi-Tenant KV Cache Reusecited by 22
- 2026KV Packet: Recomputation-Free Context-Independent KV Caching for LLMscited by 10
- 2025Every Attention Matters: An Efficient Hybrid Architecture for Long-Context Reasoningcited by 9
- 2026You Need an Encoder for Native Position-Independent Cachingcited by 6
- 2025Sparse Attention across Multiple-context KV Cachecited by 5
Built on by
Citing papers per year: 2026: 7.
7 papers.
- 2026LinearKV: One Cached State Suffices for Position-Independent Caching in Hybrid LLMscited by 3
- 2026Compute Globally, Materialize Locally: The Memory Contract of Sparse Event-KVcited by 1
- 2026Tail-Replay: Escaping the Curse of Linear Attention in Prefix Caching for Hybrid LLMscited by 1
- 2026RedKnot-MLA: Multi-Head Offline-Online Reuse for DeepSeek-V4 Long-Context Servingcited by 0
- 2026KVShareArena: KV-Cache Reuse Across Contexts and Model Checkpointscited by 0
- 2026Long-Lived Characters, Local Inference: Incremental Memory Maintenance for Game NPCscited by 0
- 2026Just Let Linear States Forget the Distant Past: Prefix Caching via Suffix Replay for Hybrid LLMscited by 0
- 2026Just Let Linear States Forget the Distant Past: Prefix Caching via Suffix Replay for Hybrid LLMs27 Sep 2026
- 2026Long-Lived Characters, Local Inference: Incremental Memory Maintenance for Game NPCs16 Sep 2026
- 2026KVShareArena: KV-Cache Reuse Across Contexts and Model Checkpoints9 Sep 2026
- 2026RedKnot-MLA: Multi-Head Offline-Online Reuse for DeepSeek-V4 Long-Context Serving7 Sep 2026
- 2026Tail-Replay: Escaping the Curse of Linear Attention in Prefix Caching for Hybrid LLMs31 Aug 2026
- 2026LinearKV: One Cached State Suffices for Position-Independent Caching in Hybrid LLMs31 Jul 2026
- 2026Compute Globally, Materialize Locally: The Memory Contract of Sparse Event-KV26 Jul 2026
Similar, not cited
Close in wording, no citation either way
- 2024Marconi: Prefix Caching for the Era of Hybrid LLMs
- 2026HeteroCache: A Dynamic Retrieval Approach to Heterogeneous KV Cache Compression for Long-Context LLM Inference
- 2025CompressKV: Semantic Retrieval Heads Know What Tokens are Not Important Before Generation
- 2024Beyond KV Caching: Shared Attention for Efficient LLMs
- 2025Progressive Sparse Attention: Algorithm and System Co-design for Efficient Attention in LLM Serving
- 2025Task-KV: Task-aware KV Cache Optimization via Semantic Differentiation of Attention Heads
- 2025LLMs Know What to Drop: Self-Attention Guided KV Cache Eviction for Efficient Long-Context Inference
- 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads