[Paper Review] Variational Noise-Contrastive Estimation
This paper introduces Variational Noise-Contrastive Estimation (VNCE), a novel method that enables variational inference for unnormalised latent variable models by formulating a variational lower bound to the NCE objective. VNCE supports both parameter estimation and posterior inference, achieving performance comparable to MLE while offering a tractable, optimisable objective even with incomplete data.
Unnormalised latent variable models are a broad and flexible class of statistical models. However, learning their parameters from data is intractable, and few estimation techniques are currently available for such models. To increase the number of techniques in our arsenal, we propose variational noise-contrastive estimation (VNCE), building on NCE which is a method that only applies to unnormalised models. The core idea is to use a variational lower bound to the NCE objective function, which can be optimised in the same fashion as the evidence lower bound (ELBO) in standard variational inference (VI). We prove that VNCE can be used for both parameter estimation of unnormalised models and posterior inference of latent variables. The developed theory shows that VNCE has the same level of generality as standard VI, meaning that advances made there can be directly imported to the unnormalised setting. We validate VNCE on toy models and apply it to a realistic problem of estimating an undirected graphical model from incomplete data.
Motivation & Objective
- Address the lack of estimation techniques for unnormalised latent variable models, which are doubly intractable due to intractable normalising constants and marginalisation over latent variables.
- Bridge the gap between variational inference (VI) and noise-contrastive estimation (NCE), two well-established methods for separate classes of models.
- Develop a general-purpose framework that supports both parameter estimation and posterior inference in unnormalised models, with theoretical grounding comparable to standard VI.
- Demonstrate the method’s robustness and practical utility on a realistic problem: learning undirected graphical models from incomplete data.
Proposed method
- Propose a variational lower bound to the NCE objective function, enabling optimisation similar to the evidence lower bound (ELBO) in standard VI.
- Use a variational approximation $q({\mathbf{z}} \mid {\mathbf{x}}; \boldsymbol{\phi})$ to the true posterior $p({\mathbf{z}} \mid {\mathbf{x}}; \boldsymbol{\theta})$, allowing joint optimisation of model parameters $\boldsymbol{\theta}$ and variational parameters $\boldsymbol{\phi}$.
- Formulate the VNCE objective as a tractable lower bound on the NCE loss, which is maximised via stochastic optimisation with standard solvers like BFGS.
- Prove that VNCE minimises an f-divergence between the true and approximate posterior, and that this divergence converges to the KL divergence as computational resources increase.
- Apply the method to undirected graphical models with missing data, using Gibbs sampling for tractable evaluation and thresholding for graph structure recovery.
- Compare VNCE against NCE with mean imputation and Monte Carlo MLE (MC-MLE) using AUC on ROC curves to evaluate edge recovery performance.
Experimental results
Research questions
- RQ1Can a variational lower bound be constructed for the NCE objective to enable end-to-end training of unnormalised latent variable models?
- RQ2Does VNCE provide a theoretically grounded alternative to MLE and NCE for parameter estimation when data is incomplete?
- RQ3Can VNCE effectively perform posterior inference in unnormalised models, and how does its divergence minimisation compare to standard VI?
- RQ4How does VNCE perform relative to NCE with mean imputation and MC-MLE in recovering graphical model structures from incomplete data?
- RQ5Can VNCE serve as a practical, optimisable alternative to MLE when efficient sampling is infeasible?
Key findings
- VNCE significantly outperforms NCE with mean imputation on incomplete data, especially when 40% or more of the data is missing, where NCE's AUC drops close to 0.5 (random guessing).
- With careful learning rate tuning, MC-MLE achieves the highest AUC, confirming it as the gold standard for parameter estimation.
- VNCE performs comparably to MC-MLE under non-ideal hyperparameter settings, demonstrating robustness and practical viability.
- The VNCE objective is well-defined and optimisable with standard optimisers, making it suitable for cross-validation and regularisation—unlike MC-MLE which lacks a tractable objective.
- VNCE maintains theoretical consistency, as the f-divergence it minimises converges to the KL divergence under increased computational resources.
- The method is general and extensible: advances in standard VI can be directly applied to the unnormalised setting via VNCE.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.