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.

Self-supervised and contrastive representations

1 · Prerequisites

2 · Logical flowchart

3 · Definitions, theorems and proofs

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Convexity, Lipschitz bounds, and oscillation of the source contrastive losses

Statement

Write ln⁡ for the natural logarithm and log⁡2u:=ln⁡(u)/ln⁡(2) for u>0. Define the one-negative hinge and logistic losses by ℓh(t):=(1+t)+ and ℓlog(t):=log⁡2(1+et) for t∈R, where r+:=max⁡{r,0}. Put L0:=1+1/ln⁡(2). Each loss is convex, nondecreasing, L0-Lipschitz, and has value 1 at 0. For R>0 and either loss ℓ, define Bℓ,R:=ℓ(2R2)−ℓ(−2R2). Then 0<Bℓ,R≤4L0R2.

Statement references

Facts & Assumptions

Given: The two functions and L0 in the Statement, and R>0.

[F1]

ln⁡ is the inverse of the real exponential, is strictly increasing, and satisfies ln⁡1=0; hence ln⁡2>0. The natural logarithm as the inverse of the exponential function, Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm

[F3]

The sum, product, quotient, and chain rules hold for differentiable real functions. Sum, product, quotient, and chain rules from difference quotients

[F4]

A twice-differentiable real function with nonnegative second derivative is convex. A twice-differentiable function on an open interval is convex if and only if its second derivative is nonnegative

[F5]

If a real function is continuous on [a,b] and differentiable on (a,b), its increment equals its derivative at some interior point times b−a. Mean value theorem on a closed real interval

Proof

Given: The functions and constant in the Statement.

1.1givenalgebra

The positive-part function is nondecreasing and 1-Lipschitz: if two inputs have the same sign, the positive-part difference is either their difference or zero; if they have opposite signs, the positive part of the nonnegative input is at most the distance between them. It is convex as the maximum of the affine functions 0 and 1+t. Therefore ℓh is nondecreasing, convex, and 1-Lipschitz, and ℓh(0)=1.

1.2F2F3givenalgebra

By [F2]–[F3] and the chain rule, ℓlog′(t)=et(1+et)ln⁡2,ℓlog′′(t)=et(1+et)2ln⁡2.

2.1F1F2F5step 1.2givenalgebra

By [F1], ln⁡2>0, and [F2] gives et>0. Step 1.2 therefore shows that 0<ℓlog′(t)≤1/ln⁡2 for every real t. The derivative is positive, so the logistic loss is strictly increasing; applying [F5] on each closed interval gives the global 1/ln⁡2 Lipschitz bound.

2.2F1F4step 1.2givenalgebra

The second derivative in step 1.2 is nonnegative because its numerator and denominator are positive. The convexity criterion [F4] gives convexity of ℓlog. Also ℓlog(0)=log⁡2(2)=1 from the definition of log⁡2.

3.1step 1.1step 2.1givenalgebra∎

Since L0 exceeds both Lipschitz constants, steps 1.1 and 2.1 give the common L0-Lipschitz bound. For the hinge loss, if 0<R<1/2, then Bℓh,R=(1+2R2)−(1−2R2)=4R2>0; if R≥1/2, then Bℓh,R=1+2R2>0. The logistic loss is strictly increasing by step 2.1, so Bℓlog,R>0 as well. In either case, the interval has length 4R2, so the Lipschitz bound gives Bℓ,R≤4L0R2.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

A finite-dimensional vector contraction bound for one-sided Rademacher averages

Statement

Let m,d≥1, let V be a nonempty bounded subset of (Rd)m, and let hi:Rd→R be L-Lipschitz for one common L≥0. Let (εi)i=1m and (ηit)1≤i≤m,1≤t≤d be independent uniform signs in {−1,+1}. Writing vi=(vi1,…,vid), the one-sided averages satisfy

Eεsup⁡v∈V∑i=1mεihi(vi)≤3L Eηsup⁡v∈V∑i=1m∑t=1dηitvit.

Neither supremum uses an absolute value, and no condition hi(0)=0 is imposed. The bound holds for finite or infinite bounded V; all displayed suprema are finite.

Statement references

Cauchy-Schwarz for finite random variables: E[XY]2≤E[X2]E[Y2]: supplies Cauchy–Schwarz for the finite uniform sign spaces used in the proof.

Maurer, Theorem 3 and Corollary 4, complete vector-contraction proof: proves the sharper 2L version through a one-coordinate comparison and induction.

Lei et al., Lemma A.1, complete vector-contraction proof: gives an independent contrastive-learning application of the vector-contraction inequality.

Facts & Assumptions

Given: m,d≥1, a nonempty bounded set V⊆(Rd)m, a common Lipschitz constant L≥0, and the independent uniform signs in the Statement.

[F1]

On a finite probability space, E[XY]2≤E[X2]E[Y2]. Cauchy-Schwarz for finite random variables: E[XY]2≤E[X2]E[Y2]

Proof

Given: The objects and hypotheses in the Statement.

1.1F1givenalgebra

For any u∈Rd, put X=∑t=1dηtut for independent uniform signs ηt. Expanding the finite sign average gives EX2=∑tut2=∥u∥22 and EX4=∑tut4+6∑s<tus2ut2=3∥u∥24−2∑tut4≤3∥u∥24. By [F1], E∣X∣2≤(E∣X∣)1/2(E∣X∣3)1/2 and E∣X∣3≤(EX2)1/2(EX4)1/2. If u≠0, combining and squaring these inequalities yields E∣X∣≥(EX2)3/2/(EX4)1/2≥∥u∥2/3; the same bound is immediate for u=0.

2.1F1step 1.1givenalgebra

