Energy-based models (EBMs) are versatile density estimation models that directly parameterize an unnormalized log density. Although very flexible, EBMs lack a specified normalization constant of the model, making the likelihood of the model computationally intractable. Several approximate samplers and variational inference techniques have been proposed to estimate the likelihood gradients for training. These techniques have shown promising results in generating samples, but little attention has been paid to the statistical accuracy of the estimated density, such as determining the relative importance of different classes in a dataset. In this work, we propose a new maximum likelihood training algorithm for EBMs that uses a different type of generative model, normalizing flows (NF), which have recently been proposed to facilitate sampling. Our method fits an NF to an EBM during training so that an NF-assisted sampling scheme provides an accurate gradient for the EBMs at all times, ultimately leading to a fast sampler for generating new data.
翻译:能量模型(EBMs)作为一种灵活的密度估计模型,直接参数化非归一化对数密度。尽管具有高度灵活性,但能量模型缺乏明确的归一化常数,导致其似然函数在计算上难以处理。现有研究提出了多种近似采样器和变分推断技术来估计训练所需的似然梯度,这些技术在生成样本方面取得了显著成效,却鲜有关注估计密度的统计准确性(例如确定数据集中不同类别的相对重要性)。本文提出一种新的能量模型最大似然训练算法,该算法利用另一种生成模型——标准化流(NF)——来辅助采样。在训练过程中,我们的方法将标准化流拟合到能量模型,使得基于NF辅助的采样方案能始终为能量模型提供精确梯度,最终实现快速生成新数据的采样器。