PhaseGate: Phase-Aware CPU Retrieval Scheduling for On-Device LLMs on Unified Memory
- ID: fdf16616
- 原文链接: https://arxiv.org/abs/2610.04537
- 作者 / 日期: Seoyoon Yum, Sehoon Kim | 2026-10-03
- 分类: infra
- 来源类型: paper
- 标签: on-device-llm, unified-memory, retrieval-scheduling, decode-latency, phase-awareness
- 质量评分: 4/5
- 抓取时间: 2026-10-21T15:51:49.496237+00:00
中文导读
统一内存设备上 GPU 跑 LLM 推理、CPU 跑本地检索时,4 个并发检索 worker 会把 p95 decode 延迟推高 60-61%(两台 M4 系统),prefill 只涨 5.7-6.9%。PhaseGate 把 LLM 推理相位当作 CPU 检索的准入信号,给 prefill 与 decode 分别校准检索并发上限(基础 M4 配置为 4 和 1),积压队列下聚合检索吞吐达到最好固定策略的 2.0 倍,同时 7 次 held-out 运行的 p95 LLM 延迟全部压在无检索基线的 1.25 倍以内;不观察相位的对照策略吞吐相近,但每次都超出输出 token 延迟线。M2 与 M2 Pro 上策略排序一致。已获 NeurIPS 2026 On-Device Intelligence workshop 接收。
为什么值得关注
端侧 LLM 的检索调度从静态配额换成相位准入:decode 相位对带宽最敏感这一测量,直接适用于 Android 统一内存设备的 NPU/CPU 争抢场景。
关键信息
- 4 并发检索 worker:p95 decode +60-61%,prefill 仅 +5.7-6.9%
- PhaseGate 上限:基础 M4 配置 prefill 4 / decode 1
- 聚合检索吞吐达最好固定策略 2.0 倍;p95 LLM 延迟 ≤ 基线 1.25 倍
- M2/M2 Pro 策略排序一致;NeurIPS 2026 On-Device workshop
- arXiv 2610.04537,cs.LG/cs.DC/cs.PF,2026-10-03 提交
English Summary
On unified-memory devices running GPU LLM inference alongside CPU retrieval, four concurrent retrieval workers raise p95 decode latency by 60-61% while prefill rises only 5.7-6.9%. PhaseGate uses LLM inference phase as an admission signal for CPU retrieval, calibrating concurrency caps per phase (4 for prefill, 1 for decode on the base M4): backlog-drained aggregate retrieval throughput reaches 2.0x the best fixed policy while p95 LLM latency stays within 1.25x of the no-retrieval baseline across 7 held-out runs; phase-blind controls match throughput but violate output-token latency every time. Policy ordering is consistent on M2 and M2 Pro. Accepted at the NeurIPS 2026 On-Device Intelligence workshop.
Obsidian Notes
- Vault 摘要源:论文流水线 2026-10-21「Android/Agent 相关性」节;arXiv 元数据经 opencli arxiv paper 2610.04537 核对。
- 本页由 daily-intake-evening 任务于 2026-10-21T15:51:49.496237+00:00 生成,摘要锚定上述 vault 摘要源与已核对元数据,未添加来源之外的事实。