Perturb-and-max-product: Sampling and learning in discrete energy-based models
Miguel Lázaro-Gredilla, Antoine Dedieu, Dileep George
Abstract
Perturb-and-MAP offers an elegant approach to approximately sample from an energy-based model (EBM) by computing the maximum-a-posteriori (MAP) configuration of a perturbed version of the model. Sampling in turn enables learning. However, this line of research has been hindered by the general intractability of the MAP computation. Very few works venture outside tractable models, and when they do, they use linear programming approaches, which as we show, have several limitations. In this work, we present perturb-and-max-product (PMP), a parallel and scalable mechanism for sampling and learning in discrete EBMs. Models can be arbitrary as long as they are built using tractable factors. We show that (a) for Ising models, PMP is orders of magnitude faster than Gibbs and Gibbs-with-Gradients (GWG) at learning and generating samples of similar or better quality; (b) PMP is able to learn and sample from RBMs; (c) in a large, entangled graphical model in which Gibbs and GWG fail to mix, PMP succeeds. Preprint. Under review.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 5e1dd262-24fb-4a66-983f-eb07e78b7a19Cited by top-tier papers5
- Topology-Aware Uncertainty for Image SegmentationSaumya Gupta, Yikai Zhang, Xiaoling Hu, Prateek Prasanna et al.NeurIPS 2023 · 69 citations
- Discrete Neural Flow Samplers with Locally Equivariant TransformerZijing Ou, Ruixiang Zhang, Yingzhen LiNeurIPS 2025 · 14 citations
- Energy-Based Modelling for Discrete and Mixed Data via Heat Equations on Structured SpacesTobias Schröder, Zijing Ou, Yingzhen Li, Andrew B. DuncanNeurIPS 2024 · 5 citations
- Learning Noisy OR Bayesian Networks with Max-Product Belief PropagationAntoine Dedieu, Guangyao Zhou, Dileep George, Miguel Lázaro-GredillaICML 2023 · 2 citations
- Energy-Based Preference Model Offers Better Offline Alignment than the Bradley-Terry Preference ModelYuzhong Hong, Hanshan Zhang, Junwei Bao, Hongfei Jiang et al.ICML 2025
Builds on2
Related papers
- Gradient-Guided Importance Sampling for Learning Binary Energy-Based ModelsMeng Liu, Haoran Liu, Shuiwang JiICLR 2023
- Joint Learning of Energy-based Models and their Partition FunctionMichael Eli Sander, Vincent Roulet, Tianlin Liu, Mathieu BlondelICML 2025
- Path Auxiliary Proposal for MCMC in Discrete SpaceHaoran Sun, Hanjun Dai, Wei Xia, Arun RamamurthyICLR 2022 · 27 citations
- A Langevin-like Sampler for Discrete DistributionsRuqi Zhang, Xingchao Liu, Qiang LiuICML 2022 · 51 citations
- Adversarially-learned Inference via an Ensemble of Discrete Undirected Graphical ModelsAdarsh K. Jeewajee, Leslie Pack KaelblingNeurIPS 2020 · 1 citation
