arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.13889cs.LGcond-mat.dis-nncond-mat.stat-mech
收藏

受限玻尔兹曼机学习中的平衡态和非平衡态

Equilibrium and non-Equilibrium regimes in the learning of Restricted Boltzmann Machines

Universidad Complutense(马德里康普顿斯大学);Université Paris-Saclay(巴黎萨克雷大学);CNRS(法国国家科学研究中心);INRIA(法国国家信息与自动化研究所)

Aurélien Decelle, Cyril Furtlehner, Beatriz Seoane

摘要:

由于难以精确计算对数似然梯度,训练受限玻尔兹曼机(RBM)一直具有挑战性。在过去的几十年里,许多工作都提出了或多或少成功的训练配方,但没有研究问题的关键量:混合时间,即从模型中采样新配置所需的Monte Carlo迭代次数。在这项工作中,我们表明,这种混合时间在训练模型的动力学和稳定性中起着至关重要的作用,RBM在两个定义明确的制度,即平衡和平衡外,这取决于模型的混合时间和步骤数之间的相互作用,$k$,用于近似梯度。我们进一步表明经验,这种混合时间增加的学习,这往往意味着从一个政权到另一个只要$k$变得小于这个时间的过渡。特别是,我们表明,使用流行的$k$(持续)对比发散方法,与$k$小,学习模型的动态是非常缓慢的,往往占主导地位的强大的失衡效应。相反,在平衡训练的RBM显示更快的动态,并在采样过程中平滑收敛到类箭形配置。最后,我们讨论了如何利用在实践中这两个制度,这取决于任务的目的是完成:(一)短$k$可以用来产生令人信服的样本在短的学习时间,(二)大$k$(或越来越大)需要学习正确的平衡分布的RBM。最后,这两个操作制度的存在似乎是通过似然最大化训练的基于能量的模型的一般属性。

英文摘要:

Training Restricted Boltzmann Machines (RBMs) has been challenging for a long time due to the difficulty of computing precisely the log-likelihood gradient. Over the past decades, many works have proposed more or less successful training recipes but without studying the crucial quantity of the problem: the mixing time, i.e. the number of Monte Carlo iterations needed to sample new configurations from a model. In this work, we show that this mixing time plays a crucial role in the dynamics and stability of the trained model, and that RBMs operate in two well-defined regimes, namely equilibrium and out-of-equilibrium, depending on the interplay between this mixing time of the model and the number of steps, $k$, used to approximate the gradient. We further show empirically that this mixing time increases with the learning, which often implies a transition from one regime to another as soon as $k$ becomes smaller than this time. In particular, we show that using the popular $k$ (persistent) contrastive divergence approaches, with $k$ small, the dynamics of the learned model are extremely slow and often dominated by strong out-of-equilibrium effects. On the contrary, RBMs trained in equilibrium display faster dynamics, and a smooth convergence to dataset-like configurations during the sampling. Finally we discuss how to exploit in practice both regimes depending on the task one aims to fulfill: (i) short $k$ can be used to generate convincing samples in short learning times, (ii) large $k$ (or increasingly large) is needed to learn the correct equilibrium distribution of the RBM. Finally, the existence of these two operational regimes seems to be a general property of energy based models trained via likelihood maximization.

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

↑