paperbot · PL 论文追踪

全部论文 待读 收藏

P2 BlendServe: Optimizing Offline Inference with Resource-Aware Batching

BlendServe:通过资源感知批处理优化离线推理
ASPLOS Proceedings of the 31st ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 22026匹配度 2/10 · 论文研究离线 LLM 推理的吞吐优化与请求调度,属于机器学习系统/服务优化方向,并未涉及静态分析、Agentic 程序分析、LLM 辅助静态分析/形式化验证、浮点程序分析或贝叶斯程序分析等用户核心方向。虽然与 LLM 推理和前缀共享有关,但不在用户研究画像的关键交叉点上。引用 5 inbox
Yilong Zhao, Shuo Yang, Kan Zhu, Lianmin Zheng, Baris Kasikci, Yifan Qiao, Yang Zhou, Jiarong Xing, Ion Stoica
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出 BlendServe,通过请求重排混合计算与访存密集型请求并协调前缀共享,提升离线推理吞吐。

离线批量推理因延迟不敏感而用于模型评估、数据整理等任务,主要目标是最大化吞吐。已有工作只优化单个批次内部吞吐,但应用间资源需求差异大(计算密集型与访存密集型),批间资源不均衡限制了优化空间。本文的洞见是通过请求重排将两类请求混批,以最大化资源重叠;然而该调度会与最大化前缀共享的调度冲突。为此,作者先建立性能模型分析请求资源需求,再设计 BlendServe:利用资源感知前缀树组织请求,并提出双扫描算法获得调度,从而协调资源重叠与前缀共享。在多种模型和工作负载上,BlendServe 可达最优吞吐的 90%。

问题
离线批量推理中延迟约束宽松,最大化吞吐是首要目标;但不同请求的资源需求(计算密集型与访存密集型)差异大,批间资源不均衡限制了优化空间。
方法
先建立性能模型分析请求资源需求,再设计 BlendServe:用资源感知前缀树组织请求,并提出双扫描算法生成调度,以协调资源重叠与前缀共享。
评估
在多种模型和工作负载上进行评估,BlendServe 可达最优吞吐的 90%。
原文摘要(Abstract)

Offline batch inference is gaining popularity as a cost-effective solution for latency-insensitive tasks, such as model evaluation and data curation. As the latency objective is highly relaxed, maximizing throughput is the primary goal in offline inference. Previous studies focused solely on throughput optimization within a batch. However, the diverse resource demands (compute-intensive vs. memory-intensive) across a wide range of applications make these approaches less effective, as imbalanced resource demands between batches restrict optimization opportunities. Our insight is to create batches with mixed compute- and memory-intensive requests through request reordering to maximize resource overlapping. However, such a request schedule can conflict with the schedule that maximizes prefix sharing, a widely-used performance optimization, causing suboptimal inference throughput. In this paper, we first build a performance model to analyze request resource demands. Based on it, we design BlendServe, which harmonizes both resource overlapping and prefix sharing to maximize throughput. BlendServe organizes all requests using a resource-aware prefix tree and proposes a dual scanning algorithm to obtain the request schedule. Our evaluation on various models and workloads shows that BlendServe can achieve up to 90% of the optimal throughput.

链接与引用

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

BibTeX
@inproceedings{Zhao0ZZK00XS26,
  title = {BlendServe: Optimizing Offline Inference with Resource-Aware Batching},
  author = {Yilong Zhao and Shuo Yang and Kan Zhu and Lianmin Zheng and Baris Kasikci and Yifan Qiao and Yang Zhou and Jiarong Xing and Ion Stoica},
  booktitle = {ASPLOS},
  year = {2026},
  doi = {10.1145/3779212.3790133}
}