Abstract
In the realm of edge computing, the increasing demand for high Quality of Service (QoS), particularly in dynamic multimedia streaming applications (e.g., Augmented Reality/Virtual Reality and online gaming), has prompted the need for effective solutions. Nevertheless, adopting an edge paradigm grounded in distributed computing has exacerbated the issue of tail latency. Given a limited variety of multimedia services supported by edge servers and the dynamic nature of user requests, employing traditional queuing methods to model tail latency in distributed edge computing is challenging, substantially exacerbating head-of-line (HoL) blocking. In response to this challenge, we have developed a learning-based scheduling method to mitigate the overall tail latency, which adaptively selects appropriate edge servers for execution as incoming distributed tasks vary with unknown size. To optimize the utilization of the edge computing paradigm, we leverage Laplace transform techniques to theoretically derive an upper bound for the response time of edge servers. Subsequently, we integrate this upper bound into reinforcement learning to facilitate tail learning and enable informed decisions for autonomous distributed scheduling. The experiment results demonstrate the efficiency in reducing tail latency compared to existing methods.
Introduction: The Tail Latency Challenge in Edge Computing
Distributed edge computing promises lightning-fast response times by processing data closer to the user. However, it suffers from a "weakest link" problem: the overall latency is dictated by the slowest parallel sub-task. In applications like Augmented Reality (AR), VR, and online gaming, "average" latency is less critical than "tail" latency. If 99% of frames render in 10ms but 1% take 500ms, the user experiences a jarring stutter.
Modern systems often use distributed computation where a single request is split into sub-tasks and sent to multiple edge servers in parallel. This creates a "tail latency amplification" effect: the total wait time is the maximum of all sub-task times. If even one server is congested, the entire request hangs. Traditional scheduling methods struggle with this because user requests are stochastic and the relationship between server load and extreme tail events is non-linear.
Methodology: Tail-Learning via Laplace Transforms
The proposed Tail-Learning approach bridges rigorous queuing theory with flexible Reinforcement Learning (RL). The edge environment is modeled as a tandem network of M/M/1 queues, encompassing the uplink, edge server, and downlink stages.
The core innovation lies in the "Enhanced State" representation. Instead of feeding the RL agent raw data like queue lengths, Laplace transforms and Chernoff bounds are used to derive a theoretical upper bound for the probability of a tail latency event. The RL agent is provided with this upper bound and its first- and second-order derivatives, effectively giving it a "mathematical map" of how scheduling decisions impact extreme delays. To manage complexity, a Leader-Agent architecture is employed, where a central node processes the system state and individual agents for each service type make specific scheduling decisions.
Experimental Evaluation
The method was evaluated using a custom modular emulator written in Rust, simulating distributed video transcoding scenarios. Tail-Learning was benchmarked against Randomized (RA), Greedy (GD), and standard Queue-Learning (QLA) policies.
Key results include:
- Extreme Latency Reduction: At the p99.9 percentile, Tail-Learning achieved delays that were only 60.78% of the next-best benchmarking policy.
- Faster Convergence: The "Enhanced State" version showed significantly more stable rewards and faster convergence compared to vanilla RL, as the agent could leverage the "curvature" of the latency landscape.
- Scalability: The system maintained superior performance even as the number of service types increased, demonstrating robustness in complex environments.
Conclusion and Future Work
Tail-Learning demonstrates that "black-box" RL performs significantly better when primed with domain-specific mathematical features. By incorporating the derivatives of the tail probability bound, the agent learns not just current congestion, but the system's sensitivity to new tasks. Future work will address service prioritization for mission-critical tasks and complex task dependencies where sub-tasks are not independent.
Summary updated