English

MDNS: Masked Diffusion Neural Sampler via Stochastic Optimal Control

Machine Learning 2025-11-11 v2 Optimization and Control Computation Machine Learning

Abstract

We study the problem of learning a neural sampler to generate samples from discrete state spaces where the target probability mass function πeU\pi\propto\mathrm{e}^{-U} is known up to a normalizing constant, which is an important task in fields such as statistical physics, machine learning, combinatorial optimization, etc. To better address this challenging task when the state space has a large cardinality and the distribution is multi-modal, we propose M\textbf{M}asked D\textbf{D}iffusion N\textbf{N}eural S\textbf{S}ampler (MDNS\textbf{MDNS}), a novel framework for training discrete neural samplers by aligning two path measures through a family of learning objectives, theoretically grounded in the stochastic optimal control of the continuous-time Markov chains. We validate the efficiency and scalability of MDNS through extensive experiments on various distributions with distinct statistical properties, where MDNS learns to accurately sample from the target distributions despite the extremely high problem dimensions and outperforms other learning-based baselines by a large margin. A comprehensive study of ablations and extensions is also provided to demonstrate the efficacy and potential of the proposed framework. Our code is available at https://github.com/yuchen-zhu-zyc/MDNS.

Keywords

Cite

@article{arxiv.2508.10684,
  title  = {MDNS: Masked Diffusion Neural Sampler via Stochastic Optimal Control},
  author = {Yuchen Zhu and Wei Guo and Jaemoo Choi and Guan-Horng Liu and Yongxin Chen and Molei Tao},
  journal= {arXiv preprint arXiv:2508.10684},
  year   = {2025}
}

Comments

NeurIPS 2025

R2 v1 2026-07-01T04:50:00.904Z