HAWK: Heterogeneity-Aware KV Cache Transfer for Efficient GPU-NPU Phase-Disaggregated Inference
URL: https://arxiv.org/abs/2610.29873
author: Junhyeok Park, Jungeun Yoon, Kyungmin Kim, Hunsoon Lee, Shinyoung Ahn, Kangho Kim
date: 2026-10-21
source: arxiv / paper
collected: 2026-10-23 (daily-intake-evening)
Summary
LLM 推理两阶段特性相反:prefill 吃算力,decode 受访存约束;GPU 适合 prefill 但 decode 阶段利用率低,NPU 正好相反。把 prefill 放 GPU、decode 放 NPU 的难点在跨设备 KV cache 传输:两边通信机制和 KV 张量布局都不同。HAWK 建 RDMA 直传路径,并在 NPU 侧按目标张量布局预分配 buffer,数据从 GPU 连续 RDMA buffer 直接写进 NPU 目标布局,传完即可消费、无需重排。在商用 GPU+NPU 平台上做到同等 SLO 约束下与纯 GPU 方案差距 7.88% 以内,能效最高 1.26 倍、成本效率最高 1.72 倍。数据中心侧的工作,但 GPU 前向加 NPU 解码的分工在手机 SoC 上同样成立,缺的只是跨处理器低开销传 KV 的机制。
Prefill is compute-bound while decode is memory-bound, so GPUs suit prefill but idle during decode, and NPUs the reverse. HAWK enables GPU-prefill/NPU-decode disaggregation with an RDMA direct path plus tensor-layout-aware buffers pre-allocated on the NPU side, so transferred KV cache is consumed directly without rearrangement. On a system with commercially available GPUs and NPUs it stays within 7.88% of a GPU-only system under the same SLO while achieving up to 1.26x higher power efficiency and 1.72x higher cost efficiency.
Source (fetched)
arXiv:2610.29873 | HAWK: Heterogeneity-Aware KV Cache Transfer for Efficient GPU-NPU Phase-Disaggregated LLM Inference authors: Junhyeok Park, Jungeun Yoon, Kyungmin Kim, Hunsoon Lee, Shinyoung Ahn, Kangho Kim submitted: 2026-10-21 updated: 2026-10-21 categories: cs.AR, cs.DC link: https://arxiv.org/abs/2610.29873 comments: 14 pages, 13 figures, 9 tables
Abstract Large language model (LLM) inference exhibits distinct computational characteristics across its two phases: prefill is compute-intensive, whereas decode is more memory-bound. As a result, AI accelerators achieve varying levels of efficiency across the two phases. GPUs are well suited to prefill, but are often underutilized during decode. By contrast, NPUs can utilize their compute resources more effectively during decode. Motivated by this observation, we explore a heterogeneous architecture that integrates GPUs and NPUs, mapping prefill to GPUs and decode to NPUs to achieve high performance and efficiency. However, realizing such heterogeneous integration is challenging because LLM phase disaggregation requires KV cache transfer from prefill to decode (that is, from GPUs to NPUs), which is complicated by differences in inter-device communication mechanisms and KV cache tensor layouts. To address this, we propose HAWK, a transfer mechanism that enables rapid KV cache transfer across heterogeneous devices. HAWK establishes a remote direct memory access (RDMA) path for direct cross-device transfers while handling inter-device tensor layout discrepancies as part of the transfer process. In particular, HAWK allocates tensor-layout-aware RDMA buffers on the NPU side to match the target tensor layout. Leveraging these buffers, HAWK orchestrates data transfer from a conventional contiguous GPU RDMA buffer to the corresponding NPU buffers, allowing transferred tensors to be consumed directly without additional data rearrangement while maintaining transfer efficiency. We implement and evaluate HAWK on a system built with commercially available GPUs and NPUs, demonstrating performance within 7.88% of a GPU-only system under the same SLO constraints while achieving up to 1.26$\times$ higher power efficiency and 1.72$\times$ higher cost efficiency.
Obsidian evidence excerpt
from OpenClaw定时任务/论文流水线/2026-10-23-论文流水线.md:
5. HAWK:GPU 管前向、NPU 管解码的分离式推理,KV cache 跨设备传输是关键
Junhyeok Park 等 6 人,2026 年 10 月 21 日提交 arXiv(cs.AR、cs.DC),14 页。LLM 推理两个阶段特性相反:prefill 吃算力,decode 受访存约束,GPU 适合 prefill 但 decode 阶段利用率低,NPU 正好相反。把 prefill 放 GPU、decode 放 NPU 的难点在跨设备 KV cache 传输:两边的通信机制和 KV 张量布局都不同。HAWK 建了一条 RDMA 直传路径,并在 NPU 侧按目标张量布局预分配 buffer,数据从 GPU 连续 RDMA buffer 直接写进 NPU 的目标布局,传完即可消费、无需重排。在商用 GPU+NPU 平台上做到同等 SLO 约束下与纯 GPU 方案差距 7.88% 以内,能效最高 1.26 倍、成本效率最高 1.72 倍。这是数据中心侧的工作,但 GPU 前向加 NPU 解码的分工在手机 SoC 上同样成立,缺的只是跨处理器低开销传 KV 的机制。 https://arxiv.org/abs/2610.29873