Oops I Took A Gradient: Scalable Sampling for Discrete Distributions
Not on the map. Why?
Abstract (arXiv)
We propose a general and scalable approximate sampling strategy for probabilistic models with discrete variables. Our approach uses gradients of the likelihood function with respect to its discrete inputs to propose updates in a Metropolis-Hastings sampler. We show empirically that this approach outperforms generic samplers in a number of difficult settings including Ising models, Potts models, restricted Boltzmann machines, and factorial hidden Markov models. We also demonstrate the use of our improved sampler for training deep energy-based models on high dimensional discrete data. This approach outperforms variational auto-encoders and existing energy-based models. Finally, we give bounds showing that our approach is near-optimal in the class of samplers which propose local updates.
Key facts. Cited by 92 papers in the map (data through 7 Oct 2026). Builds on 18 of its 47 references that are in the map. First posted on arXiv 8 Feb 2021.
Builds on
18 of 47 references.
References · 18
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,067
- 2013Auto-Encoding Variational Bayescited by 3,980
- 2016The Concrete Distribution: A Continuous Relaxation of Discrete Random Variablescited by 1,135
- 2016Stein Variational Gradient Descent: A General Purpose Bayesian Inference Algorithmcited by 498
- 2019Your Classifier is Secretly an Energy Based Model and You Should Treat it Like Onecited by 402
- 2017VAE with a VampPriorcited by 247
- 2019On the Anatomy of MCMC-Based Maximum Likelihood Learning of Energy-Based Modelscited by 105
- 2020Residual Energy-Based Models for Text Generationcited by 95
- 2020No MCMC for me: Amortized sampling for fast and stable training of energy-based modelscited by 64
- 2020Stochastic Security: Adversarial Defense Using Long-Run Dynamics of Energy-Based Modelscited by 58
6 more
- 2014Accurate and Conservative Estimates of MRF Log-likelihood using Reverse Annealingcited by 18
- 2015The Hamming Ball Samplercited by 16
- 2020Stein Variational Inference for Discrete Distributionscited by 16
- 2021Joint Energy-based Model Training for Better Calibrated Natural Language Understanding Modelscited by 14
- 2018Stein Variational Gradient Descent Without Gradientcited by 12
- 2018Generative Modeling by Inclusive Neural Random Fields with Applications in Image Generation and Anomaly Detectioncited by 9
Built on by
Citing papers per year: 2021: 11; 2022: 19; 2023: 17; 2024: 13; 2025: 19; 2026: 13.
92 papers.
Sort:
By area:
- 2021Flow Network based Generative Models for Non-Iterative Diverse Candidate Generationcited by 384
- 2021GFlowNet Foundationscited by 286
- 2021Deep Generative Modelling: A Comparative Review of VAEs, GANs, Normalizing Flows, Energy-Based and Autoregressive Modelscited by 251
- 2022Trajectory balance: Improved credit assignment in GFlowNetscited by 244
- 2023Automatically Auditing Large Language Models via Discrete Optimizationcited by 187
- 2024Simple Guidance Mechanisms for Discrete Diffusion Modelscited by 148
- 2022Concrete Score Matching: Generalized Score Matching for Discrete Datacited by 144
- 2024Unlocking Guidance for Discrete State-Space Diffusion and Flow Modelscited by 124
- 2022Generative Flow Networks for Discrete Probabilistic Modelingcited by 113
- 2021Unleashing Transformers: Parallel Token Prediction with Discrete Absorbing Diffusion for Fast High-Resolution Image Generation from Vector-Quantized Codescited by 71
- 2024Informed Correctors for Discrete Diffusion Modelscited by 57
- 2022Differentiable DAG Samplingcited by 46
38 more
- 2022A Langevin-like Sampler for Discrete Distributionscited by 42
- 2024Compositional Generative Modeling: A Single Model is Not All You Needcited by 41
- 2021Exposing the Implicit Energy Networks behind Masked Language Models via Metropolis--Hastingscited by 37
- 2023BayesDAG: Gradient-Based Posterior Inference for Causal Discoverycited by 33
- 2025CANDI: Hybrid Discrete-Continuous Diffusion Modelscited by 31
- 2022Particle algorithms for maximum likelihood training of latent variable modelscited by 26
- 2025Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative Modelingcited by 25
- 2022Discrete Langevin Sampler via Wasserstein Gradient Flowcited by 23
- 2022Gradient Estimation with Discrete Stein Operatorscited by 22
- 2023Improving Protein Optimization with Smoothed Fitness Landscapescited by 20
- 2022Plug & Play Directed Evolution of Proteins with Gradient-based Discrete MCMCcited by 17
- 2025CtrlDiff: Boosting Large Diffusion Language Models with Dynamic Block Prediction and Controllable Generationcited by 17
- 2025Discrete Neural Flow Samplers with Locally Equivariant Transformercited by 13
- 2022Learning Neural Set Functions Under the Optimal Subset Oraclecited by 10
- 2022Enhanced gradient-based MCMC in discrete spacescited by 10
- 2025Regularized Langevin Dynamics for Combinatorial Optimizationcited by 10
- 2021Perturb-and-max-product: Sampling and learning in discrete energy-based modelscited by 9
- 2022Optimal Scaling for Locally Balanced Proposals in Discrete Spacescited by 9
- 2023Masked Bayesian Neural Networks : Theoretical Guarantee and its Posterior Inferencecited by 9
- 2023Energy Discrepancies: A Score-Independent Loss for Energy-Based Modelscited by 9
- 2024Gradient-based Discrete Sampling with Automatic Cyclical Schedulingcited by 9
- 2024Generative AI for Controllable Protein Sequence Design: A Surveycited by 8
- 2021LSB: Local Self-Balancing MCMC in Discrete Spacescited by 7
- 2023Efficient Informed Proposals for Discrete Distributions via Newton's Series Approximationcited by 7
- 2023Delta-AI: Local objectives for amortized inference in sparse graphical modelscited by 7
- 2022Gradient-Guided Importance Sampling for Learning Binary Energy-Based Modelscited by 6
- 2024Optimization by Parallel Quasi-Quantum Annealing with Gradient-Based Samplingcited by 6
- 2025Reheated Gradient-based Discrete Sampling for Combinatorial Optimizationcited by 6
- 2022Statistical applications of contrastive learningcited by 5
- 2024Energy-Based Modelling for Discrete and Mixed Data via Heat Equations on Structured Spacescited by 5
- 2021Variational Gibbs Inference for Statistical Model Estimation from Incomplete Datacited by 4
- 2023Non-Log-Concave and Nonsmooth Sampling via Langevin Monte Carlo Algorithmscited by 4
- 2023Structured Voronoi Samplingcited by 4
- 2023Gradient-Informed Quality Diversity for the Illumination of Discrete Spacescited by 4
- 2023Generative Marginalization Modelscited by 4
- 2023Principled Gradient-based Markov Chain Monte Carlo for Text Generationcited by 4
- 2025A Variational Perspective on Generative Protein Fitness Optimizationcited by 4
- 2025Gradient GA: Gradient Genetic Algorithm for Drug Molecular Designcited by 4
50 most cited of 92 All 92 (JSON)
- 2026Iterative Exact Discrete Guidance for Energy-Based Sampling29 Sep 2026
- 2026Auditing Bayesian Graph Alignment: Diagnostic Comparisons and Reference Failure19 Sep 2026
- 2026Fine-Tuning Low-Bit Models with Gradient in Quantized Code Space31 Aug 2026
- 2026Plug-and-Play Guidance for Discrete Diffusion Models via Gradient-Informed Logit Correction4 Jun 2026
- 2026Solving Integer Linear Programming with Parallel Tempering28 May 2026
- 2026Contrastive Distribution Matching for Amortized Sequential Monte Carlo in Discrete Diffusion22 May 2026
- 2026Discrete Langevin-Inspired Posterior Sampling10 May 2026
- 2026Pareto-Optimal Offline Reinforcement Learning via Smooth Tchebycheff Scalarization14 Apr 2026
- 2026Slithering Through Gaps: Capturing Discrete Isolated Modes via Logistic Bridging12 Apr 2026
- 2026Graph Energy Matching: Transport-Aligned Energy-Based Modeling for Graph Generation24 Mar 2026
- 2026Discrete diffusion samplers and bridges: Off-policy algorithms and applications in latent spaces5 Feb 2026
- 2026Repurposing Protein Language Models for Latent Flow-Based Fitness Optimization2 Feb 2026
38 more
- 2026Unsupervised Ensemble Learning Through Deep Energy-based Models28 Jan 2026
- 2025A new class of Markov random fields enabling lightweight sampling4 Nov 2025
- 2025FlowQ-Net: A Generative Framework for Automated Quantum Circuit Design30 Oct 2025
- 2025Sampling from Energy distributions with Target Concrete Score Identity27 Oct 2025
- 2025CANDI: Hybrid Discrete-Continuous Diffusion Models26 Oct 2025
- 2025Diffusion Alignment as Variational Expectation-Maximization1 Oct 2025
- 2025Preconditioned Discrete-HAMS: A Second-order Irreversible Discrete Sampler29 Jul 2025
- 2025Beyond Self-Repellent Kernels: History-Driven Target Towards Efficient Nonlinear MCMC on General Graphs23 May 2025
- 2025Discrete Neural Flow Samplers with Locally Equivariant Transformer23 May 2025
- 2025CtrlDiff: Boosting Large Diffusion Language Models with Dynamic Block Prediction and Controllable Generation20 May 2025
- 2025Learning with Local Search MCMC Layers20 May 2025
- 2025Bayesian Estimation of Causal Effects Using Proxies of a Latent Interference Network13 May 2025
- 2025Entropy-Guided Sampling of Flat Modes in Discrete Spaces5 May 2025
- 2025Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative Modeling14 Apr 2025
- 2025Reheated Gradient-based Discrete Sampling for Combinatorial Optimization6 Mar 2025
- 2025Enhancing Gradient-based Discrete Sampling via Parallel Tempering26 Feb 2025
- 2025Gradient GA: Gradient Genetic Algorithm for Drug Molecular Design14 Feb 2025
- 2025Regularized Langevin Dynamics for Combinatorial Optimization1 Feb 2025
- 2025A Variational Perspective on Generative Protein Fitness Optimization31 Jan 2025
- 2025Exploring Non-Convex Discrete Energy Landscapes: An Efficient Langevin-Like Sampler with Replica Exchange28 Jan 2025
- 2024Simple Guidance Mechanisms for Discrete Diffusion Models13 Dec 2024
- 2024Energy-Based Modelling for Discrete and Mixed Data via Heat Equations on Structured Spaces2 Dec 2024
- 2024Optimization by Parallel Quasi-Quantum Annealing with Gradient-Based Sampling2 Sep 2024
- 2024A Statistical Framework for Data-dependent Retrieval-Augmented Models27 Aug 2024
- 2024Divide-and-Conquer Predictive Coding: a structured Bayesian inference algorithm11 Aug 2024
- 2024Informed Correctors for Discrete Diffusion Models30 Jul 2024
- 2024Unlocking Guidance for Discrete State-Space Diffusion and Flow Models3 Jun 2024
- 2024Interpolation and differentiation of alchemical degrees of freedom in machine learning interatomic potentials16 Apr 2024
- 2024Dimension-free Relaxation Times of Informed MCMC Samplers on Discrete Spaces5 Apr 2024
- 2024Efficient Combinatorial Optimization via Heat Diffusion13 Mar 2024
- 2024Gradient-based Discrete Sampling with Automatic Cyclical Scheduling27 Feb 2024
- 2024Generative AI for Controllable Protein Sequence Design: A Survey16 Feb 2024
- 2024Compositional Generative Modeling: A Single Model is Not All You Need2 Feb 2024
- 2023Principled Gradient-based Markov Chain Monte Carlo for Text Generation29 Dec 2023
- 2023Evaluation of human-model prediction difference on the Internet Scale of Data6 Dec 2023
- 2023Generative Marginalization Models19 Oct 2023
- 2023Delta-AI: Local objectives for amortized inference in sparse graphical models3 Oct 2023
- 2023BayesDAG: Gradient-Based Posterior Inference for Causal Discovery26 Jul 2023
50 newest of 92 All 92 (JSON)
- 2024Simple Guidance Mechanisms for Discrete Diffusion Modelscited by 148
- 2021Unleashing Transformers: Parallel Token Prediction with Discrete Absorbing Diffusion for Fast High-Resolution Image Generation from Vector-Quantized Codescited by 71
- 2024Informed Correctors for Discrete Diffusion Modelscited by 57
- 2025CANDI: Hybrid Discrete-Continuous Diffusion Modelscited by 31
- 2025Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative Modelingcited by 25
- 2025CtrlDiff: Boosting Large Diffusion Language Models with Dynamic Block Prediction and Controllable Generationcited by 17
- 2026Contrastive Distribution Matching for Amortized Sequential Monte Carlo in Discrete Diffusioncited by 3
- 2026Plug-and-Play Guidance for Discrete Diffusion Models via Gradient-Informed Logit Correctioncited by 3
- 2025Diffusion Alignment as Variational Expectation-Maximizationcited by 2
- 2026Discrete diffusion samplers and bridges: Off-policy algorithms and applications in latent spacescited by 2
- 2026Graph Energy Matching: Transport-Aligned Energy-Based Modeling for Graph Generationcited by 0
- 2026Discrete Langevin-Inspired Posterior Samplingcited by 0
- 2026Plug-and-Play Guidance for Discrete Diffusion Models via Gradient-Informed Logit Correction4 Jun 2026
- 2026Contrastive Distribution Matching for Amortized Sequential Monte Carlo in Discrete Diffusion22 May 2026
- 2026Discrete Langevin-Inspired Posterior Sampling10 May 2026
- 2026Graph Energy Matching: Transport-Aligned Energy-Based Modeling for Graph Generation24 Mar 2026
- 2026Discrete diffusion samplers and bridges: Off-policy algorithms and applications in latent spaces5 Feb 2026
- 2025CANDI: Hybrid Discrete-Continuous Diffusion Models26 Oct 2025
- 2025Diffusion Alignment as Variational Expectation-Maximization1 Oct 2025
- 2025CtrlDiff: Boosting Large Diffusion Language Models with Dynamic Block Prediction and Controllable Generation20 May 2025
- 2025Energy Matching: Unifying Flow Matching and Energy-Based Models for Generative Modeling14 Apr 2025
- 2024Simple Guidance Mechanisms for Discrete Diffusion Models13 Dec 2024
- 2024Informed Correctors for Discrete Diffusion Models30 Jul 2024
- 2021Unleashing Transformers: Parallel Token Prediction with Discrete Absorbing Diffusion for Fast High-Resolution Image Generation from Vector-Quantized Codes24 Nov 2021
- 2021Flow Network based Generative Models for Non-Iterative Diverse Candidate Generationcited by 384
- 2021GFlowNet Foundationscited by 286
- 2021Deep Generative Modelling: A Comparative Review of VAEs, GANs, Normalizing Flows, Energy-Based and Autoregressive Modelscited by 251
- 2022Trajectory balance: Improved credit assignment in GFlowNetscited by 244
- 2023Automatically Auditing Large Language Models via Discrete Optimizationcited by 187
- 2022Concrete Score Matching: Generalized Score Matching for Discrete Datacited by 144
- 2024Unlocking Guidance for Discrete State-Space Diffusion and Flow Modelscited by 124
- 2022Generative Flow Networks for Discrete Probabilistic Modelingcited by 113
- 2022Differentiable DAG Samplingcited by 46
- 2022A Langevin-like Sampler for Discrete Distributionscited by 42
- 2024Compositional Generative Modeling: A Single Model is Not All You Needcited by 41
- 2021Exposing the Implicit Energy Networks behind Masked Language Models via Metropolis--Hastingscited by 37
12 most cited of 78 All 78 (JSON)
- 2026Iterative Exact Discrete Guidance for Energy-Based Sampling29 Sep 2026
- 2026Auditing Bayesian Graph Alignment: Diagnostic Comparisons and Reference Failure19 Sep 2026
- 2026Fine-Tuning Low-Bit Models with Gradient in Quantized Code Space31 Aug 2026
- 2026Solving Integer Linear Programming with Parallel Tempering28 May 2026
- 2026Slithering Through Gaps: Capturing Discrete Isolated Modes via Logistic Bridging12 Apr 2026
- 2026Repurposing Protein Language Models for Latent Flow-Based Fitness Optimization2 Feb 2026
- 2026Unsupervised Ensemble Learning Through Deep Energy-based Models28 Jan 2026
- 2025A new class of Markov random fields enabling lightweight sampling4 Nov 2025
- 2025FlowQ-Net: A Generative Framework for Automated Quantum Circuit Design30 Oct 2025
- 2025Sampling from Energy distributions with Target Concrete Score Identity27 Oct 2025
- 2025Preconditioned Discrete-HAMS: A Second-order Irreversible Discrete Sampler29 Jul 2025
- 2025Beyond Self-Repellent Kernels: History-Driven Target Towards Efficient Nonlinear MCMC on General Graphs23 May 2025
12 newest of 78 All 78 (JSON)