arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2011.05363cs.LG
收藏

基于随机变量局部探索的离散能量模型学习

Learning Discrete Energy-based Models via Auxiliary-variable Local Exploration

Google Research(谷歌研究院)

Hanjun Dai, Rishabh Singh, Bo Dai, Charles Sutton, Dale Schuurmans

摘要:

离散结构在程序语言建模和软件工程等应用中起着重要的作用。目前预测复杂结构的方法通常考虑自回归模型的易处理性,在灵活性方面有一些牺牲。另一方面,基于能量的模型(EBM)提供了一种更灵活,因此更强大的方法来建模这种分布,但需要分区函数估计。在本文中,我们提出了ALOE,一个新的算法,用于学习离散结构化数据的条件和无条件EBM,其中参数梯度估计使用一个学习的采样器,模仿本地搜索。我们表明,能量函数和采样器可以通过一种新的变分形式的功率迭代有效地训练,实现了更好的灵活性和易处理性之间的权衡。实验表明,学习本地搜索导致具有挑战性的应用领域的显着改善。最值得注意的是,我们提出了一个能量模型引导模糊的软件测试,实现了类似的性能良好的工程模糊引擎,如libfuzzer。

英文摘要:

Discrete structures play an important role in applications like program language modeling and software engineering. Current approaches to predicting complex structures typically consider autoregressive models for their tractability, with some sacrifice in flexibility. Energy-based models (EBMs) on the other hand offer a more flexible and thus more powerful approach to modeling such distributions, but require partition function estimation. In this paper we propose ALOE, a new algorithm for learning conditional and unconditional EBMs for discrete structured data, where parameter gradients are estimated using a learned sampler that mimics local search. We show that the energy function and sampler can be trained efficiently via a new variational form of power iteration, achieving a better trade-off between flexibility and tractability. Experimentally, we show that learning local search leads to significant improvements in challenging application domains. Most notably, we present an energy model guided fuzzer for software testing that achieves comparable performance to well engineered fuzzing engines like libfuzzer.

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

↑