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.
Linear contextual bandits and LinUCB
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Algebraic Closure, Embeddings, and Separability
- Algebraic Extensions, Extension Degree, and Finite Fields
- Areas of Elementary Plane Figures
- Binary Operations, Monoids, Groups and Subgroups
- Compactness
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Composition Series, the Jordan–Hölder Theorem and Solvable Groups
- Conditional Expectation
- Congruences, the Integers Modulo n and the Chinese Remainder Theorem
- 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
- Countability Axioms and Cardinal Functions
- Cyclic Groups and Direct Products
- Determinants of Matrices over a Commutative Ring
- Diagonalisation and the Minimal Polynomial
- Direct Matrix Factorisations: LU, Cholesky and QR
- Discrete Time Martingales
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Divisibility, Greatest Common Divisors and Bézout's Identity
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Eigenvalues, Eigenvectors and the Characteristic Polynomial
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability and the Probabilistic Method
- Foundations of the Real Numbers for Analysis
- Fubini and Change of Variables
- Fundamental Trigonometric Identities
- Gaussian Elimination, Elementary Matrices and Reduced Row Echelon Form
- Group Actions, Orbits, Stabilisers and Cayley's Theorem
- Group Homomorphisms and the Isomorphism Theorems
- Hilbert Space Geometry and Riesz Representation
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Improper and Parameter-Dependent Multiple Integrals
- Improper Integrals
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Laplace approximation and deterministic quadrature
- Lebesgue Measure on Euclidean Space
- 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
- Outer Measure and the Caratheodory Extension Theorem
- Pointwise Extended-Real Function Products
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Primes, Euclid's Lemma and the Fundamental Theorem of Arithmetic
- 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
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Sine, Cosine, and the Definition of Pi
- Splitting Fields
- Stopping Times and Optional Stopping
- Subspaces, Products, and Quotients
- Suprema and Infima
- Sylow's Theorems, p-Groups and Nilpotent Groups
- Symmetric Groups, Cycle Decomposition and the Sign Homomorphism
- The Derivative and the Mean Value Theorems
- The Determinant of a Linear Operator, Cofactors and Cramer's Rule
- The Exponential Function
- The Fundamental Theorem of Algebra
- The Fundamental Theorem of Finite Abelian Groups
- The Galois Correspondence
- The Inverse and Implicit Function Theorems
- The Lebesgue and Riemann Integrals Compared
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Moore--Penrose Pseudoinverse and Regularised Least Squares
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral in Rᵐ and Jordan Content
- The Riemann Integral: Definition and Integrability
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The Topology of Euclidean Space
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
2 · Logical flowchart
3 · Definitions, theorems and proofs
The elliptical-potential bound for ridge design matrices
Statement
Let , let , let , and let . Define and for . Then every is positive definite, , and
Statement references
Facts & Assumptions
Given: Positive integers , a real , and vectors .
The Euclidean inner product on and Rectangular matrix multiplication and the identity matrix , including zero-sized shapes: and in standard coordinates.
Hermitian positive-definite matrices and Cholesky factorisation A = LL* with positive diagonal and A matrix admits a Cholesky factorisation with positive diagonal exactly when it is Hermitian positive definite, and that factor is unique: a real symmetric positive-definite matrix factors as with lower triangular and positive diagonal.
For , the determinant over a commutative ring by the Leibniz formula, and for a real matrix, For same-sized finite square matrices over a commutative ring, , For every square matrix over a commutative ring, , and The determinant of a triangular matrix is the product of its diagonal entries: determinant is defined by the Leibniz formula, is multiplicative, is unchanged by transpose, and for triangular equals the product of its diagonal entries.
A finite square real matrix is invertible if and only if its determinant is nonzero: a real square matrix with nonzero determinant is invertible.
The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t and If on and both are integrable then ; and : for , , and pointwise inequalities between integrable functions on an increasing interval give the corresponding integral inequality.
Proof
For every and nonzero , Each is symmetric, so it is positive definite.
If , then . If , the interval is nondegenerate, so [F7] and on that interval give . If , then ; if , then . Thus in every case.
By [F2]–[F3], write with positive diagonal. Then , so [F6] makes invertible. In particular is defined.
The inverse of a positive-definite matrix is positive definite: if and , then and ; if , then . Thus .
Apply [F4] with and . Since [F5] and invertibility in step 2.1 give , the result is .
Divide the update identities of step 3.2 by the positive determinants of step 2.1 and multiply them for . This gives , hence by [F8].
Apply step 1.2 to each nonnegative from step 3.1 and sum. Step 4.1 identifies the sum of logarithms with , proving the claimed bound.
Trace control of the regularized design determinant
Statement
Let , let , let , and let satisfy . Put and , and define . Then
Statement references
Facts & Assumptions
Given: Positive integers , reals and , and vectors with .
The Euclidean inner product on : and the standard inner product is positive definite.
Real spectral theorem: a self-adjoint endomorphism of a finite-dimensional real inner product space has an orthonormal eigenbasis: every real symmetric matrix has an orthonormal eigenbasis.
For , the determinant over a commutative ring by the Leibniz formula, and for a real matrix, For same-sized finite square matrices over a commutative ring, , and For every square matrix over a commutative ring, : determinant is defined by the Leibniz formula, is multiplicative, and is unchanged by transpose; a diagonal determinant is the product of its diagonal entries by The determinant of a triangular matrix is the product of its diagonal entries.
The arithmetic mean, geometric mean inequality: for positive reals , .
Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: the natural logarithm is strictly increasing on positive reals and for .
Proof
For every nonzero , Thus is symmetric positive definite. By [F2], choose an orthogonal matrix and positive eigenvalues with .
For each , for every nonzero . Thus is symmetric positive definite. By [F2], write with orthogonal; positive definiteness gives for each . By [F3], and . Since , multiplicativity gives , hence .
Since , [F3] gives . Applying [F3] to the diagonalization yields . Also, expanding the diagonal entries of gives because each column of has Euclidean norm one.
By [F4] and step 2.1, The definition of gives .
Since is diagonal, [F3] gives . Dividing step 3.1 by this positive number yields
The two sides in step 4.1 are positive by steps 2.1 and 4.1. Applying the increasing natural logarithm and then [F5] gives the claimed bound.
Conditional sub-Gaussian bounds allow bounded predictable coefficients
Statement
Assume the Axiom of Choice. Let be a probability space, let be a sub-sigma-algebra, and let be a real random variable such that, for every , is integrable and
Then for every bounded, real, -measurable random variable ,
Statement references
Facts & Assumptions
Given: AC, a probability space, a sub-sigma-algebra , and an integrable real random variable whose exponential moments satisfy the Statement.
Conditional expectation given a sigma algebra: a conditional-expectation version is -measurable and integrable, and its event integrals equal those of the conditioned variable.
Basic algebra and order properties of conditional expectation: conditional expectation is linear and order preserving, preserves total expectation, and satisfies almost surely. AC is required for the supplied conditional-expectation classes.
The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with : a differentiable real function on an interval has each increment equal to its derivative at an intermediate point times the interval length.
The Axiom of Choice: every family of nonempty sets has a choice function; this supplies the conditional-expectation versions used in [F2].
Proof
First suppose for a finite measurable partition in . Choose conditional-expectation versions and set . Both and are integrable, and is -measurable. For every , [F1] applied on gives Thus is the required conditional-expectation version. The assumed fixed- bounds make it at most outside a finite union of null sets.
For a bounded , choose with and let be the finite-valued -measurable rounding of down to the grid ; then and .
For fixed , put . By [F3]–[F4], on its increments satisfy For , because . Also , whose expectation is at most by [F2]. The Lipschitz envelope is therefore integrable, so implies .
Set and . By [F2] and step 2.1, . Step 1.1 gives almost surely for every ; after removing the countable union of their exceptional null sets, for each . Taking expectations and passing to the limit gives , hence almost surely.
Finite-dimensional linear contextual bandit model
Definition
Fix integers , real parameters , , and , and a deterministic vector with . Replacing any finite feature bound by its maximum with makes the convention harmless. Work on a probability space with a filtration satisfying .
At round , before reward noise is observed, the history sigma-algebra contains all contexts, choices, and feedback through rounds , as well as the current context , the nonempty available action set, and its available feature set . The features arise from a measurable map between spaces with declared measurable structures by for available actions . The feature set is finite or compact in the Euclidean topology, every candidate satisfies , and the selected feature is -measurable. The true-mean maximum is attained and its value is -measurable. A policy using LinUCB must also select an attained upper-confidence maximizer measurably from the pre-reward information; finite ordered action sets select the first maximizer, while a compact set is used only when such a predictable selection is supplied.
After is selected, the reward is observed, where is an -measurable real random variable and
For every , require to be integrable and its conditional expectation version to satisfy
This is conditional -sub-Gaussian noise with the pre-reward convention for . No independence between rounds is assumed. For , define the unaveraged ridge information matrix and response sum by
with empty sums equal to . Set and for . For a real symmetric matrix satisfying for all nonzero , write . The estimate is the unique minimizer of ; the sum is not divided by .
Definition references
Online decision protocol: the generic protocol restricts a choice to prior history and learner-private randomization before current feedback; the current context and available feature information specified in this contextual model are additional side information.
Random elements and real random variables: contexts, selected features, noise, and rewards are measurable random elements.
A measurable function between measurable spaces: the context/action feature map is measurable between its declared measurable spaces.
Filtration and filtered probability space: is an increasing sequence of sub-sigma-algebras on the probability space.
Conditional expectation given a sigma algebra: each conditional MGF is a measurable integrable version whose event integrals agree with those of the exponential.
The Euclidean inner product on : and .
The Tikhonov regularised least-squares objective for : the ridge objective uses the displayed sample-sum least-squares convention.
For every , the Tikhonov objective is strictly convex and has the unique minimiser : the positive ridge term gives the unique minimizer in the displayed normal-equation form.
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms, §§19.1–19.2
The ridge information matrix is positive definite and invertible
Statement
In the finite-dimensional linear contextual bandit model, for every the matrix is symmetric and satisfies for every nonzero . It is invertible, has determinant at least , and for every ,
Statement references
Facts & Assumptions
Given: The model's fixed , feature vectors , and the matrices .
Finite-dimensional linear contextual bandit model gives the displayed and Euclidean feature vectors.
The Euclidean inner product on : and .
Real spectral theorem: a self-adjoint endomorphism of a finite-dimensional real inner product space has an orthonormal eigenbasis: a real symmetric matrix has an orthonormal eigenbasis.
Hermitian positive-definite matrices and Cholesky factorisation A = LL* with positive diagonal and A matrix admits a Cholesky factorisation with positive diagonal exactly when it is Hermitian positive definite, and that factor is unique: a real symmetric matrix with positive quadratic form on nonzero vectors factors as with positive diagonal.
For , the determinant over a commutative ring by the Leibniz formula, and for a real matrix, For same-sized finite square matrices over a commutative ring, , For every square matrix over a commutative ring, , and The determinant of a triangular matrix is the product of its diagonal entries: determinant is multiplicative and unchanged by transpose; for triangular it is the product of its diagonal entries. Thus for an orthogonal , .
A finite square real matrix is invertible if and only if its determinant is nonzero: a real square matrix with nonzero determinant is invertible.
Proof
For any , the model formula gives since and . Each summand is symmetric, so is symmetric as well.
By [F3], choose an orthonormal eigenbasis of with eigenvalues . Applying step 1.1 to each unit eigenvector gives .
Alternatively identifying the determinant sign explicitly, [F4] gives with positive diagonal. By [F5], ; [F6] therefore also yields invertibility.
Expand any in that orthonormal basis. Then , using . This also shows exists.
The same diagonalization and [F5] give .
Steps 1.1, 2.2, 3.1, and 3.2 prove symmetry, strict positivity of the quadratic form, the inverse bound, the determinant lower bound, and invertibility for each . The case uses the same formulas with an empty sum.
The ridge estimates and self-normalized sums are measurable
Statement
In the finite-dimensional linear contextual bandit model, put
Give each finite real matrix space its entrywise Euclidean topology and corresponding Borel sigma-algebra. Then , , , , and are -measurable matrix, vector, or real random elements, and the ridge estimate is an -measurable -valued random element for every .
Statement references
Finite-dimensional linear contextual bandit model: the model's features, rewards, filtration, and ridge notation.
The ridge information matrix is positive definite and invertible: is invertible and .
Jiří Lebl, Basic Analysis II, Proposition 8.2.7 and Propositions 8.2.8–8.2.9
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms, §19.2
Facts & Assumptions
Given: The finite-dimensional bandit model's measurable feature vectors, reward noises, and rewards through the finite horizon.
Finite-dimensional linear contextual bandit model: is -measurable, is -measurable, , and , , and have the displayed formulas.
The vector space of by matrices over a field, with entrywise operations and Finite rectangular matrices over a commutative ring, their entries, rows and columns: a matrix is the finite function of its real entries; the entrywise Euclidean coordinates identify with .
A measurable function between measurable spaces and The Borel sigma-algebra of a topological space: a map is measurable when preimages of Borel sets are measurable, and the Borel sigma-algebra is generated by open sets.
Arithmetic and lattice operations preserve measurability whenever they are defined: finite pointwise sums and products of real-valued measurable functions are measurable whenever the operations are defined.
For every fixed finite size at least one, the determinant of a real square matrix is a polynomial in its matrix entries: for each fixed finite matrix size, determinant is a finite polynomial in the entries.
Deleted-row-and-column minors, cofactors, the cofactor matrix and the adjugate over a commutative ring: each entry of is a signed deleted-row-and-column determinant; for size , the empty minor has determinant .
The ridge information matrix is positive definite and invertible: each is invertible and .
A continuous map has Borel preimages of Borel sets: a continuous real function has Borel preimages of Borel sets.
Rectangular matrix multiplication and the identity matrix , including zero-sized shapes: each coordinate of a matrix-vector product is a finite sum of products of entries.
Proof
For , each coordinate of is -measurable and each coordinate of is -measurable; the filtration gives . The reward equation and [F4] make measurable at . Applying [F4] coordinatewise to the finite sums and products defining , , , and proves that each coordinate is -measurable. The Borel sigma-algebra of a finite-dimensional Euclidean vector or matrix space is generated by its coordinate projections: rational open boxes form a countable basis. Thus these maps are measurable random elements. At all four are constant.
The determinant is -measurable by step 1.1, [F4], and the polynomial formula [F5]. By [F8] its range lies in . It is also measurable as a map into : for every relatively open set , with open, because takes values in .
The reciprocal , , is continuous since , hence Borel measurable by [F9]. The definition of measurability in [F3] then makes measurable. By [F5]–[F6], every entry of is measurable; for it is the constant . Since is invertible, [F7] gives , so has measurable entries by [F4].
By [F10], every coordinate of is a finite sum of products of measurable entries from steps 1.1 and 3.1; [F4] makes each coordinate measurable. The coordinate-Borel fact in step 1.1 then makes a measurable random element. At , is constant. Thus every stated vector and matrix is an -measurable random element.
The conditional Gaussian mixture is a nonnegative supermartingale
Statement
Assume AC and Countable Choice and the finite-dimensional linear contextual bandit model. Put , , and . Let be the information after round has been observed. Then
is a nonnegative integrable supermartingale with respect to .
Statement references
Facts & Assumptions
Given: AC, Countable Choice, the model's predictable feature vectors and conditional MGF bounds, and the matrix sums in the Statement.
The Axiom of Choice: every family of nonempty sets has a choice function; it supplies the conditional-expectation existence and supermartingale interfaces used here.
The Axiom of Countable Choice (): every countable family of nonempty sets has a choice function; it is the exact choice premise of the Gaussian integral and Lebesgue change-of-variables suppliers.
Finite-dimensional linear contextual bandit model: is -measurable, , and for each real .
Conditional sub-Gaussian bounds allow bounded predictable coefficients: for bounded -measurable , almost surely.
The ridge information matrix is positive definite and invertible: is symmetric positive definite and .
Conditional expectation given a sigma algebra, Conditional expectation as an ae class, Conditional expectation exists by radon nikodym, and Martingale submartingale and supermartingale: conditional-expectation versions are measurable and integrable and have the same integrals as the conditioned variable on every event in the conditioning sigma-algebra; a supermartingale is an integrable adapted process whose next conditional-expectation class is at most its current value. The existence and supermartingale interfaces use AC.
Basic algebra and order properties of conditional expectation: conditional expectation is linear and order preserving, preserves total expectation, and contracts .
Monotone convergence for the integral: increasing nonnegative measurable functions pass to the limit under the integral.
Gaussian integral for a positive-definite quadratic form: for symmetric positive-definite , under Countable Choice.
A C^1 diffeomorphism satisfies the change-of-variables formula for nonnegative Lebesgue measurable functions: a diffeomorphism changes a nonnegative Lebesgue integral by the absolute Jacobian determinant; translations have Jacobian determinant .
Tonelli's theorem for nonnegative measurable functions on a sigma-finite product: for a nonnegative product-measurable function on sigma-finite spaces, the iterated integrals equal the product integral and the section integrals are measurable.
The product sigma-algebra and its finite iterates, A measurable function between measurable spaces, The vector space of by matrices over a field, with entrywise operations, The Borel sigma-algebra of a topological space, A continuous map has Borel preimages of Borel sets, and Closure properties of measurable functions used by the integral: finite-coordinate measurable maps, continuous polynomial/exponential operations, and their compositions are measurable on the relevant finite product spaces.
Proof
For fixed , define , , and where . The model makes -measurable and, by [F3], bounds . Thus [F2] gives and [F6] gives . Also , and is -measurable.
For fixed , each coordinate of and is a finite sum and product of variables observed by time . On , the projections from each factor are measurable, so each coordinate of , , and is measurable. The Borel sigma-algebra of the finite-dimensional Euclidean product is generated by coordinate projections, since rational open boxes form a countable basis; hence is measurable. The maps and are continuous, so is product-measurable by [F11]. Tonelli's section-measurability clause [F10] therefore makes -measurable. The density is nonnegative and integrates to by [F8] with .
By the definitions of and the Gaussian density, Completing the square gives
For fixed and every , step 1.1 and the defining event integrals [F5] give . Hence for any nonnegative finite-valued -measurable , summing these inequalities gives . For a bounded nonnegative -measurable , the finite-valued dyadic approximants increase to . Since , monotone convergence [F7] on both sides gives the same inequality for .
Induct on to prove integrability and the supermartingale inequality. The base is integrable. If is integrable, put , a bounded nonnegative -measurable variable. Step 2.1 gives . Since , [F7] gives . Replacing by for any and applying [F7] again gives . Let be a conditional-expectation version of given , which exists by [A1] and [F5]. For each , . On , the event-integral property in [F5] and the preceding inequality imply whereas the definition of makes the left side at least the right side plus . Thus for every ; since , we have almost surely. This is the supermartingale conditional-expectation inequality.
For any , Tonelli [F10] and step 3.1 give Taking shows is integrable. Let be a conditional-expectation version of given ; it exists by [A1] and [F5]. For each , . The event-integral property [F5] and the displayed event inequality imply while the definition of makes the left side at least the right side plus . Thus every is null and almost surely. Together with adaptedness from step 1.2 and , this is the integrable supermartingale property.
The translation is a diffeomorphism with Jacobian determinant , so [F9] and [F8] evaluate the last integral as . Since by [F12], this gives Thus the process in the Statement is the supermartingale established in step 4.1.
LinUCB with a self-normalized confidence radius
Definition
Inputs and admissibility. Take the finite-dimensional linear contextual bandit model and a confidence level . At each round, the nonempty available action set is finite and ordered with its feature vectors, or the available feature set is compact with a supplied attained measurable predictable maximizer for the score below. In the finite case evaluate the score for each action's feature and resolve ties by the first action. All model assumptions, including , the feature and parameter bounds, pre-reward information, and the conditional noise bound, are in force.
Outputs. Before each reward is observed, output the selected feature ; after the reward is observed, record it. At the horizon return the online sequence and terminal state .
Initialize , , , , and . At each round , compute
Next select an available feature vector
For a finite ordered action set, evaluate every action's score and take the first maximizing action's feature; for a compact feature set, call the supplied selector once. After observing reward , update
Then compute the updated matrix state from by the following exact row procedure. Form the augmented matrix , set and , and for choose the least row index whose current left-block entry is nonzero. If no such row exists, return failure. If , swap rows and and replace by . Set , replace by , divide row by , and for every set . After the loop set to the right block and , and set . For a compact feature set the supplied selector must return an attained maximizing feature measurably from pre-reward information.
Definition references
Finite-dimensional linear contextual bandit model: the context/feature map, conditional reward model, filtration, norm bound, and sample-sum ridge notation.
The ridge information matrix is positive definite and invertible: the matrices are positive definite, invertible, and have positive determinant.
The ridge estimates and self-normalized sums are measurable: the ridge estimate, information matrix, and response sum are measurable from the available data.
Tor Lattimore and Csaba Szepesvári, Bandit Algorithms, §19.2 and §20.1
The ridge estimate lies in a time-uniform linear confidence ellipsoid
Statement
Assume AC and Countable Choice and the finite-dimensional linear contextual bandit model. For and , set
Then
Statement references
Facts & Assumptions
Given: AC, Countable Choice, the model's deterministic with , predictable feature vectors, reward equation, and conditional MGF bound.
The Axiom of Choice: conditional-expectation versions exist under the supplied AC branch; the optional-sampling interface assumes AC.
The Axiom of Countable Choice (): the Gaussian-integral supplier assumes Countable Choice.
Finite-dimensional linear contextual bandit model: , , , and .
The ridge information matrix is positive definite and invertible: each is symmetric positive definite, , and .
The conditional Gaussian mixture is a nonnegative supermartingale: is a nonnegative integrable supermartingale with .
Optional sampling for bounded stopping times: for an integrable supermartingale and stopping times bounded by a deterministic integer, .
Markov's inequality for random variables: if and , then .
Real and complex inner-product spaces and their induced length, The norm induced by a real or complex inner product, and The inner-product norm is definite, homogeneous, and satisfies the triangle inequality: a symmetric positive-definite bilinear form is a real inner product; its induced norm satisfies Cauchy–Schwarz and the triangle inequality.
The ridge estimates and self-normalized sums are measurable: , , , and are measurable through time , so the confidence-ellipsoid events and radii are measurable.
The natural logarithm as the inverse of the exponential function and Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: is defined on positive reals, continuous, and strictly increasing there.
Arithmetic and lattice operations preserve measurability whenever they are defined: finite sums and products of real-valued measurable functions are measurable.
Sigma-algebras: a sigma-algebra is closed under complements and countable unions, so finite intersections follow by De Morgan's law.
Proof
Since is diagonal, [F7] gives . On , define as the first with , and set if there is no such . For , , while . Hence is a stopping time bounded by .
For each , the model reward equation gives . Therefore
For fixed , define . By [F2] this form is symmetric and positive definite, so [F6] gives its induced norm triangle inequality. Also and
By [F4], . On the event that some crosses by time , the definition of gives . Thus [F5] yields .
Outside the crossing event bounded in step 2.1, every has . Taking logarithms in [F3]'s formula and using from step 1.1 gives All logarithm arguments are positive by [F2].
Apply the triangle inequality from step 1.3 to step 1.2, then use step 3.1. For this yields The radius is measurable: its determinant input is measurable by [F8], the logarithm is continuous by [F9], and is continuous on since there; the radicand is nonnegative by [F2] and . By [F8] and [F10], the quadratic form defining is measurable. The finite intersection of these events is measurable by [F11], so is measurable. Its probability is at least by step 2.1.
LinUCB has a log-determinant high-probability pseudo-regret bound
Statement
Assume AC and Countable Choice, the finite-dimensional linear contextual bandit model, and LinUCB with as defined in the algorithm. Let be the confidence input to LinUCB. Suppose also that for every round ,
Define the random pseudo-regret by
Then, with probability at least ,
Algorithm properties. For every admissible model input, the algorithm also completes exactly rounds and outputs and . Count exact real arithmetic operations, comparisons, square roots, and logarithms with unit cost, and exclude generation of contexts, features, and rewards. Let be the rounds with finite action sets and let be the number of available actions at round ; let be the compact-feature rounds. The procedure makes exactly calls to the supplied maximizing selector and uses operations apart from selector costs.
Statement references
Facts & Assumptions
Given: AC, Countable Choice, the bandit model and LinUCB algorithm, and the per-round optimal-mean range bound in the Statement.
The Axiom of Choice: the confidence supplier uses AC for conditional-expectation classes and bounded optional sampling.
The Axiom of Countable Choice (): the confidence supplier uses Countable Choice for its Gaussian integral.
Finite-dimensional linear contextual bandit model: the model's fixed , feature bounds , information matrices , and sample-sum ridge estimates.
LinUCB with a self-normalized confidence radius: maximizes and .
The ridge estimate lies in a time-uniform linear confidence ellipsoid: with probability at least , the true parameter is in the ellipsoid of radius about for every round in the horizon.
The elliptical-potential bound for ridge design matrices: if , then and .
Cauchy–Schwarz: , with equality exactly for dependent pairs: in every real inner-product space; Cauchy–Schwarz also applies to the Euclidean inner product on .
The ridge information matrix is positive definite and invertible: each is symmetric positive definite, so is a real inner product and is positive definite.
LinUCB with a self-normalized confidence radius: the procedure initializes , executes the stated finite loop, uses row swaps, nonzero row scalings, and row additions on the augmented matrix to construct , and returns the specified online and terminal outputs. For , the determinant over a commutative ring by the Leibniz formula, and for a real matrix gives and by its Leibniz formula; For every square matrix, including singular ones, a row swap negates the determinant, scaling a row by any scalar scales it, and row addition leaves it unchanged gives the determinant changes for the row operations.
Proof
For each round, [F7] makes invertible and gives . To verify the row procedure, suppose pivots have succeeded. Each row swap, scaling by a nonzero pivot, and row addition is invertible, so the transformed left block remains invertible; elimination leaves it in block form . The square block is invertible: otherwise a nonzero would give in the kernel of the full left block. Its first column therefore has a nonzero entry, so a row with exists and the selected pivot is nonzero. Induction gives all pivots and reduces the left block to . The same row operations on the right identity block give a matrix with , hence . If is the product of row-swap signs, determinant tracking using [F8] gives , so the stored value is exactly . Initially these identities follow directly from , , and . Therefore each confidence logarithm is finite and nonnegative, every score is finite, and the model or supplied selector makes an attained measurable choice. The model supplies each finite reward and the update matrices remain positive definite by [F7]. Induction over the fixed loop proves that all rounds complete and the stated outputs exist.
At each elimination pivot, searching and swapping rows costs operations; normalizing one row and eliminating its column from at most rows costs . The pivots therefore cost . Each matrix update and multiplication by costs ; one finite-action score costs and a maximization over actions costs . Storing the returned feature and reward costs per round. Summing over rounds gives operations, and there is exactly one selector call for each .
On the confidence event from [F3], step 1.1 and the nonnegative radius formula give . Since , the algorithm's radius also contains .
For any , [F7] makes a real inner product. Cauchy–Schwarz gives By step 1.1, , so the final expression is .
By the model, the true-mean maximum on is attained and its value is measurable. For every , step 3.1 gives , and the algorithm's maximization gives . Taking the maximum over yields
Applying Cauchy–Schwarz to and the confidence error as in step 3.1 yields where step 1.1 identifies . Define . By step 4.1, this gap is nonnegative and at most .
The range hypothesis gives . By [F4], , so the algorithm's determinant-defined is nondecreasing and . If , step 5.1 gives ; if , the range bound gives . Thus in both cases .
Squaring step 6.1 gives . Euclidean Cauchy–Schwarz on and therefore yields
Apply the sum bound in [F4] to step 7.1 to obtain . Then [F5] gives the second displayed bound. These inequalities hold on , whose probability is at least by [F3].
LinUCB has expected pseudo-regret of order
Statement
Assume the hypotheses of the LinUCB high-probability regret theorem, with , , , , and horizon . Run LinUCB with . Let be its random pseudo-regret and define expected pseudo-regret by . Put
where is the algorithm's confidence schedule, and set
Here is generally random through and the design matrix. Then
This is an expected pseudo-regret bound; it is distinct from a high-probability bound on realized reward regret.
Statement references
Facts & Assumptions
Given: AC, Countable Choice, LinUCB's confidence schedule, the model hypotheses, and the per-round linear-mean range bound from the high-probability regret theorem.
The Axiom of Choice: AC is inherited through the conditional-expectation, supermartingale, and bounded optional-sampling interfaces in the confidence proof.
The Axiom of Countable Choice (): Countable Choice is inherited through the Gaussian integral in the confidence proof.
LinUCB has a log-determinant high-probability pseudo-regret bound: with probability at least , when the per-round mean range is at most .
Trace control of the regularized design determinant: applying its determinant bound to the first feature vectors and using monotonicity of gives .
Finite-dimensional linear contextual bandit model and [F1]: the pseudo-regret is measurable and each round gap lies in under the theorem's range assumption, so .
Expectation of a nonnegative or integrable random variable, Linearity, monotonicity, and the modulus bound for expectation, and The expectation of an indicator is the probability of the event: expectations are integrals, preserve order and finite sums, and .
Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: is increasing and for positive arguments.
The ridge estimates and self-normalized sums are measurable and LinUCB with a self-normalized confidence radius: is measurable, and the algorithm formulas make and nonnegative measurable random variables.
Proof
With , [F2] and [F3] give The first inequality uses for ; the second uses .
Since , and By [F6], . Hence step 1.1 and , imply .
Step 2.1 and the definition of give pointwise. By [F7], is measurable; this deterministic bound makes it integrable.
By [F1] with , there is a measurable event with on which . By [F4], on every outcome. Therefore pointwise. Taking expectations and using [F5], [F7], and step 2.1 gives
Also , so . Combining this with steps 3.1 and 4.1 proves .
4 · Examples, counterexamples and false statements
None yet.
Sources
- Tor Lattimore and Csaba Szepesvári, Bandit Algorithms
- Yasin Abbasi-Yadkori, Dávid Pál, and Csaba Szepesvári, Online Least Squares Estimation with Self-Normalized Processes: An Application to Bandit Problems
- University of Washington CSE 541, Linear Bandits lecture notes
- Jiří Lebl, Basic Analysis II: Introduction to Real Analysis, Volume II