Perturb-and-max-product: Sampling and learning in discrete energy-based models
Not on the map. Why?
Abstract (arXiv)
Perturb-and-MAP offers an elegant approach to approximately sample from a 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 will 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.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 6 of its 41 references that are in the map. First posted on arXiv 3 Nov 2021.
Builds on
6 of 41 references.
References · 6
- 2021Oops I Took A Gradient: Scalable Sampling for Discrete Distributionscited by 92
- 2017Neural Variational Inference and Learning in Undirected Graphical Modelscited by 4
- 2016High Dimensional Inference with Random Maximum A-Posteriori Perturbationscited by 2
- 2019To Relieve Your Headache of Training an MRF, Take AdVILcited by 2
- 2019Amortized Bethe Free Energy Minimization for Learning MRFscited by 2
- 2018Marginal Weighted Maximum Log-likelihood for Efficient Learning of Perturb-and-Map modelscited by 1
Built on by
Citing papers per year: 2022: 1; 2023: 3; 2024: 4; 2025: 1.
9 papers.
- 2023Topology-Aware Uncertainty for Image Segmentationcited by 32
- 2025Discrete Neural Flow Samplers with Locally Equivariant Transformercited by 13
- 2024Energy-Based Preference Model Offers Better Offline Alignment than the Bradley-Terry Preference Modelcited by 9
- 2022PGMax: Factor Graphs for Discrete Probabilistic Graphical Models and Loopy Belief Propagation in JAXcited by 6
- 2024Energy-Based Modelling for Discrete and Mixed Data via Heat Equations on Structured Spacescited by 5
- 2024Cyclic Group Projection for Enumerating Quasi-Cyclic Codes Trapping Setscited by 1
- 2023Learning noisy-OR Bayesian Networks with Max-Product Belief Propagationcited by 0
- 2023Training Discrete Energy-Based Models with Energy Discrepancycited by 0
- 2024Circular Belief Propagation for Approximate Probabilistic Inferencecited by 0
- 2025Discrete Neural Flow Samplers with Locally Equivariant Transformer23 May 2025
- 2024Energy-Based Preference Model Offers Better Offline Alignment than the Bradley-Terry Preference Model18 Dec 2024
- 2024Energy-Based Modelling for Discrete and Mixed Data via Heat Equations on Structured Spaces2 Dec 2024
- 2024Circular Belief Propagation for Approximate Probabilistic Inference17 Mar 2024
- 2024Cyclic Group Projection for Enumerating Quasi-Cyclic Codes Trapping Sets26 Jan 2024
- 2023Training Discrete Energy-Based Models with Energy Discrepancy14 Jul 2023
- 2023Topology-Aware Uncertainty for Image Segmentation9 Jun 2023
- 2023Learning noisy-OR Bayesian Networks with Max-Product Belief Propagation31 Jan 2023
- 2022PGMax: Factor Graphs for Discrete Probabilistic Graphical Models and Loopy Belief Propagation in JAX8 Feb 2022