arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.07485cs.LGmath.OC
收藏

通过组合优化学习非归一化统计模型

Learning Unnormalized Statistical Models via Compositional Optimization

Nanjing University(南京大学);University at Buffalo(布法罗大学);Texas A&M University(得克萨斯农工大学)

Wei Jiang, Jiayu Qin, Lingyu Wu, Changyou Chen, Tianbao Yang, Lijun Zhang

AI总结:

针对非归一化统计模型配分函数处理难、NCE收敛慢的问题,提出基于组合优化的直接优化方法,通过引入噪声分布将对数配分函数表为组合函数,用随机组合优化算法优化,在收敛性及多个任务上优于NCE。

摘要:

学习非归一化统计模型(例如基于能量的模型)在计算上具有挑战性,因为处理配分函数的复杂度很高。为了规避这种复杂度,噪声对比估计(NCE)已被提出,其将目标公式化为真实数据与人工噪声的逻辑损失。然而,正如先前工作所发现的,由于损失景观平坦且收敛缓慢,NCE在许多任务中可能表现不佳。在本文中,我们从组合优化的角度研究了一种直接优化非归一化模型负对数似然的方法。为了解决配分函数的问题,我们引入了一种噪声分布,使得对数配分函数可以表示为一个组合函数,其内部函数可以通过随机样本进行估计。因此,该目标可以通过随机组合优化算法来优化。尽管这是一种简单的方法,但我们证明它比NCE更具优势,体现在:(1)建立了快速收敛速率,并通过随机估计量的方差量化了其对噪声分布的依赖性;(2)在一维高斯均值估计中取得了更好的结果,表明我们的目标具有更有利的损失景观,因此我们的方法收敛更快;(3)在多个应用中展示了更好的性能,包括密度估计、分布外检测和真实图像生成。

英文摘要:

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 of the real data and the artificial noise. However, as found in previous works, NCE may perform poorly in many tasks due to its flat loss landscape and slow convergence. In this paper, we study it a direct approach for optimizing the negative log-likelihood of unnormalized models from the perspective of compositional optimization. To tackle the partition function, a noise distribution is introduced such that the log partition function can be written as a compositional function whose inner function can be estimated with stochastic samples. Hence, the objective can be optimized by stochastic compositional optimization algorithms. Despite being a simple method, we demonstrate that 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 for one-dimensional Gaussian mean estimation by showing our objective has a much favorable loss landscape and hence our method enjoys faster convergence; (3) demonstrating better performance on multiple applications, including density estimation, out-of-distribution detection, and real image generation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