Search papers, labs, and topics across Lattice.
This paper introduces Pref-MH, an exact Metropolis-Hastings sampler that leverages stochastic binary pairwise comparisons to sample from conditional distributions, addressing the challenge of requiring exact pointwise target-density evaluations in generative modeling. By recognizing that the unnormalized density ratio in Metropolis-Hastings aligns with the preference odds of the Bradley-Terry model, the authors develop a valid accept/reject rule that ensures convergence to the target distribution. Experimental results across text generation, molecular design, and image generation demonstrate that Pref-MH is both practical and optimal for scenarios where comparative feedback is readily available.
Exact sampling from conditional distributions is now achievable using only binary pairwise comparisons, transforming how we approach generative modeling.
Sampling from distributions conditioned on desired semantic properties is an emerging challenge in modern generative modeling. Metropolis-Hastings (MH) provides a principled route to conditional sampling, but requires access to exact pointwise target-density evaluations, which are not available in generative settings. Meanwhile, pairwise comparisons by humans or model "judge" are highly accessible and have proved valuable across diverse applications. We introduce Pref-MH, a general exact MH sampler for judge-induced conditional distributions using only stochastic binary pairwise comparisons. Our key observation is that the MH unnormalized density ratio matches the preference odds of the Bradley-Terry (BT) choice model. The central challenge is that while MH requires precise ratio computation, BT judges provide only sampled binary feedback. To this end, we develop a valid accept/reject rule whose resulting Markov chain provably converges to the target distribution. We further show that, for a fixed proposal kernel and budget, Pref-MH is optimal in the Peskun-Tierney sense among this class of exact reversible acceptance rules. Experiments on text generation and molecular design with LLM judges, as well as image generation with VLM judges, demonstrate that Pref-MH provides a practical and flexible approach to conditional sampling when comparative feedback is relatively easy to obtain.