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
- Absolute and Conditional Convergence; Rearrangement; Products
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Concentration
- Conditional Distributions and Regular Conditional Probability
- Conditional Expectation
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Convexity
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Darboux, L'Hôpital, and Taylor's Theorem
- Discrete Time Martingales
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Dual Spaces, Bilinear and Quadratic Forms, and Sylvester's Law of Inertia
- Empirical-Process Complexity
- Estimators and Randomized Procedures
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability Spaces and Random Variables
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Independence Borel Cantelli and Zero One Laws
- Inner Product Spaces, Gram-Schmidt, Projections and Adjoints
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Loss, Risk and Decision Theory
- Martingale Inequalities and Convergence
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Outward rounded interval and ball arithmetic
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Prediction problems, risks, and empirical minimization
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Rademacher complexity and uniform generalization
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Signed and Complex Measures Hahn and Jordan
- Simple Field Extensions and the Construction of the Complex Numbers
- Statistical Experiments, Models and Identifiability
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Lᵖ Spaces Holder Minkowski and Riesz Fischer
- The Radon Nikodym Theorem and Lebesgue Decomposition
- The Riemann Integral: Definition and Integrability
- The Spectral Theorem, Positive Operators and Singular Value Decomposition
- The Topology of Euclidean Space
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Triangularisation, Generalised Eigenspaces and Jordan Canonical Form
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak Laws and Series of Independent Random Variables
2 · Logical flowchart
3 · Definitions, theorems and proofs
Convexity, Lipschitz bounds, and oscillation of the source contrastive losses
Statement
Write for the natural logarithm and for . Define the one-negative hinge and logistic losses by and for , where . Put . Each loss is convex, nondecreasing, -Lipschitz, and has value at . For and either loss , define . Then .
Statement references
The natural logarithm as the inverse of the exponential function
Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm: fix the natural-logarithm convention and its strict monotonicity.
The exponential function is smooth and
The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t
Sum, product, quotient, and chain rules from difference quotients: supply the derivatives used for the logistic loss.
A twice-differentiable function on an open interval is convex if and only if its second derivative is nonnegative: nonnegative second derivative implies convexity on an open interval.
Mean value theorem on a closed real interval: a derivative bound gives a Lipschitz bound on each closed interval.
Saunshi et al., Section 2.2, one-negative hinge and logistic losses.
Facts & Assumptions
Given: The two functions and in the Statement, and .
is the inverse of the real exponential, is strictly increasing, and satisfies ; hence . The natural logarithm as the inverse of the exponential function, Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm
The sum, product, quotient, and chain rules hold for differentiable real functions. Sum, product, quotient, and chain rules from difference quotients
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
If a real function is continuous on and differentiable on , its increment equals its derivative at some interior point times . Mean value theorem on a closed real interval
Proof
Given: The functions and constant in the Statement.
The positive-part function is nondecreasing and -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 and . Therefore is nondecreasing, convex, and -Lipschitz, and .
By [F2]–[F3] and the chain rule,
By [F1], , and [F2] gives . Step 1.2 therefore shows that for every real . The derivative is positive, so the logistic loss is strictly increasing; applying [F5] on each closed interval gives the global Lipschitz bound.
The second derivative in step 1.2 is nonnegative because its numerator and denominator are positive. The convexity criterion [F4] gives convexity of . Also from the definition of .
Since exceeds both Lipschitz constants, steps 1.1 and 2.1 give the common -Lipschitz bound. For the hinge loss, if , then ; if , then . The logistic loss is strictly increasing by step 2.1, so as well. In either case, the interval has length , so the Lipschitz bound gives .
A finite-dimensional vector contraction bound for one-sided Rademacher averages
Statement
Let , let be a nonempty bounded subset of , and let be -Lipschitz for one common . Let and be independent uniform signs in . Writing , the one-sided averages satisfy
Neither supremum uses an absolute value, and no condition is imposed. The bound holds for finite or infinite bounded ; all displayed suprema are finite.
Statement references
Cauchy-Schwarz for finite random variables: : 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 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: , a nonempty bounded set , a common Lipschitz constant , and the independent uniform signs in the Statement.
On a finite probability space, . Cauchy-Schwarz for finite random variables:
Proof
Given: The objects and hypotheses in the Statement.
For any , put for independent uniform signs . Expanding the finite sign average gives and . By [F1], and . If , combining and squaring these inequalities yields ; the same bound is immediate for .
Fix an index and any real function on . Averaging over gives half the sum of and , hence half the supremum over ordered pairs of . Swapping leaves unchanged and reverses the loss difference, so this ordered-pair supremum equals . By Lipschitz continuity and step 1.1, the right side is at most . For each fixed sign vector, swapping shows the supremum is unchanged if the absolute value is removed. It then separates into a sum of two suprema; symmetry of makes their expectations equal. Therefore .
For finite , define to be the expectation of the supremum with the first terms replaced by and the remaining terms equal to . Then is the left side of the Statement and is its right side. For each , condition on all signs except and the corresponding vector signs, and collect the other terms into . Step 2.1 gives . Iterating these finitely many inequalities yields .
For arbitrary bounded nonempty , the scalar sign cube has finitely many elements. Given , choose for each scalar sign vector one point of whose left-hand signed sum is within of its supremum, and let be the finite set of chosen points. Then the left average over is within of that over , while the coordinate-sign supremum over is no larger than that over . Applying step 3.1 to and letting proves the claimed inequality for . This uses only finitely many approximate choices for each .
Latent-class contrastive representation learning
Definition
Let be a measurable probability space and a measurable space. For each class , let be a probability measure on and assume is measurable for every . Assume the displayed mixtures define probability measures. The positive-pair law and negative marginal are specified by
for measurable . Equivalently, draw and then draw independently with law for a positive pair; draw a fresh independent class and for one negative. The class labels are latent: the learner observes the pair and negative data, not their classes.
Let , , and let be a nonempty class of measurable maps satisfying . Use either one-negative loss or from the immediately preceding loss-properties lemma. The contrastive score and population loss are
For , an observed sample is of independent triplets with common law , and its empirical loss is . For this sample define the unnormalized vector Rademacher complexity
where every is an independent uniform sign. This is the one-sided convention with no absolute value and no factor.
All vector and matrix expectations in this definition are taken entrywise in finite dimensions. The bound on makes each coordinate of and every product defining a covariance entry integrable.
Let be independent class draws and set . Assume the diagonal and each , , are measurable. The average binary task draws conditional on , then samples a label uniformly from and an input from if or if . For a vector representation , a binary linear classifier uses a weight vector and loss . Define as the average over tasks of the infimum of this risk over . Write and define the class-mean classifier by ; its average risk is . For , write for the same mean-classifier risk with margin loss in place of .
For , let and be the conditional contrastive risks given and , respectively. Let be the class law conditioned on the collision event, namely for ; for an atomic class law this gives . Define and
The assumed measurability of and every makes the displayed collision event and conditional class law well-defined; disjoint class sets give disjoint , so the formula for is countably additive and has total mass one. Assume also that and are measurable for each , and that the displayed class-conditional risks and random suprema used below are measurable.
If , there is no collision term; set and use . 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 .
Sampling diagram
The two class roots are sampled independently. The arrows show conditional sampling laws, not deterministic functions; and are independent conditional on , and the negative example has its own independent class draw.
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.
Jensen comparison with the average mean-classifier loss
Statement
Assume the one-negative latent-class model has . Let be independent with law , conditioned on , let be independent with law , and let be independent with law . For every measurable bounded representation and either source hinge or logistic loss, the average binary-task mean-classifier risk satisfies
Here each binary task uses a uniform label from its two classes, and 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 , one representation , and either source loss .
Conditional on and , the positive pair is sampled independently from and the negative example independently from . Latent-class contrastive representation learning
The loss is convex, so for each integrable real random variable , . Convexity, Lipschitz bounds, and oscillation of the source contrastive losses, Jensen's inequality for expectation
The mean-classifier margin for a positive-class input is , and the contrastive score is . Latent-class contrastive representation learning
The ordered pair law of conditioned on inequality is invariant under swapping its coordinates; the two draws have joint law . Independent random elements have product joint law
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
Proof
Given: The hypotheses in the Statement and Facts & Assumptions.
Fix distinct classes and an anchor . Conditional on these classes and , the random score is integrable and has mean by independence and [F5] applied to the bounded coordinates. Jensen's inequality [F2] gives . Integrating over and then over distinct ordered class pairs shows that is at least the average mean-classifier loss on the positive label.
By [F4], swapping 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 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 .
Class-collision loss is bounded by within-class covariance deviation
Statement
In the one-negative latent-class model, for every bounded representation and either source loss, the population contrastive loss decomposes as
If , the same-class conditional loss obeys
where is the common Lipschitz constant of the hinge and logistic losses. If , then and the model's convention is .
Statement references
Latent-class contrastive representation learning: defines , the conditional collision/distinct losses, the covariance matrix, and .
Convexity, Lipschitz bounds, and oscillation of the source contrastive losses: both losses are convex, -Lipschitz, and have value at zero.
Moments, variance, and covariance on a probability space
The operator norm is zero on the zero domain and otherwise is max_{||v||=1} ||Tv||: supply the covariance and operator-norm conventions.
Facts & Assumptions
Given: The one-negative latent-class model, , , and .
is the risk under independent class draws; conditioning on equality gives and conditioning on inequality gives . For , averages the within-class covariance deviation under the collision-conditioned class law . Latent-class contrastive representation learning
The source losses are convex, -Lipschitz, and satisfy . Convexity, Lipschitz bounds, and oscillation of the source contrastive losses
For with , and ; 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||
Conditional on a collision class , the positive and negative examples are independent with common law , so their joint law is . Independent random elements have product joint law
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
The integral is linear on integrable functions. The Lebesgue integral is linear on
For an integrable real random variable with integrable square, . Jensen's inequality for expectation
For a bounded real random variable , the Lipschitz source loss is integrable and Jensen's inequality gives . Jensen's inequality for expectation
Proof
Given: The objects and hypotheses in the Statement.
Partition the independent class-pair law into the collision event, of probability , and its complement, of probability . The conditional loss on these two events is respectively and , giving the displayed decomposition when . If , the collision event is null and .
Suppose . Fix a collision class and anchor . Conditional on , let and be independent copies with mean . Then by [F4] and [F6]. Jensen's inequality [F9], using convexity [F2], gives . Averaging over and proves .
With and , the conditional vectors are independent, centered, and have covariance . For each matrix entry, Fubini and product-law independence factor the cross expectation as , and likewise with and exchanged. Linearity therefore gives . By [F3], is positive semidefinite; by [F7] and the operator-norm definition, . Thus
Apply [F8] to the bounded score in step 1.3 to get . By [F2], . Average over and to obtain .
Steps 1.2 and 2.1 establish both bounds on , while step 1.1 gives the unconditional decomposition and the zero-collision case.
Class-conditional sub-Gaussian concentration yields a contrastive margin bound
Statement
In the one-negative latent-class model, fix a bounded representation with , where . Use the hinge loss . Suppose that for every class , the centered vector , for , is sub-Gaussian in every direction with proxy . For , define
Then the contrastive risk conditioned on distinct positive and negative classes satisfies
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 bounded by , the classwise centered sub-Gaussian hypothesis, , and the value of in the Statement.
Given classes and an anchor , the examples and are independent; the contrastive score is . Latent-class contrastive representation learning, Independent random elements have product joint law
For each class , is centered and satisfies for every . Sub-Gaussian variables and vectors, and sub-exponential variables
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 , Fubini's theorem for L^1 functions on a sigma-finite product
If and , then . Markov's inequality for random variables
The natural logarithm is inverse to the real exponential, is increasing, and satisfies for positive . The natural logarithm as the inverse of the exponential function, The real exponential function and the number by a power series, Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm
The ordered law of conditioned on is invariant under swapping its coordinates. Latent-class contrastive representation learning, Independent random elements have product joint law
For the hinge mean-classifier risk, the positive-label loss at is ; the task label is uniform. Latent-class contrastive representation learning
Proof
Given: The hypotheses in the Statement and Facts & Assumptions.
Fix distinct classes and an anchor . Put and write the score as , where and . By [F1]–[F3], independence factors the moment generating function of the two centered terms, so for every , with . Also by [F6] and the representation bound.
Put . If , then . Applying [F4] to with and using step 1.1 gives for , and for . If , then and step 1.1 gives for every . For any and , [F4] with gives , so . Since , countable subadditivity [F3] gives . Thus almost surely and the margin estimate below holds with no tail error when .
Suppose first that . On , monotonicity of the positive-part function gives . On , the score bound in step 1.1 gives . Therefore , because for and for . When , step 2.1 gives almost surely, so and the same inequality follows. Since , .
Integrate the conditional inequality in step 3.1 over 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 . The integrated error remains at most . This yields the Statement.
Uniform generalization bound for the one-negative contrastive loss
Statement
Assume the Axiom of Choice. In the one-negative latent-class model, fix , a source loss , a sample size , and a sample of IID triplets. Assume the loss risks and all sample, independent-copy, and sign suprema below are measurable. Let and define
With probability at least over ,
Here 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 and the positive oscillation 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 .
Rademacher uniform generalization bounds: supplies the two-sided high-probability deviation bound for measurable -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 lemma.
Facts & Assumptions
Given: AC, the one-negative latent-class model with , either source loss, IID triplets, , , and the measurability assumptions in the Statement.
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
The triplets are IID; the population and empirical risks are the expectation and sample average of . Latent-class contrastive representation learning, Identical distribution and IID families, Independent random elements have product joint law
The score obeys , the loss is nondecreasing and -Lipschitz, and its range on that interval is . Latent-class contrastive representation learning, Convexity, Lipschitz bounds, and oscillation of the source contrastive losses
The two-sided empirical Rademacher deviation theorem for a measurable class of functions into gives, with probability at least , . It assumes AC. Rademacher uniform generalization bounds
For a nonempty bounded trace set and coordinatewise functions with common Euclidean Lipschitz constant , one-sided vector contraction bounds the scalar sign supremum by times the independent coordinate-sign supremum. A finite-dimensional vector contraction bound for one-sided Rademacher averages
For vectors , ; integrable expectations are linear. Cauchy–Schwarz: , with equality exactly for linearly dependent vectors, The Lebesgue integral is linear on
Proof
Given: The hypotheses in the Statement and Facts & Assumptions.
Set and . For each triplet , define . By [F2], takes values in . Since the shift is common to every , averaging over the signs shows that the empirical one-sided Rademacher complexity of equals times that of : the extra term is , whose sign expectation is zero.
For a fixed triplet, write and on , where . For , expansion of the score difference and [F5] give . The last inequality is Cauchy–Schwarz for the three nonnegative coordinate distances. This Lipschitz function extends to all of with the same constant by : on the Lipschitz inequality gives equality with , and the triangle inequality gives the global Lipschitz bound.
For the observed triplets, let , a nonempty bounded trace set. Apply [F4] to the extensions in step 1.2 with . The independent coordinate signs are exactly those defining , so . The normalization comes from the empirical complexity convention; itself is unnormalized.
Apply [F3] to the normalized class in step 1.1. With probability at least , its uniform deviation is at most twice the complexity in step 2.1 plus . Multiplying by converts that deviation to the unnormalized losses and yields exactly for every .
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 of size . Let be a measurable selector taking values in almost surely and satisfying, almost surely, for every , where . For every , with probability at least ,
where
is the uniform-deviation quantity for the same sample and loss. The case 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 .
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 , and a tolerance .
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
On an event of probability at least , every satisfies . Uniform generalization bound for the one-negative contrastive loss
Almost surely, the approximate-minimizer condition gives simultaneously for each comparator . Latent-class contrastive representation learning
Proof
Given: The hypotheses in the Statement and Facts & Assumptions.
On the event in [F1], apply its uniform bound to the random selector (which belongs to almost surely) to obtain .
On the same event, [F2] gives for every .
Apply [F1] again to each comparator to obtain . Combining the preceding inequalities yields the displayed bound simultaneously for all . Since the event in [F1] has probability at least , the claim follows.
Contrastive transfer bound with class collisions
Statement
Assume the Axiom of Choice and the one-negative latent-class model with . Fix either source hinge or logistic loss and a sample size . Suppose all risks and suprema in the uniform-generalization statement are measurable and that a measurable exact empirical minimizer exists, meaning for every almost surely. For every , with probability at least over the IID triplet sample,
where
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.
Facts & Assumptions
Given: AC, the one-negative model with , either source loss, the measurable exact empirical minimizer, , and .
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
With probability at least , simultaneously for every comparator , . Population contrastive excess of an approximate empirical minimizer
For every bounded representation and either source loss, . Jensen comparison with the average mean-classifier loss
The collision decomposition is and when ; when , . Class-collision loss is bounded by within-class covariance deviation
Proof
Given: The hypotheses in the Statement and Facts & Assumptions.
On the event in [F1], the empirical-minimizer excess bound holds simultaneously for all comparators .
By [F3], if then . If , the same inequality is equality because . Since , these divisions are valid.
Apply [F2] to and then use step 1.2 and [F1]. For every comparator on the event in step 1.1, . The event has probability at least by [F1], proving the claim.
Contrastive transfer for an approximate empirical minimizer
Statement
Assume the Axiom of Choice and the one-negative latent-class model with . Fix either source hinge or logistic loss, a sample size , and a tolerance . Suppose the risks and suprema in the uniform-generalization statement are measurable and let be a measurable selector satisfying for every almost surely. For every , with probability at least ,
where
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 , either source loss, an approximate selector with tolerance , , and .
AC enters through the bounded-differences component of the uniform-generalization theorem. The Axiom of Choice, Population contrastive excess of an approximate empirical minimizer
With probability at least , simultaneously for every comparator , . Population contrastive excess of an approximate empirical minimizer
For every bounded representation and either source loss, . Jensen comparison with the average mean-classifier loss
The collision decomposition and lower bound give for all , 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.
On the simultaneous event in [F1], for every comparator .
The collision decomposition [F3] applies to because , and yields .
The Jensen comparison [F2], followed by steps 1.1 and 1.2, gives simultaneously for every comparator. The event has probability at least by [F1].
Contrastive transfer with a within-class covariance penalty
Statement
Assume the Axiom of Choice and the one-negative latent-class model with . Fix either source hinge or logistic loss, , and a measurable exact empirical minimizer satisfying for every almost surely, under the measurability hypotheses of the uniform-generalization result. For each comparator and every , with probability at least over the IID triplet sample,
where is the infimum of the average binary-task risk over all linear classifiers, is the within-class covariance deviation, and
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 .
Class-collision loss is bounded by within-class covariance deviation: supplies the collision decomposition and .
Contrastive transfer bound with class collisions: supplies the simultaneous empirical-minimizer transfer bound.
Facts & Assumptions
Given: AC, the one-negative model with , either source loss, a measurable exact empirical minimizer, , and .
AC enters through the empirical-minimizer transfer theorem's uniform-generalization supplier. The Axiom of Choice, Contrastive transfer bound with class collisions
The average risk infimum over all linear weights is at most the risk of the particular class-mean weight: . Latent-class contrastive representation learning
With probability at least , simultaneously for every comparator , . Contrastive transfer bound with class collisions
For , and . If , and . Class-collision loss is bounded by within-class covariance deviation
Proof
Given: The hypotheses in the Statement and Facts & Assumptions.
By the definition of as an infimum over all linear weights, its value for is at most the risk of the particular mean weight, so .
On the event in [F2], fix any comparator . If , [F3] gives . If , the same inequality is equality under the stipulated convention .
Divide the inequality in step 1.2 by 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 .
Sub-Gaussian contrastive transfer with a mean-classifier margin loss
Statement
Assume the Axiom of Choice and the one-negative latent-class model with . Use the source hinge loss for both contrastive training and the binary mean-classifier task. Fix , a measurable exact empirical minimizer satisfying for every almost surely, , and . Let be any comparator whose centered class-conditional representation vectors are sub-Gaussian in every direction with common proxy . Define
Under the risk and supremum measurability hypotheses, with probability at least ,
The uniform-deviation quantity is
where is the average task risk of the class-mean weight using the scaled hinge loss . 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 .
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 , hinge loss, a measurable exact empirical minimizer, comparator with the stated classwise centered sub-Gaussian proxy, , , and .
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
With probability at least , simultaneously for every comparator , . Contrastive transfer with a within-class covariance penalty
Under the classwise centered sub-Gaussian assumption, the hinge distinct-class risk satisfies for the specified . Class-conditional sub-Gaussian concentration yields a contrastive margin bound
Proof
Given: The hypotheses in the Statement and Facts & Assumptions.
On the event in [F1], the comparator from the Statement satisfies its transfer inequality.
Apply [F2] to this comparator and substitute its bound for in [F1]. The result is . The event from [F1] has probability at least , proving the corollary.
4 · Examples, counterexamples and false statements
None yet.
Sources
- Nikunj Saunshi et al., A Theoretical Analysis of Contrastive Unsupervised Representation Learning, Section 2.2
- MIT OpenCourseWare 18.100B Real Analysis, Spring 2025, Lectures 15–16
- Andreas Maurer, A vector-contraction inequality for Rademacher complexities, Theorem 3 and Corollary 4
- Yunwen Lei, Tianbao Yang, Yiming Ying, and Ding-Xuan Zhou, Generalization Analysis for Contrastive Representation Learning, Lemma A.1
- Nikunj Saunshi et al., A Theoretical Analysis of Contrastive Unsupervised Representation Learning, Sections 2–5
- Yunwen Lei, Tianbao Yang, Yiming Ying, and Ding-Xuan Zhou, Generalization Analysis for Contrastive Representation Learning, Sections 2–4
- Nikunj Saunshi et al., A Theoretical Analysis of Contrastive Unsupervised Representation Learning, Lemma 4.3 and proof
- Nikunj Saunshi et al., A Theoretical Analysis of Contrastive Unsupervised Representation Learning, Equation (8), Equation (9), and Lemma 4.4
- Nikunj Saunshi et al., Contrastive Unsupervised Representation Learning, Supplementary Lemma A.1 and proof
- Nikunj Saunshi et al., A Theoretical Analysis of Contrastive Unsupervised Representation Learning, Lemma 5.1 and Supplementary Appendix A.2
- Nikunj Saunshi et al., Supplementary Appendix A.2, complete proof of Lemma 5.1
- Nikunj Saunshi et al., A Theoretical Analysis of Contrastive Unsupervised Representation Learning, Supplementary Appendix A.3
- Mehryar Mohri, Afshin Rostamizadeh, and Ameet Talwalkar, Foundations of Machine Learning, 2nd ed., Theorem 3.3 and complete proof
- Andreas Maurer, A vector-contraction inequality for Rademacher complexities, Theorem 3, Corollary 4, and complete proof
- Nikunj Saunshi et al., A Theoretical Analysis of Contrastive Unsupervised Representation Learning, Theorem 4.1 and proof route
- Mehryar Mohri, Afshin Rostamizadeh, and Ameet Talwalkar, Foundations of Machine Learning, 2nd ed., empirical-to-population risk argument in Chapter 3
- Nikunj Saunshi et al., A Theoretical Analysis of Contrastive Unsupervised Representation Learning, Theorem 4.1, Lemmas 4.3–4.4 and proof route
- Nikunj Saunshi et al., Supplementary Appendices A.1 and A.3, complete collision and generalization arguments
- Mehryar Mohri, Afshin Rostamizadeh, and Ameet Talwalkar, Foundations of Machine Learning, 2nd ed., Chapter 3 empirical-risk comparison
- Nikunj Saunshi et al., A Theoretical Analysis of Contrastive Unsupervised Representation Learning, Theorem 4.5, Lemma 4.4 and proof route
- Nikunj Saunshi et al., Supplementary Appendices A.1 and A.3
- Nikunj Saunshi et al., A Theoretical Analysis of Contrastive Unsupervised Representation Learning, Corollary 5.1.1 and Lemma 5.1