How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Stochastic finite-armed bandits
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Determinants of Matrices over a Commutative Ring
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Equivalent Forms of Completeness
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability and the Probabilistic Method
- Finite Probability Spaces and Random Variables
- Foundations of the Real Numbers for Analysis
- Fubini and Change of Variables
- Fundamental Trigonometric Identities
- Further Trigonometric Identities and Inverse Functions
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Improper and Parameter-Dependent Multiple Integrals
- Improper Integrals
- Independence Borel Cantelli and Zero One Laws
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Matrices, the Matrix of a Linear Map, and Change of Basis
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Online protocols and regret benchmarks
- Order, Zorn's Lemma, and the Axiom of Choice
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Suprema and Infima
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Inverse and Implicit Function Theorems
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
Centered 1-sub-Gaussian reward
Definition
Let be an integrable real random variable on a probability space, and write . The reward is 1-sub-Gaussian if for every ,
The expectation in this condition is the nonnegative Lebesgue integral of the displayed exponential; the inequality requires it to be finite for every real .
Definition references
Random elements and real random variables: a real random variable is a measurable map into .
Expectation of a nonnegative or integrable random variable: expectation is the Lebesgue integral against the underlying probability measure, finite for an integrable real random variable.
The real exponential function and the number by a power series: is the real exponential function defined for every .
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: Definition 5.2, PDF p. 86 / printed p. 77; centered-noise convention, PDF p. 88 / printed p. 79.
Sébastien Bubeck and Nicolò Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems: Equation (2.2), Chapter 2 §2.2, PDF p. 13 / printed p. 10.
The zeta sums at 2 and 3 are finite
Statement
For , let , where each positive integer in the summand is identified with its canonical real image. Both sums converge and satisfy .
Statement references
For a nonincreasing nonnegative sequence, converges iff converges: convergence of a nonnegative nonincreasing series is equivalent to convergence of its condensed series.
For , , and for the series diverges: a geometric series with ratio of absolute value less than one converges.
Integer powers : negative integer powers of a nonzero real are defined by reciprocals of natural powers.
The canonical natural of a field: positive natural indices are represented by their canonical real images.
Canonical naturals are positive and strictly increasing: canonical real images of positive naturals are positive.
Facts & Assumptions
Given: An integer and the sequence for positive integer , with integer indices interpreted in by the canonical embedding.
If a nonnegative sequence is nonincreasing, then converges if and only if converges (For a nonincreasing nonnegative sequence, converges iff converges).
A geometric series converges whenever (For , , and for the series diverges).
For a positive integer , its real image is positive, and its negative integer powers are reciprocals of its natural powers (Integer powers , The canonical natural of a field, Canonical naturals are positive and strictly increasing).
Proof
For or , every is positive. If , then : for this follows from , and for from . Taking reciprocals reverses the inequality, so .
For , the condensed term is . For , it is . The final power identities follow by induction on from the recursive definition of natural powers. Thus the condensed series is geometric with ratio or , respectively; [F2] makes both series converge.
The sequence is nonnegative and nonincreasing by step 1.1, and its condensed series converges by step 1.2. Apply [F1] to conclude that converges. Its first term is and all terms are positive, hence .
Expectation of a countably valued nonnegative random variable is its weighted series
Statement
Let be a probability space. Let be a countable measurable partition of , let be finite real numbers, and let be measurable with on . Then, as an extended nonnegative value,
If this series is finite, then is integrable and its expectation is that finite sum.
Statement references
Probability measures and probability spaces: a probability measure has total mass one.
Expectation of a nonnegative or integrable random variable: expectation of a nonnegative measurable random variable is its Lebesgue integral.
Integrable real and complex functions, and their integrals: a real measurable function is integrable exactly when the integral of its absolute value is finite.
Linearity, monotonicity, and the modulus bound for expectation: expectation is linear on integrable real random variables.
The expectation of an indicator is the probability of the event: the expectation of an event indicator equals its probability.
Monotone convergence for the integral: integrals of increasing nonnegative measurable functions converge to the integral of their pointwise limit.
Series in the nonnegative extended real line: a nonnegative extended series is the supremum of its finite partial sums, including when the value is .
Facts & Assumptions
Given: A probability space, a countable measurable partition , finite constants , and a measurable equal to on each .
If measurable nonnegative functions increase pointwise to , their integrals increase to (Monotone convergence for the integral).
On a probability space, expectation of a nonnegative measurable variable is its nonnegative Lebesgue integral; a real measurable variable is integrable when the integral of its absolute value is finite; a nonnegative extended series is the supremum of its partial sums (Probability measures and probability spaces, Expectation of a nonnegative or integrable random variable, Integrable real and complex functions, and their integrals, Series in the nonnegative extended real line).
Event indicators have expectation equal to event probability, and expectation is linear on finite sums of integrable real variables (The expectation of an indicator is the probability of the event, Linearity, monotonicity, and the modulus bound for expectation).
Proof
For , define . This is a measurable nonnegative simple function. On , for and for , so . Each is bounded by the finite maximum of , hence is integrable on the probability space.
By linearity and the indicator identity in [F3], .
Apply monotone convergence [F1] to step 1.1 and then use step 2.1. The resulting supremum of finite partial sums is exactly the nonnegative extended sum by [F2], proving the extended-valued identity.
If the series is finite, step 3.1 gives . Since , , so [F2] shows is integrable and its ordinary expectation is the same finite sum.
A deterministic-prefix envelope sum for the sharper UCB count bound
Statement
Let be an integer, let , and put . For define and Then For the stronger bound holds. All integrals in the proof are proper Riemann integrals or their separately convergent improper limits.
Statement references
Lattimore and Szepesvári, Bandit Algorithms, Theorems 7.1–7.2: supplies the UCB proof context; this deterministic estimate is proved locally.
Facts & Assumptions
Given: The integer , positive , and in the Statement.
The Gaussian integral is . The Gaussian integral
A monotone differentiable surjection between improper intervals preserves the integral, with absolute Jacobian, when its derivative is locally integrable and proper substitution holds on every compact truncation. Change of variable in an improper integral
Proper substitution holds for a differentiable substitution with integrable derivative and continuous integrand on an interval containing its image. Substitution: if is differentiable on with integrable and is continuous on an interval containing , then
For , and ; logarithms are increasing and obey the product law. The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm
Principal arctangent satisfies , , and . Principal arctangent: derivative, integral, power series, and the Gregory–Leibniz series
An integrable derivative integrates to the endpoint difference; integration preserves pointwise inequalities between integrable functions. The second fundamental theorem: if is differentiable on with and is integrable, then If on and both are integrable then ; and
The exponential has derivative equal to itself, and the chain rule differentiates compositions. The exponential function is smooth and The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with
Convergent improper integrals can be split at a finite interior point and combined linearly. Improper convergence is independent of finite truncations and split points Linearity of convergent improper integrals
Nonnegative reals have unique nonnegative square roots. Square roots exist: a unique with ; the positives are
A continuous function on an interval is decreasing when its derivative is negative throughout the interior. On an interval , for continuous on and differentiable at every interior point: throughout gives nondecreasing, gives increasing, and give the two decreasing forms; conversely a nondecreasing has and a nonincreasing has wherever it is differentiable, and no strict converse is claimed
The exponential is positive and strictly increasing. The exponential function is strictly increasing The exponential is positive and satisfies
Polynomial powers differentiate by the power rule, and sums, products and nonvanishing quotients obey the derivative algebra. For a natural the function is differentiable everywhere with derivative ; for it is the constant , with derivative ; for a natural the function is differentiable at every with derivative ; consequently every polynomial function is differentiable at every real, with the derivative computed term by term Sums, scalar multiples, products and quotients: , , , and when
The exponential tends to zero at negative infinity. The exponential tends to at and to at
The real exponential is continuous, positive, strictly increasing, and satisfies (The real exponential function and the number by a power series, The exponential function is strictly increasing, The exponential is positive and satisfies ).
Sums and scalar multiples of continuous real functions are continuous, every real polynomial map is continuous, and continuous maps compose continuously (Sums, scalar multiples, products, absolute values, maxima, minima and quotients with nonvanishing denominator of continuous functions are continuous, as are constants, the identity and every polynomial function, A composite of continuous functions is continuous, with no side hypothesis of the kind the composition of limits needs).
A continuous real function on a compact interval is Riemann integrable (A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion).
For an integrable function, proper integrals add over adjacent subintervals (For : is integrable on if and only if it is integrable on and on , and then ; with the oriented form for arbitrary ).
Proof
By [F9], for the identity and imply : indeed , and follows because its square is . Thus the nonnegative square-root map is increasing. It is continuous at every , since and given , makes this difference less than . At , for each , implies , so it is continuous there as well. The map is nondecreasing and continuous, since by its sign cases. Thus and its positive part are continuous, and [F15] makes the final composition defining continuous. The positive part is nonnegative and nondecreasing; for , , so squaring preserves that order. Hence the exponent is nonincreasing, and [F14] makes nonincreasing; its exponent is nonpositive, so positivity, monotonicity and give . The continuous function is integrable on by [F16], and repeated use of [F17] gives . For , ; [F6] gives . Hence . If converges, nonnegativity of the tail and [F8] give . Also .
Write . The integrands and are continuous on every compact truncation of . Evenness in [F1] and the scaling give by [F2], with convergence inherited from the Gaussian integral. The primitive gives by [F6] and [F7]; the endpoint limit follows from [F13]. The substitutions are increasing smooth surjections on the half-lines, with continuous derivatives and continuous integrands on every compact truncation, so all hypotheses of [F2] hold and these two improper integrals converge separately.
The integrand is continuous on , since there. Polynomial division gives Integrating on using [F5] and [F6] yields The strict positivity follows because the integrand is nonnegative and on is at least . Thus .
On , . On the remaining half-line use , whose derivative is positive and continuous and whose image is exactly . Proper substitution applies on compact truncations by [F3], so [F2], [F8], and step 1.2 give This proves finiteness and justifies step 1.1.
Put for , so and is continuous on . The increasing substitution on has continuous derivative and takes that interval onto . Hence [F3] and [F4] give . For every integer , the finite geometric identity gives on this interval. Integrating this polynomial by [F6] proves At , , and , respectively, this yields
By [F4] and step 2.2, All comparisons follow by multiplying positive integer denominators; no decimal approximation is used.
Define . If , step 3.1 gives . At , so . For , the difference of at these two values equals , since . Thus here. Steps 1.1 and 2.1 give , the asserted stronger bound.
Suppose . Step 2.2 gives , whence and . For , the derivative is continuous and negative on , so is decreasing there. Step 3.1 gives , hence and therefore .
If , steps 1.1 and 2.1 already give . If and , those steps give . If , step 4.2 gives , so . These cases exhaust and prove the Statement together with step 4.1.
Tail bounds for deterministic prefixes of independent sub-Gaussian rewards
Statement
Let be an integer. Let be mutually independent integrable real random variables on a common probability space, with means , and suppose each is 1-sub-Gaussian, meaning that for every . Then for every ,
Statement references
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: §5.3, Theorem 5.3 and Corollary 5.5, PDF pp. 86–87 / printed pp. 77–78; the independent-sum step is Exercise 5.7.
Sébastien Bubeck and Nicolò Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems: Chapter 2 §2.2, Equation (2.2) and fixed-sample MGF tail derivation, PDF pp. 13–14 / printed pp. 10–11.
Facts & Assumptions
Given: A finite family of mutually independent integrable real random variables , their means , and the 1-sub-Gaussian MGF bounds in the statement.
For each and every real , (Centered 1-sub-Gaussian reward).
Independence means the generated sigma-algebras are independent (Independent random elements); therefore the joint law of the finite vector is the product of its marginal laws (Independent random elements have product joint law).
Tonelli permits iterated integration of nonnegative product-measurable functions over sigma-finite product spaces (Tonelli's theorem for nonnegative measurable functions on a sigma-finite product); positive scalar factors may be taken outside nonnegative integrals (Monotonicity and nonnegative homogeneity of the nonnegative integral).
Expectation of a nonnegative random variable is its Lebesgue integral (Expectation of a nonnegative or integrable random variable).
For a nonnegative random variable and , (Markov's inequality for random variables).
The real exponential satisfies (The exponential addition formula ), is positive (The exponential is positive and satisfies ), and is strictly increasing (The exponential function is strictly increasing).
Proof
Put . For the desired MGF bound is [F1]. For and , the product-law identity in [F2] and the exponential addition formula in [F6] give . The integrand is nonnegative and measurable by [F6]. Repeated application of Tonelli in [F3], grouping the first factors and the last factor, factors this integral into the product of the one-dimensional integrals.
Each factor is at most by [F1], so . The same argument with gives .
If and , strict increase and positivity of the exponential in [F6] identify . Markov's inequality [F5] and step 2.1 yield . Choosing gives .
Applying the same argument to gives . At both asserted bounds reduce to the probability bound .
Finite stochastic bandit model, gaps, and regret
Definition
Fix positive integers and , write , and let be a probability space. A finite-horizon -armed stochastic bandit in reward-stack form consists of probability measures on with finite first absolute moments, and an independent table of integrable real random variables such that the table entries are mutually independent and each has law . Its mean for arm is , which does not depend on . The learner may also use a random element for private randomization, provided is independent of the sigma-algebra generated by the entire table; a deterministic learner uses a constant .
A non-anticipating policy chooses a measurable arm at each round using only and the previously observed history . Write for that history sigma-algebra. Define the pull count and
Thus each time arm is selected the learner receives the next unused entry in arm 's reward stack. Set
define the pseudo-regret , and define the realized reward regret and expected reward regret .
Each is integrable because it selects one entry of the finite table, so and the right-hand side is integrable. Hence is integrable as well.
Definition references
Online decision protocol: the learner chooses before the current round's feedback and uses only earlier revealed history.
Adversary and feedback models: a stochastic finite-arm environment has a fixed probability law for each arm, finite first moments, and the stated conditional reward-law convention.
Static, dynamic, interval, and strongly adaptive regret: pseudo-regret is the sum of mean gaps along the action sequence; realized reward regret subtracts the observed rewards; expected regret integrates realized regret.
Random elements and real random variables: table entries and learner randomization are measurable random elements, with the table entries real-valued.
Law or distribution of a random element: the law of a random element is the pushforward probability measure on its measurable target space.
Change of variables for expectation: expectation of an integrable measurable function of a random element equals its integral against the law, in particular for the identity function on the real line.
Expectation of a nonnegative or integrable random variable: expectation of an integrable real random variable is its Lebesgue integral.
Linearity, monotonicity, and the modulus bound for expectation: finite linear combinations of integrable random variables are integrable and expectation is linear.
Independent random elements: the table entries are mutually independent as random elements, and learner randomization is independent of the table.
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: §4.1, PDF p. 65 / printed p. 56; §§4.4–4.6, PDF pp. 69–74 / printed pp. 60–65.
Sébastien Bubeck and Nicolò Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems: Chapter 2, PDF pp. 11–12 / printed pp. 8–9.
Explore-then-commit for a finite stochastic bandit
Definition
Input integers with , and access to an -round -armed stochastic bandit. The output is the sequence of selected arms and the committed arm .
- For rounds , choose arm and observe its reward . Thus each arm is explored exactly times.
- For each , form its exploration mean
- Let be the least index attaining .
- For every remaining round , choose and observe its reward.
Definition references
Finite stochastic bandit model, gaps, and regret: the horizon, finite arm set, reward observations, and non-anticipating round order used by the procedure.
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: Chapter 6 §6.1, Algorithm 1, PDF p. 101 / printed p. 92.
Finite-horizon upper-confidence-bound bandit algorithm
Definition
Input integers with , a confidence parameter , and access to an -round -armed stochastic bandit. Output the selected arms .
- Initialize by choosing each arm once: set for , and observe each reward.
- For each round , compute for every arm . If , first set and then set . If , set .
- Choose the least index attaining as , then observe .
Definition references
Finite stochastic bandit model, gaps, and regret: the finite arm set, horizon, pull counts, observed rewards, and round order.
The natural logarithm as the inverse of the exponential function: is the inverse of the real exponential on positive reals.
Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: the natural logarithm is increasing and satisfies the product and quotient laws.
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: Chapter 7 §7.1, Algorithm 3, PDF p. 112 / printed p. 103.
The independent reward-stack model has the prescribed conditional arm laws
Statement
In the finite reward-stack model, fix a round , an arm , an event with , and a Borel set . Then
In particular, the reward stack satisfies the fixed conditional reward-law and conditional-mean interface for finite-arm stochastic environments.
Statement references
Finite stochastic bandit model, gaps, and regret: the table entries are mutually independent, a policy uses only the revealed history and independent learner randomness, and each pull reveals the next unused entry of the chosen arm's stack.
Adversary and feedback models: the fixed conditional arm-law and conditional-mean identities required by the sequential stochastic reward model.
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: §4.6, PDF p. 74 / printed p. 65; Exercise 4.4.
Facts & Assumptions
Given: A finite reward-stack model, a non-anticipating policy, a round , an arm , and an event contained in .
The policy uses only and the previously revealed actions and rewards; on a fixed action history, the observed rewards are exactly the corresponding initial entries of the arm stacks (Finite stochastic bandit model, gaps, and regret).
The learner randomization and all table entries form a finite independent family (Independent random elements), whose joint law is the finite product of its marginal laws (Independent random elements have product joint law).
For each arm , every table entry has law and finite first absolute moment, with mean (Finite stochastic bandit model, gaps, and regret).
Measurable functions of independent random elements remain independent (Measurable coordinatewise functions preserve independence).
Expectations of finite products of mutually independent integrable real random variables factor (Expectation factors over a finite product of mutually independent random variables), and (The expectation of an indicator is the probability of the event).
Expectation is the Lebesgue integral and is linear on integrable real random variables (Expectation of a nonnegative or integrable random variable, Linearity, monotonicity, and the modulus bound for expectation).
Proof
Partition by the finitely many past action strings . Let be the number of times arm occurs in , and write . By the recursive non-anticipating policy rule, each is measurable with respect to and the table entries with : along that fixed action string, those and only those stack entries have been revealed.
If is nonempty then on it, and the next reward is . This table entry is distinct from every coordinate determining . By [F2] it is independent of the vector of those coordinates, so the event is independent of for every Borel . Its law is , hence .
The events partition . Summing the identity in step 2.1 over the finite set gives for every Borel .
For each , the indicator is a measurable function of the exposed-coordinate vector. By [F2] and [F4], it is independent of . Both are integrable by [F3], so [F5] and [F6] give . Summing over the finite action strings yields .
Expected pull count for a suboptimal UCB arm
Statement
Let be integers with . In an -round -armed stochastic bandit, suppose every reward-stack entry is 1-sub-Gaussian. Run the upper-confidence-bound algorithm with . For every arm with gap , its number of pulls satisfies
where is the natural logarithm and the expectation is over the reward table and learner randomization.
Statement references
Centered 1-sub-Gaussian reward: each reward is mean-centred and satisfies the exact MGF bound for every real parameter.
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: Theorem 7.1 proof, §7.1, PDF pp. 114–117 / printed pp. 105–108; fixed-prefix warning, PDF p. 112 / printed p. 103.
Sébastien Bubeck and Nicolò Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems: Theorem 2.1 proof, Chapter 2 §2.2, PDF pp. 14–15 / printed pp. 11–12.
Facts & Assumptions
Given: An -round reward-stack model with , all reward entries 1-sub-Gaussian, a suboptimal arm with , and the UCB algorithm run with .
Each arm has finite mean , gap , and stack entries are independent with law (Finite stochastic bandit model, gaps, and regret).
Every table entry is centered 1-sub-Gaussian in the exact MGF sense (Centered 1-sub-Gaussian reward).
For every deterministic , the prefix mean satisfies for (Tail bounds for deterministic prefixes of independent sub-Gaussian rewards).
After initialization, the UCB index of arm with observations is its observed-prefix mean plus ; the least-index maximizer is selected (Finite-horizon upper-confidence-bound bandit algorithm).
Proof
Fix a suboptimal arm , let be the least index with , write , and put . For each deterministic prefix length , set ; by [F4] this is the UCB bonus when . If , then , which is stronger than the claim. Hence assume , so .
Define the good event . On , arm cannot be selected at any round when it already has pulls: its index is then below , whereas the good event makes the index of arm at least for every possible deterministic prefix length . Since each pull increases by one, on .
The complement of the first event in is contained in the union of the deterministic-prefix events . By [F2] under [A1] and the union bound, its probability is at most . This union is over fixed , not the random pull count .
Since , the other failure event in is contained in . By [F2] under [A1] its probability is at most . Therefore .
Always , while step 2.1 gives on . Thus , where was used in the last inequality. This proves the claim.
Expected regret of explore-then-commit
Statement
Let be positive integers with . In an -round -armed stochastic bandit, suppose all reward-stack entries are 1-sub-Gaussian. Run explore-then-commit with exploration count . Its expected reward regret satisfies
This is an expected-regret bound, not a high-probability guarantee.
Statement references
Finite stochastic bandit model, gaps, and regret: finite arm means, gaps, reward-stack model, and expected reward regret.
Centered 1-sub-Gaussian reward: each reward entry is centered at its finite mean and has MGF bounded by for every real .
Explore-then-commit for a finite stochastic bandit: deterministic round-robin exploration followed by commitment to an empirical-mean maximizer.
Tail bounds for deterministic prefixes of independent sub-Gaussian rewards: two-sided tails for deterministic prefixes of independent sub-Gaussian rewards.
Finite-arm regret decomposes into expected action counts: expected reward regret equals the sum of arm gaps times expected pull counts under the conditional-mean hypothesis.
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: Theorem 6.1 and proof, Chapter 6 §6.1, PDF pp. 101–102 / printed pp. 92–93.
Facts & Assumptions
Given: Integers with , the stochastic reward-stack model, 1-sub-Gaussian reward entries, and explore-then-commit with least-index tie-breaking.
For each arm, is finite, , and expected reward regret is (Finite stochastic bandit model, gaps, and regret).
Every table entry satisfies the exact centered 1-sub-Gaussian MGF bound (Centered 1-sub-Gaussian reward).
The observed reward at each pull has the arm's fixed conditional law and conditional mean, even under adaptive choices on the independent reward stacks (The independent reward-stack model has the prescribed conditional arm laws; Adversary and feedback models).
Under the eventwise conditional-mean identity, expected regret decomposes as (Finite-arm regret decomposes into expected action counts).
During exploration, the algorithm pulls each arm exactly times and then commits to a least-index empirical-mean maximizer (Explore-then-commit for a finite stochastic bandit).
For any fixed arm pair and deterministic prefix length, the centered sum of independent reward-table entries has the two-sided sub-Gaussian tail bound (Tail bounds for deterministic prefixes of independent sub-Gaussian rewards).
Measurable functions applied coordinatewise to independent random elements remain independent (Measurable coordinatewise functions preserve independence).
Proof
By [F2], the conditional-mean hypothesis of [F3] holds, so . Let be the committed arm. The first rounds pull each arm exactly times, and every later round pulls ; hence . Taking expectations gives .
Fix an optimal arm with . If a suboptimal arm is committed, its exploration mean is at least that of , so . The displayed sum has mutually independent terms: these are measurable transforms of distinct independent table entries by [F6]. The positive centered terms are 1-sub-Gaussian by [A1], and the negated centered terms satisfy the same MGF bound by applying [A1] at . Apply [F5] to these deterministic reward-stack prefixes with threshold to obtain . For an optimal arm the theorem's summand has , so no event bound is needed.
Substituting these bounds on for each suboptimal arm into step 1.1, and using for every arm, gives . The term with is zero when exploration uses the whole horizon.
A sharper expected suboptimal-arm pull count for the unchanged UCB rule
Statement
Let be integers. In the finite reward-stack bandit model, assume all entries are centered 1-sub-Gaussian and run the stated UCB algorithm with . Every arm with gap satisfies This is a local sharpening of the coefficient-16 expected-pull bound; the algorithm and confidence radius are unchanged.
Statement references
Lattimore and Szepesvári, Bandit Algorithms, Theorem 7.1: proves the coefficient-16 count estimate; the smaller coefficient is proved here.
Facts & Assumptions
Given: The finite independent reward table, UCB rule, horizon and suboptimal arm in the Statement.
An arm has fixed mean , gap , and its observations are the first entries of its independent stack. Finite stochastic bandit model, gaps, and regret
All reward entries satisfy the centered 1-sub-Gaussian MGF condition. Centered 1-sub-Gaussian reward
UCB first plays every arm once, then selects an index maximizer with index at count . Finite-horizon upper-confidence-bound bandit algorithm
For each fixed prefix of length , both centered mean tails at threshold are at most . Tail bounds for deterministic prefixes of independent sub-Gaussian rewards
Finite unions have probability at most the sum of their probabilities, and event probabilities are at most one. Basic identities for a probability measure
Expectation is linear and monotone on integrable finite sums, and the expectation of an indicator is its probability. Linearity, monotonicity, and the modulus bound for expectation The expectation of an indicator is the probability of the event
If , and , the sum of for is at most . A deterministic-prefix envelope sum for the sharper UCB count bound
The natural logarithm is increasing and satisfies its product and reciprocal laws. The natural logarithm as the inverse of the exponential function Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm
Proof
Put and let be the least-index optimal arm. For a fixed prefix , put . By [F8], this is the index bonus at . Let Every event in its complement is a fixed-prefix lower-tail event of probability at most by [F2] and [F4]. Hence by [F5].
Fix the suboptimal arm . It is played once during initialization. On , any later play when its current count is requires : its selected index is at least the current index of , which is at least . Each such count can be charged at most once, since a play increases the count by one. Always . Thus pointwise
For a fixed , the event inside the sum in step 2.1 is . If this threshold is positive, [F4] bounds its probability by . If it is nonpositive, use the bound in [F5]. Consequently, in both cases its probability is at most These are tails at deterministic prefix counts, never a tail theorem evaluated at a random count.
Take expectations in step 2.1, using [F6]. The count and indicators are bounded and therefore integrable. Step 1.1 makes the last term at most , while step 3.1 bounds the finite sum. If , [F7] with therefore gives
If , the existence of a suboptimal arm implies . Initialization plays every other arm at least once, so pointwise. This proves the desired bound in the remaining horizons. If there is no suboptimal arm, so the assertion is vacuous. Together with step 4.1 this proves the Statement.
Gap-dependent expected regret of UCB
Statement
Let be integers with . In an -round -armed stochastic bandit, suppose all reward-stack entries are 1-sub-Gaussian. Run the upper-confidence-bound algorithm with . Its expected reward regret satisfies
where is the natural logarithm. This is an expected-regret bound, not a high-probability guarantee.
Statement references
Finite stochastic bandit model, gaps, and regret: the finite reward-stack model, gaps, and expected reward regret.
Centered 1-sub-Gaussian reward: the exact mean-centred MGF condition for each reward entry.
Finite-horizon upper-confidence-bound bandit algorithm: the UCB index and the finite-horizon schedule used by the theorem.
Expected pull count for a suboptimal UCB arm: the deterministic-prefix expected-pull bound for each suboptimal arm.
Finite-arm regret decomposes into expected action counts: expected regret is the gap-weighted sum of expected pull counts under the fixed conditional-mean law.
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: Theorem 7.1 and proof, Chapter 7 §7.1, PDF pp. 114–117 / printed pp. 105–108.
Sébastien Bubeck and Nicolò Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems: Theorem 2.1 and proof, Chapter 2 §2.2, PDF pp. 14–15 / printed pp. 11–12; its confidence schedule and constants differ.
Facts & Assumptions
Given: Integers with , the finite reward-stack model with all entries 1-sub-Gaussian, and UCB run with .
The gaps are and expected reward regret is (Finite stochastic bandit model, gaps, and regret).
Each reward stack entry satisfies for every real (Centered 1-sub-Gaussian reward).
The reward-stack model satisfies the fixed conditional-mean identity required by the regret-decomposition result (The independent reward-stack model has the prescribed conditional arm laws).
Under that identity, (Finite-arm regret decomposes into expected action counts).
For every with , (Expected pull count for a suboptimal UCB arm).
The algorithm uses the natural logarithm and for (The natural logarithm as the inverse of the exponential function, Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm).
Proof
By [F2], the conditional-mean hypothesis of [F3] holds for the observed rewards of the UCB policy. Therefore .
If , its summand is zero. For every remaining arm, substitute [F4] into step 1.1 and distribute the nonnegative coefficient to obtain . This is the asserted expected-regret bound.
Gap-free expected regret of UCB
Statement
Let be integers with . In an -round -armed stochastic bandit, suppose all reward-stack entries are 1-sub-Gaussian. Run the upper-confidence-bound algorithm with . Its expected reward regret satisfies
where is the natural logarithm. This is an expected-regret bound, not a high-probability guarantee.
Statement references
Finite stochastic bandit model, gaps, and regret: the finite reward-stack model, gaps, and expected reward regret.
Centered 1-sub-Gaussian reward: the exact mean-centred MGF condition for each reward entry.
Finite-horizon upper-confidence-bound bandit algorithm: the UCB index and finite-horizon schedule.
A sharper expected suboptimal-arm pull count for the unchanged UCB rule: the local once-per-prefix argument gives the sharper expected-pull estimate used in the finite Cauchy–Schwarz proof.
Finite-arm regret decomposes into expected action counts: expected regret is the gap-weighted sum of expected pull counts under the fixed conditional-mean law.
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms: Theorem 7.2 and proof, Chapter 7 §7.1, PDF p. 117 / printed p. 108.
Facts & Assumptions
Given: The unchanged finite reward-stack bandit, horizon , centered 1-sub-Gaussian entries, and UCB with in the Statement.
The gaps are nonnegative and exactly one arm is pulled each round, so . Finite stochastic bandit model, gaps, and regret
Reward entries satisfy the exact centered MGF condition, and the algorithm uses the stated confidence schedule. Centered 1-sub-Gaussian reward Finite-horizon upper-confidence-bound bandit algorithm
The reward-stack model supplies the eventwise conditional-mean hypothesis of the finite-arm regret decomposition. The independent reward-stack model has the prescribed conditional arm laws
Under that hypothesis, expected reward regret equals . Finite-arm regret decomposes into expected action counts
For every suboptimal arm, the unchanged UCB rule satisfies . A sharper expected suboptimal-arm pull count for the unchanged UCB rule
For finite real lists, , with the corresponding nonnegative square-root inequality. The Cauchy-Schwarz inequality for finite sums
Expectation is linear for finite sums of integrable random variables. Linearity, monotonicity, and the modulus bound for expectation
Proof
By [F3], the actual reward table meets the conditional-mean premise of [F4], hence . All counts are bounded, and [F1] gives .
Let and, for , put . By [F5], . Also , so by step 1.1. Therefore Zero-gap arms contribute zero, and no reciprocal of a zero gap occurs.
Apply [F6] to the finite nonnegative lists and for . Step 2.1 yields If is empty both sums and the regret are zero; otherwise the same finite inequality applies. Substitution in step 2.1 proves the unchanged Statement.
4 · Examples, counterexamples and false statements
None yet.
Sources
- Tor Lattimore and Csaba Szepesvári, Bandit Algorithms
- Sébastien Bubeck and Nicolò Cesa-Bianchi, Regret Analysis of Stochastic and Nonstochastic Multi-armed Bandit Problems
- Stephen Semmes, Elements of Analysis
- John K. Hunter, Measure Theory Notes
- Lattimore and Szepesvári, Bandit Algorithms, Theorems 7.1–7.2; independent local sharpening of the expected-pull argument