Search-Augmented Masked Diffusion Models for Constrained Generation
Preprint
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.Keywords
All Related Versions
This publication has 12 references indexed in Scilit:
- Uncovering translation roadblocks during the development of a synthetic tRNANucleic Acids Research, 2022
- Deep generative models for peptide designDigital Discovery, 2022
- NeuroLogic A*esque Decoding: Constrained Text Generation with Lookahead Heuristics2022
- FUDGE: Controlled Text Generation With Future Discriminators2021
- Fast Lexically Constrained Decoding with Dynamic Beam Allocation for Neural Machine Translation2018
- Lexically Constrained Decoding for Sequence Generation Using Grid Beam Search2017
- Structure and function of the T‐loop structural motif in noncoding RNAsWIREs RNA, 2013
- Tertiary structure of bacterial selenocysteine tRNANucleic Acids Research, 2013
- Anticodon and acceptor stem nucleotides in tRNAGln are major recognition elements for E. coli glutaminyl-tRNA synthetaseNature, 1991
- Structure, of transfer RNA molecules containing the long variable loopNucleic Acids Research, 1976