HeRo: 异构移动SoC上智能体RAG的自适应编排
HeRo: Adaptive Orchestration of Agentic RAG on Heterogeneous Mobile SoC
AI总结:
提出HeRo框架,通过基于性能分析的在线调度器,结合形状感知子阶段划分、关键性加速器映射和带宽感知并发控制,在异构移动SoC上实现低延迟智能体RAG,端到端延迟降低达10.94倍。
摘要:
随着移动设备计算能力的提升,在异构系统级芯片(SoC)上本地部署智能体检索增强生成(RAG)已成为增强基于LLM应用的有前景方式。然而,智能体RAG引入了具有异构模型和动态执行流的多阶段工作流,而移动SoC表现出强加速器亲和性、形状敏感性和共享内存带宽争用,使得朴素调度效率低下。我们提出HeRo,一个面向移动SoC上低延迟智能体RAG的异构感知框架。HeRo为每个子阶段和模型-PU配置构建基于性能分析的模型,捕获延迟、工作负载形状和争用导致的减速,并在轻量级在线调度器中利用这些模型,该调度器结合了形状感知子阶段划分、基于关键性的加速器映射和带宽感知并发控制。在商用移动设备上的实验表明,与现有部署策略相比,HeRo将端到端延迟降低高达10.94倍,实现了实用的设备端智能体RAG。
英文摘要:
With the increasing computational capability of mobile devices, deploying agentic retrieval-augmented generation (RAG) locally on heterogeneous System-on-Chips (SoCs) has become a promising way to enhance LLM-based applications. However, agentic RAG induces multi-stage workflows with heterogeneous models and dynamic execution flow, while mobile SoCs exhibit strong accelerator affinity, shape sensitivity, and shared-memory bandwidth contention, making naive scheduling ineffective. We present HeRo, a heterogeneous-aware framework for low-latency agentic RAG on mobile SoCs. HeRo builds profiling-based performance models for each sub-stage and model-PU configuration, capturing latency, workload shape, and contention-induced slowdown, and leverages them in a lightweight online scheduler that combines shape-aware sub-stage partitioning, criticality-based accelerator mapping, and bandwidth-aware concurrency control. Experiments on commercial mobile devices show that HeRo reduces end-to-end latency by up to $10.94\times$ over existing deployment strategies, enabling practical on-device agentic RAG.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。