[Paper Review] A Reinforcement Learning Formulation of the Lyapunov Optimization: Application to Edge Computing Systems with Queue Stability
This paper proposes a deep reinforcement learning (DRL) formulation of Lyapunov optimization for edge computing systems, enabling time-average penalty minimization under queue stability constraints. By designing a structured Markov decision process (MDP) with a reward function derived from the Lyapunov drift condition, the method avoids per-time-step optimization and successfully handles non-convex and discontinuous penalty functions, outperforming traditional DPP algorithms in complex scenarios.
In this paper, a deep reinforcement learning (DRL)-based approach to the Lyapunov optimization is considered to minimize the time-average penalty while maintaining queue stability. A proper construction of state and action spaces is provided to form a proper Markov decision process (MDP) for the Lyapunov optimization. A condition for the reward function of reinforcement learning (RL) for queue stability is derived. Based on the analysis and practical RL with reward discounting, a class of reward functions is proposed for the DRL-based approach to the Lyapunov optimization. The proposed DRL-based approach to the Lyapunov optimization does not required complicated optimization at each time step and operates with general non-convex and discontinuous penalty functions. Hence, it provides an alternative to the conventional drift-plus-penalty (DPP) algorithm for the Lyapunov optimization. The proposed DRL-based approach is applied to resource allocation in edge computing systems with queue stability and numerical results demonstrate its successful operation.
Motivation & Objective
- To address the computational burden of the conventional drift-plus-penalty (DPP) algorithm, which requires solving complex optimization problems at each time step.
- To enable reinforcement learning (RL) to enforce queue stability while minimizing time-average penalty, a challenge due to RL's reward-maximization objective conflicting with stability constraints.
- To design a proper MDP formulation with structured state and action spaces that support stable and efficient DRL training for Lyapunov optimization.
- To develop a reward function class that guarantees queue stability while minimizing penalty, compatible with practical discounted RL algorithms like SAC.
- To demonstrate the approach on edge computing resource allocation with realistic, non-convex, and discontinuous penalty functions where DPP fails.
Proposed method
- Constructs a Markov decision process (MDP) with state space including queue lengths and task arrival statistics, and action space for task offloading and computation allocation.
- Derives a reward function based on the Lyapunov drift-plus-penalty condition, ensuring that maximizing expected cumulative reward enforces queue stability.
- Adapts the reward function into a one-step difference form suitable for discounted RL, enabling use with algorithms like Soft Actor-Critic (SAC).
- Employs the Soft Actor-Critic (SAC) algorithm for training a DRL policy that jointly minimizes penalty and maintains queue stability.
- Validates the method on edge computing systems with multiple application types, using realistic task arrival models and discontinuous penalty functions.
- Uses a simulation environment to compare DRL performance against DPP, especially under non-convex and discontinuous cost functions.
Experimental results
Research questions
- RQ1Can a DRL-based approach replace the computationally heavy DPP algorithm in Lyapunov optimization while maintaining queue stability?
- RQ2How can the queue stability constraint be encoded into the RL reward function to ensure long-term stability through policy learning?
- RQ3Can the proposed DRL formulation handle non-convex and discontinuous penalty functions where traditional DPP optimization fails?
- RQ4How does the DRL approach scale in terms of learning and performance when action space dimension increases?
- RQ5Does the DRL-based policy achieve a favorable trade-off between time-average penalty and queue length, comparable to theoretical bounds?
Key findings
- The DRL-SAC agent successfully learned a policy that minimizes time-average penalty while maintaining queue stability across all tested scenarios, including those with discontinuous penalty functions.
- For a discontinuous penalty function based on CPU core allocation, the DPP algorithm failed due to non-differentiability, but the DRL approach succeeded, demonstrating robustness to non-convexity.
- In the high-dimensional case with N=8 applications, the DRL approach maintained stable learning and effective queue control, with queue length remaining bounded over time.
- The DRL-SAC agent achieved a trade-off between average penalty and average queue length that aligned with theoretical expectations, with V=100 yielding low penalty and stable queues.
- Learning curves showed convergence within 500k steps, and execution-phase results confirmed consistent performance across multiple episodes.
- The proposed reward function design successfully encoded the Lyapunov stability condition into the RL objective, enabling stable training without explicit constraint enforcement.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.