Skip to content

Context-weighted Discrete Flow Matching

Jul 2026 · arXiv.org · Vol abs/2607.21427 · 0 citations · 26 references
Computer Science

TL;DR

This work empirically demonstrates that the uncertainty over the value of each token is closely related to the density of available context in its neighborhood, and proposes a simple modification to the underlying continuous-time Markov chain (CTMC) that incorporates local context information.

Abstract

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.

View source

Similar papers

Jul 2026

Latent-Kernel Discrete Flow Maps for Few-Step Generation

Latent-Kernel Discrete Flow Maps (LKF), a from-scratch flow-map kernel that is a mixture of M factorized components tied by a single shared latent that learns strongly heterogeneous components and improves generative perplexity by 2.1x to 3.3x over the likelihood baselines without losing diversity.

Mansoor Ahmed, Yue-Tsz Fan, Hemanth Venkateswara et al. · 0 citations
#natural language process... Preprint Aug 2026

Simplex Relaxation for Discrete Diffusion

Simplax is introduced, an exact Dirichlet--categorical augmentation that couples each corrupted categorical state with an auxiliary simplex-valued variable while preserving the original uniform diffusion process as its categorical marginal.

Jinya Sakurai, Patrick Pynadath, Satoshi Hayakawa et al. · 1 citation
Preprint Aug 2026

XYZFlow:Scaling Multi dimensional Shortcut Flows for Efficient Generative Modeling

High-fidelity image generation faces a trade-off between speed and quality. Diffusion models produce strong visuals but require costly iterative sampling. Existing efficient methods mainly distill pretrained models into few-step samplers, a challenging process that depends heavily on teacher-model quality. In this pape...

Jin-Xiu Liu, Xuan Liu, K. Mei et al. · 0 citations
Preprint Aug 2026

ConvergeFlow: Language Flow with Provable Convergence to Token Embeddings

An embedding-space flow-based LM, which constrains the data predictor to the convex hull of token embeddings and trains it solely with the mean squared error objective induced by flow matching, enabling direct token prediction without a CE-supervised decoder.

Na Li, Yuchen Jiao, Chang-Xiao Cai et al. · 2 citations
Jul 2026

ElasticTTT: Prior-Preserving Test-Time Tuning for Video Editing

This paper proposes ElasticTTT, a novel framework that preserves the prior generative distribution and rescues generative elasticity in standard TTT, achieving state-of-the-art performance on one-shot video editing.

Yueyi Liu, Chi Zhang, Sen Cui et al. · 1 citation
Book Open access Aug 2026

Low-Rank Prior-Induced Consistency Flow Matching for Efficient Traffic Imputation

Low-Rank Prior-Induced Consistency Flow Matching (LOFT) is proposed for efficient and effective distribution modeling under highly sparse data, and introduces an uncertainty-aware rectification mechanism to enable efficient inference by linearizing generative trajectories.

Xiaowei Mao, Tingrui Wu, Yawen Yang et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.