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.

Contextual expert bandits — Examples

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

None yet.

4 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedOpen item page →

A finite two-expert Exp4 instance

Example

Consider one round with two actions, two experts, reward vector x1=(1,0), and deterministic advice rows E(1)1=(1,0) and E(1)2=(0,1). For any learning rate η>0, Exp4 starts with equal expert weights and samples each action with probability 1/2. The expected learner reward is 1/2, the best fixed expert reward is 1, and the expected regret is 1/2, independently of η. For the theorem-bound clause, use the tuned learning rate η=log⁡2; the general Exp4 theorem then gives R1≤4log⁡2.

Example references

Contextual bandit protocol: the finite expert advice and expected-regret conventions used in the calculation.

Exp4 initialization and action mixture: the uniform initial expert weights and mixture action distribution used here.

Expected-regret theorem: the stated general bound specialized to this one-round instance.

Facts & Assumptions

Given: One round, actions [2], experts [2], reward vector (1,0), advice rows (1,0) and (0,1), and Exp4 with η=log⁡2 for the theorem-bound clause.

[F1]

Contextual bandit protocol with finite expert advice: an expert's round reward is the dot product of its advice row with the reward vector.

[F2]

Exp4 with unbiased estimated rewards: Q1,m=1/M and P1,i=∑mQ1,mE(1)m,i.

[F3]

Exp4 expected regret against the best fixed expert: for n=1, k=2, and M=2, the expected regret is at most 4log⁡2.

Verification

1.1F2algebra

The uniform initial weights give Q1,1=Q1,2=1/2. Hence P1,1=1/2 and P1,2=1/2. The realized reward equals one with probability 1/2 and zero with probability 1/2, so its expectation is 1/2.

2.1F1step 1.1algebra

The two experts' expected rewards are ⟨(1,0),(1,0)⟩=1 and ⟨(0,1),(1,0)⟩=0. Thus the best fixed expert reward is one and the expected regret is 1−1/2=1/2.

3.1F3algebra∎

Substituting n=1, k=2, and M=2 into [F3] gives the stated bound 4log⁡2.

ExampleConstruction: AI-generatedVerification: AI-generatedOpen item page →

Duplicated experts change Exp4's uniform prior mass

Example

Take k=2, M=3, and at every round let E(t)1=E(t)2=(1,0) and E(t)3=(0,1). Exp4's uniform initial expert distribution gives first-round action distribution P1=(2/3,1/3); deleting one of the duplicated experts instead gives (1/2,1/2). The two duplicated experts receive identical estimated rewards and remain equal-weighted after every update. For any integer horizon n≥1 and any fixed oblivious reward sequence x1,…,xn∈[0,1]2, with learning rate η=log⁡3/n, the expected-regret theorem gives the bound Rn≤4nlog⁡3 for the three-expert list.

Example references

Expert advice rows and oblivious instance: the deterministic advice rows and reward sequence meet this protocol.

Exp4 initialization, mixture, and update: the example uses uniform initial expert weights and the common exponential update.

Expected-regret theorem: the three-expert regret bound follows by specializing the theorem to k=2 and M=3.

Facts & Assumptions

Given: k=2, M=3, identical first and second advice rows (1,0), third row (0,1), a fixed oblivious reward sequence x1,…,xn∈[0,1]2, and Exp4 with learning rate η=log⁡3/n for a fixed horizon n≥1.

[F1]

Contextual bandit protocol with finite expert advice: each row is a probability vector and each fixed expert's advice is admissible in an oblivious instance.

[F2]

Exp4 with unbiased estimated rewards: Q1,m=1/M, Pt,i=∑mQt,mE(t)m,i, and Qt+1,m is proportional to Qt,mexp⁡(ηX~t,m).

[F3]

Exp4 expected regret against the best fixed expert: for any fixed oblivious instance with k>1, M>1, and horizon n≥1, Rn≤2nklog⁡M at the stated learning rate.

Verification

1.1F2algebra

Since Q1,m=1/3, the mixture formula gives P1,1=1/3+1/3=2/3 and P1,2=1/3. If one copy of (1,0) is removed, the two remaining experts start with mass 1/2 each, giving the alternative distribution (1/2,1/2).

2.1F1F2step 1.1algebra

At every round the first two advice rows are equal, so their estimated rewards are equal. Their initial weights are equal; multiplying both by the same exponential factor and dividing by the common normalizer preserves equality. In particular, writing g=X~1,1=X~1,2 and h=X~1,3 gives Q2,1=Q2,2=eηg/(2eηg+eηh), so their combined mass is 2eηg/(2eηg+eηh).

3.1F3algebra∎

Substituting k=2 and M=3 into [F3] gives Rn≤2n⋅2log⁡3=4nlog⁡3.

ExampleConstruction: AI-generatedVerification: AI-generatedOpen item page →

A context-specific expert class with no shared policy structure

Example

Let n≥1 be an integer, let C be a nonempty finite context set of size c, and let k>1 be an integer number of actions. Fix a context sequence c1,…,cn∈C and reward vectors xt∈[0,1]k for t∈[n], all before learner randomization. Take as experts every function ϕ:C→[k], with advice row E(t)ϕ,i=1{ϕ(ct)=i}. There are M=kc such experts and no constraint links the action assigned to one context to the action assigned to another. With learning rate η=2log⁡(kc)/(nk), Exp4's expected regret against this class is at most 2nkclog⁡k.

Example references

Contextual bandit protocol: expert advice rows and fixed oblivious context/reward sequences use this protocol.

Exp4 algorithm: each deterministic policy map supplies one advice row at the observed context.

Expected-regret theorem: the general finite-expert bound applies to the kc policy maps.

Natural-logarithm product law: log⁡(kc)=clog⁡k.

Facts & Assumptions

Given: n≥1, a finite nonempty context set C with ∣C∣=c, a fixed oblivious context sequence, fixed oblivious reward vectors xt∈[0,1]k for t∈[n], k>1, and the expert class of all maps ϕ:C→[k].

[F1]

Contextual bandit protocol with finite expert advice: the theorem applies to deterministic advice matrices fixed before learner randomization, with each expert row a probability vector.

[F2]

Exp4 expected regret against the best fixed expert: with M>1 experts, horizon n≥1, k>1, and its tuned learning rate, Rn≤2nklog⁡M.

[F3]

Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: for positive a,b, log⁡(ab)=log⁡a+log⁡b.

Verification

1.1F1givenconstructalgebra

For each map ϕ and each round t, exactly one indicator 1{ϕ(ct)=i} equals one, so its advice row is a probability vector. A map chooses one of k actions independently at each of the c contexts; therefore there are exactly M=kc experts. The fixed context sequence makes the resulting advice sequence oblivious.

2.1F2F3step 1.1algebra∎

Since c≥1 and k>1, M=kc>1, so [F2] applies and gives Rn≤2nklog⁡(kc). Repeated use of [F3] gives log⁡(kc)=clog⁡k, hence Rn≤2nkclog⁡k. This is a finite-sequence regret bound; it asserts no stochastic contextual generalization.

Sources