在本文中,我们提出了一种将 score-based models 与 Metropolis-Hastings 算法相结合的新方法。传统的 score-based diffusion models 虽然擅长从数据点中准确学习 score function,但缺乏 energy function,导致无法进行 Metropolis-Hastings 调整步骤。因此,通常使用 unadjusted Langevin algorithm 利用估计的 score functions 进行采样。缺乏 energy function 阻碍了 Metropolis-adjusted Langevin algorithm 及其他 Metropolis-Hastings 方法的应用,限制了其他使用 acceptance functions 的丰富算法的发展。我们通过引入基于 detailed balance condition 的新 loss function 来解决这一局限,从而能够在给定已学习 score function 的情况下估计 Metropolis-Hastings acceptance probabilities。我们在多种场景下验证了所提方法的有效性,包括从 heavy-tail distributions 中采样。
英文摘要:
In this paper, we introduce a new approach for integrating score-based models with the Metropolis-Hastings algorithm. While traditional score-based diffusion models excel in accurately learning the score function from data points, they lack an energy function, making the Metropolis-Hastings adjustment step inaccessible. Consequently, the unadjusted Langevin algorithm is often used for sampling using estimated score functions. The lack of an energy function then prevents the application of the Metropolis-adjusted Langevin algorithm and other Metropolis-Hastings methods, limiting the wealth of other algorithms developed that use acceptance functions. We address this limitation by introducing a new loss function based on the \emph{detailed balance condition}, allowing the estimation of the Metropolis-Hastings acceptance probabilities given a learned score function. We demonstrate the effectiveness of the proposed method for various scenarios, including sampling from heavy-tail distributions.
National Research University Higher School of Economics(国家研究型高等经济学院);Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究院);Samsung AI Center Moscow(三星莫斯科人工智能中心);Samsung-HSE Laboratory(三星-高等经济学院实验室);HSE(高等经济学院);Skoltech(斯科尔科沃科学技术研究院)
Exposing the Implicit Energy Networks behind Masked Language Models via Metropolis--Hastings
Carnegie Mellon University(卡内基梅隆大学);Deepmind(深度思维);UC San Diego(加州大学圣地亚哥分校)
虽然最近的工作表明,由无处不在的掩蔽语言建模(MLM)目标训练的模型的分数有效地区分了可能的序列和不可能的序列,但这些MLM是否指定了可能序列空间上的原则概率分布仍然是一个悬而未决的问题。在本文中,我们解释MLMs的能量为基础的序列模型,并提出了两个能源参数化可从训练MLMs。为了正确地从这些模型中抽取样本,我们开发了一个基于Metropolis-Hastings Monte Carlo算法的易处理的抽样方案。在我们的方法中,从用于训练掩蔽语言模型的相同掩蔽条件中提出样本,并且根据目标分布基于它们的能量值来接受或拒绝它们。我们通过探索从这些基于能量的模型中提取的样本的质量来验证所提出的参数化的有效性,这些样本用于开放式无条件生成和机器翻译的条件生成任务。我们从理论上和经验上证明了我们的采样算法,表明掩蔽条件本身不会产生其平稳分布是我们的目标分布的马尔可夫链,并且我们的方法比最近提出的其他无向生成方法生成更高质量的样本(Wang et al.,2019年,Ghazvininejad等人,2019年)。
Differentiating Metropolis-Hastings to Optimize Intractable Densities
Massachusetts Institute of Technology(麻省理工学院);Chalmers University of Technology(查尔姆斯理工大学);University of Gothenburg(哥德堡大学);University of Oxford(牛津大学);JuliaHub;Pumas-AI
Metropolis-Hastings view on variational inference and adversarial training
National Research University Higher School of Economics(国家研究型高等经济学院);Skolkovo Institute of Science and Technology(斯科尔科沃科学技术研究院);Samsung AI Center Moscow(三星莫斯科人工智能中心);HSE(高等经济学院);Skoltech(斯科尔科沃科学技术研究院)
QUEST: Quality-Aware Metropolis-Hastings Sampling for Machine Translation
Instituto de Telecomunicações(电信研究所);University of Washington(华盛顿大学);Instituto Superior Técnico(高等技术学院);Universidade de Lisboa(里斯本大学);Unbabel(Unbabel公司);ELLIS Unit Lisbon(里斯本ELLIS单元)