arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.22137cs.DC
收藏

HybridFlow: 适应资源的子任务路由用于高效的边缘-云LLM推理

HybridFlow: Resource-Adaptive Subtask Routing for Efficient Edge-Cloud LLM Inference

The Hong Kong Polytechnic University(香港理工大学);Zhejiang University(浙江大学)

Jiangwen Dong, Jiayu Li, Tianhang Zheng, Wanyu Lin

AI总结:

HybridFlow通过动态资源适应的子任务路由框架,提升边缘-云LLM推理的效率与准确性。

摘要:

边缘-云协同推理已成为LLM边缘设备的实用必需品:设备上的模型往往无法承担所需的推理能力,而仅靠云端推理在严格的延迟和token/API预算下可能成本高昂且缓慢。然而,现有的边缘-云协作方法通常基于估计难度简单地按查询或固定步骤进行路由。这种粗略且静态的启发式方法忽略了子任务依赖性,错失了并行执行和预算适应路由的机会。为此,我们提出了HybridFlow,一个适应资源的边缘-云推理框架,该框架(i)为每个查询构建一个依赖感知的DAG,并并行执行新解锁的子任务,从而减少端到端延迟;(ii)通过一个学习的收益-成本效用模型在线路由每个子任务到边缘或云,动态地在准确性提升与token/API和延迟预算之间进行权衡,从而减少不必要的云使用同时保持推理质量。在GPQA、MMLU-Pro、AIME24和LiveBench-Reasoning上,HybridFlow改进了成本-准确性权衡,减少了延迟和云API使用,同时在强大的结构化推理基线中保持了竞争力。

英文摘要:

Edge-cloud collaborative inference is becoming a practical necessity for LLM-powered edge devices: on-device models often cannot afford the required reasoning capability, while cloud-only inference could be prohibitively costly and slow under strict latency and token/API budgets. However, existing edge-cloud collaboration methods often route per query or fixed steps simply based-on the estimated difficulty. Such coarse and static heuristics overlook subtask dependencies, missing opportunities for parallel execution and budget-adaptive routing. To this end, we propose \textbf{HybridFlow}, a resource-adaptive edge-cloud inference framework that (i) builds a dependency-aware DAG for each query and executes newly unlocked subtasks in parallel, reducing end-to-end latency; (ii) routes each subtask online to the edge or cloud via a learned benefit--cost utility model that dynamically trades accuracy gains against token/API and latency budgets, thereby reducing unnecessary cloud usage while preserving reasoning quality. Across GPQA, MMLU-Pro, AIME24, and LiveBench-Reasoning, HybridFlow improves the cost-accuracy trade-off, reducing latency and cloud API usage while maintaining competitive accuracy against strong structured reasoning baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