Variational Learning for Insertion-based Generation
On the map: Diffusion models → Discrete and text diffusion
Abstract (arXiv)
Non-monotonic sequence generation methods, such as masked diffusion models, provide a flexible alternative to left-to-right autoregressive modeling by allowing tokens to be generated in non-fixed and prescribed orders. Despite their practical advantages, most existing non-monotonic models are order-agnostic and rely on a fixed-length grid, limiting their ability to support variable-length generation and adaptive insertion order. In this work, we introduce a probabilistic framework for learning insertion order in variable-length insertion models. We formalize a bijective correspondence between insertion trajectories and permutations, which enables an exact reparameterization of the data likelihood as a sum over permutations. Building on this result, we propose the Insertion Process (IP), a stochastic generative model that jointly learns where to insert, what to insert, and when to terminate, trained via permutation-based variational inference. Unlike prior fixed-canvas approaches, IP natively supports variable-length generation and learns data-driven preferences over insertion orders. Experiments on goal-conditioned planning and molecular string generation demonstrate that learning insertion order improves both modeling quality and generalization in domains without a canonical left-to-right structure.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in Discrete and text diffusion, one of 14 directions in Diffusion models. Builds on 24 of its 31 references that are in the map. First posted on arXiv 1 Jun 2026.
Builds on
24 of 31 references.
Closest ancestors · 5
Same direction, newest first
- 2026DreamOn: Diffusion Language Models For Code Infilling Beyond Fixed-size Canvas1 Feb
- 2024Simple and Effective Masked Diffusion Language Models11 Jun
- 2024Simplified and Generalized Masked Diffusion for Discrete Data6 Jun
- 2024Your Absorbing Discrete Diffusion Secretly Models the Conditional Distributions of Clean Data6 Jun
- 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distribution25 Oct
Other references · 19
- 2017Attention Is All You Needcited by 59,932
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2021Structured Denoising Diffusion Models in Discrete State-Spacescited by 1,665
- 2022A Continuous Time Framework for Discrete Denoising Modelscited by 437
- 2024Discrete Flow Matchingcited by 301
- 2018GuacaMol: Benchmarking Models for De Novo Molecular Designcited by 294
- 2019Stochastic Beams and Where to Find Them: The Gumbel-Top-k Trick for Sampling Sequences Without Replacementcited by 205
- 2018Fr'echet ChemNet Distance: A metric for generative models for molecules in drug discoverycited by 191
- 2019Insertion Transformer: Flexible Sequence Generation via Insertion Operationscited by 123
- 2024DeFoG: Discrete Flow Matching for Graph Generationcited by 76
- 2013A Deep and Tractable Density Estimatorcited by 67
7 more
- 2019Insertion-based Decoding with automatically Inferred Generation Ordercited by 43
- 2020Blank Language Modelscited by 43
- 2024Cometh: A continuous-time discrete-state graph diffusion modelcited by 29
- 2025Learning-Order Autoregressive Models with Application to Molecular Graph Generationcited by 29
- 2019KERMIT: Generative Insertion-Based Modeling for Sequencescited by 21
- 2021Discovering Non-monotonic Autoregressive Orderings with Variational Inferencecited by 15
- 2025Insertion Language Models: Sequence Generation with Arbitrary-Position Insertionscited by 11
Built on by
Citing papers per year: 2026: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Insertion Based Sequence Generation with Learnable Order Dynamics
- 2026A Continuous-Time Markov Chain Framework for Insertion Language Models
- 2025Unifying Autoregressive and Diffusion-Based Sequence Generation
- 2026Learning Generation Orders for Masked Discrete Diffusion Models via Variational Inference
- 2025Any-Order Flexible Length Masked Diffusion
- 2024Unlocking Guidance for Discrete State-Space Diffusion and Flow Models
- 2025Controlled Generation with Equivariant Variational Flow Matching
- 2025Train for the Worst, Plan for the Best: Understanding Token Ordering in Masked Diffusions