MEGA Hub

Reliable Microservice Tail Latency Prediction via Decoupled Dual-Stream Learning and Gradient Modulation

Authors

Do you know Wenzhuo Qian?You can claim authorship or link another user.Do you know Hailiang Zhao?You can claim authorship or link another user.Do you know Jiayi Chen?You can claim authorship or link another user.Do you know Ziqi Wang?You can claim authorship or link another user.Do you know Tianlv Chen?You can claim authorship or link another user.Do you know Zhiwei Ling?You can claim authorship or link another user.Do you know Xinkui Zhao?You can claim authorship or link another user.Do you know Kingsum Chow?You can claim authorship or link another user.Do you know Albert Y. Zomaya?You can claim authorship or link another user.Do you know Shuiguang Deng?You can claim authorship or link another user.

Abstract

Microservice architectures enable scalable cloud-native applications; however, the distributed nature of these systems complicates the maintenance of strict Service Level Objectives. Accurately predicting window-level P95 tail latency remains difficult due to the complex interactions between software workload propagation and infrastructure resource limits. Existing predictive models struggle to capture these dynamics because the lack of explicit separation between traffic metrics and resource metrics causes misaligned feature representations. Building on this suboptimal data treatment, the unified architectures of prior approaches fail to isolate cascading service dependencies from localized processing capacity. Due to this entanglement, joint training suffers from an optimization imbalance wherein resource features converge faster and dominate gradient updates, thereby preventing the learning of underlying software topologies. To address these challenges, we propose USRFNet, a dual-stream framework that separates the modeling of demand and capacity. The proposed framework utilizes a Graph Neural Network to model the spatial interactions of traffic workloads across software-level service dependencies, and a gating MLP to independently extract infrastructure-level resource dynamics. The model then integrates these representations through hierarchical tensor fusion. To resolve the training imbalance, we introduce a Reliability-Aware Gradient Modulation strategy that dynamically rescales gradients based on the generalization ratio of each data stream. Experiments on three large-scale real-world benchmarks demonstrate that USRFNet outperforms state-of-the-art methods in prediction accuracy. Specifically, compared to the best-performing baselines, the proposed framework achieves relative MAPE reductions ranging from 15.62% to 26.11% across the evaluated datasets.

Community

00