Skip to main navigation Skip to search Skip to main content

Optimizing Unnormalized Statistical Models Through Compositional Optimization

  • Wei Jiang
  • , Jiayu Qin
  • , Lingyu Wu
  • , Changyou Chen
  • , Tianbao Yang
  • , Lijun Zhang
  • Nanjing University of Science and Technology
  • SUNY Buffalo
  • Nanjing University
  • Texas A&M University

Research output: Contribution to journalArticlepeer-review

Abstract

Learning unnormalized statistical models (e.g., energy-based models) is computationally challenging due to the complexity of handling the partition function. To eschew this complexity, noise-contrastive estimation (NCE) has been proposed by formulating the objective as the logistic loss between the real data and the artificial noise. However, previous research indicates that NCE may perform poorly in many tasks due to its flat loss landscape and slow convergence. In this paper, we study a direct approach for optimizing the negative log-likelihood of unnormalized models through the lens of compositional optimization. To tackle the partition function, a noise distribution is introduced such that the log partition function can be expressed as a compositional function whose inner function can be estimated using stochastic samples. Consequently, the objective can be optimized via stochastic compositional optimization algorithms. Despite being a simple method, we demonstrate it is more favorable than NCE by (1) establishing a fast convergence rate and quantifying its dependence on the noise distribution through the variance of stochastic estimators; (2) developing better results in Gaussian mean estimation by showing our method has a much favorable loss landscape and enjoys faster convergence; (3) demonstrating better performance on various applications, including density estimation, out-of-distribution detection, and real image generation.

Original languageEnglish
Pages (from-to)1949-1960
Number of pages12
JournalIEEE Transactions on Pattern Analysis and Machine Intelligence
Volume48
Issue number2
DOIs
StatePublished - Feb 2026

Keywords

  • Noise-contrastive estimation
  • max likelihood estimation
  • parameter-free algorithms
  • stochastic compositional optimization
  • unnormalized statistical models

Fingerprint

Dive into the research topics of 'Optimizing Unnormalized Statistical Models Through Compositional Optimization'. Together they form a unique fingerprint.

Cite this