Lean gate passed before this site build; local proof declarations are shown as compiled.Lean-verified build · exact declarations linked.
Also read in: Online Learning Book. This is the same chapter and the same Lean nodes.
Teaching chapter 08 of 10 · Canonical route compiled
8. Tsallis-FTRL, corruption, and nonstationarity
The scoped canonical half-Tsallis FTRL route compiles from finite-simplex minimizers and one-step stability through a measurable scheduled generated trajectory, score alignment, expected self-bounding, and a finite-arm IID bounded reward-law logarithmic regret terminal; corruption and nonstationary routes remain labelled extensions.
How to read the status. It describes this page's canonical local Lean route, not completion of the cited textbook chapter or every extension listed below.
Orientation
Who should read this. This is one of the longest routes; read EXP3 and the Probability layer first.
Learning goals
Separate deterministic FTRL stability from stochastic law transport.
Use expected action probabilities and gap self-bounds to obtain logarithmic or corruption-sensitive regret.
Follow the now-compiled generated oracle-restart law while preserving its full-information change-point assumption.
Textbook crosswalk
Read the mathematics before the Lean interface
The Book Map is a curated formalization curriculum anchored in Bandit Algorithms, not a chapter-for-chapter reproduction of one book. Visible page labels use the numbered pages of its free online edition; source buttons use the PDF viewer's physical page index, which includes front matter and can therefore be larger. Companion papers cover algorithm-specific results.
The half-Tsallis regularizer is designed to retain adversarial robustness while adapting sharply to stochastic self-bounding structure.
Model
Any adversarial K-armed bandit problem in the paper's loss-based protocol.
Assumptions
Tsallis-INF uses α = 1/2, symmetric regularization, and either the importance-weighted or reduced-variance estimator specified in the paper.
Algorithm parameters
Horizon T, arm count K, and schedule η_t = 2/√t for IW or 4/√t for RV.
Regret notion
Adversarial pseudo-regret Reg_T.
Guarantee
The IW route gives 4√(KT)+1; the RV route gives 2√(KT)+10K log T+16.
Source mathematical statement.Formula renderer unavailable; readable fallback: The source theorem gives explicit adversarial square-root regret bounds for importance-weighted and reduced-variance Tsallis-INF variants.\[Reg_T\le4\sqrt{KT}+1\quad\text{(importance weighting)},\qquad Reg_T\le2\sqrt{KT}+10K\log T+16\quad\text{(reduced variance)}.\]Swipe to read the full formula →
BanditRLlib relationship. BanditRLlib proves a scheduled half-Tsallis route and several IID, corrupted, drifting, and oracle-restart consumers. These are source-aligned local theorems, not a claim that every sharp paper regime has been reproduced verbatim.
The mathematical content is restated in this site's notation; wording is ours. See paper p. 9 in the linked source for the original statement and full assumptions.
Natural-language and Lean side by side
The mathematical readings are explanatory summaries. The exact generated Lean statement and its source link remain authoritative for hypotheses, types, constants, and indexing.
A curated route through definitions, key bridges, and canonical terminals stays visible. 5 additional dependency, extension, or research-frontier notes are grouped below.
Mathematics ↔ Lean
All-rate stability for scheduled half-Tsallis FTRL
Plain-English statement. On the canonical scheduled half-Tsallis generated trajectory, expected predictable-environment regret to a supported arm is bounded by the integrated all-rate stability budget plus the exact time-varying potential penalty.
Mathematical reading.Formula renderer unavailable; readable fallback: On the canonical scheduled half-Tsallis generated trajectory, expected predictable-environment regret to a supported arm is bounded by the integrated all-rate stability budget plus the exact time-varying potential penalty.\(\mathbb E R_{0:n}(a^\star)\le\mathbb E\sum_{t=0}^{n}B_t^{\mathrm{stab}}+\Psi(p_0)/\eta_n-1/\eta_n.\)Swipe to read the full formula →
Intuition
The deterministic FTRL decomposition already separates stability from regularizer drift; the generated conditional action law turns its importance-weighted scores into the true predictable loss regret.
Why it is needed
It is the algorithm-and-law bridge between measurable generated sampling and the later stochastic self-bounding/logarithmic consumers.
Place in the proof
It follows scheduled score alignment and all-rate expected stability, and precedes fixed-gap self-bounding and the finite-arm IID reward-law terminal.
Proof and Lean reading notes
Proof idea
Use the same selector and trajectory measure throughout, identify observed and predictable importance-weighted losses almost everywhere, integrate the pathwise stability-plus-penalty inequality, and dominate each stability term by its refined-or-coarse all-rate bound.
Lean reading notes
The signature retains a probability prior, Standard Borel measurable action/environment contracts, finite nonempty decidable arms, one predictable [0,1] loss vector, a supported comparator, a positive schedule through the horizon, and schedule monotonicity. It is expected predictable regret, not a high-probability, realized, or paper-sharp Tsallis-INF theorem.
Plain-English statement. For independent IID finite-arm reward laws with exact model means and positive non-best gaps, scheduled half-Tsallis FTRL has a logarithmic expected-regret bound in reciprocal gaps.
Mathematical reading.Formula renderer unavailable; readable fallback: For independent IID finite-arm reward laws with exact model means and positive non-best gaps, scheduled half-Tsallis FTRL has a logarithmic expected-regret bound in reciprocal gaps.\(\mathbb E R_T\le(1+\log(T+1))\left(1+25\sum_{a\ne a^\star}\Delta_a^{-1}\right)+C.\)Swipe to read the full formula →
Intuition
The stochastic gap law makes the algorithm's own action probabilities pay for regret, and the half-Tsallis schedule converts that self-bound into logarithmic growth.
Why it is needed
This is a model-facing stochastic Tsallis endpoint with no caller-supplied trajectory identification.
Place in the proof
It is the canonical Chapter 8 terminal and the base law theorem reused by corruption and nonstationary extensions.
Proof and Lean reading notes
Proof idea
Build the infinite IID product of finite reward vectors, use the same measurable scheduled selector and trajectory kernel as the stability theorem, prove exact clipped-reward mean and gap transport, apply fixed-gap self-bounding, and close the square-root schedule by the harmonic/logarithmic optimization.
Lean reading notes
The finite model has positive arm count. Every arm law is a probability measure with a.e. [0,1] support and the exact supplied model mean; every non-best gap is positive. The horizon and nonnegative additive corruption allowance are explicit, and the canonical uncorrupted case sets it to zero. This is expected generated-trajectory regret, not paper-sharp, high-probability, realized, or complete best-of-both-worlds Tsallis-INF.
Plain-English statement. For a measurable pre-action-history corruption model controlled in conditional expectation, the theorem automatically selects a refined local or logarithmic regret bound across all regimes.
Mathematical reading.Formula renderer unavailable; readable fallback: For a measurable pre-action-history corruption model controlled in conditional expectation, the theorem automatically selects a refined local or logarithmic regret bound across all regimes.\(\mathbb E R_T\le\begin{cases}\text{refined }\sqrt{CS}\text{ expression},&\text{inside the certified window},\\\text{logarithmic bound}+C,&\text{otherwise.}\end{cases}\)Swipe to read the full formula →
Intuition
Predictable corruption may react to the past, but not to the current random action. The theorem keeps that information pattern formal and lets the bound adapt to the corruption scale.
Why it is needed
It closes a substantially more realistic corruption route than a fixed deterministic shift.
Place in the proof
This result lies above IID law construction, predictable loss measurability, self-bounding interpolation, and refined scalar optimization.
Proof and Lean reading notes
Proof idea
Construct the actual and reference predictable laws on the same trajectory, bound their gap difference in conditional expectation, derive the exact corruption budget, and invoke the all-regimes optimizer.
Lean reading notes
Current-action corruption, latent-law changes, and expectation-only contracts outside the stated filtration remain separate problems.
Plain-English statement. For independent nonidentical reward laws with controlled drifting means, the expected regret to the time-varying best arm is bounded in all regimes.
Mathematical reading.Formula renderer unavailable; readable fallback: For independent nonidentical reward laws with controlled drifting means, the expected regret to the time-varying best arm is bounded in all regimes.\(\mathbb E R_T^{\mathrm{dyn}}\le B_{\mathrm{fixed}}(T,C,S)+\sum_{t\le T}\bigl(\mu_t(a_t^\star)-\mu_t(a^\star)\bigr).\)Swipe to read the full formula →
Intuition
Dynamic regret splits into what the algorithm loses against one baseline arm and what that baseline arm loses against the moving best arm.
Why it is needed
This is the first compiled moving-comparator theorem in the long Tsallis nonstationarity chain.
Place in the proof
Path-variation and switch-count modules specialize the explicit comparator-advantage term further.
Proof and Lean reading notes
Proof idea
Prove an exact dynamic-to-fixed decomposition, choose the finite actual-mean maximizer at every time, identify expected gaps under the independent law, and bound the comparator advantage using mean-deviation envelopes.
Lean reading notes
The result is expected predictable-environment dynamic regret, not realized sample-path regret or a minimax-sharp variation theorem.
Teaching dependencies
BanditRLProof.FiniteBanditModel
Exact Lean statement
theorem integral_sampledScheduledHalfTsallisFiniteArmIndependentDriftingMeanDynamicRegret_le_allRegimes {K : Nat} (model : FiniteBanditModel K) (armLaw : Nat -> Fin K -> Measure Rat) (hprob : forall t arm, IsProbabilityMeasure (armLaw t arm)) (hbound : forall t arm, ∀ᵐ reward ∂armLaw t arm, ((reward : Rat) : Real) ∈ Set.Icc (0 : Real) 1) (meanDeviation : Nat -> Fin K -> Real) (hmeanDeviation : forall t arm, |finiteArmIndependentRewardMean armLaw t arm - ((model.mean arm : Rat) : Real)| <= meanDeviation t arm) (hgapPos : forall arm, arm ≠ model.bestArm -> 0 < ((model.gap arm : Rat) : Real)) (hgapLeOne : forall arm, arm ≠ model.bestArm -> ((model.gap arm : Rat) : Real) <= 1) (horizon : Nat) : letI : Nonempty (Fin K)
Plain-English statement. The dynamic-regret nonstationarity cost can be compressed to one terminal count of global population-mean change points, with the theorem's explicit coefficient.
Mathematical reading.Formula renderer unavailable; readable fallback: The dynamic-regret nonstationarity cost can be compressed to one terminal count of global population-mean change points, with the theorem's explicit coefficient.\(\mathbb E R_T^{\mathrm{dyn}}\le B_{\log}(T)+4(K-1)(T+1)S_T.\)Swipe to read the full formula →
Intuition
A single global switch event dominates every armwise mean change, so repeated prefix penalties can be bounded by the terminal global count.
Why it is needed
It replaces a nested time-by-arm deviation sum with a more readable population-level change count.
Place in the proof
This is a compiled but deliberately non-sharp endpoint; the obstruction theorem explains why the present route cannot yield a square-root switch rate by comparison alone.
Proof and Lean reading notes
Proof idea
Prove monotonicity of the global prefix count, dominate fixed-deviation and moving-comparator penalties separately, and add the two coefficient-two bounds.
Lean reading notes
The count excludes the post-horizon transition. The theorem does not claim a minimax switch-rate result.
Teaching dependencies
No direct teaching dependency recorded.
Exact Lean statement
theorem integral_sampledScheduledHalfTsallisFiniteArmIndependentGlobalMeanSwitchCountHorizonCompressedDynamicRegret_le_log {K : Nat} (model : FiniteBanditModel K) (armLaw : Nat -> Fin K -> Measure Rat) (hprob : forall t arm, IsProbabilityMeasure (armLaw t arm)) (hbound : forall t arm, ∀ᵐ reward ∂armLaw t arm, ((reward : Rat) : Real) ∈ Set.Icc (0 : Real) 1) (hinitialMean : forall arm, finiteArmIndependentRewardMean armLaw 0 arm = ((model.mean arm : Rat) : Real)) (hgapPos : forall arm, arm ≠ model.bestArm -> 0 < ((model.gap arm : Rat) : Real)) (horizon : Nat) : letI : Nonempty (Fin K)
Plain-English statement. If each oracle-defined epoch has a fixed-comparator regret certificate, their total moving-comparator regret is bounded by a square-root term depending on the number of switches and the horizon.
Mathematical reading.Formula renderer unavailable; readable fallback: If each oracle-defined epoch has a fixed-comparator regret certificate, their total moving-comparator regret is bounded by a square-root term depending on the number of switches and the horizon.\(R_T^{\mathrm{mov}}\le c\sum_e\sqrt{|I_e|}\le c\sqrt{(S_T+1)(T+1)}.\)Swipe to read the full formula →
Intuition
Restarting turns a moving comparator into several fixed-comparator problems; Cauchy-Schwarz aggregates their square-root costs.
Why it is needed
It isolates the deterministic assembly reused by the generated change-point restart theorem.
Place in the proof
This theorem is an upstream deterministic parent. The selector, one-trajectory law transport, epoch-local stability, and population-mean change-point consumer now compile downstream.
Proof and Lean reading notes
Proof idea
Partition the inclusive horizon into epoch fibers, rewrite regret exactly as their sum, apply each local certificate, and bound the sum of square roots by Cauchy-Schwarz.
Lean reading notes
This declaration remains conditional on epoch certificates, but the repository now contains a separate generated consumer. Do not read this parent alone as the final endpoint.
Plain-English statement. The generated half-Tsallis policy that restarts after every global population-mean change has expected dynamic regret bounded by an explicit square-root function of the number of change points and the horizon.
Mathematical reading.Formula renderer unavailable; readable fallback: The generated half-Tsallis policy that restarts after every global population-mean change has expected dynamic regret bounded by an explicit square-root function of the number of change points and the horizon.\(\mathbb E R_T^{\mathrm{dyn}}\le 8\sqrt{K}\,\sqrt{S_T+1}\,\sqrt{T+1}.\)Swipe to read the full formula →
Intuition
Inside an epoch the population means do not change, so one fixed comparator remains optimal; restarting localizes learning and Cauchy-Schwarz aggregates the epoch costs.
Why it is needed
It closes the former gap between the deterministic restart assembly and a single generated probability law.
Place in the proof
This is the current terminal of the full-information population-mean oracle-restart branch.
Proof and Lean reading notes
Proof idea
Construct the exact change-point schedule, prove its epoch count is the global switch count plus one, show the epoch-start best arm stays mean-optimal, transport the generated local stability certificates, and invoke the compiled restart assembly.
Lean reading notes
The schedule sees population-mean changes. An observable detector with delay and false alarms is a different, still-open random-schedule theorem route.
Open the canonical completion definition and blockers
Complete in the canonical finite-arm scope when half-Tsallis finite-simplex minimizer existence, interiority, uniqueness, and measurability; one-step importance-weighted stability; time-varying potential/penalty algebra; the measurable scheduled selector and recursive generated action law; observed score/probability alignment; initial, successor, all-times, and all-rate expected stability; expected environment-regret transport; fixed-gap self-bounding; square-root-schedule logarithmic optimization; and a concrete finite-arm IID rational reward-law producer all compile. The terminal must use the same let-bound selector, trajectory kernel, and measure, retain probability/a.e.-unit-support/exact-mean/positive-gap contracts, and admit the uncorrupted specialization by setting its explicit nonnegative corruption allowance to zero.
Remaining blockers
No remaining blocker inside this canonical scope: Tests/BookMapChaptersSevenAndEightCanary.lean checks the actual generated selector/action-law/stability chain and concretely instantiates the IID logarithmic terminal with two bounded Dirac reward laws of means 3/4 and 1/4 and a proved positive gap. The items below remain distinct research extensions.
Chapter implementation status
The compact summary keeps the reading route visible. Open it for source-linked declarations and exact remaining gaps.
Paper-sharp or minimax-optimal Tsallis-INF constants, a complete best-of-both-worlds theorem, and high-probability or realized-regret guarantees are not claimed by the canonical expected-regret terminal.
History-adaptive corruption, drifting laws, dynamic comparators, and the population-mean oracle restart compile as separately labelled extensions; an observed-reward detector still needs random history-dependent scheduling plus delay/false-alarm concentration.
The strict Fin 2 refined-averaged-stability counterexample remains an explicit obstruction; contextual/linear Tsallis-INF and broader adaptive-learning-rate paper routes remain separate.