Alphabeta Math
Pipeline-generated
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.

✓ 9 results · all verified · 1 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 8 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Linear contextual bandits and LinUCB

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

The elliptical-potential bound for ridge design matrices

Statement

Let d,n≥1, let λ>0, let V0=λId, and let a1,…,an∈Rd. Define Vt=Vt−1+atatT and ut=atTVt−1−1at for 1≤t≤n. Then every Vt is positive definite, ut≥0, and

det⁡Vt=det⁡Vt−1(1+ut)(1≤t≤n),∑t=1nmin⁡{1,ut}≤2log⁡ ⁣(det⁡Vndet⁡V0).

Facts & Assumptions

Given: Positive integers d,n, a real λ>0, and vectors a1,…,an∈Rd.

[F6]

A finite square real matrix is invertible if and only if its determinant is nonzero: a real square matrix with nonzero determinant is invertible.

[F7]

The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t and If f≤g on [a,b] and both are integrable then ∫abf≤∫abg; and m(b−a)≤∫abf≤M(b−a): for x≥0, log⁡(1+x)=∫11+xds/s, and pointwise inequalities between integrable functions on an increasing interval give the corresponding integral inequality.

[F8]

Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: log⁡(xy)=log⁡x+log⁡y for positive x,y.

Proof

1.1givenF1algebra

For every t≥0 and nonzero x∈Rd, xTVtx=λ∥x∥22+∑s=1t(asTx)2>0. Each Vt is symmetric, so it is positive definite.

1.2F7algebra

If u=0, then min⁡{1,u}=0=2log⁡(1+u). If u>0, the interval [1,1+u] is nondegenerate, so [F7] and 1/s≥1/(1+u) on that interval give log⁡(1+u)≥u/(1+u). If 0<u≤1, then u/(1+u)≥u/2; if u≥1, then u/(1+u)≥1/2. Thus min⁡{1,u}≤2log⁡(1+u) in every case.

2.1step 1.1F2F3F6

By [F2]–[F3], write Vt=LtLtT with positive diagonal. Then det⁡Vt=(det⁡Lt)2=(∏i=1d(Lt)ii)2>0, so [F6] makes Vt invertible. In particular ut is defined.

3.1step 1.1step 2.1F1algebra

The inverse of a positive-definite matrix is positive definite: if at≠0 and y=Vt−1−1at, then y≠0 and ut=atTVt−1−1at=yTVt−1y>0; if at=0, then ut=0. Thus ut≥0.

3.2step 2.1F4F5algebra

Apply [F4] with u=v=at and V=Vt−1. Since [F5] and invertibility in step 2.1 give adj⁡(Vt−1)=det⁡(Vt−1)Vt−1−1, the result is det⁡Vt=det⁡Vt−1(1+ut).

4.1step 2.1step 3.2F8algebra

Divide the update identities of step 3.2 by the positive determinants of step 2.1 and multiply them for t=1,…,n. This gives det⁡Vn/det⁡V0=∏t=1n(1+ut), hence log⁡(det⁡Vn/det⁡V0)=∑t=1nlog⁡(1+ut) by [F8].

5.1step 3.1step 4.1step 1.2algebra∎

Apply step 1.2 to each nonnegative ut from step 3.1 and sum. Step 4.1 identifies the sum of logarithms with log⁡(det⁡Vn/det⁡V0), proving the claimed bound.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Trace control of the regularized design determinant

Statement

Let d,n≥1, let λ>0, let L≥0, and let a1,…,an∈Rd satisfy ∥at∥2≤L. Put Vt=λId+∑s=1tasasT and V0=λId, and define tr⁡(M)=∑i=1dMii. Then

0<det⁡Vt(0≤t≤n),log⁡ ⁣(det⁡Vndet⁡V0)≤dlog⁡ ⁣(1+nL2dλ).

Facts & Assumptions

Given: Positive integers d,n, reals λ>0 and L≥0, and vectors at∈Rd with ∥at∥2≤L.

[F1]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: ∥x∥22=xTx and the standard inner product is positive definite.

[F4]

The arithmetic mean, geometric mean inequality: for positive reals μ1,…,μd, ∏iμi≤(1d∑iμi)d.

[F5]

Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: the natural logarithm is strictly increasing on positive reals and log⁡(xd)=dlog⁡x for x>0.

Proof

1.1givenF1F2algebrachoose

For every nonzero x∈Rd, xTVnx=λ∥x∥22+∑t=1n(atTx)2>0. Thus Vn is symmetric positive definite. By [F2], choose an orthogonal matrix Q and positive eigenvalues μ1,…,μd with Vn=Qdiag⁡(μ1,…,μd)QT.

1.2givenF1F2F3algebra

For each 0≤t≤n, xTVtx=λ∥x∥22+∑s=1t(asTx)2>0 for every nonzero x. Thus Vt is symmetric positive definite. By [F2], write Vt=Qtdiag⁡(ν1,…,νd)QtT with Qt orthogonal; positive definiteness gives νi>0 for each i. By [F3], det⁡(QtT)=det⁡(Qt) and det⁡(diag⁡(ν1,…,νd))=∏iνi. Since QtTQt=Id, multiplicativity gives det⁡(Qt)2=1, hence det⁡Vt=∏iνi>0.

2.1step 1.1F3algebra

