Alphabeta Math
ExampleConstruction: AI-adaptedVerification: AI-adaptedPipeline-generatedjudge pass (gpt-6-luna)
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.

High within-class variance raises contrastive loss despite perfect mean separation

Example

Let C={a,b} be uniform and let each class contain two equally likely inputs indexed by η∈{−1,+1}. In R2, define f(a,η)=(1,ηr) and f(b,η)=(−1,ηr) for r≥1. Each class mean is respectively (1,0) and (−1,0), so the mean classifier separates both classes with hinge loss zero. Yet for one independent marginal negative and hinge contrastive loss, the total risk is Lun(f)=14+12r2, which grows without bound as the within-class variance r2 increases. The norm bound holds with R=1+r2 for each fixed r.

Example references

Latent-class contrastive representation learning: defines the latent-class triplet law, mean classifier, covariance and contrastive risk.

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

Saunshi et al., Section 5.1 and Figure 1(b): gives a two-class example where high within-class variation raises the unsupervised loss despite a good mean classifier.

Facts & Assumptions

Given: The two-class distribution and representation in the Example, one independent marginal negative, and hinge loss.

[F1]

The class means are μa=(1,0) and μb=(−1,0); the mean classifier for the ordered task (a,b) has weight (2,0). Latent-class contrastive representation learning

[F2]

The class-mean hinge risk uses loss (1−Yw⊤f(X))+, and the contrastive hinge loss is (1+qf)+. Latent-class contrastive representation learning, Convexity, Lipschitz bounds, and oscillation of the source contrastive losses

[F3]

Given the positive class, the negative class equals it with probability 1/2; conditional on collision, the score's random part is r2η0(η−−η+), whose values 2r2,−2r2,0 have probabilities 1/4,1/4,1/2. Conditional on distinct classes, the score is −2+r2η0(η−−η+) with the same three probabilities. Latent-class contrastive representation learning

Proof

Given: The finite class-conditional laws in the Example.

1.1F1F2givenalgebra

For the task (a,b), the mean weight is (2,0). On class a with label +1, Yw⊤f(a,η)=2 for either η; on class b with label −1, it is also 2. The hinge loss is therefore zero for both labels. Swapping the ordered task gives the same result, so the average mean-classifier hinge risk is zero.

1.2F2F3givenalgebra

Conditional on a class collision, [F3] gives score values 2r2,−2r2,0 with probabilities 1/4,1/4,1/2. Since r≥1, their hinge losses are 1+2r2,0,1, respectively. Thus Lun=(f)=14(1+2r2)+12=34+12r2.

1.3F2F3givenalgebra

Conditional on distinct classes, the score values are −2+2r2,−2−2r2,−2 with probabilities 1/4,1/4,1/2. For r≥1, their hinge losses are 2r2−1,0,0. Hence Lun≠(f)=14(2r2−1)=12r2−14.

2.1F3step 1.2step 1.3step 1.1givenalgebra∎

Collision and distinct-class events each have probability 1/2. Combining steps 1.2 and 1.3 yields Lun(f)=12(34+12r2)+12(12r2−14)=14+12r2. This tends to infinity with r, while step 1.1 keeps the mean-classifier hinge risk zero.

Depends on

Used by

Nothing in the library uses this result yet.

Dependency tree · two levels

20 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.

Sources