paperbot · PL 论文追踪

全部论文 待读 收藏

P2 A Cost-Effective Near-Storage Processing Solution for Offline Inference of Long-Context LLMs

面向长上下文 LLM 离线推理的高性价比近存储处理方案
ASPLOS Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 22026匹配度 2/10 · 论文聚焦长上下文 LLM 离线推理的近存储硬件加速与 KV cache I/O 优化,属于机器学习系统/体系结构方向;但未涉及静态分析、Agentic 程序分析、浮点程序分析或贝叶斯程序分析,也未将 LLM/Agent 作为改进程序分析的工具,与用户核心研究方向仅有边缘关联。引用 4 inbox
Hongsun Jang, Jaeyong Song, Changmin Shin, Si Ung Noh, Jaewon Jung, Jisung Park, Jinho Lee
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出 HILOS 框架,将注意力计算卸载到近存储加速器,大幅提升长上下文 LLM 离线推理吞吐并降低能耗。

大语言模型生成式推理对计算与内存的需求给实际部署带来巨大挑战,基于卸载的批量推理通过将主机内存与存储纳入 GPU 内存层级来支持离线场景,但 KV cache 随批量大小与上下文长度增长,导致严重的 I/O 开销。本文提出 HILOS 框架,利用近存储处理(near-storage processing, NSP)提升离线推理吞吐。其核心是 attention near storage,将访存密集的注意力操作卸载到近存储加速器,减少系统互连上的数据传输。在此基础上,HILOS 引入三项优化:协同 X-cache 在卸载后利用主机空闲资源降低 KV cache 的 I/O;延迟 KV cache 回写隐藏存储写延迟并缓解写放大;内存高效的注意力加速器在 NSP 设备资源约束下维持长序列的高吞吐。作者在配备 16 块 SmartSSD 的真实系统上实现并评估,相比最先进的卸载式推理框架,吞吐最高提升 7.86 倍,能耗最多降低 85%。

问题
离线批量 LLM 推理采用卸载方案时,KV cache 随批量与上下文长度增长导致大量 I/O 开销,成为吞吐瓶颈。
方法
提出 HILOS,将注意力运算卸载到近存储加速器,并配合协同 X-cache、延迟 KV cache 回写与内存高效注意力加速器三项优化。
评估
在配备 16 块 SmartSSD 的真实系统上实现并评测,与最先进卸载式推理框架相比吞吐最高提升 7.86 倍、能耗最多降低 85%。
原文摘要(Abstract)

The computational and memory demands of large language models for generative inference present significant challenges for practical deployment. One promising solution targeting offline inference is offloading-based batched inference, which extends the GPU's memory hierarchy with host memory and storage. However, it often suffers from substantial I/O overhead, primarily due to the large KV cache sizes that scale with batch size and context window length. In this paper, we introduce HILOS, a framework that boosts offline inference throughput using near-storage processing. The core of HILOS is attention near storage, which offloads memory-intensive attention operations to near-storage accelerators, reducing traffic across the system interconnect. Building on attention near storage, HILOS incorporates three additional optimizations. First, cooperative X-cache minimizes KV cache I/O by exploiting available host resources after offloading. Second, delayed KV cache writeback hides storage write latency and mitigates storage write amplification. Finally, a memory-efficient attention accelerator sustains high throughput for long sequences within the resource constraints of NSP devices. We implemented and evaluated HILOS on a real system equipped with 16 SmartSSDs. Compared to state-of-the-art offloading-based inference frameworks, HILOS achieves up to 7.86x throughput while reducing energy consumption by up to 85%. The source code for HILOS is available at https://github.com/hongsunjang/HILOS.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{JangSSN00026,
  title = {A Cost-Effective Near-Storage Processing Solution for Offline Inference of Long-Context LLMs},
  author = {Hongsun Jang and Jaeyong Song and Changmin Shin and Si Ung Noh and Jaewon Jung and Jisung Park and Jinho Lee},
  booktitle = {ASPLOS},
  year = {2026},
  doi = {10.1145/3779212.3790119}
}