Since QTQ=Id, [F3] gives (det⁡Q)2=1. Applying [F3] to the diagonalization yields det⁡Vn=(det⁡Q)(∏iμi)(det⁡QT)=∏iμi>0. Also, expanding the diagonal entries of Qdiag⁡(μi)QT gives tr⁡(Vn)=∑j=1dμj∑i=1dQij2=∑j=1dμj, because each column of Q has Euclidean norm one.

3.1givenstep 2.1F1F4algebra

By [F4] and step 2.1, det⁡Vn=∏iμi≤(∑iμid)d=(tr⁡(Vn)d)d. The definition of Vn gives tr⁡(Vn)=dλ+∑t∥at∥22≤dλ+nL2.

4.1givenF3step 3.1algebra

Since V0=λId is diagonal, [F3] gives det⁡V0=λd>0. Dividing step 3.1 by this positive number yields det⁡Vndet⁡V0≤(1+nL2dλ)d.

5.1step 2.1step 4.1step 1.2F5algebra∎

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.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

Conditional sub-Gaussian bounds allow bounded predictable coefficients

Statement

Assume the Axiom of Choice. Let (Ω,F,P) be a probability space, let G⊆F be a sub-sigma-algebra, and let η be a real random variable such that, for every q∈R, eqη is integrable and

E[eqη∣G]≤eq2/2almost surely.

Then for every bounded, real, G-measurable random variable Q,

E[eQη−Q2/2∣G]≤1almost surely.

Facts & Assumptions

Given: AC, a probability space, a sub-sigma-algebra G, and an integrable real random variable η whose exponential moments satisfy the Statement.

[F1]

Conditional expectation given a sigma algebra: a conditional-expectation version is G-measurable and integrable, and its event integrals equal those of the conditioned variable.

[F2]

Basic algebra and order properties of conditional expectation: conditional expectation is linear and order preserving, preserves total expectation, and satisfies ∣E[X∣G]∣≤E[∣X∣∣G] almost surely. AC is required for the supplied conditional-expectation classes.

[A1]

The Axiom of Choice: every family of nonempty sets has a choice function; this supplies the conditional-expectation versions used in [F2].

Proof

1.1givenA1F1F2algebra

First suppose Q=∑j=1mqj1Bj for a finite measurable partition B1,…,Bm in G. Choose conditional-expectation versions Yj=E[eqjη∣G] and set Y=∑j1Bje−qj2/2Yj. Both Y and eQη−Q2/2 are integrable, and Y is G-measurable. For every B∈G, [F1] applied on B∩Bj gives ∫BY dP=∑je−qj2/2∫B∩BjYj dP=∑je−qj2/2∫B∩Bjeqjη dP=∫BeQη−Q2/2 dP. Thus Y is the required conditional-expectation version. The assumed fixed-qj bounds make it at most ∑j1Bj=1 outside a finite union of null sets.

1.2givenconstruct

For a bounded Q, choose K≥1 with ∣Q∣≤K and let Qr be the finite-valued G-measurable rounding of Q down to the grid 2−rZ; then ∣Qr−Q∣≤2−r and ∣Qr∣≤K+1.

2.1F2F3F4step 1.2algebra

For fixed ω, put gω(q)=eqη(ω)−q2/2. By [F3]–[F4], on [−K−1,K+1] its increments satisfy ∣gω(q)−gω(q′)∣≤∣q−q′∣(∣η(ω)∣+K+1)e(K+1)∣η(ω)∣. For x≥0, (x+K+1)e(K+1)x≤(K+2)e(K+2)x because x+K+1≤(K+2)ex. Also e(K+2)∣η∣≤e(K+2)η+e−(K+2)η, whose expectation is at most 2e(K+2)2/2 by [F2]. The Lipschitz envelope is therefore integrable, so ∣Qr−Q∣≤2−r implies E∣g(Qr)−g(Q)∣→0.

3.1step 1.1step 2.1F2algebra∎

Set Yr=E[g(Qr)∣G] and Y=E[g(Q)∣G]. By [F2] and step 2.1, E∣Yr−Y∣≤E∣g(Qr)−g(Q)∣→0. Step 1.1 gives Yr≤1 almost surely for every r; after removing the countable union of their exceptional null sets, (Y−1)+≤∣Y−Yr∣ for each r. Taking expectations and passing to the limit gives E[(Y−1)+]=0, hence Y≤1 almost surely.

DefinitionDefinition: Literature-sourcedProof: Not applicableOpen item page →

Finite-dimensional linear contextual bandit model

Definition

Fix integers d,n≥1, real parameters λ>0, L≥1, and m2≥0, and a deterministic vector θ∗∈Rd with ∥θ∗∥2≤m2. Replacing any finite feature bound by its maximum with 1 makes the convention L≥1 harmless. Work on a probability space with a filtration (Ft)t=0n+1 satisfying Ft⊆Ft+1.

At round t, before reward noise is observed, the history sigma-algebra Ft contains all contexts, choices, and feedback through rounds s<t, as well as the current context Ct, the nonempty available action set, and its available feature set At⊆Rd. The features arise from a measurable map ψt between spaces with declared measurable structures by a=ψt(Ct,aˉ) for available actions aˉ. The feature set is finite or compact in the Euclidean topology, every candidate a∈At satisfies ∥a∥2≤L, and the selected feature At=ψt(Ct,at)∈At is Ft-measurable. The true-mean maximum is attained and its value is Ft-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 At is selected, the reward Xt is observed, where ηt is an Ft+1-measurable real random variable and

