Context-weighted Discrete Flow Matching
On the map: Diffusion models → Flow matching, time series and science
Abstract (arXiv)
Discrete flow matching provides a flexible framework for generative modeling on discrete structures. However, the standard factorized training objective exposes the model to targets of varying difficulty, mixing well-conditioned, predictable tokens with ambiguous, high-entropy ones. We empirically demonstrate that the uncertainty over the value of each token is closely related to the density of available context in its neighborhood. Motivated by this observation, we propose a simple modification to the underlying continuous-time Markov chain (CTMC) that incorporates local context information. Our context-weighted sampler improves generation quality with negligible computational overhead, while our scaled cross-entropy loss function reweights the training signal from different tokens and reduces generative perplexity by up to 63% on OpenWebText. Moreover, our approach matches a strong semi-autoregressive block diffusion baseline in quality while retaining the ability to perform generation in any order. These results highlight the role of local context as an important factor in discrete generative modeling and show that simple context-aware modifications can significantly improve both sampling and training efficiency.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Flow matching, time series and science, one of 14 directions in Diffusion models. Builds on 22 of its 26 references that are in the map. First posted on arXiv 23 Jul 2026.
Builds on
22 of 26 references.
Closest ancestors · 4
Same direction, newest first
- 2025WyckoffDiff -- A Generative Diffusion Model for Crystal Symmetry10 Feb
- 2024Flow Matching with General Discrete Paths: A Kinetic-Optimal Perspective4 Dec
- 2024Discrete Flow Matching22 Jul
- 2022DiGress: Discrete Denoising diffusion for graph generation29 Sep
Other references · 18
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2025Large Language Diffusion Modelscited by 912
- 2024Simple and Effective Masked Diffusion Language Modelscited by 848
- 2021Vector Quantized Diffusion Model for Text-to-Image Synthesiscited by 774
- 2023Discrete Diffusion Modeling by Estimating the Ratios of the Data Distributioncited by 745
- 2021MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontierscited by 470
- 2022A Continuous Time Framework for Discrete Denoising Modelscited by 451
- 2025Block Diffusion: Interpolating Between Autoregressive and Diffusion Language Modelscited by 409
- 2025LLaDA 1.5: Variance-Reduced Preference Optimization for Large Language Diffusion Modelscited by 285
- 2025Train for the Worst, Plan for the Best: Understanding Token Ordering in Masked Diffusionscited by 214
- 2025Seed Diffusion: A Large-Scale Diffusion Language Model with High-Speed Inferencecited by 178
6 more
- 2023A Reparameterized Discrete Diffusion Model for Text Generationcited by 152
- 2025Accelerated Sampling from Masked Diffusion Models via Entropy Bounded Unmaskingcited by 131
- 2025Halton Scheduler For Masked Generative Image Transformercited by 32
- 2025Neighboring Autoregressive Modeling for Efficient Visual Generationcited by 29
- 2025Set Block Decoding is a Language Model Inference Acceleratorcited by 23
- 2025Autoregressive Image Generation with Randomized Parallel Decodingcited by 20
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025A Theoretical Analysis of Discrete Flow Matching Generative Models
- 2025α-Flow: A Unified Framework for Continuous-State Discrete Flow Matching Models
- 2024Exploring Diffusion and Flow Matching Under Generator Matching
- 2024Flow map matching with stochastic interpolants: A mathematical framework for consistency models
- 2024Generative Flows on Discrete State-Spaces: Enabling Multimodal Flows with Applications to Protein Co-Design
- 2026Discrete Flow Matching: Convergence Guarantees Under Minimal Assumptions
- 2026A Time-Reparameterized Cumulative Intensity Extrapolation Sampler for Discrete Flow Matching
- 2026A Unified Measure-Theoretic View of Diffusion, Score-Based, and Flow Matching Generative Models