Phase Transitions in Bandits with Switching Constraints: every policy with at most S switches has regret at least the phase-dependent rate up to a logarithmic factorResearch Paper
Motivation
In many sequential decision problems, changing the action is costly or administratively limited: a retailer can revise a posted price only a few times per season, a clinical trial can change its treatment allocation only a few times, and a firm can reconfigure its production line only so often. The multi-armed bandit with switching constraints (BwSC) captures this tension between learning and limited adaptivity: the learner must explore to find a good action, but every change of action consumes a hard budget. Simchi-Levi and Xu (arXiv:1905.10825, Management Science 2023) determine the optimal regret of this problem up to logarithmic factors.
Timeline. Classical bandit theory gives the minimax regret for arms and horizon with unlimited switching (Auer, Cesa-Bianchi, Freund and Schapire, 2002; Lattimore and Szepesvári, Bandit Algorithms, 2020). Cesa-Bianchi, Dekel and Shamir (2013) showed that in adversarial bandits with switching costs the regret is . For stochastic bandits processed in a fixed number of batches, Perchet, Rigollet, Chassang and Snowberg (2016) and Gao, Han, Ren and Zhou (2019) obtained regret rates of the form for batches. Simchi-Levi and Xu (2019, revised 2021) treat a hard budget on the number of switches and prove matching upper and lower bounds; the lower bound, Theorem 2, is the subject of this mission.
Setting
There are arms and rounds. In round the learner picks and observes a reward from the unit-variance Gaussian environment with mean vector ; admissible environments have mean spread . A policy chooses by a Markov kernel from the past actions and rewards; is the law of the history. The regret is
With unit switching costs, the number of switches is . For a budget , the class of -switch policies consists of the policies whose number of switches is at most almost surely under every environment.
The budget enters through the phase index (with ) and the remainder (so ). Two rates appear, with :
In Lean these are IsSwitchPolicy S T π, qIdx S K, rIdx S K, rateA K S T, rateB K S T, on top of the published BanditPolicy, banditMeasure, banditRegret and gaussianBandit.
Formalization targets
Goal: Theorem 2 (p. 21)
There is an absolute constant such that for all , , and every , some admissible Gaussian environment satisfies
The constant is not fixed: the goal asserts the shape of the bound, which survives any improvement of constants.
Milestones
The proof in Appendix J (pp. 59–75) reduces to the regime (p. 59, two bounds by outside it) and then runs a five-step program on two families of environments:
- the localized Pinsker inequality (Lemma 5) and the generalized reverse Fano inequality (Proposition 5, (35));
- counting bounds on risky events under a single environment (Lemmas 6–7, Corollary 4);
- bad-event regret bounds under alternative environments and the reduction to bad-event probabilities (Lemmas 8–11);
- divergence bounds for restricted measures (property 1 of p. 72, Lemmas 12–13);
- the final probability bounds (46)–(47).
Significance
The result. Theorem 2, together with the AdaLS upper bound (Theorem 1), shows that the optimal regret is for every , and . In particular, for fixed the regret as a function of is : it changes only when crosses a multiple of , a phase transition in the switching budget, and switches suffice for the classical rate. The lower bound holds for all randomized adaptive policies, not only batched ones.
Formalizing it. The result is proved on paper but has no machine-checked proof. Formalizing the lower bound adds a reusable change-of-measure toolkit for adaptively collected data: a reverse Fano-type inequality over families of measure spaces, stopping-time-based counting arguments on switching patterns, and divergence bounds for censored histories. Three printed steps needed repair (see Formalization scope), so the formal development also certifies a corrected version of the argument.
Difficulty
The obvious argument fails at the counting step. A naive choice of risky events (arms unobserved in fixed time windows) only gives a sum of probabilities of at least , which vanishes when is at the end of a phase; this loses the floor in the exponent. The paper's events in the last window are defined through the stopping time at which the switching budget is exhausted, and they interact with the measure-change step: the restricted measures must hide enough information about the tested arm to make divergences small, while still deciding the stopping-time event. A second difficulty is that the policy is adaptive and randomized, so all events and measures are path-dependent.
Formalization scope
- Model. Histories are the published canonical bandit histories
Fin T → Fin K × ℝ; rounds are 1-based in every statement (entry is round ). Environments are unit-variance Gaussian (gaussianBandit), which is all the proof uses (p. 59). - Admissible policies.
IsSwitchPolicy S T πasks the budget to hold almost surely under every unit-variance Gaussian environment, a weaker requirement than the paper's "for all sub-Gaussian ", so the goal covers at least the paper's policy class. The regret lower bound is witnessed by one Gaussian instance with mean spread at most , which implies the paper's bound on the supremum. - Conventions. and unit costs (§3, p. 14); and by the paper's convention for ; is encoded as ; divergences are Mathlib's
klDivin , and the reverse KL is ; conditional expectations in Lemmas 8 and 10 are stated in product form. - Repairs. (i) Lemma 8's integrand is the regret ; the printed integrand is non-positive for . (ii) The artificial measures (45) are replaced by records stopped at the first pull of the tested arm in the window; the printed measures do not have the claimed divergence. (iii) The p. 59 bound is corrected to , and the companion bound for the first term, which the page omits, is a separate milestone. The first-class lemmas assume , where the page's construction is defined; the goal does not.
- Ruled out. A constant depending on , or ; dropping the mean-spread condition; restricting to deterministic or batched policies; a switching constraint only in expectation; or stating the theorem for one fixed — each makes the statement trivial or different, and none is used.
- Infrastructure. Reused: the published canonical bandit model, the Bernoulli divergence
ExploreFirst.FundIneq.klBer, the first half of Lemma 5 (ExploreFirst.Collective.lemma_6) and the classical boundBanditAlgorithm.bandit_minimax_lower_bound. Needed and reusable beyond this mission: the divergence decomposition for stopped histories, joint convexity and data processing for KL across different spaces, and the KL divergence of unit-variance Gaussians. Proofs of any milestone, and of the Gaussian-instance reduction, are welcome.
Selected references
- D. Simchi-Levi and Y. Xu, Phase Transitions in Bandits with Switching Constraints, Management Science, 2023; arXiv:1905.10825v4. https://arxiv.org/abs/1905.10825
- T. Lattimore and C. Szepesvári, Bandit Algorithms, Cambridge University Press, 2020. https://doi.org/10.1017/9781108571401
- N. Cesa-Bianchi, O. Dekel and O. Shamir, Online Learning with Switching Costs and Other Adaptive Adversaries, NeurIPS 2013. https://arxiv.org/abs/1302.4387
- V. Perchet, P. Rigollet, S. Chassang and E. Snowberg, Batched Bandit Problems, Annals of Statistics, 2016. https://arxiv.org/abs/1505.00369
- Z. Gao, Y. Han, Z. Ren and Z. Zhou, Batched Multi-armed Bandits Problem, NeurIPS 2019. https://arxiv.org/abs/1904.01763
- S. Gerchinovitz, P. Ménard and G. Stoltz, Fano's Inequality for Random Variables, Statistical Science, 2020. https://arxiv.org/abs/1702.05985