Xt=⟨θ∗,At⟩+ηt.

For every q∈R, require eqηt to be integrable and its conditional expectation version to satisfy

E[eqηt∣Ft]≤eq2/2almost surely.

This is conditional 1-sub-Gaussian noise with the pre-reward convention for Ft. No independence between rounds is assumed. For 0≤t≤n, define the unaveraged ridge information matrix and response sum by

Vt:=λId+∑s=1tAsAsT,bt:=∑s=1tAsXs,

with empty sums equal to 0. Set θ^0=0 and θ^t=Vt−1bt for t≥1. For a real symmetric matrix M satisfying vTMv>0 for all nonzero v, write ∥v∥M:=vTMv. The estimate θ^t is the unique minimizer of ∑s=1t(Xs−⟨θ,As⟩)2+λ∥θ∥22; the sum is not divided by t.

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: (Ft) 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 ⟨x,y⟩=∑k<nxkyk on Rn: ⟨x,y⟩=xTy and ∥x∥22=xTx.

The Tikhonov regularised least-squares objective ∥Ax−b∥22+λ∥x∥22 for λ>0: the ridge objective uses the displayed sample-sum least-squares convention.

For every λ>0, the Tikhonov objective is strictly convex and has the unique minimiser (A∗A+λI)−1A∗b: 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

Abbasi-Yadkori, Pál, and Szepesvári, Assumption A1 and §5.1

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

The ridge information matrix is positive definite and invertible

Statement

In the finite-dimensional linear contextual bandit model, for every 0≤t≤n the matrix Vt=λId+∑s=1tAsAsT is symmetric and satisfies xTVtx>0 for every nonzero x∈Rd. It is invertible, has determinant at least λd>0, and for every x∈Rd,

xTVt−1x≤∥x∥22λ.

Facts & Assumptions

Given: The model's fixed λ>0, feature vectors As∈Rd, and the matrices Vt=λId+∑s=1tAsAsT.

[F1]

Finite-dimensional linear contextual bandit model gives the displayed Vt and Euclidean feature vectors.

[F2]

The Euclidean inner product ⟨x,y⟩=∑k<nxkyk on Rn: xTy=⟨x,y⟩ and ∥x∥22=xTx.

[F6]

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

1.1givenF1F2algebra

For any x≠0, the model formula gives xTVtx=λ∥x∥22+∑s=1t(AsTx)2>0, since λ>0 and ∥x∥2>0. Each summand AsAsT is symmetric, so Vt is symmetric as well.

2.1step 1.1F3algebrachoose

By [F3], choose an orthonormal eigenbasis q1,…,qd of Vt with eigenvalues μ1,…,μd. Applying step 1.1 to each unit eigenvector gives μi=qiTVtqi≥λ.

2.2step 1.1F4F5F6algebra

Alternatively identifying the determinant sign explicitly, [F4] gives Vt=LLT with positive diagonal. By [F5], det⁡Vt=(∏iLii)2>0; [F6] therefore also yields invertibility.

3.1step 2.1F2algebra

Expand any x=∑iciqi in that orthonormal basis. Then xTVt−1x=∑ici2/μi≤λ−1∑ici2=λ−1∥x∥22, using μi≥λ>0. This also shows Vt−1 exists.

3.2step 2.1F3F5algebra

The same diagonalization and [F5] give det⁡Vt=det⁡(Q)det⁡(diag⁡(μ1,…,μd))det⁡(QT)=∏iμi≥λd>0.

4.1step 1.1step 2.2step 3.1step 3.2given∎

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 t. The case t=0 uses the same formulas with an empty sum.

LemmaStatement: AI-adaptedProof: AI-adaptedprecheck passjudge pass (gpt-6-luna)Open item page →

The ridge estimates and self-normalized sums are measurable

Statement

In the finite-dimensional linear contextual bandit model, put

Gt:=∑s=1tAsAsT,St:=∑s=1tAsηs(0≤t≤n).

Give each finite real matrix space its entrywise Euclidean topology and corresponding Borel sigma-algebra. Then Vt, bt, Gt, St, and Dt:=det⁡(Vt) are Ft+1-measurable matrix, vector, or real random elements, and the ridge estimate θ^t=Vt−1bt is an Ft+1-measurable Rd-valued random element for every 0≤t≤n.

Facts & Assumptions

Given: The finite-dimensional bandit model's measurable feature vectors, reward noises, and rewards through the finite horizon.

[F1]

Finite-dimensional linear contextual bandit model: As is Fs-measurable, ηs is Fs+1-measurable, Xs=⟨θ∗,As⟩+ηs, and Vt, bt, and θ^t have the displayed formulas.

[F2]
[F3]

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.

[F4]

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.

[F5]

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.

[F6]

Deleted-row-and-column minors, cofactors, the cofactor matrix and the adjugate over a commutative ring: each entry of adj⁡(V) is a signed deleted-row-and-column determinant; for size 1, the empty minor has determinant 1.

[F8]

The ridge information matrix is positive definite and invertible: each Vt is invertible and Dt:=det⁡(Vt)≥λd>0.

[F9]

A continuous map has Borel preimages of Borel sets: a continuous real function has Borel preimages of Borel sets.

[F10]

Rectangular matrix multiplication and the identity matrix In, including zero-sized shapes: each coordinate of a matrix-vector product is a finite sum of products of entries.

