paperbot · PL 论文追踪

全部论文 待读 收藏

P2 STI: Turbocharge NLP Inference at the Edge via Elastic Pipelining

STI:通过弹性流水线加速边缘端 NLP 推理
ASPLOS Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 22023匹配度 2/10 · 论文关注移动端NLP推理的运行时与内存优化,属于ML系统/边缘推理方向,但并未涉及静态分析、Agentic程序、浮点程序分析或贝叶斯程序分析等用户核心研究问题。其PL标签更偏运行时系统而非程序语言分析,因此与用户研究画像交集很小。引用 23 inbox
Liwei Guo, Wonkyo Choe, Felix Xiaozhu Lin
crossref: 2026-09-12

AI 速览

一句话:提出弹性流水线技术,在移动端 NLP 推理中同时缓解模型加载 IO 与内存占用带来的延迟瓶颈。

移动应用越来越多采用端侧 NLP 推理以保护隐私并避免网络往返,但 NLP 模型规模空前,同时压迫延迟和内存。将整个模型常驻内存可尽早启动执行,却使单应用内存占用增加数倍,限制可服务推理次数;按需从存储加载又引入数秒 IO,远超用户可接受延迟;逐层流水线加载与计算也因 IO 与计算延迟高度偏斜而无法隐藏 IO。为此,作者提出 STI,通过弹性流水线(elastic pipelining)协调模型加载与执行,以缓解移动端延迟与内存之间的资源张力。摘要未报告具体评估结果。

问题
在移动端进行 NLP 推理时,如何在满足目标延迟的同时控制大模型内存占用:整模型驻留内存会导致内存膨胀,按需加载会带来数秒 IO,逐层流水线加载与执行又无法隐藏 IO。
方法
提出 STI,采用弹性流水线(elastic pipelining)协调模型加载与执行,以应对 IO 与计算延迟偏斜导致的流水线隐藏 IO 困难。
评估
摘要未给出具体评估设置与结果;从问题背景看,评估应关注移动端 NLP 推理的延迟、内存占用及二者权衡。
原文摘要(Abstract)

Natural Language Processing (NLP) inference is seeing increasing adoption by mobile applications, where on-device inference is desirable for crucially preserving user data privacy and avoiding network roundtrips. Yet, the unprecedented size of an NLP model stresses both latency and memory, creating a tension between the two key resources of a mobile device. To meet a target latency, holding the whole model in memory launches execution as soon as possible but increases one app’s memory footprints by several times, limiting its benefits to only a few inferences before being recycled by mobile memory management. On the other hand, loading the model from storage on demand incurs IO as long as a few seconds, far exceeding the delay range satisfying to a user; pipelining layerwise model loading and execution does not hide IO either, due to the high skewness between IO and computation delays.

链接与引用

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

BibTeX
@inproceedings{paperbot10019,
  title = {STI: Turbocharge NLP Inference at the Edge via Elastic Pipelining},
  author = {Liwei Guo and Wonkyo Choe and Felix Xiaozhu Lin},
  booktitle = {ASPLOS},
  year = {2023},
  doi = {10.1145/3575693.3575698}
}