Fix an index i and any real function a on V. Averaging over εi=±1 gives half the sum of sup⁡v(hi(vi)+a(v)) and sup⁡w(−hi(wi)+a(w)), hence half the supremum over ordered pairs (v,w) of hi(vi)−hi(wi)+a(v)+a(w). Swapping v,w leaves a(v)+a(w) unchanged and reverses the loss difference, so this ordered-pair supremum equals Eεisup⁡v∈V{εihi(vi)+a(v)}=12sup⁡v,w∈V{∣hi(vi)−hi(wi)∣+a(v)+a(w)}. By Lipschitz continuity and step 1.1, the right side is at most 12Eηisup⁡v,w∈V{3L∣⟨ηi,vi−wi⟩∣+a(v)+a(w)}. For each fixed sign vector, swapping v,w shows the supremum is unchanged if the absolute value is removed. It then separates into a sum of two suprema; symmetry of ηi makes their expectations equal. Therefore Eεisup⁡v∈V{εihi(vi)+a(v)}≤Eηisup⁡v∈V{3L⟨ηi,vi⟩+a(v)}.

3.1step 2.1givenalgebra

For finite V, define Qk to be the expectation of the supremum with the first k terms replaced by 3L∑tηitvit and the remaining terms equal to εihi(vi). Then Q0 is the left side of the Statement and Qm is its right side. For each k<m, condition on all signs except εk+1 and the corresponding vector signs, and collect the other terms into a(v). Step 2.1 gives Qk≤Qk+1. Iterating these finitely many inequalities yields Q0≤Qm.

4.1step 3.1givenchoosealgebra∎

For arbitrary bounded nonempty V, the scalar sign cube has finitely many elements. Given δ>0, choose for each scalar sign vector one point of V whose left-hand signed sum is within δ of its supremum, and let V0 be the finite set of chosen points. Then the left average over V0 is within δ of that over V, while the coordinate-sign supremum over V0 is no larger than that over V. Applying step 3.1 to V0 and letting δ↓0 proves the claimed inequality for V. This uses only finitely many approximate choices for each δ.

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-6-luna)Open item page →

Latent-class contrastive representation learning

Definition

Let (C,C0,ρ) be a measurable probability space and (X,A) a measurable space. For each class c∈C, let Dc be a probability measure on (X,A) and assume c↦Dc(A) is measurable for every A∈A. Assume the displayed mixtures define probability measures. The positive-pair law Dsim and negative marginal Dneg are specified by

Dsim(A×B):=∫CDc(A)Dc(B) ρ(dc),Dneg(A):=∫CDc(A) ρ(dc)

for measurable A,B∈A. Equivalently, draw C∼ρ and then draw X,X+ independently with law DC for a positive pair; draw a fresh independent class C′∼ρ and X−∼DC′ for one negative. The class labels are latent: the learner observes the pair and negative data, not their classes.

Let d≥1, R>0, and let F be a nonempty class of measurable maps f:X→Rd satisfying sup⁡x∈X∥f(x)∥2≤R. Use either one-negative loss ℓh(t)=(1+t)+ or ℓlog(t)=log⁡2(1+et) from the immediately preceding loss-properties lemma. The contrastive score and population loss are

qf(x,x+,x−):=f(x)⊤(f(x−)−f(x+)),Lun(f):=E(X,X+)∼Dsim, X−∼Dneg[ℓ(qf(X,X+,X−))].

For M≥1, an observed sample is S=((xj,xj+,xj−))j=1M of M independent triplets with common law Dsim⊗Dneg, and its empirical loss is L^un(f):=M−1∑j=1Mℓ(qf(xj,xj+,xj−)). For this sample define the unnormalized vector Rademacher complexity

RS(F):=Eεsup⁡f∈F∑j=1M∑t=1d(εjt0ft(xj)+εjt+ft(xj+)+εjt−ft(xj−)),

where every εjt0,εjt+,εjt− is an independent uniform sign. This is the one-sided convention with no absolute value and no 1/M factor.

All vector and matrix expectations in this definition are taken entrywise in finite dimensions. The bound on f makes each coordinate of f(X) and every product defining a covariance entry integrable.

Let C+,C−∼ρ be independent class draws and set τ:=Pr⁡(C+=C−)<1. Assume the diagonal Δ:={(c,c):c∈C} and each ΔA:={(c,c):c∈A}, A∈C0, are measurable. The average binary task draws (C+,C−) conditional on C+≠C−, then samples a label Y uniformly from {+1,−1} and an input X from DC+ if Y=+1 or DC− if Y=−1. For a vector representation f, a binary linear classifier uses a weight vector w∈Rd and loss ℓ(−Yw⊤f(X)). Define Lsup(f) as the average over tasks of the infimum of this risk over w∈Rd. Write μc:=EX∼Dcf(X) and define the class-mean classifier by wμ=μC+−μC−; its average risk is Lsupμ(f). For γ>0, write Lγ,supμ(f) for the same mean-classifier risk with margin loss ℓγ(t):=(1+t/γ)+ in place of ℓ.

For τ>0, let Lun=(f) and Lun≠(f) be the conditional contrastive risks given C+=C− and C+≠C−, respectively. Let ν be the class law conditioned on the collision event, namely ν(A):=(ρ⊗ρ)(ΔA)/τ for A∈C0; for an atomic class law this gives ν({c})=ρ({c})2/τ. Define Σf(c):=EX∼Dc[(f(X)−μc)(f(X)−μc)⊤] and

s(f):=EC∼ν[∥Σf(C)∥op EX∼DC∥f(X)∥2],∥Σ∥op:=max⁡∥u∥2=1∥Σu∥2.

The assumed measurability of Δ and every ΔA makes the displayed collision event and conditional class law well-defined; disjoint class sets give disjoint ΔA, so the formula for ν is countably additive and has total mass one. Assume also that c↦μc and c↦Σf(c) are measurable for each f, and that the displayed class-conditional risks and random suprema used below are measurable.

If τ=0, there is no collision term; set s(f):=0 and use Lun(f)=Lun≠(f). Any empirical minimizer or approximate minimizer used below is separately assumed to be a measurable selector; no selector-existence claim is part of this definition.

Definition references

Probability measures and probability spaces: fixes probability laws and their total mass.

Expectation of a nonnegative or integrable random variable: supplies scalar expectations; vector and matrix expectations use the entrywise convention stated above.

Supervised prediction problems

Population and empirical risk: supply the measurable prediction-problem and population/empirical risk conventions.