Proof

1.1givenF1F2F4

For s≤t, each coordinate of As is Fs-measurable and each coordinate of ηs is Fs+1-measurable; the filtration gives Fs,Fs+1⊆Ft+1. The reward equation and [F4] make Xs measurable at Ft+1. Applying [F4] coordinatewise to the finite sums and products defining Gt, St, Vt, and bt proves that each coordinate is Ft+1-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 t=0 all four are constant.

2.1step 1.1F3F5F8

The determinant Dt is Ft+1-measurable by step 1.1, [F4], and the polynomial formula [F5]. By [F8] its range lies in J=[λd,∞). It is also measurable as a map into J: for every relatively open set J∩U, with U⊆R open, Dt−1(J∩U)=Dt−1(U) because Dt takes values in J.

3.1step 2.1F3F4F5F6F7F8F9

The reciprocal r:J→R, r(x)=1/x, is continuous since λd>0, hence Borel measurable by [F9]. The definition of measurability in [F3] then makes Dt−1=r∘Dt measurable. By [F5]–[F6], every entry of adj⁡(Vt) is measurable; for d=1 it is the constant 1. Since Vt is invertible, [F7] gives adj⁡(Vt)=DtVt−1, so Vt−1=Dt−1adj⁡(Vt) has measurable entries by [F4].

4.1step 1.1step 3.1F2F4F10∎

By [F10], every coordinate of θ^t=Vt−1bt 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 θ^t a measurable random element. At t=0, θ^0=0 is constant. Thus every stated vector and matrix is an Ft+1-measurable random element.

LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

The conditional Gaussian mixture is a nonnegative supermartingale

Statement

Assume AC and Countable Choice and the finite-dimensional linear contextual bandit model. Put St=∑s=1tAsηs, Gt=∑s=1tAsAsT, and Vt=λId+Gt. Let Ht:=Ft+1 be the information after round t has been observed. Then

Zt:=det⁡(V0)det⁡(Vt)exp⁡ ⁣(12StTVt−1St),Z0:=1,

is a nonnegative integrable supermartingale with respect to (Ht)t=0n.

Facts & Assumptions

Given: AC, Countable Choice, the model's predictable feature vectors and conditional MGF bounds, and the matrix sums St,Gt,Vt in the Statement.

[A1]

The Axiom of Choice: every family of nonempty sets has a choice function; it supplies the conditional-expectation existence and supermartingale interfaces used here.

[A2]

The Axiom of Countable Choice (ACω): 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.

[F1]

Finite-dimensional linear contextual bandit model: At is Ft-measurable, ∥At∥2≤L, and E[eqηt∣Ft]≤eq2/2 for each real q.

[F2]

Conditional sub-Gaussian bounds allow bounded predictable coefficients: for bounded Ft-measurable Q, E[eQηt−Q2/2∣Ft]≤1 almost surely.

[F4]

The ridge information matrix is positive definite and invertible: Vt is symmetric positive definite and det⁡Vt>0.

[F5]

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.

[F6]

Basic algebra and order properties of conditional expectation: conditional expectation is linear and order preserving, preserves total expectation, and contracts L1.

[F7]

Monotone convergence for the integral: increasing nonnegative measurable functions pass to the limit under the integral.

[F8]

Gaussian integral for a positive-definite quadratic form: for symmetric positive-definite V, ∫Rde−uTVu/2 du=(2π)d/2/det⁡V under Countable Choice.

[F9]

A C^1 diffeomorphism satisfies the change-of-variables formula for nonnegative Lebesgue measurable functions: a C1 diffeomorphism changes a nonnegative Lebesgue integral by the absolute Jacobian determinant; translations have Jacobian determinant 1.

[F10]

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.

Proof

1.1givenF1F2F3F6algebra

For fixed u∈Rd, define Mt(u)=exp⁡ ⁣(uTSt−12uTGtu), M0(u)=1, and Rt(u)=eQtηt−Qt2/2 where Qt=uTAt. The model makes Qt Ft-measurable and, by [F3], bounds ∣Qt∣≤L∥u∥2. Thus [F2] gives E[Rt(u)∣Ft]≤1 and [F6] gives E[Rt(u)]≤1. Also Mt(u)=Mt−1(u)Rt(u), and Mt(u) is Ht=Ft+1-measurable.

1.2givenA2F8F10F11

For fixed t, each coordinate of St and Gt is a finite sum and product of variables observed by time t. On (Ω×Rd,Ht⊗B(Rd)), the projections from each factor are measurable, so each coordinate of St(ω), Gt(ω), and u 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 (ω,u)↦(St(ω),Gt(ω),u) is measurable. The maps (S,G,u)↦uTS−12uTGu and x↦ex are continuous, so (ω,u)↦Mt(u,ω) is product-measurable by [F11]. Tonelli's section-measurability clause [F10] therefore makes M‾t=∫Mt(u)pλ(u) du Ht-measurable. The density pλ(u)=(λ/(2π))d/2e−λ∥u∥22/2 is nonnegative and integrates to 1 by [F8] with V=λId.

1.3givenF4algebra

By the definitions of St,Gt,Vt and the Gaussian density, M‾t=(λ2π)d/2∫Rdexp⁡ ⁣(uTSt−12uTVtu)du. Completing the square gives uTSt−12uTVtu=12StTVt−1St−12(u−Vt−1St)TVt(u−Vt−1St).

