Reinforcement learning-based QoS/QoE-aware service function chaining in software-driven 5G slices

Xi Chen, Zonghang Li, Yupeng Zhang, Ruiming Long, Hongfang Yu, Xiaojiang Du, Mohsen Guizani

Introduction

The advent of 5G networks introduces "network slicing," a paradigm shift that leverages Software-Defined Networking (SDN) and Network Function Virtualization (NFV) to deliver tailored services. Central to this is Service Function Chaining (SFC), where traffic is steered through a sequence of virtualized network functions (VNFs)—such as firewalls or proxies—hosted on commodity servers rather than dedicated hardware.

However, optimal SFC orchestration remains a significant challenge. Traditional methods often focus solely on Quality of Service (QoS) metrics like bandwidth, ignoring the non-linear relationship between network performance and human Quality of Experience (QoE). Furthermore, real-time telemetry is resource-intensive, and finding the optimal chain configuration is an NP-hard problem, making traditional mathematical programming too slow for dynamic 5G environments.

System Architecture and Problem Formulation

To address these challenges, the authors propose a framework that integrates management and orchestration (MANO) with a Deep Reinforcement Learning (DRL) agent. This system is designed to balance user experience with operational costs in real-time.

The 5G network slicing architecture including the Service Instance Layer, Network Slice Instance Layer, and NFV Infrastructure managed by a Network Slice MANO.

The architecture separates the service logic from the underlying physical infrastructure. The core problem is selecting the right VNF instances to maximize QoE while respecting strict QoS constraints and minimizing operational expenses (OPEX), such as the cost of booting new virtual machines.

Lightweight QoS Collection via LLDP

A key innovation of this work is a "lightweight" telemetry system. Instead of deploying heavy, custom monitoring frameworks, the authors utilize the Link Layer Discovery Protocol (LLDP), which is already used by SDN controllers for topology discovery. By injecting custom Type/Length/Value (TLV) fields into LLDP packets, the system carries real-time QoS metrics—bandwidth, delay, jitter, and packet loss—across the network with minimal overhead.

Custom LLDP packet structure designed to carry QoS metrics including bandwidth, delay, jitter, and packet loss.

This approach abstracts physical switches into aggregated links between VNF servers, simplifying the network model for the orchestration agent and gathering telemetry "for free" without modifying standard southbound interfaces.

DQN-based Orchestration (Q2-SFC)

The orchestration problem is modeled as a Markov Decision Process (MDP) and solved using a Deep Q-Network (DQN). The agent's state includes the current topology and VNF status, while actions involve selecting the next VNF instance to add to the chain.

The agent is trained using a multi-faceted reward function:

  • QoE Gain: Calculated using psychological models like the Weber-Fechner Law (for bandwidth) and the IQX hypothesis (for packet loss), ensuring the agent optimizes for human perception rather than raw stats.
  • QoS Penalty: A large negative reward triggered if the chain violates requested constraints, effectively teaching the agent "safe" boundaries.
  • OPEX Penalty: Discourages unnecessary resource consumption.

By treating QoS constraints as mathematical penalties rather than strict programmatic constraints, the authors bypass the NP-hard complexity of the problem.

Key Results and Performance

The proposed framework was evaluated using Mininet and TensorFlow. Key findings include:

  • Negligible Overhead: The custom LLDP packets increased network overhead by only 0.006% (from 0.015% to 0.021% of total traffic), proving the feasibility of "piggybacked" telemetry.
  • Optimality: The DQN agent achieved QoE levels nearly identical to those found by exhaustive search methods.
  • Massive Speedup: While exhaustive search took over 15 minutes to find an optimal path, the trained DQN agent provided a solution in just 0.004 seconds. This near-instantaneous inference is critical for real-time 5G slice management.

Conclusion

By combining lightweight telemetry with a QoE-aware reinforcement learning agent, this research provides a practical path toward automated, high-performance 5G service orchestration. Future work aims to extend this to hierarchical, multi-slice environments and integrate Mobile Edge Computing (MEC) for end-to-end optimization.

Summary updated

BibTeX
@article{chen2018reinforcement,
  author = {Xi Chen and Zonghang Li and Yupeng Zhang and Ruiming Long and Hongfang Yu and Xiaojiang Du and Mohsen Guizani},
  title = {{Reinforcement learning-based QoS/QoE-aware service function chaining in software-driven 5G slices}},
  journal = {Trans. Emerg. Telecommun. Technol.},
  year = {2018},
  doi = {10.1002/ett.3477},
}
Figure