Unified estimation framework for unnormalized models with statistical efficiency

Masatoshi Uehara, Takafumi Kanamori, Takashi Takenouchi, Takeru MatsudaarXiv 2019

Abstract

Training probabilistic models with intractable normalizing constants—such as Markov Random Fields or Boltzmann Machines—remains a fundamental challenge in machine learning. While Maximum Likelihood Estimation (MLE) is statistically optimal, its dependence on the partition function makes it computationally prohibitive for high-dimensional data. This paper introduces the Self Density-Ratio Matching Estimator (SDRME), a unified framework that bridges the gap between computational feasibility and statistical optimality. By combining nonparametric density estimation with Bregman divergences, SDRME achieves the gold-standard accuracy of MLE with a linear computational cost of $O(n)$.

Introduction: The Partition Function Problem

In many advanced modeling scenarios, the probability density is defined as $p(x; \theta) = q(x; \theta) / Z(\theta)$, where $Z(\theta)$ is the normalizing constant. Calculating $Z(\theta)$ requires integration over the entire sample space, which is often impossible. Consequently, researchers have historically relied on alternatives like Noise Contrastive Estimation (NCE) or Score Matching. However, these methods introduce a trade-off: NCE's accuracy is heavily dependent on the choice of noise distribution, and Score Matching can be statistically inefficient.

Comparison of estimation methods across computational and statistical efficiency.

As illustrated above, the landscape of unnormalized model estimation has long been divided between methods that are fast but inaccurate and those that are accurate but slow. SDRME aims to occupy the ideal "High/High" quadrant.

The SDRME Framework

The core innovation of SDRME is Self Density-Ratio Matching. Unlike NCE, which compares the model to an external noise distribution, SDRME compares the model to a nonparametric estimate of the data's own density ($\hat{\eta}_n$). The framework utilizes Bregman divergences—a family of distance measures including KL divergence and Squared Loss—to match the model's density ratio to a target ratio.

Two Primary Approaches

  1. Separable Case: Employs standard divergences (e.g., KL or Jensen-Shannon). This requires an additional parameter to represent the unknown normalizing constant.
  2. Non-separable Case: Uses scale-invariant measures like $\gamma$-divergence. These measures are "blind" to the total scale, allowing for direct estimation of model parameters $\theta$ without considering the normalizing constant.

Key Results and Theoretical Insights

The authors provide a theoretical proof that the asymptotic variance of the SDRME is identical to that of MLE. This implies that as the sample size increases, SDRME becomes as accurate as the theoretically best possible estimator, despite avoiding the intractable partition function.

Theoretical comparison between Generalized NCE and SDRME.

In empirical evaluations across Restricted Boltzmann Machines (RBM) and Submodular Diversity Models (FLID), the SDRME (specifically the s-KL variant) consistently outperformed NCE. While maintaining a linear computational cost $O(n)$, SDRME achieved significantly lower error and remained stable even under model misspecification.

Conclusion and Future Work

SDRME provides a "Grand Unified Theory" for unnormalized model estimation, showing that many existing methods are special cases of this Bregman divergence framework. The primary limitation is the "curse of dimensionality" inherent in nonparametric density estimation. While mixture model regularization helps in discrete spaces like RBMs, scaling this approach to extremely high-dimensional continuous data, such as high-resolution images, remains an open area for future research.

Summary updated

BibTeX
@misc{uehara2019unified,
  author = {Masatoshi Uehara and Takafumi Kanamori and Takashi Takenouchi and Takeru Matsuda},
  title = {{Unified estimation framework for unnormalized models with statistical efficiency}},
  year = {2019},
  eprint = {1901.07710},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1901.07710},
}
Figure