2.1step 1.1F5F7constructalgebra

For fixed u,t and every B∈Ft, step 1.1 and the defining event integrals [F5] give E[1BRt(u)]≤P(B). Hence for any nonnegative finite-valued Ft-measurable W=∑jcj1Bj, summing these inequalities gives E[WRt(u)]≤E[W]. For a bounded nonnegative Ft-measurable W, the finite-valued dyadic approximants Wr=2−r⌊2rW⌋ increase to W. Since Rt(u)≥0, monotone convergence [F7] on both sides gives the same inequality for W.

3.1step 1.1step 2.1A1F5F7algebra

Induct on t to prove integrability and the supermartingale inequality. The base M0(u)=1 is integrable. If Mt−1(u) is integrable, put Wk=min⁡{Mt−1(u),k}, a bounded nonnegative Ft-measurable variable. Step 2.1 gives E[WkRt(u)]≤E[Wk]. Since WkRt(u)↑Mt(u), [F7] gives E[Mt(u)]≤E[Mt−1(u)]≤1. Replacing Wk by 1BWk for any B∈Ft and applying [F7] again gives E[1BMt(u)]≤E[1BMt−1(u)]. Let Yt be a conditional-expectation version of Mt(u) given Ft, which exists by [A1] and [F5]. For each k≥1, Bk:={Yt≥Mt−1(u)+1/k}∈Ft. On Bk, the event-integral property in [F5] and the preceding inequality imply ∫BkYt dP=∫BkMt(u) dP≤∫BkMt−1(u) dP, whereas the definition of Bk makes the left side at least the right side plus P(Bk)/k. Thus P(Bk)=0 for every k; since {Yt>Mt−1(u)}=⋃k≥1Bk, we have Yt≤Mt−1(u) almost surely. This is the supermartingale conditional-expectation inequality.

4.1step 3.1step 1.2A1F5F10algebra

For any B∈Ht−1=Ft, Tonelli [F10] and step 3.1 give E[1BM‾t]=∫E[1BMt(u)]pλ(u) du≤∫E[1BMt−1(u)]pλ(u) du=E[1BM‾t−1]. Taking B=Ω shows M‾t is integrable. Let Yt be a conditional-expectation version of M‾t given Ht−1; it exists by [A1] and [F5]. For each k≥1, Bk:={Yt≥M‾t−1+1/k}∈Ht−1. The event-integral property [F5] and the displayed event inequality imply ∫BkYt dP=E[1BkM‾t]≤E[1BkM‾t−1], while the definition of Bk makes the left side at least the right side plus P(Bk)/k. Thus every Bk is null and Yt≤M‾t−1 almost surely. Together with adaptedness from step 1.2 and M‾0=1, this is the integrable supermartingale property.

5.1step 4.1step 1.3A2F4F8F9F12algebra∎

The translation w=u−Vt−1St is a C1 diffeomorphism with Jacobian determinant 1, so [F9] and [F8] evaluate the last integral as (2π)d/2/det⁡Vt. Since det⁡V0=λd by [F12], this gives M‾t=det⁡V0det⁡Vtexp⁡ ⁣(12StTVt−1St)=Zt. Thus the process in the Statement is the supermartingale established in step 4.1.

AlgorithmAlgorithm: Literature-sourcedProof: Not applicableOpen item page →

LinUCB with a self-normalized confidence radius

Definition

Inputs and admissibility. Take the finite-dimensional linear contextual bandit model and a confidence level δ∈(0,1). 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 λ>0, 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 At; after the reward Xt is observed, record it. At the horizon return the online sequence (At,Xt)t=1n and terminal state (Vn,bn,θ^n).

Initialize V0=λId, b0=0, θ^0=0, W0=λ−1Id, and D0=λd. At each round t=1,…,n, compute

ρt=λ m2+2log⁡(1/δ)+log⁡(Dt−1/D0),βt=max⁡{1,ρt2},

Next select an available feature vector

At∈arg⁡max⁡a∈At{⟨θ^t−1,a⟩+βt aTWt−1a}.

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 Xt, update

Vt=Vt−1+AtAtT,bt=bt−1+AtXt.

Then compute the updated matrix state Wt,Dt from Vt by the following exact row procedure. Form the augmented matrix M=[Vt∣Id], set s=1 and D=1, and for k=0,…,d−1 choose the least row index i≥k whose current left-block entry Mik is nonzero. If no such row exists, return failure. If i≠k, swap rows i and k and replace s by −s. Set pk=Mkk, replace D by Dpk, divide row k by pk, and for every j≠k set row⁡j←row⁡j−Mjkrow⁡k. After the loop set Wt to the right block and Dt=sD, and set θ^t=Wtbt. 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 Vt 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

Abbasi-Yadkori, Pál, and Szepesvári, §5.1, Table 1

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

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 δ∈(0,1) and 1≤t≤n, set

ρt=λ m2+2log⁡(1/δ)+log⁡ ⁣(det⁡Vt−1λd),Ct={θ∈Rd:∥θ−θ^t−1∥Vt−12≤ρt2}.

Then

P{θ∗∈Ct for every 1≤t≤n}≥1−δ.

Facts & Assumptions

Given: AC, Countable Choice, the model's deterministic θ∗ with ∥θ∗∥2≤m2, predictable feature vectors, reward equation, and conditional MGF bound.

