paper-with-me

Papers

Constrained Language Generation with Discrete Diffusion Models

2025-03-12 · Michael Cardei, Jacob K Christopher, Thomas Hartvigsen, Brian R. Bartoldson, Bhavya Kailkhura, Ferdinando Fioretto

Constraints are critical in text generation as LLM outputs are often unreliable when it comes to ensuring generated outputs adhere to user defined instruction or general safety guidelines. To address this gap, we present Constrained Discrete Diffusion (CDD), a novel method for enforcing constraints on natural language by integrating discrete diffusion models with differentiable optimization. Unlike conventional text generators, which often rely on post-hoc filtering or model retraining for controllable generation, we propose imposing constraints directly into the discrete diffusion sampling process. We illustrate how this technique can be applied to satisfy a variety of natural language constraints, including (i) toxicity mitigation by preventing harmful content from emerging, (ii) character and sequence level lexical constraints, and (iii) novel molecule sequence generation with specific property adherence. Experimental results show that our constraint-aware procedure achieves high fidelity in meeting these requirements while preserving fluency and semantic coherence, outperforming auto-regressive and existing discrete diffusion approaches.

📄 PDF Abstract BibTeX arXiv:2503.09790

Code (0)

등록된 구현이 없습니다.

Tasks

Text Generation

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…

Similar Papers 제목 키워드 기반

Interleaved Gibbs Diffusion for Constrained Generation

2025-02-19 · Gautham Govind Anil, Sachin Yadav, Dheeraj Nagaraj, Karthikeyan Shanmugam 외

We introduce Interleaved Gibbs Diffusion (IGD), a novel generative modeling framework for mixed continuous-discrete data, focusing on constrained generation problems. Prior works on discrete and continuous-discrete diffu…

Denoising

Constrained Code Generation with Discrete Diffusion

2026-05-16 · Lize Shao, Michael Cardei, Zichen Xie, Ferdinando Fioretto 외 arxiv

Discrete diffusion models are a powerful, emerging paradigm for code generation. They construct programs through iterative refinement of partially corrupted token sequences and enable parallel token refinement. Important…

Code Generation

Mirror Diffusion Models

2023-08-11 · Jaesung Tae

Diffusion models have successfully been applied to generative tasks in various continuous domains. However, applying diffusion to discrete categorical data remains a non-trivial task. Moreover, generation in continuous d…

Text Generation

Dependency-Aware Discrete Diffusion for Scene Graph Generation

2026-05-09 · Rajalaxmi Rajagopalan, Romit Roy Choudhury arxiv

Scene graphs (SGs) represent objects and their relationships as structured graphs, enabling applications in image generation, robotics, and 3D understanding. Recent work suggests that conditioning image generation on sce…

Scene Graph GenerationImage Generation

Discrete Diffusion Models with MLLMs for Unified Medical Multimodal Generation

2025-10-07 · Jiawei Mao, Yuhan Wang, Lifeng Chen, Can Zhao 외 arxiv

Recent advances in generative medical models are constrained by modality-specific scenarios that hinder the integration of complementary evidence from imaging, pathology, and clinical notes. This fragmentation limits the…

multimodal generation