@meihuadang: Introducing Mosaic , a constrained decoding framework for diffusion language models. - significantly improves DLMs' per…

X AI KOLs Timeline Tools

Summary

Mosaic is a constrained decoding framework for diffusion language models that significantly improves performance on function calling benchmarks like JevBench and is compatible with vLLM, SGLang and Hugging Face, supporting models such as DiffusionGemma and LLaDA2.

Introducing Mosaic 🧩, a constrained decoding framework for diffusion language models. - significantly improves DLMs' performance on general function calling and JevBench. - compatible with vLLM, SGLang and HF, supporting DiffusionGemma, LLaDA2, and many others. 1/n 🧵 https://t.co/TXmUs5He73
Original Article
View Cached Full Text

Cached at: 10/03/26, 12:59 PM

Introducing Mosaic 🧩, a constrained decoding framework for diffusion language models.

  • significantly improves DLMs’ performance on general function calling and JevBench.
  • compatible with vLLM, SGLang and HF, supporting DiffusionGemma, LLaDA2, and many others.

1/n 🧵

2/n The code is here, with a simple API for vLLM and SGLang. Give it a try!

3/n Autoregressive models enforce constraints by masking out invalid next tokens. But DLMs can generate multiple tokens at once, in arbitrary order. How do we ensure those tokens satisfy the constraints together?

4/n Our key idea: represent finite-automaton constraints as a distribution and multiply it by the DLM’s per-step distribution. This product remains tractable, allowing us to jointly sample tokens that satisfy the constraints.

5/n With corresponding JSON schemas, Mosaic significantly improves function calling accuracy on BFCL.

6/n On JevBench, Mosaic improves DiffusionGemma’s accuracy by constraining its final answer to a JSON object containing a probability for each label: {“probabilities“: {“

, …}}.

7/n Huge thanks to my advisor @StefanoErmon for his guidance and support! 🙏 Paper is here, accepted at NeurIPS 2026.

Similar Articles

Multi-Block Diffusion Language Models

Hugging Face Daily Papers

This paper proposes Multi-Block Diffusion Language Models (MBD-LMs), extending single-block diffusion to concurrent multi-block decoding with improved training strategies like Multi-block Teacher Forcing and an optimized Block Buffer decoding algorithm. Experiments show increased tokens per forward pass and improved accuracy on benchmarks.

@volokuleshov: New blog post: How to Build a Diffusion Language Model. Diffusion LLMs went from open problem to reality in 2 years (Me…

X AI KOLs Timeline

A comprehensive blog post by Volodymyr Kuleshov's Cornell group explains how to build diffusion language models, covering core techniques like masked diffusion, iterative refinement, variable-length generation, controllable generation, fast samplers, and RL post-training, using open-source models such as Mercury, Gemma Diffusion, and Nemotron Diffusion as examples.

ALoDLM: Adaptively Looped Diffusion Language Models

Hugging Face Daily Papers

ALoDLM introduces token-adaptive latent recurrence for diffusion language models, allocating extra computation to difficult tokens and using a conditional negative ELBO to jointly learn prediction and compute allocation, outperforming other DLMs and AR baselines at 1.7B and 8B scales across eleven benchmarks.