[A1]

The Axiom of Choice: conditional-expectation versions exist under the supplied AC branch; the optional-sampling interface assumes AC.

[A2]

The Axiom of Countable Choice (ACω): the Gaussian-integral supplier assumes Countable Choice.

[F1]

Finite-dimensional linear contextual bandit model: Xt=⟨θ∗,At⟩+ηt, bt=∑s≤tAsXs, Vt=λI+∑s≤tAsAsT, and ∥θ∗∥2≤m2.

[F2]

The ridge information matrix is positive definite and invertible: each Vt is symmetric positive definite, det⁡(Vt)≥λd>0, and xTVt−1x≤λ−1∥x∥22.

[F3]

The conditional Gaussian mixture is a nonnegative supermartingale: Zs=det⁡(V0)/det⁡(Vs)exp⁡(12SsTVs−1Ss) is a nonnegative integrable supermartingale with Z0=1.

[F4]

Optional sampling for bounded stopping times: for an integrable supermartingale and stopping times σ≤τ bounded by a deterministic integer, E[Zτ]≤E[Zσ].

[F5]

Markov's inequality for random variables: if Y≥0 and a>0, then P(Y≥a)≤E[Y]/a.

[F7]
[F8]

The ridge estimates and self-normalized sums are measurable: Vt, det⁡(Vt), bt, and θ^t are measurable through time t+1, so the confidence-ellipsoid events and radii are measurable.

[F10]

Arithmetic and lattice operations preserve measurability whenever they are defined: finite sums and products of real-valued measurable functions are measurable.

[F11]

Sigma-algebras: a sigma-algebra is closed under complements and countable unions, so finite intersections follow by De Morgan's law.

Proof

1.1F1F3F7construct

Since V0=λId is diagonal, [F7] gives det⁡V0=λd>0. On Hs=Fs+1, define σ as the first s∈{0,…,n} with Zs≥1/δ, and set σ=n if there is no such s. For k<n, {σ≤k}=⋃s=0k{Zs≥1/δ}∈Hk, while {σ≤n}=Ω. Hence σ is a stopping time bounded by n.

1.2F1algebra

For each 0≤s<n, the model reward equation gives bs=Gsθ∗+Ss=(Vs−λId)θ∗+Ss. Therefore θ^s−θ∗=Vs−1Ss−λVs−1θ∗.

1.3F1F2F6algebra

For fixed s, define ⟨x,y⟩Vs=xTVsy. By [F2] this form is symmetric and positive definite, so [F6] gives its induced norm triangle inequality. Also ∥Vs−1Ss∥Vs2=SsTVs−1Ss and ∥λVs−1θ∗∥Vs2=λ2(θ∗)TVs−1θ∗≤λ∥θ∗∥22≤λm22.

2.1step 1.1A1A2F3F4F5algebra

By [F4], E[Zσ]≤E[Z0]=1. On the event that some Zs crosses 1/δ by time n, the definition of σ gives Zσ≥1/δ. Thus [F5] yields P{∃s≤n:Zs≥1/δ}≤δ.

3.1step 1.1step 2.1F2F3F9algebra

Outside the crossing event bounded in step 2.1, every 0≤s≤n has Zs<1/δ. Taking logarithms in [F3]'s formula and using det⁡V0=λd from step 1.1 gives SsTVs−1Ss<2log⁡(1/δ)+log⁡ ⁣(det⁡Vsλd). All logarithm arguments are positive by [F2].

4.1step 3.1step 1.2step 1.3F1F2F8F9F10F11algebra∎

Apply the triangle inequality from step 1.3 to step 1.2, then use step 3.1. For t=s+1 this yields ∥θ^t−1−θ∗∥Vt−1≤St−1TVt−1−1St−1+λm2≤ρt. The radius ρt is measurable: its determinant input is measurable by [F8], the logarithm is continuous by [F9], and x↦x is continuous on [0,∞) since ∣x−y∣2≤∣x−y∣ there; the radicand is nonnegative by [F2] and δ∈(0,1). By [F8] and [F10], the quadratic form defining Ct is measurable. The finite intersection of these events is measurable by [F11], so {θ∗∈Ct for every 1≤t≤n} is measurable. Its probability is at least 1−δ by step 2.1.

TheoremStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

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 βt=max⁡{1,ρt2} as defined in the algorithm. Let δ∈(0,1) be the confidence input to LinUCB. Suppose also that for every round t,

sup⁡a,b∈At⟨θ∗,a−b⟩≤1.

Define the random pseudo-regret by

R^n:=∑t=1n(max⁡a∈At⟨θ∗,a⟩−⟨θ∗,At⟩).

Then, with probability at least 1−δ,

R^n≤8nβnlog⁡ ⁣(det⁡Vndet⁡V0)≤8dnβnlog⁡ ⁣(1+nL2dλ).

Algorithm properties. For every admissible model input, the algorithm also completes exactly n rounds and outputs (At,Xt)t=1n and (Vn,bn,θ^n). Count exact real arithmetic operations, comparisons, square roots, and logarithms with unit cost, and exclude generation of contexts, features, and rewards. Let F be the rounds with finite action sets and let mt be the number of available actions at round t∈F; let K be the compact-feature rounds. The procedure makes exactly ∣K∣ calls to the supplied maximizing selector and uses O(nd3+d2∑t∈Fmt) operations apart from selector costs.

