Usage of Network Simulators in Machine-Learning-Assisted 5G/6G Networks

Francesc Wilhelmi, Marc Carrascosa, Cristina Cano, Anders Jonsson, Vishnu Ram, Boris Bellalta

TL;DR

This paper proposes integrating network simulators as a safe "sandbox" environment within machine learning (ML)-aware 5G/6G architectures to train, test, and validate ML models before deploying them to live production networks. By doing so, network operators can mitigate the risks of performance degradation and Service Level Agreement (SLA) violations typically caused by the unpredictable exploration phases of online learning algorithms. The authors validate this approach with a real-world residential Wi-Fi testbed, demonstrating significant throughput gains without risking live network stability.

What Problem Does This Paper Address?

As wireless networks transition into the 5G/6G era, they face immense systemic complexity driven by dense deployments and diverse use cases like autonomous driving and extended reality. While machine learning (ML) promises to automate and optimize these networks, operators are highly hesitant to deploy it directly into production.

The primary barrier is trustworthiness. Many ML algorithms operate as "black boxes," making their outputs unpredictable. Furthermore, reinforcement learning algorithms rely on an "exploration-exploitation" trade-off; during the exploration phase, the algorithm tries random or suboptimal configurations to learn the environment, which can easily violate strict SLAs or cause network instability. Wireless environments are also highly non-stationary and prone to data scarcity, meaning an ML model might fail to adapt in time, leading to severe performance drops.

Methods

The authors address this reliability gap by defining the role and practical integration of network simulators within the standardized International Telecommunication Union (ITU) ML-aware architecture (specifically ITU-T Rec. Y.3172).

Fig. 1: ML-enabling elements and operations of the ITU architecture.

As shown in Figure 1, the simulator acts as the ML Sandbox—an isolated domain that mirrors the live network. The proposed workflow operates as follows:

  1. Feature Extraction: The management subsystem collects state data from the live underlay network.
  2. Sandbox Setup: Deployment tools configure the simulator to replicate the live network's topology and conditions.
  3. Model Selection & Evaluation: An ML model is pulled from the ML Marketplace, pushed to the sandbox, and trained/tested safely within the simulated environment.
  4. Deployment: Once validated, the optimized ML model or its configuration is pushed back to the live network.

To demonstrate this, the authors implement a Multi-Armed Bandits (MABs) mechanism for Transmit Power Control (TPC) to combat high interference in a residential Wi-Fi network (IEEE 802.11ax). They utilize Komondor, an open-source, agent-based network simulator designed for wireless networks, to find the optimal transmit power settings before applying them to physical hardware.

Fig. 2: Use case application of the Komondor simulator to apply ML in a testbed WLAN.

Datasets

The paper does not use standard, pre-existing external datasets. Instead, it relies on synthetic data generation via the network simulator. To ensure the simulator accurately reflected reality, the authors parameterized the simulation environment using real-world measurements (node locations, traffic load, and path-loss effects) gathered from a physical testbed consisting of two overlapping Basic Service Sets (BSSs) in a dense residential area.

Key Insights and Ideas

  • Simulators as Risk Mitigators: Simulators absorb the "cost" of ML training. Instead of letting an online learning algorithm disrupt a live network during its unstable transitory regime, the algorithm can experience its trial-and-error phase entirely in the simulator.
  • The Simulation Time vs. Stability Trade-off: The authors highlight a critical engineering constraint for real-time applications: longer simulation times yield highly stable, predictable outputs with low standard deviation, but increase computational execution time. Operators must find an equilibrium based on how fast the live network changes.
Fig. 4: Execution time versus variability of the results in Komondor simulator.
  • Hybrid Knowledge Models: Simulators can act as "experts" to complement data-driven approaches. For example, instead of initializing an ML algorithm with random weights (which can lead to suboptimal performance), simulation data can provide a high-quality baseline initialization.

Key Results

The MAB algorithm running inside the Komondor simulator evaluated various transmit power levels and determined that reducing the power from the default 23 dBm to 7 dBm would optimize spatial reuse and maximize throughput.

Fig. 3: Simulated throughput evolution after applying MABs for tuning the transmit power in an Overlapping Basic Service Set (OBSS). Each learning iteration corresponds to 5 seconds in the simulation.

When this simulator-approved configuration was deployed to the physical residential Wi-Fi testbed, the results were substantial:

  • BSS1 achieved a 76.16% improvement in throughput.
  • BSS2 achieved a 93.98% improvement in throughput.
  • The network also experienced significantly higher stability and fewer performance outliers compared to the default configuration.
Fig. 5: Performance comparison of default (23 dBm) and ML- based (7 dBm) configurations at the testbed WLAN.

Limitations and Future Work

While the results are promising, the authors note several open challenges:

  • Simulated vs. Real-World Accuracy: Simulators excel at modeling higher-level protocols (TCP/IP stack) but often struggle with quantitative precision when characterizing complex physical layer phenomena like radio propagation, antenna radiation, and real-time energy consumption.
  • Lack of Standardized Interfaces: Most existing simulators are siloed, proprietary, or highly specific. There is a pressing need for open, standardized application programming interfaces (APIs) to seamlessly connect diverse simulation tools with standard ML libraries (like TensorFlow or OpenAI Gym).
  • Future Directions: The authors suggest future research should benchmark different ML models across various simulation tools to compare them directly in terms of output accuracy, execution time, and computational overhead.

Summary updated

BibTeX
@misc{wilhelmi2020usage,
  author = {Francesc Wilhelmi and Marc Carrascosa and Cristina Cano and Anders Jonsson and Vishnu Ram and Boris Bellalta},
  title = {{Usage of Network Simulators in Machine-Learning-Assisted 5G/6G Networks}},
  year = {2020},
  eprint = {2005.08281},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.08281},
}
Figure