arXiv:2606.03770cs.DCcs.AI2026-06

将大模型分组复制并分工处理输入输出,提升边缘环境部署效率

E2LLM: Towards Efficient LLM Serving in Heterogeneous Edge/Fog Environments

论文配图:E2LLM: Towards Efficient LLM Serving in Heterogeneous Edge/Fog Environments
图 1 · 摘自论文原文
  • 模型分组复制+分阶段分工,输入用PREFILL组,输出用DECODER组
  • 动态规划优化分块策略,遗传算法聚类设备,降低50%以上等待时间
  • 适合资源受限的边缘/雾计算场景,尤其应对输入输出长度波动大的任务

大型语言模型(LLMs)已成为现代应用的核心,但其部署仍面临挑战。除模型执行外,实际部署还需兼顾成本效益、低延迟和资源利用率。传统方法通常假设整个模型可部署于单一设备,这在边缘与雾计算环境中难以实现,因设备资源有限。本文提出E2LLM框架,旨在实现资源受限环境下的高效LLM部署。不同于简单地将单个模型跨所有设备分割,E2LLM将完整模型复制到多个设备组(副本)中,并在每个副本内应用模型并行。每个副本根据处理输入和输出令牌的效率,被分配专用角色:PREFILL或DECODER。这种分离利用了推理过程中两阶段的本质差异。为有效组织设备,采用遗传算法构建集群以最大化系统性能;在每个集群内,使用动态规划确定最优分割策略,最小化模型并行执行中的瓶颈。实验结果表明,该方法能稳健适应不同工作负载,包括输入与输出令牌长度显著变化的情况。相比Splitwise基线,在高需求条件下,E2LLM平均等待时间减少超过50%。

原文摘要 · Abstract (English)

Large Language Models (LLMs) have become integral to modern applications, yet their deployment remains challenging. Beyond executing the models themselves, practical deployment must address cost efficiency, low latency, and optimal resource utilization. Conventional approaches typically assume that an entire model can be hosted on a single device, which does not hold in many real-world scenarios, particularly in Edge and Fog environments where device resources are constrained. In this paper, we introduce E2LLM, a framework designed to enable efficient LLM deployment in such resource limited settings. Rather than simply partitioning a single model across all available devices, E2LLM replicates the full model across multiple groups of devices (replicas) and applies model parallelism within each replica. Each replica is assigned a specialized role PREFILL or DECODER based on its efficiency in handling input and output tokens. This separation leverages the inherent differences between these two phases of LLM inference. To effectively organize devices, we utilize a Genetic Algorithm to form clusters that maximize system performance. Within each cluster, we apply Dynamic Programming to determine an optimal partitioning strategy that minimizes bottlenecks in model-parallel execution. Experimental results demonstrate that our approach adapts robustly to varying workloads, including scenarios with significant variation in input and output token lengths. Compared to the Splitwise baseline, E2LLM reduces average waiting time by over 50% under high-demand conditions

边缘计算大模型部署模型并行资源优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。