Pitfalls of Gaussians as a noise distribution in NCE
Holden Lee, Chirag Pabbaraju, Anish Prasad Sevekari, Andrej Risteski
Abstract
Noise Contrastive Estimation (NCE) is a popular approach for learning probability density functions parameterized up to a constant of proportionality. The main idea is to use self-supervised learning (SSL): that is, construct a classification problem for distinguishing training data from samples from an easy-to-sample noise distribution q, in a manner that avoids having to calculate a partition function. It is well-known that the choice of q can severely impact the computational and statistical efficiency of NCE. In practice, a common choice for q is a Gaussian which matches the mean and covariance of the data. In this paper, we show that such a choice can result in an exponentially bad (in the ambient dimension) conditioning of the Hessian of the loss, even for very simple data distributions. As a consequence, both the statistical and algorithmic complexity for such a choice of q will be problematic in practice, suggesting that more complex noise distributions are essential to the success of NCE.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- A Unified View on Learning Unnormalized Distributions via Noise-Contrastive Estimation cites Analyzing and Improving the Optimization Landscape of Noise-Contrastive Estimation
- A Unified View on Learning Unnormalized Distributions via Noise-Contrastive Estimation cites Provable benefits of annealing for estimating normalizing constants: Importance Sampling, Noise-Contrastive Estimation, and beyond
- Analyzing and Improving the Optimization Landscape of Noise-Contrastive Estimation cites Flow Contrastive Estimation of Energy-Based Models
- Analyzing and Improving the Optimization Landscape of Noise-Contrastive Estimation cites Telescoping Density-Ratio Estimation
- Provable benefits of annealing for estimating normalizing constants: Importance Sampling, Noise-Contrastive Estimation, and beyond cites Analyzing and Improving the Optimization Landscape of Noise-Contrastive Estimation
- Provable benefits of annealing for estimating normalizing constants: Importance Sampling, Noise-Contrastive Estimation, and beyond cites Flow Contrastive Estimation of Energy-Based Models
- BoltzNCE: Learning likelihoods for Boltzmann Generation with Stochastic Interpolants and Noise Contrastive Estimation cites Analyzing and Improving the Optimization Landscape of Noise-Contrastive Estimation
- BoltzNCE: Learning likelihoods for Boltzmann Generation with Stochastic Interpolants and Noise Contrastive Estimation cites Provable benefits of annealing for estimating normalizing constants: Importance Sampling, Noise-Contrastive Estimation, and beyond
- BoltzNCE: Learning likelihoods for Boltzmann Generation with Stochastic Interpolants and Noise Contrastive Estimation cites Telescoping Density-Ratio Estimation
- Density Ratio Estimation with Conditional Probability Paths cites Analyzing and Improving the Optimization Landscape of Noise-Contrastive Estimation
- Density Ratio Estimation with Conditional Probability Paths cites Provable benefits of annealing for estimating normalizing constants: Importance Sampling, Noise-Contrastive Estimation, and beyond
- Density Ratio Estimation with Conditional Probability Paths cites Flow Contrastive Estimation of Energy-Based Models
- Density Ratio Estimation with Conditional Probability Paths cites Telescoping Density-Ratio Estimation
Cited by top-tier papers5
- Provable benefits of annealing for estimating normalizing constants: Importance Sampling, Noise-Contrastive Estimation, and beyondOmar Chehab, Aapo Hyvärinen, Andrej RisteskiNeurIPS 2023 · 18 citations
- BoltzNCE: Learning likelihoods for Boltzmann Generation with Stochastic Interpolants and Noise Contrastive EstimationRishal Aggarwal, Jacky Chen, Nicholas M. Boffi, David KoesNeurIPS 2025 · 10 citations
- Near-Optimality of Contrastive Divergence AlgorithmsPierre Glaser, Kevin Han Huang, Arthur GrettonNeurIPS 2024 · 2 citations
- A Unified View on Learning Unnormalized Distributions via Noise-Contrastive EstimationJongha Jon Ryu, Abhin Shah, Gregory W. WornellICML 2025
- Density Ratio Estimation with Conditional Probability PathsHanlin Yu, Arto Klami, Aapo Hyvärinen, Anna Korba et al.ICML 2025
Builds on3
- Telescoping Density-Ratio EstimationBenjamin Rhodes, Kai Xu, Michael U. GutmannNeurIPS 2020 · 148 citations
- Analyzing and Improving the Optimization Landscape of Noise-Contrastive EstimationBingbin Liu, Elan Rosenfeld, Pradeep Kumar Ravikumar, Andrej RisteskiICLR 2022 · 19 citations
- Flow Contrastive Estimation of Energy-Based ModelsRuiqi Gao, Erik Nijkamp, Diederik P. Kingma, Zhen Xu et al.CVPR 2020
Related papers
- Learning Unnormalized Statistical Models via Compositional OptimizationWei Jiang, Jiayu Qin, Lingyu Wu, Changyou Chen et al.ICML 2023 · 8 citations
- ``Noisier'’ Noise Contrastive Estimation is (Almost) Maximum LikelihoodPeiyu Yu, Dinghuai Zhang, Hengzhi He, Xiaojian Ma et al.ICLR 2026 · 11 citations
- Conditional Negative Sampling for Contrastive Learning of Visual RepresentationsMike Wu, Milan Mossé, Chengxu Zhuang, Daniel Yamins et al.ICLR 2021 · 89 citations
- Adaptive Multi-stage Density Ratio Estimation for Learning Latent Space Energy-based ModelZhisheng Xiao, Tian HanNeurIPS 2022 · 24 citations
- Unsupervised Deep Shape Descriptor With Point Distribution LearningYi Shi, Mengchen Xu, Shuaihang Yuan, Yi FangCVPR 2020