Population and empirical risks are measurable: establishes measurability of fixed-predictor risks in the supervised interface.

Identical distribution and IID families

Independent random elements have product joint law: fix IID sampling and the product-law convention for independent draws.

One-sided Rademacher complexity: supplies the one-sided sign-supremum convention; the vector form above is unnormalized as in the source.

Moments, variance, and covariance on a probability space

The operator norm is zero on the zero domain and otherwise is max_{||v||=1} ||Tv||: define the within-class covariance matrix and its operator norm.

Convexity, Lipschitz bounds, and oscillation of the source contrastive losses: defines the source hinge/logistic losses and the common constant L0.

Saunshi et al., Sections 2–5, latent classes, pair/triplet sampling, mean classifier and one-negative objective.

Lei et al., Sections 2–4, contrastive sampling and a distinct unsupervised-loss generalization analysis.

Sampling diagram

The two class roots are sampled independently. The arrows show conditional sampling laws, not deterministic functions; X and X+ are independent conditional on C+, and the negative example has its own independent class draw.

C+»½X»DC+X+»DC+C¡»½X¡»DC¡

Remarks

The transfer claims below concern the source's average binary tasks, one independent marginal negative, the stated hinge/logistic losses, and the class-mean linear classifier. They do not assert multiclass top-1 accuracy, universal invariance, an attained population minimizer, or a guarantee for empirical SimCLR outcomes. The source treats multiple-negative and block-similarity extensions separately.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Jensen comparison with the average mean-classifier loss

Statement

Assume the one-negative latent-class model has τ<1. Let C+,C− be independent with law ρ, conditioned on C+≠C−, let X,X+ be independent with law DC+, and let X− be independent with law DC−. For every measurable bounded representation f and either source hinge or logistic loss, the average binary-task mean-classifier risk satisfies

Lsupμ(f)≤Lun≠(f).

Here each binary task uses a uniform label from its two classes, and Lun≠ is the contrastive loss conditional on different positive and negative classes.

Statement references

Latent-class contrastive representation learning: defines the latent-class sampling laws, binary-task risk, mean classifier, and distinct-class contrastive loss.

Convexity, Lipschitz bounds, and oscillation of the source contrastive losses: establishes convexity of both source losses.

Saunshi et al., Lemma 4.3 and complete proof: proves the same one-negative Jensen comparison for uniformly labeled binary tasks.

Facts & Assumptions

Given: The sampling model in the Statement with τ<1, one representation f∈F, and either source loss ℓ.

[F1]

Conditional on C+=c+ and C−=c−, the positive pair is sampled independently from Dc+ and the negative example independently from Dc−. Latent-class contrastive representation learning

[F2]

The loss ℓ is convex, so for each integrable real random variable Z, ℓ(EZ)≤Eℓ(Z). Convexity, Lipschitz bounds, and oscillation of the source contrastive losses, Jensen's inequality for expectation

[F3]

The mean-classifier margin for a positive-class input is f(x)⊤(μc+−μc−), and the contrastive score is f(x)⊤(f(x−)−f(x+)). Latent-class contrastive representation learning

[F4]

The ordered pair law of (C+,C−) conditioned on inequality is invariant under swapping its coordinates; the two draws have joint law ρ⊗ρ. Independent random elements have product joint law

[F5]

The integral of integrable functions is linear, so conditional expectations of the bounded vector coordinates subtract to the difference of their means. The Lebesgue integral is linear on L1(μ)

Proof

Given: The hypotheses in the Statement and Facts & Assumptions.

1.1F1F2F3F5given

Fix distinct classes c+,c− and an anchor x∈X. Conditional on these classes and x, the random score Z=f(x)⊤(f(X−)−f(X+)) is integrable and has mean E[Z]=f(x)⊤(μc−−μc+) by independence and [F5] applied to the bounded coordinates. Jensen's inequality [F2] gives E[ℓ(Z)]≥ℓ(f(x)⊤(μc−−μc+)). Integrating over x∼Dc+ and then over distinct ordered class pairs shows that Lun≠(f) is at least the average mean-classifier loss on the positive label.

2.1F3F4step 1.1algebra∎

By [F4], swapping (c+,c−) preserves the conditional ordered-pair law. Therefore the average mean-classifier loss on the negative label equals its average on the positive label: swapping the classes turns its margin f(x)⊤(μc+−μc−) into the positive-label margin from step 1.1. Since the task label is uniform, the average of the two label risks is exactly the positive-label average. Thus Lsupμ(f)≤Lun≠(f).

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Class-collision loss is bounded by within-class covariance deviation

Statement

In the one-negative latent-class model, for every bounded representation f and either source loss, the population contrastive loss decomposes as

Lun(f)=τLun=(f)+(1−τ)Lun≠(f).

If τ>0, the same-class conditional loss obeys

1≤Lun=(f)≤1+c0s(f),c0:=2 L0,

where L0 is the common Lipschitz constant of the hinge and logistic losses. If τ=0, then Lun(f)=Lun≠(f) and the model's convention is s(f)=0.

Statement references

Facts & Assumptions

Given: The one-negative latent-class model, f∈F, τ<1, and ℓ∈{ℓh,ℓlog}.

[F1]

Lun is the risk under independent class draws; conditioning on equality gives Lun= and conditioning on inequality gives Lun≠. For τ>0, s(f) averages the within-class covariance deviation under the collision-conditioned class law ν. Latent-class contrastive representation learning

[F2]

The source losses are convex, L0-Lipschitz, and satisfy ℓ(0)=1. Convexity, Lipschitz bounds, and oscillation of the source contrastive losses

[F3]

For Y=f(X) with X∼Dc, Σf(c)=E[(Y−μc)(Y−μc)⊤] and u⊤Σf(c)u=E[(u⊤(Y−μc))2]≥0; its operator norm is the induced Euclidean norm. Moments, variance, and covariance on a probability space, The operator norm is zero on the zero domain and otherwise is max_{||v||=1} ||Tv||

[F4]