Facts & Assumptions

Given: AC, Countable Choice, the bandit model and LinUCB algorithm, and the per-round optimal-mean range bound in the Statement.

[A1]

The Axiom of Choice: the confidence supplier uses AC for conditional-expectation classes and bounded optional sampling.

[A2]

The Axiom of Countable Choice (ACω): the confidence supplier uses Countable Choice for its Gaussian integral.

[F1]

Finite-dimensional linear contextual bandit model: the model's fixed θ∗, feature bounds ∥a∥2≤L, information matrices Vt, and sample-sum ridge estimates.

[F2]

LinUCB with a self-normalized confidence radius: At maximizes Ut(a)=⟨θ^t−1,a⟩+βtaTWt−1a and βt=max⁡{1,ρt2}.

[F3]

The ridge estimate lies in a time-uniform linear confidence ellipsoid: with probability at least 1−δ, the true parameter is in the ellipsoid of radius ρt about θ^t−1 for every round in the horizon.

[F4]

The elliptical-potential bound for ridge design matrices: if ut=∥At∥Vt−1−12, then ∑tmin⁡{1,ut}≤2log⁡(det⁡Vn/det⁡V0) and det⁡Vt/det⁡Vt−1=1+ut≥1.

[F5]

Trace control of the regularized design determinant: log⁡(det⁡Vn/det⁡V0)≤dlog⁡(1+nL2/(dλ)).

[F6]

Cauchy–Schwarz: ∣⟨x,y⟩∣≤∥x∥ ∥y∥, with equality exactly for dependent pairs: ∣⟨x,y⟩∣≤∥x∥ ∥y∥ in every real inner-product space; Cauchy–Schwarz also applies to the Euclidean inner product on Rn.

[F7]

The ridge information matrix is positive definite and invertible: each Vt is symmetric positive definite, so ⟨x,y⟩Vt:=xTVty is a real inner product and Vt−1 is positive definite.

[F8]

LinUCB with a self-normalized confidence radius: the procedure initializes W0,D0, executes the stated finite loop, uses row swaps, nonzero row scalings, and row additions on the augmented matrix to construct Wt,Dt, and returns the specified online and terminal outputs. For n≥1, the determinant over a commutative ring by the Leibniz formula, and ∣det⁡A∣ for a real matrix gives det⁡(Id)=1 and det⁡(λId)=λd 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

1.1F1F2F7F8algebra

For each round, [F7] makes Vt invertible and gives det⁡Vt≥λd>0. To verify the row procedure, suppose k<d 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 (IkB0C). The square block C is invertible: otherwise a nonzero z∈ker⁡C would give (−Bzz) in the kernel of the full left block. Its first column therefore has a nonzero entry, so a row i≥k with Mik≠0 exists and the selected pivot pk is nonzero. Induction gives all d pivots and reduces the left block to Id. The same row operations on the right identity block give a matrix Q with QVt=Id, hence Wt=Q=Vt−1. If s is the product of row-swap signs, determinant tracking using [F8] gives 1=det⁡(Vt)s/(∏k=0d−1pk), so the stored value s∏k=0d−1pk is exactly Dt=det⁡(Vt). Initially these identities follow directly from V0=λId, W0=λ−1Id, and D0=λd. 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 n rounds complete and the stated outputs exist.

2.1step 1.1F2F8algebra

At each elimination pivot, searching and swapping rows costs O(d) operations; normalizing one row and eliminating its column from at most d−1 rows costs O(d2). The d pivots therefore cost O(d3). Each matrix update and multiplication by bt costs O(d2); one finite-action score costs O(d2) and a maximization over mt actions costs O(d2mt). Storing the returned feature and reward costs O(d) per round. Summing over n rounds gives O(nd3+d2∑t∈Fmt) operations, and there is exactly one selector call for each t∈K.

2.2A1A2F2F3step 1.1algebra

On the confidence event E={θ∗∈Ct for all 1≤t≤n} from [F3], step 1.1 and the nonnegative radius formula give ρt≥0. Since βt≥ρt2, the algorithm's radius βt also contains θ∗.

3.1F1F2F3F6F7step 1.1step 2.2algebra

For any a∈At, [F7] makes ⟨x,y⟩Vt−1=xTVt−1y a real inner product. Cauchy–Schwarz gives ⟨θ∗,a⟩=⟨θ^t−1,a⟩+⟨θ∗−θ^t−1,Vt−1−1a⟩Vt−1≤⟨θ^t−1,a⟩+βt aTVt−1−1a. By step 1.1, Wt−1=Vt−1−1, so the final expression is Ut(a).

4.1F1F2step 3.1

By the model, the true-mean maximum on At is attained and its value is measurable. For every a∈At, step 3.1 gives ⟨θ∗,a⟩≤Ut(a), and the algorithm's maximization gives Ut(a)≤Ut(At). Taking the maximum over a yields max⁡a∈At⟨θ∗,a⟩≤Ut(At).

5.1F1F2F3F6F7step 1.1step 2.2step 4.1algebra

Applying Cauchy–Schwarz to At and the confidence error as in step 3.1 yields ⟨θ∗,At⟩≥⟨θ^t−1,At⟩−βt AtTVt−1−1At=Ut(At)−2βt ut, where step 1.1 identifies Wt−1=Vt−1−1. Define rt=max⁡a∈At⟨θ∗,a⟩−⟨θ∗,At⟩. By step 4.1, this gap is nonnegative and at most 2βtut.

