HGCA: Hybrid GPU-CPU Attention for Long Context LLM Inference
Not on the map. Why?
Abstract (arXiv)
Scaling inference for large language models (LLMs) is increasingly constrained by limited GPU memory, especially due to growing key-value (KV) caches required for long-context generation. While existing approaches offload KV caches to CPU memory or apply sparse attention to reduce GPU load, they often underutilize CPU compute resources and compromise accuracy. We present HGCA, a hybrid CPU-GPU attention mechanism that enables scalable, high-throughput LLM inference with near-full attention quality. HGCA performs dense attention on recently generated KV entries retained in GPU memory and parallel sparse attention on selected, salient KV entries in CPU memory. The attention outputs are efficiently merged using log-sum-exp fusion, minimizing PCIe transfer overhead. HGCA also introduces a finegrained, per-head sparsification strategy optimized for CPU execution, preserving contextual relevance while reducing computation. Our implementation seamlessly integrates into existing LLM frameworks without requiring model retraining. Experiments across diverse models and workloads show that HGCA achieves superior scalability, supports longer sequences and larger batch sizes, and outperforms existing sparse attention baselines in both performance and accuracy -- all on commodity GPU hardware.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 34 of its 46 references that are in the map. First posted on arXiv 3 Jul 2025.
Builds on
34 of 46 references.
References · 34
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2019HuggingFace's Transformers: State-of-the-art Natural Language Processingcited by 2,218
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2023Code Llama: Open Foundation Models for Codecited by 2,139
- 2020Reformer: The Efficient Transformercited by 1,668
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,653
22 more
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
- 2024DistServe: Disaggregating Prefill and Decoding for Goodput-optimized Large Language Model Servingcited by 617
- 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 575
- 2019Graph Transformer Networkscited by 523
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 501
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 474
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
- 2024InfiniGen: Efficient Generative Inference of Large Language Models with Dynamic KV Cache Managementcited by 245
- 2024CacheBlend: Fast Large Language Model Serving for RAG with Cached Knowledge Fusioncited by 223
- 2023PowerInfer: Fast Large Language Model Serving with a Consumer-grade GPUcited by 217
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 198
- 2023SARATHI: Efficient LLM Inference by Piggybacking Decodes with Chunked Prefillscited by 193
- 2024Cost-Efficient Large Language Model Serving for Multi-turn Conversations with CachedAttentioncited by 163
- 2025XAttention: Block Sparse Attention with Antidiagonal Scoringcited by 137
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 126
- 2024vAttention: Dynamic Memory Management for Serving LLMs without PagedAttentioncited by 98
- 2024Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Taskscited by 96
- 2019On Extractive and Abstractive Neural Document Summarization with Transformer Language Modelscited by 83
- 2024A Complete Survey on LLM-based AI Chatbotscited by 71
- 2025HybriMoE: Hybrid CPU-GPU Scheduling and Cache Management for Efficient MoE Inferencecited by 16
- 2025HeadInfer: Memory-Efficient LLM Inference by Head-wise Offloadingcited by 9
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026An Efficient Hybrid Sparse Attention with CPU-GPU Parallelism for Long-Context Inferencecited by 3
- 2026ScoutAttention: Efficient KV Cache Offloading via Layer-Ahead CPU Pre-computation for LLM Inferencecited by 1
- 2026ChunkFlow: Communication-Aware Chunked Prefetching for Layerwise Offloading in Distributed Diffusion Transformer Inferencecited by 0
- 2026Communication-Efficient Verifiable Attention for LLM Inferencecited by 0
- 2026Communication-Efficient Verifiable Attention for LLM Inference15 Jun 2026
- 2026ChunkFlow: Communication-Aware Chunked Prefetching for Layerwise Offloading in Distributed Diffusion Transformer Inference11 May 2026
- 2026An Efficient Hybrid Sparse Attention with CPU-GPU Parallelism for Long-Context Inference8 May 2026
- 2026ScoutAttention: Efficient KV Cache Offloading via Layer-Ahead CPU Pre-computation for LLM Inference28 Mar 2026
Similar, not cited
Close in wording, no citation either way
- 2025Breaking the Boundaries of Long-Context LLM Inference: Adaptive KV Management on a Single Commodity GPU
- 2025InfiniteHiP: Extending Language Model Context Up to 3 Million Tokens on a Single GPU
- 2026HybridGen: Efficient LLM Generative Inference via CPU-GPU Hybrid Computing
- 2025MoSKA: Mixture of Shared KV Attention for Efficient Long-Sequence LLM Inference
- 2026PackInfer: Compute- and I/O-Efficient Attention for Batched LLM Inference
- 2025RetroInfer: A Vector Storage Engine for Scalable Long-Context LLM Inference
- 2026Understand and Accelerate Memory Processing Pipeline for Large Language Model Inference
- 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Serving