Constrained Thompson Sampling for Wireless Link Optimization

Vidit Saxena, Joakim Jaldén, Joseph E. Gonzalez, Ion Stoica, Hugo M. TullbergarXiv 2019

Abstract

Wireless communication systems operate in complex time-varying environments. Therefore, selecting the optimal configuration parameters in these systems is a challenging problem. For wireless links, rate selection is used to select the optimal data transmission rate that maximizes the link throughput subject to an application-defined latency constraint. We model rate selection as a stochastic multi-armed bandit (MAB) problem, where a finite set of transmission rates are modeled as independent bandit arms. For this setup, we propose Con-TS, a novel constrained version of the Thompson sampling algorithm, where the latency requirement is modeled by a high-probability linear constraint. We show that for Con-TS, the expected number of constraint violations over T transmission intervals is upper bounded by $O(\sqrt{KT})$, where K is the number of available rates. Further, the expected loss in cumulative throughput compared to the optimal rate selection scheme (i.e., the regret) is also upper bounded by $O(\sqrt{KT \log K})$. Through numerical simulations, we demonstrate that Con-TS significantly outperforms state-of-the-art bandit schemes for rate selection.

Introduction

In modern wireless networking, a fundamental challenge is maximizing data throughput without sacrificing reliability. This is particularly critical for "rate selection"—the process of choosing the optimal transmission speed for a given environment. Higher rates offer greater throughput but increase the risk of packet errors, leading to retransmissions and latency. Conversely, conservative lower rates ensure reliability but limit speed.

Existing algorithms often prioritize throughput alone. However, contemporary applications like video conferencing and online gaming require Quality of Service (QoS) guarantees, specifically regarding maximum allowable latency. Because wireless channels are non-stationary and unknown a priori, systems must learn optimal rates dynamically while adhering to latency budgets.

Methodology

The authors formulate rate selection as a Stochastic Multi-Armed Bandit (MAB) problem. Each transmission rate is an "arm." To incorporate latency, they define a probabilistic linear constraint: the average packet success rate must exceed a threshold $\tau$.

The proposed algorithm, Con-TS (Constrained Thompson Sampling), utilizes:

  1. Bayesian Learning: Beta distributions track success probabilities for each rate based on historical data.
  2. Thompson Sampling: Random samples are drawn from these distributions to estimate the channel state.
  3. Linear Programming (LP) Relaxation: Instead of a greedy choice, Con-TS solves an LP problem using sampled values to find an optimal probabilistic mixture of rates that maximizes throughput while satisfying the latency constraint.
  4. Soft Constraints: Latency is treated as a soft constraint to be met on average, reflecting realistic networking requirements.

Experimental Evaluation

The performance of Con-TS was evaluated against state-of-the-art methods like Unimodal Thompson Sampling (UTS) and Con-KL-UCB using synthetic WiFi scenarios (Gradual, Lossy, and Steep models). These models simulate how packet success probability decreases as data rates increase. Simulations used standard WiFi rates (6–54 Mbps) with a target success rate of $\tau = 0.75$.

Results and Discussion

Con-TS demonstrated superior efficiency across most scenarios. In the "Gradual" and "Lossy" models, Con-TS achieved a throughput-to-violation ratio approximately double that of Con-KL-UCB.

Throughput-to-violation ratio comparison in the Gradual scenario, showing Con-TS significantly outperforming other methods.

Furthermore, Con-TS maintained significantly fewer cumulative latency violations compared to UTS, which often ignores constraints to pursue higher throughput.

Cumulative latency violations over time for the Gradual scenario. Con-TS maintains the lowest violation count.

A notable exception occurred in the "Steep" scenario, where the highest-throughput rate naturally satisfies the latency constraint. In this case, unconstrained algorithms like UTS performed slightly better as Con-TS allocates resources to ensure a constraint that is not actively challenged.

Conclusion

Con-TS provides a robust framework for wireless rate selection with theoretical guarantees. The authors proved that both regret and constraint violations grow sub-linearly ($O(\sqrt{T})$), ensuring convergence to the optimal strategy. Future work includes exploiting structural knowledge (e.g., monotonicity of success rates) and extending the model to contextual bandits to incorporate side information like signal strength.

Summary updated

BibTeX
@misc{saxena2019constrained,
  author = {Vidit Saxena and Joakim Jaldén and Joseph E. Gonzalez and Ion Stoica and Hugo M. Tullberg},
  title = {{Constrained Thompson Sampling for Wireless Link Optimization}},
  year = {2019},
  eprint = {1902.11102},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1902.11102},
}
Figure