6.1F2F4step 5.1algebra

The range hypothesis gives rt≤1. By [F4], det⁡Vt/det⁡Vt−1=1+ut≥1, so the algorithm's determinant-defined βt is nondecreasing and βt≤βn. If ut≤1, step 5.1 gives rt≤2βnut; if ut≥1, the range bound gives rt≤1≤2βn. Thus in both cases rt≤2βnmin⁡{1,ut}.

7.1step 6.1F6algebra

Squaring step 6.1 gives rt2≤4βnmin⁡{1,ut}. Euclidean Cauchy–Schwarz on (r1,…,rn) and (1,…,1) therefore yields R^n=∑t=1nrt≤n∑t=1nrt2≤2nβn∑t=1nmin⁡{1,ut}.

8.1F3F4F5step 7.1∎

Apply the sum bound in [F4] to step 7.1 to obtain R^n≤8nβnlog⁡(det⁡Vn/det⁡V0). Then [F5] gives the second displayed bound. These inequalities hold on E, whose probability is at least 1−δ by [F3].

CorollaryStatement: Literature-sourcedProof: AI-adaptedprecheck passOpen item page →

LinUCB has expected pseudo-regret of order dnlog⁡(nL)

Statement

Assume the hypotheses of the LinUCB high-probability regret theorem, with d≥1, λ>0, L≥1, m2≥0, and horizon n≥2. Run LinUCB with δ=1/n. Let R^n be its random pseudo-regret and define expected pseudo-regret by Rn:=E[R^n]. Put

qn:=log⁡ ⁣(1+nL2dλ),Bn:=8dnβnqn,

where βn is the algorithm's confidence schedule, and set

c:=1+log⁡(1+L/λ)log⁡2,C1:=4+2c+1+2λm22log⁡2,C:=8C1c+12log⁡2.

Here Bn is generally random through βn and the design matrix. Then

Rn≤E[Bn]+1≤C dnlog⁡(nL).

This is an expected pseudo-regret bound; it is distinct from a high-probability bound on realized reward regret.

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.

[A1]

The Axiom of Choice: AC is inherited through the conditional-expectation, supermartingale, and bounded optional-sampling interfaces in the confidence proof.

[A2]

The Axiom of Countable Choice (ACω): Countable Choice is inherited through the Gaussian integral in the confidence proof.

[F1]

LinUCB has a log-determinant high-probability pseudo-regret bound: with probability at least 1−δ, R^n≤8dnβnlog⁡(1+nL2/(dλ)) when the per-round mean range is at most 1.

[F2]

LinUCB with a self-normalized confidence radius: βn=max⁡{1,(λm2+2log⁡(1/δ)+log⁡(det⁡Vn−1/λd))2}.

[F3]

Trace control of the regularized design determinant: applying its determinant bound to the first n−1≥1 feature vectors and using monotonicity of log⁡ gives log⁡(det⁡Vn−1/λd)≤dlog⁡(1+(n−1)L2/(dλ))≤dlog⁡(1+nL2/(dλ))=dqn.

[F4]

Finite-dimensional linear contextual bandit model and [F1]: the pseudo-regret is measurable and each round gap lies in [0,1] under the theorem's range assumption, so 0≤R^n≤n.

[F6]

Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: log⁡ is increasing and log⁡(xy)=log⁡x+log⁡y for positive arguments.

[F7]

The ridge estimates and self-normalized sums are measurable and LinUCB with a self-normalized confidence radius: det⁡Vn−1 is measurable, and the algorithm formulas make βn and Bn nonnegative measurable random variables.

Proof

1.1F2F3algebra

With δ=1/n, [F2] and [F3] give βn≤1+(λm2+2log⁡n+dqn)2≤1+2λm22+4log⁡n+2dqn. The first inequality uses max⁡{1,x}≤1+x for x≥0; the second uses (a+b)2≤2a2+2b2.

2.1F6step 1.1algebra

Since nL≥2, log⁡n≤log⁡(nL) and 1+nL2dλ≤1+nL2λ≤nL(1+Lλ). By [F6], qn≤log⁡(nL)+log⁡(1+L/λ)≤clog⁡(nL). Hence step 1.1 and d≥1, log⁡(nL)≥log⁡2 imply βn≤C1dlog⁡(nL).

3.1step 2.1F6F7algebra

Step 2.1 and the definition of Bn give Bn=8dnβnqn≤8C1c dnlog⁡(nL) pointwise. By [F7], Bn is measurable; this deterministic bound makes it integrable.

4.1A1A2F1F4F5F7step 3.1algebra

By [F1] with δ=1/n, there is a measurable event E with P(E)≥1−1/n on which R^n≤Bn. By [F4], 0≤R^n≤n on every outcome. Therefore R^n≤Bn1E+n1Ec pointwise. Taking expectations and using [F5], [F7], and step 2.1 gives Rn≤E[Bn1E]+nP(Ec)≤E[Bn]+1.

5.1step 2.1step 3.1step 4.1algebra∎

Also dnlog⁡(nL)≥2log⁡2, so 1≤dnlog⁡(nL)/(2log⁡2). Combining this with steps 3.1 and 4.1 proves Rn≤Cdnlog⁡(nL).

4 · Examples, counterexamples and false statements

None yet.

Sources