Latency-Aware Transformer Partitioning for Heterogeneous Edge Inference

Deploying transformer models in heterogeneous edge environments poses significant challenges due to limited memory, varied compute capabilities, and asymmetric inter-node bandwidth. To enable efficient distributed inference, it is necessary to partition the model into segments that can be collaboratively executed across multiple edge nodes. However, previous works predominantly focus on either single-point partitioning or static scheduling strategies, which fall short in capturing the joint impact of segmentation and assignment on end-to-end latency. In this work, we formulate a latency-aware transformer deployment problem that jointly optimizes model segmentation and segment-to-node assignment, explicitly accounting for memory constraints and heterogeneous communication costs. We propose efficient algorithms to explore the solution space, including a latency-aware balanced partitioning heuristic (LaBP) and a dynamic programming-based optimal strategy (DP-MCP). Extensive experiments demonstrate that our approach consistently achieves significantly lower inference latency compared to existing baselines while maintaining feasibility under stringent resource constraints.

Authors

Institutions

Publication Details

Published
2025-09-22
DOI
https://doi.org/10.1109/icnp65844.2025.11192426
Primary Topic
Industrial Vision Systems and Defect Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Latency-Aware Transformer Partitioning for Heterogeneous Edge Inference

Xiaoyao Huang
Industrial Vision Systems and Defect Detection
article

Latency-Aware Transformer Partitioning for Heterogeneous Edge Inference

Xiaoyao Huang
article en

Abstract

Deploying transformer models in heterogeneous edge environments poses significant challenges due to limited memory, varied compute capabilities, and asymmetric inter-node bandwidth. To enable efficient distributed inference, it is necessary to partition the model into segments that can be collaboratively executed across multiple edge nodes. However, previous works predominantly focus on either single-point partitioning or static scheduling strategies, which fall short in capturing the joint impact of segmentation and assignment on end-to-end latency. In this work, we formulate a latency-aware transformer deployment problem that jointly optimizes model segmentation and segment-to-node assignment, explicitly accounting for memory constraints and heterogeneous communication costs. We propose efficient algorithms to explore the solution space, including a latency-aware balanced partitioning heuristic (LaBP) and a dynamic programming-based optimal strategy (DP-MCP). Extensive experiments demonstrate that our approach consistently achieves significantly lower inference latency compared to existing baselines while maintaining feasibility under stringent resource constraints.

China Telecom (China) (CN), China Telecom (CN)
Openalex Percentile: Top 59%
Industrial Vision Systems and Defect Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.