Skip to content
aiqbench takeMachine Learning

aiqbench analysis

LoFlexMDM introduces learnable order dynamics to insertion-based masked diffusion models, enabling data-dependent generation schedules that reduce action space uncertainty for structured sequences like molecules. By generalizing discrete flow matching to variable-length sequences, the method achieves significant quality improvements over fixed-schedule baselines while maintaining tractable training. This approach represents a meaningful advancement in generative modeling for chemical and graph-based applications.
Source coveringarXiv

Insertion Based Sequence Generation with Learnable Order Dynamics

arXiv2 min read

arXiv:2602.18695v2 Announce Type: replace Abstract: Existing insertion-based masked diffusion models that generate sequences by interleaving token insertion with unmasking use fixed schedules that are not dependent on the data. For structured sequences like graphs and molecules, learning data-dependent generation orders can improve generation quality by reducing uncertainty over the action space. We propose LoFlexMDM, an insertion-based masked diffusion model with learnable order dynamics that learns data-dependent insertion and unmasking rates. We generalize the discrete flow matching framework to work with variable-length sequences, propose a tractable schedule parameterization and a training objective for joint training of the generator and the target order dynamics. On De Novo and fragment-constrained molecule generation, LoFlexMDM improves sample quality over FlexMDM by up to 17.5% and 6.7%, respectively. These results show that learning the target generation order can improve insertion-based diffusion models without giving up tractable training. We open source the code at https://github.com/dhruvdcoder/LoFlexMDM.

Abstract:Existing insertion-based masked diffusion models that generate sequences by interleaving token insertion with unmasking use fixed schedules that are not dependent on the data. For structured sequences like graphs and molecules, learning data-dependent generation orders can improve generation quality by reducing uncertainty over the action space. We propose LoFlexMDM, an insertion-based masked diffusion model with learnable order dynamics that learns data-dependent insertion and unmasking rates. We generalize the discrete flow matching framework to work with variable-length sequences, propose a tractable schedule parameterization and a training objective for joint training of the generator and the target order dynamics. On De Novo and fragment-constrained molecule generation, LoFlexMDM improves sample quality over FlexMDM by up to 17.5% and 6.7%, respectively. These results show that learning the target generation order can improve insertion-based diffusion models without giving up tractable training. We open source the code at this https URL.

Some updated results. Accepted at ICML 2026. Code and checkpoints available at this https URL

Machine Learning (cs.LG)

arXiv:2602.18695 [cs.LG]

(or arXiv:2602.18695v2 [cs.LG] for this version)

https://doi.org/10.48550/arXiv.2602.18695 Focus to learn more arXiv-issued DOI via DataCite

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Full text under the publisher's open licence · 252 words

Related coverage