Repository navigation
Bandits: exponential families, adaptive adversaries, time-varying regularizers and singular designs - #11
Merged
Conversation
…ularizers and singular designs Drafted at the request of the code owner, following a review of LMLExplore's generality against the literature. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 5, 2026
Identification: mean functionals, product models, rate functions and general stopping-time tools
#10
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Amends the Bandits roadmap so that its stochastic, adversarial, online-learning and linear layers ask for the theory at the generality of the literature. The cases they asked for before (Gaussian and Bernoulli arms, oblivious tables with a known horizon, a fixed learning rate, invertible designs) become instances. Companion to #10, the Identification roadmap amendment. Bandits now consumes three of its layers: Layer 1.2 (exponential families and their Cramér–Chernoff rate function), Layer 4.1 (the run-to-stream transfer) and Layer 4.2 (conditional MGF domination and its supermartingales).
Why. KL-UCB, Thompson sampling, d_inf and asymptotic optimality are stated in the literature for one-parameter exponential families [GC11, Section 4; CGMMS13; KKM13; BK96]. The roadmap asked for them only for Bernoulli or Gaussian arms. As a result LMLExplore has two parallel UCB algorithms and proofs (
ucbF,klucb) and computes d_inf case by case. Adversarial bandits are analysed against adaptive adversaries, with anytime learning rates [BCB12, Section 3; Neu15], but the roadmap fixed an oblivious table and a horizon-tuned rate. It also specified Exp3, Exp3-IX and Exp4 as three algorithms, although Exp4-IX contains all three. FTRL and mirror descent are developed with time-varying regularizers and local norms [Ora, Chapters 6–7]. The roadmap asked only for a fixed potential, fixed rate and dual-norm stability, which cannot handle importance-weighted estimates. It also excluded online convex optimization, a one-line reduction through subgradients. Finally, "the inverse on the span" of the design layers was never named, and LMLExplore'sRing.inverseis 0 on singular operators.Changes (only
LMLRoadmaps/Bandits/):Environment.means. The pseudo-regret is max_a E[Σ (m_t(a) − Y_t)] and the random regret is max_a Σ (m_t(a) − Y_t). AgainstonlineEvalEnv x _the pseudo-regret is R_n(x); againststationaryEnv νit is the expected stochastic regret. A new Learning rates convention fixes rates as nonincreasing sequences η_t, with bounds stated through η_{n−1}. The Generality convention lists the special cases not to reintroduce.Means.lean, Tau CetiMoorePenrose.lean, MathlibConvexity.StdSimplex, the three Identification layers, and the LMLExplore material the general forms extend. Online convex optimization leaves the "Outside" list; bandit convex optimization enters it. AdaHedge is recorded as the Identification roadmap's (Layer 6.1).klBeras the Bernoulli rate function, and [LS, Lemma 10.3, Corollary 10.4] with the boundary levels. The [0,1] lemmas of KL-UCB move to Layer 3.2.klucb(Bernoulli) anducbF(Gaussian) are instances; [LS, Theorem 10.6] and the eventual part of [LS, Theorem 8.1] are corollaries. The explicit constants of Theorem 8.1 keep their own proof.softmax_regret_leis its constant case.HasSubgradientWithinAt), with projected online subgradient descent [Zin03] as the Euclidean instance.filtrationObs.Convexity.StdSimplex ℝ E, with the bridgesimplex α = range (⇑·.weights)and the image of designs under a feature map.Suggested.lean.pseudoRegretandrandomRegret(withEnvironment.means), with their oblivious and stochastic identifications.expFamilyUpper,klucbFamIndex,klucbFam;ucbFandklucbas instances, and the asymptotic regret under MGF domination.dInf_range_tilted,jeffreysPrior,expFamilyTS.ftrl_regret_le_of_monotone.exp4IX, withexp3as its instance andexp3_pseudoRegret_lefor adaptive adversaries and antitone rates.designOptaking V₀, and the self-normalized bound for positive definite V₀.designOperatoronConvexity.StdSimplex ℝ E,designOperator_map, and Kiefer–Wolfowitz on the span withLinearMap.moorePenroseInverse.Points to check.
KLUCB.integral_pullCount_le,exp3becomes the instance of Exp4-IX with a learning-rate sequence, anddesignOptakesstationaryEnv, which this roadmap already used, is LML'sEnvironment.banditat the pin LMLExplore uses. It is left for a separate update of all three roadmaps.Suggested.leanbuilds.Drafted with Claude Opus 5.5 at the request of the code owner.
🤖 Generated with Claude Code