Learning-Based Channel Access in Wi-Fi: A Multi-Armed Bandit Approach

Miguel Casasnovas, Francesc Wilhelmi, Richard Combes, Maksymilian Wojnar, Katarzyna Kosek-Szott, Szymon Szott, Anders Jonsson, Luis Esteve-Elfau, Boris Bellalta

This paper, recently published by a collaborative team from Spain, France, and Poland, explores how to move Wi-Fi from a "static protocol" era into an "intelligent agent" era. By applying Multi-Armed Bandits (MABs) to the Medium Access Control (MAC) layer, the authors demonstrate that Wi-Fi access points (APs) can learn to navigate crowded airwaves far more efficiently than the current standard allows.

TL;DR

The researchers replace static Wi-Fi channel access rules with a Multi-Armed Bandit (MAB) framework that allows access points to autonomously tune their channel, bandwidth, and contention windows. Their results show that contextual learning (using environmental "side information") significantly outperforms traditional methods, achieving up to 25% throughput gains in dense, dynamic networks.

What Problem Does This Paper Address?

Standard Wi-Fi (IEEE 802.11) relies on a "one-size-fits-all" protocol called the Distributed Coordination Function (DCF). While DCF is robust, it is also static. In a crowded apartment building or office complex—what engineers call an Overlapping Basic Service Set (OBSS)—multiple networks compete for the same frequencies.

Static protocols often lead to "inefficient spectrum utilization": networks might sit on overlapping channels, use contention windows that are too small (causing collisions) or too large (wasting time), and fail to adapt when a neighbor suddenly starts a high-bandwidth 4K stream. The authors aim to transform these "dumb" radios into Machine Learning-Driven Radios (MLDRs) that can sense their environment and adapt their transmission parameters on the fly.

Methods

The authors frame Wi-Fi channel access as a Multi-Armed Bandit (MAB) problem. In this setup, an agent (the AP) chooses an "arm" (a combination of channel, width, and contention window) and receives a "reward" (based on how fast the transmission was successful).

Key technical contributions include:

  • Contextual MABs (CMABs): Unlike standard MABs that only look at past rewards, CMABs use "contextual features" like channel occupancy ratios and queue utilization to inform their decisions. They used the LinUCB algorithm for this.
  • Single-Agent (SA) vs. Multi-Agent (MA) Architectures:
    • SA: One agent manages the entire "action space" (84 possible combinations).
  • MA: Three specialized agents work sequentially—one picks the channel, one the primary channel, and one the contention window. This decomposes a complex problem into smaller, more tractable pieces.
  • Reward Design: A normalized metric based on transmission cycle duration, encouraging the agent to find the "path of least resistance" in the spectrum.

Datasets

The study does not use a static dataset but rather a custom-built, open-source simulator called WiPySim (built on Python's SimPy).

  • Scenarios: They simulated various environments, including "Single-Player" (one learning AP vs. legacy APs) and "Multi-Player" (multiple learning APs competing).
  • Traffic Models: They tested against Poisson, Bursty, and Virtual Reality (VR) traffic patterns.
  • Open Science: The authors have released the simulator code on GitHub and the resulting simulation data on Zenodo.

Key Insights and Ideas

  • Context is King: The "aha moment" was that non-contextual bandits (like standard UCB) struggle in dynamic environments because they can't tell why a channel is suddenly performing poorly. Contextual bandits (LinUCB) can see that a channel is busy and proactively switch, leading to much faster adaptation.
  • Divide and Conquer Works: The Multi-Agent (MA) approach converged significantly faster than the Single-Agent (SA) approach. By reducing the number of options each agent had to explore, the system reached an optimal state much sooner.
  • Implicit Coordination: In multi-player settings, decentralized learners managed to "coordinate" their channel choices without ever talking to each other, simply by reacting to the rewards they received.
  • The "Credit Assignment" Problem: In simple MA setups without context, agents can get "confused" about which of them caused a bad result (the shared reward problem). Contextual information fixes this by giving each agent a unique view of the situation.

Key Results

  • Throughput Gains: In high-traffic multi-player scenarios, the LinUCB approach provided average gains of +21.3% to +23.5% over the static IEEE 802.11 baseline.
  • Adaptability: In scenarios with "Dynamic OBSS traffic," the learning agents successfully identified and exploited temporary gaps in traffic (e.g., when a neighbor's load dropped), whereas static baselines remained stuck in suboptimal configurations.
  • Convergence: MA architectures were shown to be more "sample-efficient," meaning they required fewer transmission attempts to find the best settings compared to the SA model.

Limitations and Future Work

  • Selfishness vs. Fairness: The agents are inherently "greedy"—they optimize for their own throughput. In some multi-player cases, this greediness led to "policy-chasing" (oscillations) and could potentially degrade the performance of legacy (non-learning) neighbors.
  • Action Space Limits: The current model only tunes channel and contention windows. The authors suggest future work should include Transmit Power Control and MCS (Modulation and Coding Scheme) selection.
  • Long-term Consequences: MABs are "stateless." They don't account for how an action now might affect the environment 10 seconds from now. Moving toward Stateful Reinforcement Learning (RL) might be necessary for even more complex environments.

Summary updated

BibTeX
@article{casasnovas2026learning,
  author = {Miguel Casasnovas and Francesc Wilhelmi and Richard Combes and Maksymilian Wojnar and Katarzyna Kosek-Szott and Szymon Szott and Anders Jonsson and Luis Esteve-Elfau and Boris Bellalta},
  title = {{Learning-Based Channel Access in Wi-Fi: A Multi-Armed Bandit Approach}},
  journal = {IEEE Access},
  year = {2026},
  doi = {10.1109/access.2026.3721756},
}
Figure