Lune

NeurIPS2020Top-tier venue

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

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

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Training Deep Energy-Based Models with f-Divergence Minimization cites To Relieve Your Headache of Training an MRF, Take AdVIL
  • Generative Flow Networks for Discrete Probabilistic Modeling cites Training Deep Energy-Based Models with f-Divergence Minimization
  • Generative Flow Networks for Discrete Probabilistic Modeling cites Trajectory balance: Improved credit assignment in GFlowNets
  • Trajectory balance: Improved credit assignment in GFlowNets cites Generative Flow Networks for Discrete Probabilistic Modeling
  • Generative Flow Networks for Discrete Probabilistic Modeling cites Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
  • Trajectory balance: Improved credit assignment in GFlowNets cites Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation
  • Flow Network based Generative Models for Non-Iterative Diverse Candidate Generation cites GraphAF: a Flow-based Autoregressive Model for Molecular Graph Generation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. Flow Network based Generative Models for Non-Iterative Diverse Candidate GenerationEmmanuel Bengio, Moksh Jain, Maksym Korablyov, Doina Precup et al.NeurIPS 2021 · 565 citations
  2. Trajectory balance: Improved credit assignment in GFlowNetsNikolay Malkin, Moksh Jain, Emmanuel Bengio, Chen Sun et al.NeurIPS 2022 · 316 citations
  3. Generative Flow Networks for Discrete Probabilistic ModelingDinghuai Zhang, Nikolay Malkin, Zhen Liu, Alexandra Volokhova et al.ICML 2022 · 131 citations
  4. End-to-end Stochastic Optimization with Energy-based ModelLingkai Kong, Jiaming Cui, Yuchen Zhuang, Rui Feng et al.NeurIPS 2022 · 33 citations
  5. Path Auxiliary Proposal for MCMC in Discrete SpaceHaoran Sun, Hanjun Dai, Wei Xia, Arun RamamurthyICLR 2022 · 27 citations

Builds on4

  1. GraphAF: a Flow-based Autoregressive Model for Molecular Graph GenerationChence Shi, Minkai Xu, Zhaocheng Zhu, Weinan Zhang et al.ICLR 2020 · 532 citations
  2. Residual Energy-Based Models for Text GenerationYuntian Deng, Anton Bakhtin, Myle Ott, Arthur Szlam et al.ICLR 2020 · 147 citations
  3. Training Deep Energy-Based Models with f-Divergence MinimizationLantao Yu, Yang Song, Jiaming Song, Stefano ErmonICML 2020 · 50 citations
  4. To Relieve Your Headache of Training an MRF, Take AdVILChongxuan Li, Chao Du, Kun Xu, Max Welling et al.ICLR 2020 · 9 citations

Related papers

  1. EcoFuzz: Adaptive Energy-Saving Greybox Fuzzing as a Variant of the Adversarial Multi-Armed BanditTai Yue, Pengfei Wang, Yong Tang, Enze Wang et al.USENIX Security 2020
  2. Joint Learning of Energy-based Models and their Partition FunctionMichael Eli Sander, Vincent Roulet, Tianlin Liu, Mathieu BlondelICML 2025
  3. Oops I Took A Gradient: Scalable Sampling for Discrete DistributionsWill Grathwohl, Kevin Swersky, Milad Hashemi, David Duvenaud et al.ICML 2021 · 113 citations
  4. LEGION: Best-First Concolic TestingDongge Liu, Gidon Ernst, Toby Murray, Benjamin I. P. RubinsteinASE 2020 · 19 citations
  5. FANDANGO: Evolving Language-Based TestingJosé Antonio Zamudio Amaya, Marius Smytzek, Andreas ZellerISSTA 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines