Distributed Inference Optimization for Large Language Model in Edge-Cloud Collaborative Networks
With the progressive evolution of large language models (LLMs) and the increasing need of computing for <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathbf{6 G}$</tex>, it becomes crucial for multiple network nodes with limited computing resources to share the need for large model inference. Model partition methods have been proposed to enable computation-intensive artificial intelligence (AI) services by splitting an AI model across multi-edge and cloud nodes. In this paper, a distributed inference optimization framework for transformer decoder-only based LLMs (DIO-LLMs) is proposed in edge-cloud collaborative networks. The partitioning and offloading strategy is determined based on the computing workload and network status. DIO-LLMs specifically accounts for the parallel execution capabilities of the transformer architecture. It employs a two-phase model partitioning strategy, comprising inter-layer and intra-layer partitions, to effectively distribute LLMs across edge and cloud nodes. Additionally, to mitigate inference latency under resource limitations, a Greedy Proximal Policy Optimization (GPPO) based algorithm has been developed to devise optimal strategies. Simulation results indicate that under memory constraints, the proposed algorithm can reduce inference latency more effectively than other baseline algorithms.
Authors
- Da Guo (ORCID: https://orcid.org/0000-0001-9564-2994)
- Zideng Feng
- Lu Lu (ORCID: https://orcid.org/0000-0003-1311-9097)
- Yuhao Chai (ORCID: https://orcid.org/0000-0003-3546-0536)
- Yinglei Teng (ORCID: https://orcid.org/0000-0002-7170-4764)
- Zhenyu Zhang (ORCID: https://orcid.org/0000-0002-5200-3516)
- Qin Li (ORCID: https://orcid.org/0009-0005-0279-3192)
- Yong Zhang (ORCID: https://orcid.org/0000-0003-4997-698X)
Institutions
- Beijing University of Posts and Telecommunications (CN)
- China Mobile (China) (CN)
Publication Details
- Published
- 2025-06-08
- DOI
- https://doi.org/10.1109/icc52391.2025.11160773
- Primary Topic
- Robotics and Automated Systems
- Type
- article
- Field-Weighted Citation Impact
- 0.00