mlsanityData to 14 Oct 2026

Optimizing the Noise in Self-Supervised Learning: from Importance Sampling to Noise-Contrastive Estimation

arXiv 2301.09696 ↗First posted 23 Jan 2023stat.ML cs.LGcited by 2

Not on the map. Why?

Abstract (arXiv)

Self-supervised learning is an increasingly popular approach to unsupervised learning, achieving state-of-the-art results. A prevalent approach consists in contrasting data points and noise points within a classification task: this requires a good noise distribution which is notoriously hard to specify. While a comprehensive theory is missing, it is widely assumed that the optimal noise distribution should in practice be made equal to the data distribution, as in Generative Adversarial Networks (GANs). We here empirically and theoretically challenge this assumption. We turn to Noise-Contrastive Estimation (NCE) which grounds this self-supervised task as an estimation problem of an energy-based model of the data. This ties the optimality of the noise distribution to the sample efficiency of the estimator, which is rigorously defined as its asymptotic variance, or mean-squared error. In the special case where the normalization constant only is unknown, we show that NCE recovers a family of Importance Sampling estimators for which the optimal noise is indeed equal to the data distribution. However, in the general case where the energy is also unknown, we prove that the optimal noise density is the data density multiplied by a correction term based on the Fisher score. In particular, the optimal noise distribution is different from the data distribution, and is even from a different family. Nevertheless, we soberly conclude that the optimal noise may be hard to sample from, and the gain in efficiency can be modest compared to choosing the noise distribution equal to the data's.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 25 of its 58 references that are in the map. First posted on arXiv 23 Jan 2023.

Builds on

25 of 58 references.

References · 25

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2020A Simple Framework for Contrastive Learning of Visual Representationscited by 12,049
  3. 2018Representation Learning with Contrastive Predictive Codingcited by 7,777
  4. 2022Generative Adversarial Networkscited by 5,627
  5. 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
  6. 2016Density estimation using Real NVPcited by 2,042
  7. 2019A Theoretical Analysis of Contrastive Unsupervised Representation Learningcited by 530
  8. 2016f-GAN: Training Generative Neural Samplers using Variational Divergence Minimizationcited by 506
  9. 2020Hard Negative Mixing for Contrastive Learningcited by 402
  10. 2018Nonlinear ICA Using Auxiliary Variables and Generalized Contrastive Learningcited by 282
  11. 2016Learning in Implicit Generative Modelscited by 125
  12. 2020Uncovering the structure of clinical EEG signals with self-supervised learningcited by 109
13 more
  1. 2020Telescoping Density-Ratio Estimationcited by 108
  2. 2020On Contrastive Learning for Likelihood-free Inferencecited by 98
  3. 2019Flow Contrastive Estimation of Energy-Based Modelscited by 75
  4. 2021Density Ratio Estimation via Infinitesimal Classificationcited by 61
  5. 2018Conditional Noise-Contrastive Estimation of Unnormalised Modelscited by 25
  6. 2021Analyzing and Improving the Optimization Landscape of Noise-Contrastive Estimationcited by 15
  7. 2022The Optimal Noise in Noise-Contrastive Learning Is Not What You Thinkcited by 11
  8. 2018Analysis of Noise Contrastive Estimation from the Perspective of Asymptotic Variancecited by 6
  9. 2022Pitfalls of Gaussians as a noise distribution in NCEcited by 6
  10. 2022Statistical applications of contrastive learningcited by 5
  11. 2019Information criteria for non-normalized modelscited by 3
  12. 2021Improving Bridge estimators via f-GANcited by 2
  13. 2021How estimating nuisance parameters can reduce the variance (with consistent variance estimation)cited by 1

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 0; 2025: 1.

2 papers.