Enhancing WiFi Multiple Access Performance with Federated Deep Reinforcement Learning

Lyutianyang Zhang, Hao Yin, Zhanke Zhou, Sumit Roy, Yaping Sun

TL;DR

The standard WiFi MAC protocol (CSMA/CA) struggles with collisions and unfairness in crowded networks. This paper introduces FRMA, a novel protocol that replaces traditional backoff mechanisms with distributed Deep Reinforcement Learning (DRL) at each station, stabilized by Federated Learning (FL) at the Access Point. By collaboratively learning when to transmit, FRMA boosts network throughput by up to 20% over standard WiFi while guaranteeing fair access for all users.

What Problem Does This Paper Address?

IEEE 802.11 WiFi networks rely on a distributed coordination function (DCF) based on Carrier Sense Multiple Access with Collision Avoidance (CSMA/CA). When multiple devices try to talk at once and collide, they use a Binary Exponential Backoff (BEB) mechanism—waiting a random, exponentially increasing amount of time before trying again.

While simple, BEB scales poorly. In dense networks with many users, collisions become frequent, aggregate throughput plummets, and short-term unfairness runs rampant (some nodes get stuck waiting while others hog the channel). While mechanisms like RTS/CTS (Request to Send / Clear to Send) help stabilize throughput, they add significant overhead. The authors tackle the challenge of designing a smarter, data-driven MAC protocol that maximizes throughput and ensures fairness without relying on rigid, hardcoded backoff rules.

Methods

The authors propose FRMA (Federated Reinforcement Multiple Access), which replaces the standard BEB algorithm with a combination of Reinforcement Learning and Federated Learning:

  • Distributed Deep Reinforcement Learning (DRL): Each WiFi station acts as an independent agent equipped with a Q-Neural Network (a 6-layer ResNet). The agent observes the recent history of the channel state (Busy or Idle) and decides whether to Transmit or Wait.
  • Monte Carlo Reward Estimation: Because a station doesn't know if a transmission was successful until it receives an ACK (or times out) from the Access Point (AP), the reward is delayed. The authors propose a custom Monte Carlo reward update method that loops back through the station's history to accurately credit or penalize past actions based on eventual AP feedback.
  • Federated Learning (FL) for Fairness: If stations train independently, the network falls into a selfish equilibrium where one node becomes overly aggressive and starves the others. To fix this, the AP acts as an FL server. Every $T$ successful transmissions, the AP aggregates the neural network weights from all stations using the FedAvg algorithm and broadcasts the averaged global model back to them.

Datasets

Not discussed in the paper. The authors evaluate their approach using a custom Python/PyTorch simulation environment built to model IEEE 802.11 DCF networks. The simulation is calibrated against Bianchi's well-known theoretical 2-D Markov model for WiFi throughput to ensure baseline accuracy.

Key Insights and Ideas

  • The "Aggressive Node" Problem: A fascinating insight from the paper is that pure distributed DRL fails at the MAC layer. Because nodes initialize with random weights, one node will inevitably start with a slightly more aggressive strategy. Other nodes quickly learn that the only way to avoid collisions is to stay quiet. The result is zero fairness: one node gets 100% throughput, and the rest get 0%.
  • FL as a Consensus Mechanism: Federated Learning is typically celebrated for privacy-preserving distributed training. Here, it is cleverly repurposed as a fairness mechanism. By periodically averaging the models at the AP, the network forces all nodes to adopt the exact same balanced, cooperative access strategy, preventing any single node from becoming a channel hog.
  • Replacing Heuristics with Learning: Instead of relying on the rigid mathematical rules of BEB, FRMA allows the network to organically learn the optimal probability of transmission based on real-time channel congestion.

Key Results

  • Throughput Gains: The proposed FRMA protocol outperforms standard DCF basic access throughput by 20% and beats DCF with RTS/CTS by 5%.
  • Scalability: Unlike standard DCF, where aggregate throughput drops as the number of competing stations increases, FRMA maintains a high, stable throughput curve similar to RTS/CTS, but without the massive overhead penalty in single-user or low-density scenarios.
  • Rapid Convergence to Fairness: In a 5-station simulation, the FL mechanism successfully forces all stations to converge to an equal share of the network throughput. This convergence happens within 10,000 time steps, which corresponds to just 0.1 seconds of real-time operation.

Limitations and Future Work

The authors acknowledge a few simplifying assumptions in their simulation. First, they assume a "saturated network," meaning every node always has data queued to send. Second, they assume no "hidden terminal problem"—meaning all nodes perfectly observe the exact same channel state (Busy/Idle) at all times. Finally, the model currently only considers uplink communication.

While not explicitly outlined in a dedicated future work section, relaxing these assumptions to handle variable traffic loads, hidden terminals, and mixed uplink/downlink traffic are the clear next steps required to make FRMA viable for real-world WiFi hardware.

Summary updated

BibTeX
@inproceedings{zhang2020enhancing,
  author = {Lyutianyang Zhang and Hao Yin and Zhanke Zhou and Sumit Roy and Yaping Sun},
  title = {{Enhancing WiFi Multiple Access Performance with Federated Deep Reinforcement Learning}},
  booktitle = {VTC Fall},
  year = {2020},
  url = {https://openreview.net/forum?id=vrj1M3oRY1t},
}
Figure