NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ELF: Embedded Language Flows

Keya Hu, Linlu Qiu, Yiyang Lu, Hanhong Zhao, Tianhong Li, Yoon Kim, Jacob Andreas, Kaiming HearXiv 2026

TL;DR

Embedded Language Flows (ELF) revives continuous diffusion language models by keeping the generation trajectory entirely within a continuous embedding space until the final step. By avoiding per-step discretization and separate decoders, ELF outperforms leading discrete and continuous diffusion models in generation quality while using 10× fewer training tokens.

What Problem Does This Paper Address?

Diffusion and flow-matching models are the gold standard for generating continuous data like images and videos. However, applying them to language is notoriously difficult because text is inherently discrete.

To bridge this gap, recent research has split into two camps: discrete diffusion language models (DLMs) that operate directly on token spaces, and continuous DLMs that map tokens to embeddings. Lately, discrete DLMs have dominated the field. Prior continuous DLMs struggled because of clunky design choices—either forcing the model to project back to discrete tokens at every single denoising step (which disrupts the continuous flow dynamics) or relying on complex, separately trained decoders to recover text at the end.

The authors of ELF challenge this status quo, asking whether a minimalist continuous DLM architecture can eliminate these inefficiencies and close the performance gap.

Methods

The authors introduce Embedded Language Flows (ELF), a elegant framework based on continuous-time Flow Matching.

Figure 2: Conceptual illustration of ELF. Orange points denote data represented in continuous embedding space, and purple lines show denoising trajectories from Gaussian noise to clean embed- dings. Discretization is applied only at the final time step (t = 1) using a shared-weight network.

Key methodological innovations include:

  • End-to-End Continuous Trajectory: ELF maps text tokens into a continuous embedding space (using a frozen T5 encoder) and performs the entire denoising process there. Discretization happens only at the very final time step ($t=1$).
  • Shared-Weight Architecture: Instead of using an independent, heavy decoder network to turn embeddings back into words, ELF uses a single network. It handles denoising for all steps $t < 1$, and naturally transitions into a "decoding mode" at $t = 1$ to project the final embeddings back to discrete tokens using an unembedding layer.
  • $x$-Prediction Parameterization: Standard flow matching typically predicts the velocity field ($v$). ELF instead predicts the clean embedding ($x$). This parameterization is highly stable in high-dimensional spaces and aligns perfectly with the final token-prediction objective.
  • In-Context Conditioning & CFG: Rather than using standard adaptive layer normalization (adaLN-Zero) to inject time and guidance signals, ELF prepends specialized control tokens directly to the input sequence. This allows the model to leverage Classifier-Free Guidance (CFG) via self-conditioning with minimal parameter overhead.
Figure 3: During training, discrete tokens are encoded into clean embeddings x and corrupted to zt, which ELF uses to predict ˆx. The model is trained with either the denoising loss LMSE or the token-wise cross-entropy loss LCE. During inference, ELF starts from Gaussian noise z0 and iteratively denoises embeddings from zt to zt+1. Only at the final step does ELF switch to decoding mode and project the final embeddings back to discrete tokens through an unembedding layer.

Datasets

ELF was trained and evaluated across three major benchmarks:

  • OpenWebText (OWT): Used for unconditional generation pre-training, encompassing roughly 9B tokens.
  • WMT14 German-to-English (De-En): Used to evaluate conditional generation performance on machine translation.
  • XSum: A standard dataset used to evaluate conditional performance on extreme text summarization.

Key Insights and Ideas

  • Delayed Discretization is Key: Keeping the denoising path completely unrestricted by vocabulary constraints until the final step gives the flow dynamics maximal flexibility. Continuous DLMs do not need heavy, per-step token supervision to learn language structures.
  • Data Prediction Beats Velocity Prediction: In high-dimensional spaces (like 768-dimensional text embeddings), predicting the final clean data point ($x$) is significantly more stable and effective than predicting velocity ($v$) or noise ($\epsilon$).
  • Stochasticity Prevents Error Accumulation: While deterministic ODE solvers work well for many steps, introducing a small amount of noise during inference (SDE-like sampling) dramatically improves generation quality when sampling with very few steps (e.g., 8 to 32 steps).

Key Results

  • Superior Generation with Fewer Steps: On OpenWebText, ELF achieved a generative perplexity of 24 using only 32 sampling steps, vastly outperforming both discrete baselines (MDLM, Duo) and continuous baselines (FLM, LangFlow), even when those baselines utilized distillation techniques.
  • Extreme Data Efficiency: ELF is remarkably sample-efficient. It achieved state-of-the-art performance using only 45B training tokens—a 10× reduction compared to the 500B+ tokens required by prior leading DLMs.
  • Conditional Generation Excellence: On downstream tasks, ELF set new benchmarks for diffusion models, scoring 26.4 BLEU on WMT14 translation and 36.0 ROUGE-1 on XSum summarization, outperforming standard autoregressive baselines of a similar parameter scale.
ELF Generative Perplexity vs. Sampling Steps

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  • Few-Step Degradation: Without applying progressive distillation, ELF's generation quality degrades significantly if pushed below 8 sampling steps. One-step generation remains a difficult frontier.
  • Likelihood Evaluation: Because it is a flow-based model operating in an open continuous space, calculating exact token-level likelihoods is computationally challenging and requires specialized training.

For future work, the authors suggest scaling ELF to larger parameter sizes and exploring how its continuous embedding space can be naturally extended to multimodal generation tasks, such as joint text-and-image modeling.

Summary updated

BibTeX
@misc{hu2026elf,
  author = {Keya Hu and Linlu Qiu and Yiyang Lu and Hanhong Zhao and Tianhong Li and Yoon Kim and Jacob Andreas and Kaiming He},
  title = {{ELF: Embedded Language Flows}},
  year = {2026},
  eprint = {2605.10938},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.10938},
}
Figure