Phase Transitions and Cyclic Phenomena in Bandits with Switching Constraints

David Simchi-Levi, Yunzong Xu

Abstract

In stochastic multi-armed bandit (MAB) problems, the learner typically balances exploration and exploitation by frequently switching between actions. However, real-world applications—ranging from clinical trials to dynamic pricing—often impose hard constraints on how many times a learner can change their choice. This paper investigates the fundamental limits of learning under a hard switching budget $S$. We characterize the minimax regret, revealing a surprising "staircase" pattern where performance improvements occur only at specific budget thresholds. We introduce the AdaLS (Adaptive Limited-Switch) algorithm and a novel theoretical framework, RECAP, to establish tight upper and lower bounds for this constrained setting.

Introduction

The classical stochastic multi-armed bandit problem is a cornerstone of sequential decision-making. While standard algorithms like UCB or Thompson Sampling achieve optimal regret, they often require thousands of switches between arms over a time horizon $T$. In practice, switching is rarely cost-free. Previous literature has often modeled this by adding a switching penalty to the objective function. This work takes a different approach, treating the switching budget $S$ as a hard constraint: once the budget is exhausted, the learner is permanently locked into their current action.

This constraint raises a fundamental question: How does a limited switching budget change the learnability of the environment? Specifically, we seek to determine the optimal regret $R^*_S(K, T)$ achievable with $K$ arms, a horizon $T$, and a budget $S$.

Methodology

Algorithmic Design: AdaLS

To address the switching constraint, we propose the Adaptive Limited-Switch (AdaLS) policy. Unlike simple batched methods that use fixed time intervals, AdaLS employs a data-driven approach to manage the budget. It randomly partitions arms into groups and adaptively decides when to switch based on the collected rewards, ensuring that the limited budget is utilized only when there is sufficient statistical evidence to justify a move.

Theoretical Framework: RECAP and GRF

Proving lower bounds in constrained bandit settings is notoriously difficult. We developed the RECAP method, a five-step framework designed to establish the "mathematical floor" of performance. A critical component of this framework is the Generalized Reverse Fano-type (GRF) inequality. While standard Fano's inequalities are used to bound the probability of error in multi-hypothesis testing, our GRF inequality provides sharp lower bounds on the average probability of multiple "low-probability" events, which is essential for analyzing the cumulative regret across multiple arms under switching constraints.

Graph-Theoretic Extensions

For scenarios with general switching costs (where the cost of moving from arm $i$ to $j$ varies), we establish a connection between bandit optimization and graph theory. We demonstrate that the complexity of the problem is intrinsically linked to the Shortest Hamiltonian Path problem, as the learner must find the most efficient sequence to visit and evaluate the arms within the budget.

Key Insights: The "Staircase" of Learning

The most significant finding of this research is the existence of phase transitions in the regret rate. In standard bandits, more data or more flexibility usually leads to smooth improvements in performance. However, under hard switching constraints, the regret follows a staircase pattern.

The Power of the Floor Function

We show that the optimal regret rate is determined by the ratio of the budget to the number of arms. Specifically, the exponent of the time horizon $T$ in the regret formula is governed by the combinatorial term: $$q(S,K) = \lfloor (S-1)/(K-1) \rfloor$$ Increasing the budget $S$ slightly provides no benefit to the regret rate until it reaches the next multiple of $K-1$. This is the first instance where such a floor function has been shown to naturally emerge in the exponent of a bandit regret rate.

Switching Requirements for Optimality

Our analysis proves that to achieve the "gold standard" $\sqrt{T}$ regret of unconstrained bandits, a learner must switch at least $\Omega(K \log \log T)$ times. If the budget $S$ falls below this threshold, the learner is mathematically guaranteed to suffer worse than $\sqrt{T}$ regret, regardless of the algorithm used.

Action World vs. Observation World

We clarify the distinction between limited switches (constraints on changing actions) and limited adaptivity (constraints on how often the learner can observe data). We demonstrate that limited switching is a more relaxed constraint; because the learner can still observe data at every time step even when they cannot change their action, they can achieve better performance than in purely batch-constrained settings.

Results and Conclusion

Our work provides a complete characterization of the minimax regret for unit-switching costs: $$R^*_S(K, T) \approx \max \left\{ \frac{(K-r)^{2-\text{exp}}}{K} T^{ ext{exp}}, K^{1-\text{exp}'} T^{ ext{exp}'} \right\}$$ where the exponents are determined by the budget-to-arm ratio. We prove that the AdaLS algorithm is rate-optimal (up to logarithmic factors), meaning its performance scaling cannot be fundamentally improved.

While this work tightly characterizes the dependence on time $T$, several avenues for future work remain. Currently, the algorithms require a known horizon $T$; if $T$ is unknown, achieving sublinear regret with a fixed budget is impossible. Additionally, for general switching costs, the dependence on the number of arms $K$ involves solving NP-hard problems like the Traveling Salesman Problem (TSP), suggesting a rich area for future computational refinement.

Summary updated

BibTeX
@inproceedings{simchilevi2019phase,
  author = {David Simchi-Levi and Yunzong Xu},
  title = {{Phase Transitions and Cyclic Phenomena in Bandits with Switching Constraints}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=CUScP84MOU},
}
Figure