Introduction: Escaping the Discrete Cage
Traditional autoregressive language models generate text token by token, picking one word at a time from a fixed vocabulary — a discrete, non-differentiable process. Image generation models, by contrast, wander through a continuous, differentiable space, like a painter freely mixing colors on a palette. ELF (Embedded Language Flows) asks: what if language generation worked the same way?
Background: Diffusion Models and Flow Matching
Diffusion models
Diffusion models define a forward process that gradually adds Gaussian noise to data until it becomes pure noise, then learn a reverse process that denoises step by step to recover clean samples — sculpting meaning out of a marble of noise.
Flow Matching
Flow Matching offers a more direct route: instead of curved denoising trajectories, it learns a straight-line path from noise to data by training a vector field v(x, t) that describes which direction to move at each point and time. This is faster (fewer sampling steps) and theoretically cleaner.
The Core Tension: Continuous vs. Discrete
Language is discrete for two reasons:
1. Semantic nature: language is a symbol system with no intermediate state between "cat" and "dog." 2. Computational efficiency: discrete tokens are efficient to store and index.
But diffusion and flow matching assume continuous Euclidean data. Existing diffusion language models (DLMs) compromise by running diffusion over token embeddings — yet those embeddings are pinned to grid points corresponding to vocabulary entries, like a painter restricted to the slots of a fixed palette.
ELF's Core Innovations
1. Continuous embedding space throughout: ELF evolves in a continuous vector space from pure noise through T-1 flow-matching steps. Only at the very last step does it map to discrete tokens — mixing colors freely, then converting to print colors only when the canvas demands it.
2. Flow Matching framework: ELF is trained on continuous-time flow matching, learning a vector field consistent with the conditional flow from noise x_0 to data x_1.
3. Shared-weight mapping network: the final discretization uses a network that shares weights with the main model, reducing parameters and keeping the continuous and discrete spaces semantically consistent.
Experimental Results
- Generation quality: ELF significantly outperforms existing discrete and continuous DLMs on perplexity, producing more fluent text.
- Sampling efficiency: ELF achieves better quality with fewer sampling steps — meaning lower inference latency and linearly reduced compute.
- CFG compatibility: Classifier-Free Guidance, a core technique from image diffusion, requires continuous conditional interpolation and is hard to apply in discrete token spaces. Since ELF operates continuously, CFG applies directly without modification.
- Hu, K., Qiu, L., & Lu, Y. (2026). ELF: Embedded Language Flows. arXiv preprint.
- Lipman, Y., et al. (2022). Flow Matching for Generative Modeling. ICLR.
- Austin, J., et al. (2021). Structured Denoising Diffusion Models in Discrete State-Spaces. NeurIPS.
- Ho, J., & Salimans, T. (2022). Classifier-Free Diffusion Guidance. NeurIPS Workshop.
Deeper Implications
The author argues that discrete tokens lead us to mistake the notation of language for its substance: human thought is a continuous flow of blurry, overlapping concepts. The entrenched Transformer → autoregressive → discrete token paradigm may be a historical accident rather than a mathematical necessity. ELF suggests a path back to essentials — working in a space closer to human cognition, falling back to discrete symbols only when necessary.