Read the paper
FLUNG 8B
on HuggingFace
Black Forest Labs trains an 8B language flow model from scratch on open data. It matches open discrete diffusion models and holds quality better when many tokens are decoded at once, but still trails autoregressive models.
Going deeper
We consider a position whose clean token is . By using for the unit embedding rows, we can write the clean state as and the noisy state at level as , with . Further, we suppose that (1) the rows behave like independent random directions in , (2) , and (3) we decode to the nearest vertex, . Then, to leading order in , decoding recovers the clean token () at every noise level below and fails at every level above it, where
Equivalently, decoding succeeds exactly when the log-SNR exceeds , a threshold that does not depend on .
Picture a word written in chalk on a board, then smudged a little more at each step until it is a grey blur. A model learns to run the smudging backwards. Ordinary language models write one word at a time; this kind of model sharpens a whole block of blurry words together, and can keep changing its mind until the end.
The authors found that if the chalk letters are allowed to grow huge, a smudge hardly hides them, so the model never learns to guess from context. They fixed the letter size, worked out how much smudge makes a word unreadable, and trained mostly around that point.
Scaled to a big model on public text, the board-sharpener matches other parallel writers at math, code and chat, and stays good when told to clear many words per stroke. It still writes less well than the best word-by-word models.
The abstract, word for word, with the four densest phrases unpacked.
We give a scalable recipe for training language flow models from scratch, geared toward the discrete nature of language and guided by an analysis of the noise level at which a token becomes decodable from its noisy embedding1. With this recipe, we train FLUNG 8B with variational flow matching on roughly 1T text tokens and on open-source data only. In a controlled comparison at 1B scale, with identical data, tokenizer and training budget2, the flow model keeps its quality under parallel decoding far better than discrete diffusion. Our 8B model is competitive with open-source discrete diffusion baselines3 in mathematical reasoning, code generation and instruction following, while preserving its quality under aggressive parallel decoding. Furthermore, it can be distilled to reach speed-ups of up to 13×4 compared to the full model. The aim of this work is to take language flow beyond the proof-of-concept stage and demonstrate that it is a viable option for general-purpose language modeling. Model weights are available at FLUNG 8B.
Two lines meet here: continuous diffusion for text, and making diffusion language models practical.
Read four parts, in this order.
Skip Section 2 and the data appendices unless reproducing.
If the gains are smaller than they look, start here.
Finally, our embedding-scale ablation in Section 4.3 does not isolate an intrinsic effect of the radius c from all time and SNR parameterization choices. While we shift the logit-normal body to match its log-SNR across scales and sample on each run’s training-time quantiles, the two uniform tails (tlo,thi) remain fixed in t. That said, the tailless learned schedule at c=sqrtde also trails our small-radius variants. Determining whether an independent (c,μ) schedule search recovers the same quality at c=sqrtde is left for future work.
As shown in Figure 5, the autoregressive model is clearly ahead of every diffusion model on all seven tasks. With one token per step, the VFM and MDM are on par on average (23.3 and 24.1). However, the picture changes under aggressive parallel decoding, the main motivation for diffusion language models. As the step budget shrinks, FLUNG loses far less quality than MDM while remaining well ahead of UDM. Specifically, at four tokens per step it leads on five of the seven tasks, and at eight tokens per step on all seven.
As can be seen in Table 8, at 1B scale the autoregressive model leads on every task except TruthfulQA, and our model trails masked diffusion on all of them. We attribute most of this gap to the likelihood estimate rather than to the model. Since each conditional is read at the first position of a block held at t=1, the model is asked to predict the next token from the clean context alone. Whereas an autoregressive model is trained on exactly this query at every position, our model sees it only at the first position of the block when the latter is close to pure noise. This, however, rarely happens with our noise schedule of Equation 11, which puts about 1% of the blocks above t=0.9. Masked diffusion is less affected, for two reasons. Its uniform masking rate puts 10% of the blocks above t=0.9, and a masked position is the same mask token at every rate.
Nothing on this page was recomputed. Every claim points to the paper so you can check it.
More latest news
Read all