the.ai

Information / Methods

verified

Noise-Contrastive Estimation

Fitting a probability distribution normally means computing a sum over every possible outcome, which is hopeless when the outcomes are all possible sentences or images. Noise-contrastive estimation sidesteps it: instead of asking how likely this sample is, ask the model to tell this sample apart from noise. Classification is cheap, and the classifier that wins has learned the distribution anyway.

Viz primitive · budget-splitnegatives = 16

negatives holds 50% of the budget; rest holds the remaining 50%.

Noise samples the positive is scored against, per positive. Drag the negatives up to watch the contrast dominate the batch — the bound this optimises grows only with the logarithm of them.

16

Reviewed by opendroid · 2026-08-18