[Paper Review] Sim-to-Real Transfer in Multi-agent Reinforcement Networking for Federated Edge Computing
This paper proposes FedEdge simulator, a high-fidelity Linux-based simulator for multi-agent reinforcement learning (MA-RL)-optimized federated edge computing in multi-hop wireless networks. By integrating trace-based physical layer emulation and dynamic link scheduling, it achieves near-identical performance between simulation and real testbeds, enabling effective sim-to-real knowledge transfer with minimal reality gap, validated through identical loss convergence and wall-clock time in FL training across environments.
Federated Learning (FL) over wireless multi-hop edge computing networks, i.e., multi-hop FL, is a cost-effective distributed on-device deep learning paradigm. This paper presents FedEdge simulator, a high-fidelity Linux-based simulator, which enables fast prototyping, sim-to-real code, and knowledge transfer for multi-hop FL systems. FedEdge simulator is built on top of the hardware-oriented FedEdge experimental framework with a new extension of the realistic physical layer emulator. This emulator exploits trace-based channel modeling and dynamic link scheduling to minimize the reality gap between the simulator and the physical testbed. Our initial experiments demonstrate the high fidelity of the FedEdge simulator and its superior performance on sim-to-real knowledge transfer in reinforcement learning-optimized multi-hop FL.
Motivation & Objective
- To address the reality gap between simulation and real-world deployment in multi-agent reinforcement learning (MA-RL) for federated edge computing.
- To develop a scalable, high-fidelity simulation environment that supports fast prototyping and efficient training of RL policies for multi-hop wireless FL systems.
- To enable reliable sim-to-real knowledge transfer by minimizing discrepancies between simulated and physical network behavior.
- To validate the fidelity of the simulator through direct comparison of FL convergence and training time between simulation and a real testbed.
- To support cost-effective, large-scale experimentation of MA-RL-optimized FL routing in realistic wireless multi-hop network conditions.
Proposed method
- The FedEdge simulator is built on a hardware-oriented FedEdge experimental framework with an extended physical layer emulator based on real-world RSSI trace replay.
- The physical layer emulator uses trace-based channel modeling and dynamic link scheduling to reflect real-time wireless conditions, including signal-to-noise ratios and link bandwidths.
- Link scheduling maps received signal strength indication (RSSI) to transmission rates using the 802.11ac MCS index table for 20MHz channels.
- Multi-agent reinforcement learning (MA-RL) is applied to optimize FL traffic forwarding paths, minimizing network-induced latency.
- The simulator supports online RL training and knowledge transfer by enabling Q-table transfer from simulation to physical testbed with policy freezing.
- A CNN model with two convolutional layers, max pooling, and a 128-unit fully connected layer is used for FL training on the FEMNIST benchmark dataset.
Experimental results
Research questions
- RQ1To what extent does the FedEdge simulator replicate real-world FL training performance in terms of loss convergence and wall-clock time?
- RQ2How effective is sim-to-real knowledge transfer of pre-trained MA-RL policies in reducing training time and improving convergence in physical testbeds?
- RQ3What is the impact of physical layer fidelity—specifically trace-based channel modeling and dynamic scheduling—on minimizing the reality gap in multi-agent RL for federated edge computing?
- RQ4How does the performance of online RL training in simulation compare to online and target testing in the real testbed?
- RQ5Can the simulator support reliable, scalable, and efficient prototyping of MA-RL-optimized FL systems in multi-hop wireless networks?
Key findings
- The FedEdge simulator achieves near-identical loss convergence between simulation and physical testbed across 20 epochs of FL training using shortest-path routing, confirming high simulation fidelity.
- Wall-clock time for FL training differs by only 2 minutes after 50 epochs between online RL training in simulation and on the physical testbed, indicating minimal timing discrepancy.
- The iteration loss convergence in terms of global rounds is identical between simulation and testbed for MA-RL-based routing, demonstrating effective policy transfer.
- Time per FL round in both simulation and testbed experiments is consistently around 72–80 seconds, with the simulator slightly faster due to reduced hardware overhead.
- The average time per round across 50 FL rounds shows low variance and consistent performance across all approaches, supporting the reliability of the simulator.
- Target testing on the physical testbed with frozen Q-tables performs slightly worse than online training due to lack of adaptability to dynamic traffic patterns, but the gap is marginal, confirming the value of pre-trained policies.
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.