Temperature-Regulated Stochastic Sampling for Diffusion-Based High-Quality Molecular Generation
Abstract
Despite the strong performance of diffusion models in molecular generation, the sampling process itself remains largely understudied, with most existing methods adopting off-the-shelf sampling strategies developed for natural images. Yet unlike natural images, molecular distributions are governed by physical laws and are sharply concentrated, making them particularly challenging for standard samplers, which frequently produce invalid or unphysical structures. In this work, we revisit diffusion sampling from a unified stochastic differential equation (SDE) perspective and introduce a general framework parameterized by two interpretable controls: stochasticity and temperature. Our analysis shows that stochasticity strengthens instantaneous error correction under a bounded score-error condition, while temperature controls distribution sharpness in the low-noise regime. Building on these insights, we develop TReaSSure (Temperature-Regulated Stochastic Sampling), a lightweight, training-free strategy that combines stochasticity scheduling with temperature annealing to better capture the sharply concentrated distributions of molecular data. Extensive experiments on small molecule generation, protein structure prediction, and protein design demonstrate that TReaSSure consistently improves generation quality and produces more physically valid structures. Empirical analyses further corroborate our theoretical findings. The method uses pretrained models without retraining, supporting its practical value across molecular domains.