Resource-Efficient Collaborative Edge Transformer Inference With Hybrid Model Parallelism
Transformer-based models have unlocked a plethora of powerful intelligent applications at the edge, such as voice assistant in smart home. Traditional deployment approaches offload the inference workloads to the remote cloud server, which would induce substantial pressure on the backbone network as well as raise users' privacy concerns. To address that, in-situ inference has been recently recognized for edge intelligence, but it still confronts significant challenges stemming from the conflict between intensive workloads and limited on-device computing resources. In this paper, we leverage our observation that many edge environments usually comprise a rich set of accompanying trusted edge devices with idle resources and propose <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Galaxy+</monospace>, a collaborative edge AI system that breaks the resource walls across heterogeneous edge devices for efficient Transformer inference acceleration. <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Galaxy+</monospace> introduces a novel hybrid model parallelism to orchestrate collaborative inference, along with a heterogeneity and memory-aware parallelism planning for fully exploiting the resource potential. To mitigate the impact of tensor synchronizations on inference latency under bandwidth-constrained edge environments, <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Galaxy+</monospace> devises a tile-based fine-grained overlapping of communication and computation. Furthermore, a fault-tolerant re-scheduling mechanism is developed to address device-level resource dynamics, ensuring stable and low-latency inference. Extensive evaluation based on prototype implementation demonstrates that <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Galaxy+</monospace> remarkably outperforms state-of-the-art approaches under various edge environment setups, achieving a <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$1.2\times$</tex-math></inline-formula> to <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">$4.24\times$</tex-math></inline-formula> end-to-end latency reduction. Besides, <monospace xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">Galaxy+</monospace> can adapt to device-level resource dynamics, swiftly rescheduling and restoring inference in the presence of unexpected straggler devices.
Authors
- Wenzhong Ou
- Jiangsu Du (ORCID: https://orcid.org/0000-0003-4707-9492)
- Deke Guo (ORCID: https://orcid.org/0000-0003-4894-5540)
- Liekang Zeng (ORCID: https://orcid.org/0000-0003-4800-8768)
- Shengyuan Ye
- Xu Chen (ORCID: https://orcid.org/0000-0002-3070-9358)
- Xiaowen Chu (ORCID: https://orcid.org/0000-0001-9745-4372)
- Yutong Lu (ORCID: https://orcid.org/0000-0001-5315-3375)
- Bei Ouyang
- Tianyi Qian
Institutions
- Sun Yat-sen University (CN)
- National University of Defense Technology (CN)
- Chinese University of Hong Kong (HK)
- Hong Kong University of Science and Technology (HK)
- University of Hong Kong (HK)
Publication Details
- Journal
- IEEE Transactions on Mobile Computing
- Published
- 2025-05-29
- DOI
- https://doi.org/10.1109/tmc.2025.3574695
- Primary Topic
- Advanced Data Compression Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00