MetaDNS: Enhancing Exploration in Discrete Neural Samplers via Well-Tempered Metadynamics
Abstract
Sampling from discrete distributions with multiple modes and energy barriers is fundamental to machine learning and computational physics. Recent discrete neural samplers like MDNS suffer from mode collapse and fail to sample high-energy barrier regions between modes, which is critical for free energy estimation and understanding phase transitions. We propose Metadynamics Discrete Neural Sampler (MetaDNS), a general framework integrating well-tempered metadynamics into discrete diffusion or autoregressive samplers. By maintaining an adaptive, history-dependent bias potential along selected low-dimensional coordinates, MetaDNS forces exploration of previously inaccessible regions, enabling free energy reconstruction infeasible with standard neural samplers due to a lack of high-energy samples. On challenging low-temperature benchmarks including Ising, Potts, and the copper-gold binary alloy, MetaDNS reproduces the thermodynamic distribution. Compared to MCMC-based metadynamics, MetaDNS also achieves comparable exploration requiring fewer bias deposition steps.
Keywords
Cite
@article{arxiv.2605.21722,
title = {MetaDNS: Enhancing Exploration in Discrete Neural Samplers via Well-Tempered Metadynamics},
author = {Xiaochen Du and Juno Nam and Jaemoo Choi and Wei Guo and Sathya Edamadaka and Junyi Sha and Elton Pan and Yongxin Chen and Molei Tao and Rafael Gómez-Bombarelli},
journal= {arXiv preprint arXiv:2605.21722},
year = {2026}
}
Comments
Accepted at ICML 2026