Hybrid Orchestration of Edge AI and Microservices via Graph-based Self-Imitation Learning
Organizations: School of Computer Science, South-Central Minzu University, Wuhan, China, 430074, and Key Laboratory of Cyber-Physical Fusion Intelligent Computing, State Ethnic Affairs Commission · Hubei Key Laboratory of Smart Internet Technology, School of Electronic Information and Communication, Huazhong University of Science and Technology, Wuhan, China, 430074 · Centre for Frontier AI Research, Agency for Science, Technology and Research (A*STAR), Singapore
Abstract
Modern edge AI applications increasingly rely on microservice architectures that integrate both AI services and conventional microservices into complex request chains with stringent latency requirements. Effectively orchestrating these heterogeneous services is crucial for ensuring low-latency performance, yet remains challenging due to their diverse resource demands and strong operational interdependencies under resource-constrained edge environments. In particular, frequent interactions between services tightly couple deployment and routing decisions, yet existing approaches optimize them in isolation, leading to fundamentally inadequate system performance.In this paper, we propose SIL-GPO, a reinforcement learning framework that optimizes hybrid orchestration for edge AI microservice systems. SIL-GPO formulates the orchestration problem as a sequential decision-making task and leverages graph attention networks to encode service topologies and routing dependencies within the agent state representation. Moreover, SIL-GPO integrates a self-imitation learning strategy into proximal policy optimization, enabling the agent to prioritize and reuse high-reward trajectories. This guides policy updates towards globally promising solutions that standard RL often fails to discover under sparse rewards and large combinatorial action spaces. We conduct extensive experiments on trace-driven edge AI workloads, demonstrating that SIL-GPO significantly reduces end-to-end service latency and enhances resource utilization compared to state-of-the-art heuristic, metaheuristic, and deep RL baselines. Our framework offers a unified and scalable solution for efficient orchestration of AI services and microservices in the edge, paving the way for low-latency, high-performance edge AI deployments.
Figures & tables
| Notations | Definitions |
| The edge AI service network | |
| The size of heterogeneous resources owned by server | |
| The bandwidth between server and server | |
| The service instance and the set of service instances | |
| The service request and The set of service requests | |
| The size of heterogeneous resources consumed by service |
| Hyperparameters | Value |
| Learning rate for actor | 0.00005 |
| Learning rate for critic | 0.00001 |
| Discount factor | 0.9 |
| GAE parameter | 0.95 |
| PPO clip parameter | 0.2 |
| The weight for entropy regularization | 0.05 0.1 |
Edge Computing
Edge computing places computation and AI near data sources to reduce latency, bandwidth use, and reliance on centralized clouds.
See all 192 papers