atlas

Research map / Large language models / Language, safety and interpretability

DINGO: Constrained Inference for Diffusion LLMs

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: Parallel and early-exit decoding · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DINGO, a dynamic-programming constrained decoder for diffusion LLMs that enforces user regular expressions while maximizing block sequence probability under the model's distribution.

Problem

Diffusion LLMs unmask tokens in parallel, so existing autoregressive constrained decoding cannot guarantee regex/schema-valid outputs or preserve the true output distribution.

Approach

Build a token-level DFA with a mask-aware transition function (masked positions map to sets of states, NFA-like), then run a dynamic program over block positions that tracks the maximum-probability path to each DFA state and selects the most probable string ending in a live state.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use DINGO instead of Best of Greedy + UnconstrainedLLaDA-8B-Base · GSM-Symbolicaccuracy: 30 -> 31Helped
Use DINGO instead of Best of Greedy + UnconstrainedLLaDA-8B-Instruct · GSM-Symbolicaccuracy: 27 -> 32Helped
Use DINGO instead of Best of Greedy + UnconstrainedDream-v0-Base-7B · GSM-Symbolicaccuracy: 21 -> 23Helped
Use DINGO instead of Best of Greedy + UnconstrainedDream-v0-Instruct-7B · GSM-Symbolicaccuracy: 34 -> 36Helped
Use DINGO instead of Best of Greedy + UnconstrainedLLaDA-8B-Base · JSON-Mode-Evalaccuracy: 88 -> 100Helped
Use DINGO instead of Best of Greedy + UnconstrainedLLaDA-8B-Instruct · JSON-Mode-Evalaccuracy: 99 -> 100Helped
Use DINGO instead of Best of Greedy + UnconstrainedDream-v0-Base-7B · JSON-Mode-Evalaccuracy: 32 -> 100Helped
Use DINGO instead of Best of Greedy + UnconstrainedDream-v0-Instruct-7B · JSON-Mode-Evalaccuracy: 91 -> 100Helped
Use DINGO instead of Best of Greedy + Unconstrainedall evaluated models · GSM-Symbolicparse rate: 75 -> 100; 98 -> 100; 41 -> 100; 93 -> 100Helped
Use DINGO instead of Best of Greedy + Unconstrainedall evaluated models · JSON-Mode-Evalparse rate: 90 -> 100; 99 -> 100; 35 -> 100; 93 -> 100Helped
Vary the number of diffusion blocks from 1 to 2 to 8 (ablation)DINGO with LLaDA-8B-Instruct · GSM-Symbolicaccuracy: 29; 32; 32Mixed

Surprising findings

Limitations

Experimental setup

Datasets: GSM-Symbolic JSON-Mode-Eval

Benchmarks: GSM-Symbolic JSON-Mode-Eval

Metrics: accuracy parse rate time per completion

Baselines: Unconstrained Greedy Constrained Best of Greedy + Unconstrained

Builds on: LLaDA Dream-7B CRANE greedy constrained decoding

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy