NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Search-Augmented Masked Diffusion Models for Constrained Generation

Huu Binh Ta, Michael Cardei, Alvaro Velasquez, Ferdinando Fioretto

NeurIPS page · Open on the map

Category: Diffusion & Image Generation › Discrete Diffusion Constrained Generation · Type: new method · Keywords: constrained generation, masked diffusion, search augmentation, neurosymbolic inference, symbolic reasoning

Areas: Generative Models (Diffusion & Flows) › Flow Matching and Diffusion › Training-Free Generative Guidance

Summary

SearchDiff introduces a training-free neurosymbolic inference framework that integrates informed search into masked diffusion denoising to enforce hard constraints during generation, improving constraint satisfaction in tasks like biological design and symbolic reasoning.

Explained to a 5-year-old

We have a robot that draws things step by step, like making a picture or a sequence. It uses a special method that slowly removes mistakes while drawing. At each step, the robot looks at many possible choices and picks the ones that follow the rules. This helps make better pictures that obey the rules, like good molecules or correct puzzles. It works without needing to train the robot again.

Explained to a 5-year-old, longer

Imagine a robot that helps create things like drawings, words, or plans by adding and removing parts. It works like a game where it starts with a messy version and slowly cleans it up. The robot uses a special way to clean up that is called masked diffusion, which means it knows which parts to focus on. While cleaning, the robot also checks if the thing it is making follows certain rules, like only using certain colors or shapes. It looks at many possible ways the thing could be and picks the ones that satisfy those rules. This checking happens at every step, so the final result is both good and follows the rules. The robot does not need to be trained again for each new set of rules; it just uses the same cleaning process. This helps when we want to design molecules that work well for medicine or solve puzzles that need exact answers. It also works for making sentences that follow grammar rules or schedules that meet deadlines. By combining cleaning and rule-checking, the robot can make better results than just cleaning alone. The idea is simple: improve what you make while making sure it obeys the constraints you care about. This makes creating things easier and more reliable for many different tasks.

For a technical reader

The paper presents a way to improve diffusion models so they can generate sequences that meet strict constraints, like specific formats or rules. Instead of training a new model, the approach adds a search step during the denoising process, where the model proposes candidates and a solver picks the ones that satisfy the constraints. This integration allows the generation to be both high-quality and feasible without extra training overhead. The method is demonstrated on tasks such as designing molecules and solving symbolic puzzles, where it outperforms traditional diffusion and autoregressive baselines. Overall, it offers a practical, training-free solution for constrained generation that can be plugged into existing diffusion pipelines.

Problem

Discrete diffusion models generate sequences but lack a native mechanism to enforce hard constraints or optimize non-differentiable properties at inference time, limiting their use in applications where generated outputs must satisfy specific requirements.

Method

The approach integrates informed search into the reverse denoising process of masked diffusion models. At each denoising step, model predictions define a proposal set that is optimized under a user-specified property satisfaction, yielding a modified reverse transition that steers sampling toward feasible solutions. This training-free neurosymbolic inference framework operates without additional training, using search to enforce constraints during inference.

Results

The approach achieves higher constraint satisfaction and property adherence than discrete diffusion and autoregressive baselines on biological design and symbolic reasoning tasks.

Contributions

It introduces a training-free neurosymbolic inference framework that couples masked diffusion denoising with informed search to enforce hard constraints during generation, and demonstrates superior performance on constrained generation tasks.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction