π€ AI Summary
This work addresses the challenge of enforcing hard constraints or optimizing non-differentiable properties during inference in discrete diffusion models. To this end, the authors propose SearchDiff, a neuro-symbolic inference framework that requires no additional training and, for the first time, seamlessly integrates heuristic search into the reverse denoising process of discrete diffusion. At each denoising step, the method constructs a candidate set based on the modelβs predictions and refines it through user-specified constraints or desired attributes, yielding sequences that are both high-probability and compliant with the given criteria. Evaluated on biological sequence design and symbolic reasoning tasks, SearchDiff consistently outperforms existing discrete diffusion and autoregressive baselines, achieving substantially higher constraint satisfaction rates and attribute alignment.
π Abstract
Discrete diffusion models generate sequences by iteratively denoising samples corrupted by categorical noise, offering an appealing alternative to autoregressive decoding for structured and symbolic generation. However, standard training targets a likelihood-based objective that primarily matches the data distribution and provides no native mechanism for enforcing hard constraints or optimizing non-differentiable properties at inference time. This work addresses this limitation and introduces Search-Augmented Masked Diffusion (SearchDiff), a training-free neurosymbolic inference framework that integrates informed search directly into the reverse denoising process. At each denoising step, the model predictions define a proposal set that is optimized under a user-specified property satisfaction, yielding a modified reverse transition that steers sampling toward probable and feasible solutions. Experiments in biological design and symbolic reasoning illustrate that SearchDiff substantially improves constraint satisfaction and property adherence, while consistently outperforming discrete diffusion and autoregressive baselines.