CORTEXA
← Browse
arxivcs.LG2026-07-23

Context-weighted Discrete Flow Matching

Daniil Cherniavskii, Daniel Severo, Karen Ullrich

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 free PDFSource page

Related papers

arxivphysics.opticscs.LG2026-07-09

Joint Discrete-Continuous Flow Matching for Open-Vocabulary Inverse Design of Multilayer Optical Coatings

Zhiyi Li, Yuheng Jin, Yidan Huang, Nan Chen, Hongyan Fu, Yikun Bu

Amortized neural inverse design typically remains closed-world: component choices are fixed vocabulary tokens, coordinate grids are frozen at training time, and continuous variables are discretized into sequence tokens. Multilayer optical coatings are an industrially important in…

View free PDFSource page
arxivcs.ROcs.AIcs.LG2026-07-15

ConFlow: Constraints-Guided Learning with Flow Matching for Motion Generation

Nutan Chen, Jianxiang Feng, Marvin Alles, Botond Cseke

In recent years Flow Matching has become a prominent method for generative modeling robot motion generation. In its generic form Flow Matching is an ODE-based neural sampler that is trained by regressing empirical flow fields associated with motion samples as data. However, in ro…

View free PDFSource page
arxivcs.LG2026-07-13

Velocity Scheduled Flow Matching

Vitalii Bondar

Flow matching trains a neural network to regress the conditional velocity along a linear interpolant between noise and data, and the number of network evaluations~(NFE) sets the cost of sampling. The straight-line interpolant carries an implicit choice: the sample moves at consta…

View free PDFSource page
arxivcs.ROcs.LG2026-07-08

Flow-ERD: Agent-type Aware Flow Matching with Entropy-Regularized Distillation for Diverse Traffic Simulation

Seulbin Hwang, Kiyoung Om, Daejung Kim, Jinhan Lee

Realistic and diverse traffic simulation is essential to autonomous driving development. Yet prevailing benchmarks predominantly reward realism, and recent methods have optimized accordingly, leaving diversity underexplored. We introduce \textbf{Flow-ERD}, a multi-agent simulator…

View free PDFSource page
arxivcs.LGmath.PRphysics.geo-ph2026-06-30

Probabilistic Inversion with Flow Matching

Baldur Paulwitz, Stefan Buske

We demonstrate the application of Flow Matching, a technique originating from generative Artificial Intelligence, to probabilistic inversion in geophysical settings, such as seismic Full-Waveform inversion. We adapt the well-established mathematical theory of Flow Matching from g…

View free PDFSource page