Conditional on a collision class c, the positive and negative examples are independent with common law Dc, so their joint law is Dc⊗Dc. Independent random elements have product joint law

[F5]

Bounded measurable functions on probability product spaces are integrable, and iterated integrals agree with the product integral. Fubini's theorem for L^1 functions on a sigma-finite product

[F6]

The integral is linear on integrable functions. The Lebesgue integral is linear on L1(μ)

[F7]
[F8]

For an integrable real random variable Z with integrable square, (E∣Z∣)2≤E[∣Z∣2]. Jensen's inequality for expectation

[F9]

For a bounded real random variable Z, the Lipschitz source loss is integrable and Jensen's inequality gives ℓ(EZ)≤E[ℓ(Z)]. Jensen's inequality for expectation

Proof

Given: The objects and hypotheses in the Statement.

1.1F1givenalgebra

Partition the independent class-pair law into the collision event, of probability τ, and its complement, of probability 1−τ. The conditional loss on these two events is respectively Lun=(f) and Lun≠(f), giving the displayed decomposition when τ>0. If τ=0, the collision event is null and Lun(f)=Lun≠(f).

1.2F1F2F4F6F9given

Suppose τ>0. Fix a collision class c and anchor x. Conditional on x,c, let Y+=f(X+) and Y−=f(X−) be independent copies with mean μc. Then E[f(x)⊤(Y−−Y+)]=0 by [F4] and [F6]. Jensen's inequality [F9], using convexity [F2], gives E[ℓ(f(x)⊤(Y−−Y+))]≥ℓ(0)=1. Averaging over x∼Dc and c∼ν proves Lun=(f)≥1.

1.3F3F4F5F6F7givenalgebra

With Z+:=f(X+)−μc and Z−:=f(X−)−μc, the conditional vectors are independent, centered, and have covariance Σf(c). For each matrix entry, Fubini and product-law independence factor the cross expectation as E[(Z−)r(Z+)s]=E[(Z−)r]E[(Z+)s]=0, and likewise with + and − exchanged. Linearity therefore gives E[(Z−−Z+)(Z−−Z+)⊤]=2Σf(c). By [F3], Σf(c) is positive semidefinite; by [F7] and the operator-norm definition, f(x)⊤Σf(c)f(x)≤∥f(x)∥2∥Σf(c)f(x)∥2≤∥Σf(c)∥op∥f(x)∥22. Thus E[(f(x)⊤(Y−−Y+))2]=2f(x)⊤Σf(c)f(x)≤2∥Σf(c)∥op∥f(x)∥22.

2.1F1F2F3F8step 1.3givenalgebra

Apply [F8] to the bounded score in step 1.3 to get E∣f(x)⊤(Y−−Y+)∣≤2∥Σf(c)∥op∥f(x)∥2. By [F2], E[ℓ(f(x)⊤(Y−−Y+))]−1≤L0E∣f(x)⊤(Y−−Y+)∣. Average over x∼Dc and c∼ν to obtain Lun=(f)−1≤2L0s(f).

3.1step 1.1step 1.2step 2.1∎

Steps 1.2 and 2.1 establish both bounds on Lun=(f), while step 1.1 gives the unconditional decomposition and the zero-collision case.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Class-conditional sub-Gaussian concentration yields a contrastive margin bound

Statement

In the one-negative latent-class model, fix a bounded representation f with sup⁡x∥f(x)∥2≤R, where R>0. Use the hinge loss ℓh(t)=(1+t)+. Suppose that for every class c, the centered vector f(X)−μc, for X∼Dc, is sub-Gaussian in every direction with proxy σ2≥0. For 0<ϵ≤1, define

γ:={1+2Rσ2ln⁡R+ln⁡(3/ϵ),R≥1,1+2Rσln⁡(3/ϵ),0<R<1.

Then the contrastive risk conditioned on distinct positive and negative classes satisfies

Lun≠(f)≤γLγ,supμ(f)+ϵ.

This comparison is for the hinge contrastive loss and its scaled hinge mean-classifier risk.

Statement references

Latent-class contrastive representation learning: defines the one-negative score, class-conditional means, distinct-class contrastive risk and scaled hinge mean-classifier risk.

Sub-Gaussian variables and vectors, and sub-exponential variables: defines the centered vector sub-Gaussian proxy condition used for every class.

Convexity, Lipschitz bounds, and oscillation of the source contrastive losses: defines the hinge contrastive loss.

Saunshi et al., Lemma 5.1, main paper §5.2.

Saunshi et al., complete proof of Lemma 5.1, Supplementary Appendix A.2.

Facts & Assumptions

Given: The one-negative latent-class model, a representation f bounded by R>0, the classwise centered sub-Gaussian hypothesis, 0<ϵ≤1, and the value of γ in the Statement.

[F1]

Given classes c+,c− and an anchor x, the examples X+∼Dc+ and X−∼Dc− are independent; the contrastive score is q=f(x)⊤(f(X−)−f(X+)). Latent-class contrastive representation learning, Independent random elements have product joint law

[F2]

For each class c, f(X)−μc is centered and satisfies Ee⟨u,f(X)−μc⟩≤eσ2∥u∥22/2 for every u∈Rd. Sub-Gaussian variables and vectors, and sub-exponential variables

[F3]

The underlying laws are countably additive probability measures; integrable coordinates have expectations given by integration, the integral is linear, and bounded integrands on probability product spaces satisfy Fubini. Expectation of a nonnegative or integrable random variable, Probability measures and probability spaces, The Lebesgue integral is linear on L1(μ), Fubini's theorem for L^1 functions on a sigma-finite product

[F4]

If W≥0 and a>0, then Pr⁡(W≥a)≤E[W]/a. Markov's inequality for random variables

[F5]
[F6]
[F7]

The ordered law of (C+,C−) conditioned on C+≠C− is invariant under swapping its coordinates. Latent-class contrastive representation learning, Independent random elements have product joint law

[F8]

For the hinge mean-classifier risk, the positive-label loss at (c+,c−,x) is (1+f(x)⊤(μc−−μc+)/γ)+; the task label is uniform. Latent-class contrastive representation learning

Proof

Given: The hypotheses in the Statement and Facts & Assumptions.

1.1F1F2F3F6given

Fix distinct classes c+,c− and an anchor x. Put u=f(x) and write the score as q=m+Z, where m=u⊤(μc−−μc+) and Z=u⊤(f(X−)−μc−)−u⊤(f(X+)−μc+). By [F1]–[F3], independence factors the moment generating function of the two centered terms, so for every λ∈R, EeλZ≤eλ2σ2∥u∥22≤eλ2v/2 with v:=2R2σ2. Also ∣q∣≤2R2 by [F6] and the representation bound.

2.1F3F4F5step 1.1given

Put t=γ−1. If σ>0, then t>0. Applying [F4] to eλZ with λ=t/v>0 and using step 1.1 gives p:=Pr⁡(Z≥t)≤e−t2/(2v)=e−t2/(4R2σ2)≤ϵ/(3R2) for R≥1, and p≤ϵ/3 for 0<R<1. If σ=0, then v=0 and step 1.1 gives EeλZ≤1 for every λ>0. For any a>0 and 0<r<1, [F4] with λ=ln⁡(1/r)/a gives Pr⁡(Z≥a)≤r, so Pr⁡(Z≥a)=0. Since {Z>0}=⋃n≥1{Z≥1/n}, countable subadditivity [F3] gives Pr⁡(Z>0)=0. Thus Z≤0 almost surely and the margin estimate below holds with no tail error when t=0.

3.1F6step 1.1step 2.1givenalgebra

Suppose first that σ>0. On {Z<t}, monotonicity of the positive-part function gives (1+m+Z)+≤(γ+m)+. On {Z≥t}, the score bound in step 1.1 gives (1+m+Z)+=(1+q)+≤1+2R2. Therefore EZ(1+m+Z)+≤(γ+m)++p(1+2R2)≤(γ+m)++ϵ, because 1+2R2≤3R2 for R≥1 and 1+2R2≤3 for R<1. When σ=0, step 2.1 gives Z≤0=t almost surely, so (1+m+Z)+≤(1+m)+=(γ+m)+ and the same inequality follows. Since γ≥1, (γ+m)+=γ(1+m/γ)+.

4.1F7F8step 3.1givenalgebra∎

Integrate the conditional inequality in step 3.1 over x∼Dc+ and the ordered class-pair law conditioned on inequality. Its leading term is γ times the positive-label mean-classifier hinge risk. Swapping the two classes preserves the ordered distinct-pair law by [F7] and changes the positive-label margin into the negative-label margin; hence the positive-label risk equals the uniform-label mean-classifier risk Lγ,supμ(f). The integrated error remains at most ϵ. This yields the Statement.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Uniform generalization bound for the one-negative contrastive loss

Statement

Assume the Axiom of Choice. In the one-negative latent-class model, fix R>0, a source loss ℓ∈{ℓh,ℓlog}, a sample size M≥1, and a sample S of M IID triplets. Assume the loss risks and all sample, independent-copy, and sign suprema below are measurable. Let Bℓ,R=ℓ(2R2)−ℓ(−2R2) and define

ΓM(S,δ):=218L0R RS(F)M+3Bℓ,Rln⁡(4/δ)2M,0<δ<1.

With probability at least 1−δ over S,

∀f∈F,∣Lun(f)−L^un(f)∣≤ΓM(S,δ).

Here RS(F) is the unnormalized vector Rademacher complexity of the three embeddings in each triplet.

Statement references

Latent-class contrastive representation learning: fixes the one-negative triplet loss, IID sample, representation bound and unnormalized vector Rademacher complexity.

Convexity, Lipschitz bounds, and oscillation of the source contrastive losses: supplies L0 and the positive oscillation Bℓ,R of either source loss on the score range.

A finite-dimensional vector contraction bound for one-sided Rademacher averages: bounds the one-sided vector Rademacher average, with constant 3.

Rademacher uniform generalization bounds: supplies the two-sided high-probability deviation bound for measurable [0,1]-valued classes under AC.

Saunshi et al., Supplementary Appendix A.3: applies vector contraction and bounded-loss uniform generalization to the contrastive class.

Mohri et al., Theorem 3.3 and complete proof, printed pp. 30–33: proves the bounded-loss Rademacher uniform-deviation step.

Maurer, Theorem 3, Corollary 4 and complete proof: gives a sharper vector-contraction constant; the proof here instead uses the local 3 lemma.

Facts & Assumptions

Given: AC, the one-negative latent-class model with R>0, either source loss, IID triplets, M≥1, 0<δ<1, and the measurability assumptions in the Statement.

[A1]

AC is the set-theoretic choice axiom used by the uniform-generalization supplier through its bounded-differences theorem. The Axiom of Choice, Rademacher uniform generalization bounds

[F1]

The triplets are IID; the population and empirical risks are the expectation and sample average of ℓ(qf). Latent-class contrastive representation learning, Identical distribution and IID families, Independent random elements have product joint law

[F2]

The score obeys ∣qf(x,x+,x−)∣≤2R2, the loss is nondecreasing and L0-Lipschitz, and its range on that interval is Bℓ,R>0. Latent-class contrastive representation learning, Convexity, Lipschitz bounds, and oscillation of the source contrastive losses

[F3]

The two-sided empirical Rademacher deviation theorem for a measurable class G of functions into [0,1] gives, with probability at least 1−δ, sup⁡g∈G∣Pg−PMg∣≤2R^S(G)+3ln⁡(4/δ)/(2M). It assumes AC. Rademacher uniform generalization bounds

[F4]

For a nonempty bounded trace set and coordinatewise functions with common Euclidean Lipschitz constant L, one-sided vector contraction bounds the scalar sign supremum by 3L times the independent coordinate-sign supremum. A finite-dimensional vector contraction bound for one-sided Rademacher averages

[F5]

For vectors u,v, ∣u⊤v∣≤∥u∥2∥v∥2; integrable expectations are linear. Cauchy–Schwarz: ∣⟨u,v⟩∣≤∥u∥∥v∥, with equality exactly for linearly dependent vectors, The Lebesgue integral is linear on L1(μ)

Proof

Given: The hypotheses in the Statement and Facts & Assumptions.

1.1A1F1F2F5given

Set a=ℓ(−2R2) and B=Bℓ,R. For each triplet z=(x,x+,x−), define gf(z)=(ℓ(qf(z))−a)/B. By [F2], gf takes values in [0,1]. Since the shift a is common to every f, averaging over the signs shows that the empirical one-sided Rademacher complexity of {gf:f∈F} equals B−1 times that of {ℓ(qf):f∈F}: the extra term is −(a/B)∑jεj, whose sign expectation is zero.

1.2F2F5givenalgebra

For a fixed triplet, write v=(u0,u+,u−)∈(Rd)3 and h(v)=ℓ(u0⊤(u−−u+)) on K=(B‾R)3, where B‾R={u:∥u∥2≤R}. For v,v′∈K, expansion of the score difference and [F5] give ∣h(v)−h(v′)∣≤L0R(2∥u0−u0′∥2+∥u−−u−′∥2+∥u+−u+′∥2)≤6L0R∥v−v′∥2. The last inequality is Cauchy–Schwarz for the three nonnegative coordinate distances. This Lipschitz function extends to all of (Rd)3 with the same constant by h~(v)=inf⁡w∈K{h(w)+6L0R∥v−w∥2}: on K the Lipschitz inequality gives equality with h, and the triangle inequality gives the global Lipschitz bound.

2.1F1F4step 1.1step 1.2givenalgebra

For the observed triplets, let V={(f(xj),f(xj+),f(xj−))j=1M:f∈F}, a nonempty bounded trace set. Apply [F4] to the extensions in step 1.2 with L=6L0R. The independent coordinate signs are exactly those defining RS(F), so R^S({gf:f∈F})≤36L0R RS(F)BM=18L0R RS(F)BM. The normalization 1/M comes from the empirical complexity convention; RS itself is unnormalized.

3.1A1F1F2F3step 1.1step 2.1givenalgebra∎

Apply [F3] to the normalized class in step 1.1. With probability at least 1−δ, its uniform deviation is at most twice the complexity in step 2.1 plus 3ln⁡(4/δ)/(2M). Multiplying by B converts that deviation to the unnormalized losses and yields exactly ΓM(S,δ) for every f∈F.

LemmaStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Population contrastive excess of an approximate empirical minimizer

Statement

Assume the Axiom of Choice and the hypotheses of the one-negative uniform-generalization lemma for a sample S of size M. Let f^ be a measurable selector taking values in F almost surely and satisfying, almost surely, L^un(f^)≤L^un(f)+η for every f∈F, where η≥0. For every 0<δ<1, with probability at least 1−δ,

∀f∈F,Lun(f^)≤Lun(f)+2ΓM(S,δ)+η,

where

ΓM(S,δ):=218L0R RS(F)M+3Bℓ,Rln⁡(4/δ)2M

is the uniform-deviation quantity for the same sample and loss. The case η=0 includes any attained measurable empirical minimizer; the statement does not assert that such a selector exists.

Statement references

Latent-class contrastive representation learning: defines population and empirical contrastive risk and the measurable-selector convention.

Uniform generalization bound for the one-negative contrastive loss: supplies the simultaneous deviation event with error ΓM(S,δ).

Saunshi et al., Theorem 4.1 and proof route: compares an empirical minimizer with every population-risk comparator using uniform deviation.

Mohri et al., Foundations of Machine Learning, Chapter 3: develops the same empirical-to-population comparison from a uniform deviation bound.

Facts & Assumptions

Given: AC, the hypotheses and notation of lem-contrastive-uniform-generalization, a measurable random selector f^, and a tolerance η≥0.

[A1]

AC is assumed in the uniform-generalization lemma and enters only through that supplier's bounded-differences theorem. The Axiom of Choice, Uniform generalization bound for the one-negative contrastive loss

[F1]

On an event of probability at least 1−δ, every g∈F satisfies ∣Lun(g)−L^un(g)∣≤ΓM(S,δ). Uniform generalization bound for the one-negative contrastive loss

[F2]

Almost surely, the approximate-minimizer condition gives L^un(f^)≤L^un(f)+η simultaneously for each comparator f∈F. Latent-class contrastive representation learning

Proof

Given: The hypotheses in the Statement and Facts & Assumptions.

1.1A1F1given

On the event in [F1], apply its uniform bound to the random selector f^ (which belongs to F almost surely) to obtain Lun(f^)≤L^un(f^)+ΓM(S,δ).

1.2F2given

On the same event, [F2] gives L^un(f^)≤L^un(f)+η for every f∈F.

2.1F1step 1.1step 1.2givenalgebra∎

Apply [F1] again to each comparator to obtain L^un(f)≤Lun(f)+ΓM(S,δ). Combining the preceding inequalities yields the displayed bound simultaneously for all f. Since the event in [F1] has probability at least 1−δ, the claim follows.

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Contrastive transfer bound with class collisions

Statement

Assume the Axiom of Choice and the one-negative latent-class model with τ<1. Fix either source hinge or logistic loss and a sample size M≥1. Suppose all risks and suprema in the uniform-generalization statement are measurable and that a measurable exact empirical minimizer f^∈F exists, meaning L^un(f^)≤L^un(g) for every g∈F almost surely. For every 0<δ<1, with probability at least 1−δ over the IID triplet sample,

∀f∈F,Lsupμ(f^)≤Lun(f)−τ+2ΓM(S,δ)1−τ,

where

ΓM(S,δ):=218L0R RS(F)M+3Bℓ,Rln⁡(4/δ)2M

is the uniform-deviation quantity for the same sample and loss. This is a guarantee for the average binary task with a uniform label and the class-mean linear classifier.

Statement references

Latent-class contrastive representation learning: defines the one-negative objective, the class-mean classifier risk and the collision probability.

Population contrastive excess of an approximate empirical minimizer: bounds the population contrastive risk of the empirical minimizer against every comparator.

Jensen comparison with the average mean-classifier loss: compares mean-classifier risk with distinct-class contrastive risk for either source loss.

Class-collision loss is bounded by within-class covariance deviation: decomposes total contrastive risk and lower-bounds the collision-conditioned loss by one.

Saunshi et al., Theorem 4.1, Lemmas 4.3–4.4 and proof route.

Saunshi et al., Supplementary Appendices A.1 and A.3.

Facts & Assumptions

Given: AC, the one-negative model with τ<1, either source loss, the measurable exact empirical minimizer, M≥1, and 0<δ<1.

[A1]

AC enters through the uniform-generalization theorem's bounded-differences step and is carried by the empirical-minimizer excess lemma. The Axiom of Choice, Population contrastive excess of an approximate empirical minimizer

[F1]

With probability at least 1−δ, simultaneously for every comparator f∈F, Lun(f^)≤Lun(f)+2ΓM(S,δ). Population contrastive excess of an approximate empirical minimizer

[F2]

For every bounded representation g and either source loss, Lsupμ(g)≤Lun≠(g). Jensen comparison with the average mean-classifier loss

[F3]

The collision decomposition is Lun(g)=τLun=(g)+(1−τ)Lun≠(g) and Lun=(g)≥1 when τ>0; when τ=0, Lun(g)=Lun≠(g). Class-collision loss is bounded by within-class covariance deviation

Proof

Given: The hypotheses in the Statement and Facts & Assumptions.

1.1A1F1given

On the event in [F1], the empirical-minimizer excess bound holds simultaneously for all comparators f.

1.2F3givenalgebra

By [F3], if τ>0 then Lun≠(f^)=Lun(f^)−τLun=(f^)1−τ≤Lun(f^)−τ1−τ. If τ=0, the same inequality is equality because Lun=Lun≠. Since 1−τ>0, these divisions are valid.

2.1F1F2step 1.1step 1.2givenalgebra∎

Apply [F2] to f^ and then use step 1.2 and [F1]. For every comparator on the event in step 1.1, Lsupμ(f^)≤Lun≠(f^)≤Lun(f^)−τ1−τ≤Lun(f)−τ+2ΓM(S,δ)1−τ. The event has probability at least 1−δ by [F1], proving the claim.

CorollaryStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Contrastive transfer for an approximate empirical minimizer

Statement

Assume the Axiom of Choice and the one-negative latent-class model with τ<1. Fix either source hinge or logistic loss, a sample size M≥1, and a tolerance η≥0. Suppose the risks and suprema in the uniform-generalization statement are measurable and let f^∈F be a measurable selector satisfying L^un(f^)≤L^un(f)+η for every f∈F almost surely. For every 0<δ<1, with probability at least 1−δ,

∀f∈F,Lsupμ(f^)≤Lun(f)−τ+2ΓM(S,δ)+η1−τ,

where

ΓM(S,δ):=218L0R RS(F)M+3Bℓ,Rln⁡(4/δ)2M

is the uniform-deviation quantity for the same sample and loss. The result assumes such a measurable approximate selector and does not assert its existence.

Statement references

Latent-class contrastive representation learning: defines the one-negative risk, empirical objective, class-mean risk and collision probability.

Population contrastive excess of an approximate empirical minimizer: supplies the approximate empirical-to-population contrastive-risk bound.

Jensen comparison with the average mean-classifier loss: compares mean-classifier risk with distinct-class contrastive risk.

Class-collision loss is bounded by within-class covariance deviation: supplies the collision decomposition and collision-loss lower bound.

Saunshi et al., Theorem 4.1, Lemmas 4.3–4.4 and proof route.

Facts & Assumptions

Given: AC, the one-negative model with τ<1, either source loss, an approximate selector with tolerance η≥0, M≥1, and 0<δ<1.

[A1]

AC enters through the bounded-differences component of the uniform-generalization theorem. The Axiom of Choice, Population contrastive excess of an approximate empirical minimizer

[F1]

With probability at least 1−δ, simultaneously for every comparator f∈F, Lun(f^)≤Lun(f)+2ΓM(S,δ)+η. Population contrastive excess of an approximate empirical minimizer

[F2]

For every bounded representation g and either source loss, Lsupμ(g)≤Lun≠(g). Jensen comparison with the average mean-classifier loss

[F3]

The collision decomposition and lower bound give Lun≠(g)≤(Lun(g)−τ)/(1−τ) for all 0≤τ<1, with the zero-collision case interpreted as equality. Class-collision loss is bounded by within-class covariance deviation

Proof

Given: The hypotheses in the Statement and Facts & Assumptions.

1.1A1F1given

On the simultaneous event in [F1], Lun(f^)≤Lun(f)+2ΓM(S,δ)+η for every comparator f.

1.2F3givenalgebra

The collision decomposition [F3] applies to f^ because τ<1, and yields Lun≠(f^)≤(Lun(f^)−τ)/(1−τ).

2.1F1F2step 1.1step 1.2givenalgebra∎

The Jensen comparison [F2], followed by steps 1.1 and 1.2, gives Lsupμ(f^)≤Lun≠(f^)≤Lun(f)−τ+2ΓM(S,δ)+η1−τ simultaneously for every comparator. The event has probability at least 1−δ by [F1].

TheoremStatement: Literature-sourcedProof: AI-adaptedjudge pass (gpt-6-luna)Open item page →

Contrastive transfer with a within-class covariance penalty

Statement

Assume the Axiom of Choice and the one-negative latent-class model with τ<1. Fix either source hinge or logistic loss, M≥1, and a measurable exact empirical minimizer f^∈F satisfying L^un(f^)≤L^un(g) for every g∈F almost surely, under the measurability hypotheses of the uniform-generalization result. For each comparator f∈F and every 0<δ<1, with probability at least 1−δ over the IID triplet sample,

Lsup(f^)≤Lsupμ(f^)≤Lun≠(f)+2L0τs(f)+2ΓM(S,δ)1−τ,

where Lsup is the infimum of the average binary-task risk over all linear classifiers, s(f) is the within-class covariance deviation, and

ΓM(S,δ):=218L0R RS(F)M+3Bℓ,Rln⁡(4/δ)2M

is the uniform-deviation quantity for the same sample and loss. The event is simultaneous for all comparators.

Statement references

Latent-class contrastive representation learning: defines the linear-classifier infimum, mean-classifier risk, distinct-class contrastive risk and covariance deviation s(f).

Class-collision loss is bounded by within-class covariance deviation: supplies the collision decomposition and Lun=(f)≤1+2L0s(f).

Contrastive transfer bound with class collisions: supplies the simultaneous empirical-minimizer transfer bound.

Saunshi et al., Theorem 4.5, Lemma 4.4 and proof route.

Saunshi et al., Supplementary Appendices A.1 and A.3.

Facts & Assumptions

Given: AC, the one-negative model with τ<1, either source loss, a measurable exact empirical minimizer, M≥1, and 0<δ<1.

[A1]

AC enters through the empirical-minimizer transfer theorem's uniform-generalization supplier. The Axiom of Choice, Contrastive transfer bound with class collisions

[F1]

The average risk infimum over all linear weights is at most the risk of the particular class-mean weight: Lsup(g)≤Lsupμ(g). Latent-class contrastive representation learning

[F2]

With probability at least 1−δ, simultaneously for every comparator f, Lsupμ(f^)≤[Lun(f)−τ+2ΓM(S,δ)]/(1−τ). Contrastive transfer bound with class collisions

[F3]

For τ>0, Lun(f)=τLun=(f)+(1−τ)Lun≠(f) and Lun=(f)≤1+2L0s(f). If τ=0, Lun(f)=Lun≠(f) and s(f)=0. Class-collision loss is bounded by within-class covariance deviation

Proof

Given: The hypotheses in the Statement and Facts & Assumptions.

1.1F1given

By the definition of Lsup as an infimum over all linear weights, its value for f^ is at most the risk of the particular mean weight, so Lsup(f^)≤Lsupμ(f^).

1.2A1F2F3givenalgebra

On the event in [F2], fix any comparator f. If τ>0, [F3] gives Lun(f)−τ=τ(Lun=(f)−1)+(1−τ)Lun≠(f)≤τ2L0s(f)+(1−τ)Lun≠(f). If τ=0, the same inequality is equality under the stipulated convention s(f)=0.

2.1F2step 1.1step 1.2givenalgebra∎

Divide the inequality in step 1.2 by 1−τ>0 and substitute it into [F2]. Together with step 1.1, this gives the displayed bound for every comparator on the same event, whose probability is at least 1−δ.

CorollaryStatement: Literature-sourcedProof: AI-adaptedOpen item page →

Sub-Gaussian contrastive transfer with a mean-classifier margin loss

Statement

Assume the Axiom of Choice and the one-negative latent-class model with τ<1. Use the source hinge loss for both contrastive training and the binary mean-classifier task. Fix M≥1, a measurable exact empirical minimizer f^∈F satisfying L^un(f^)≤L^un(g) for every g∈F almost surely, 0<δ<1, and 0<ϵ≤1. Let f∈F be any comparator whose centered class-conditional representation vectors are sub-Gaussian in every direction with common proxy σ2≥0. Define

γ:={1+2Rσ2ln⁡R+ln⁡(3/ϵ),R≥1,1+2Rσln⁡(3/ϵ),0<R<1.

Under the risk and supremum measurability hypotheses, with probability at least 1−δ,

Lsup(f^)≤Lsupμ(f^)≤γLγ,supμ(f)+ϵ+2L0τs(f)+2ΓM(S,δ)1−τ.

The uniform-deviation quantity is

ΓM(S,δ):=218L0R RS(F)M+3Bℓh,Rln⁡(4/δ)2M,

where Lγ,supμ(f) is the average task risk of the class-mean weight wμ using the scaled hinge loss (1−Ywμ⊤f(X)/γ)+. The logistic transfer theorems remain separate; the source margin comparison does not supply their logistic analogue.

Statement references

Class-conditional sub-Gaussian concentration yields a contrastive margin bound: supplies the exact piecewise margin parameter and the hinge comparison Lun≠(f)≤γLγ,supμ(f)+ϵ.

Contrastive transfer with a within-class covariance penalty: supplies the empirical-minimizer transfer bound with a within-class covariance term.

Saunshi et al., Corollary 5.1.1 and Lemma 5.1, main paper §5.2.

Saunshi et al., complete proof of Lemma 5.1, Supplementary Appendix A.2.

Facts & Assumptions

Given: AC, the one-negative model with τ<1, hinge loss, a measurable exact empirical minimizer, comparator f with the stated classwise centered sub-Gaussian proxy, M≥1, 0<δ<1, and 0<ϵ≤1.

[A1]

AC enters through the uniform-generalization supplier used by the within-class transfer theorem. The Axiom of Choice, Contrastive transfer with a within-class covariance penalty

[F1]

With probability at least 1−δ, simultaneously for every comparator f, Lsup(f^)≤Lsupμ(f^)≤Lun≠(f)+[2L0τs(f)+2ΓM(S,δ)]/(1−τ). Contrastive transfer with a within-class covariance penalty

[F2]

Under the classwise centered sub-Gaussian assumption, the hinge distinct-class risk satisfies Lun≠(f)≤γLγ,supμ(f)+ϵ for the specified γ. Class-conditional sub-Gaussian concentration yields a contrastive margin bound

Proof

Given: The hypotheses in the Statement and Facts & Assumptions.

1.1A1F1given

On the event in [F1], the comparator f from the Statement satisfies its transfer inequality.

2.1F1F2step 1.1givenalgebra∎

Apply [F2] to this comparator and substitute its bound for Lun≠(f) in [F1]. The result is Lsup(f^)≤Lsupμ(f^)≤γLγ,supμ(f)+ϵ+2L0τs(f)+2ΓM(S,δ)1−τ. The event from [F1] has probability at least 1−δ, proving the corollary.

4 · Examples, counterexamples and false statements

None yet.

Sources