Manuscript Offprint

arXiv:2610.01016

Scaling and Distilling Text Embeddings for Better Diffusibility

Zekai Zhang, Yunjie Tian, Yanjin He, Xiaoyan Zhang, Dongdi Zhao, Qing Qu, Di Fu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Diffusion language models (DLMs) offer a promising alternative to autoregressive (AR) language generation. Recent advances in continuous DLMs, which apply latent diffusion to continuous text embeddings, raise a practical question: which embedding makes the best latent space, i.e., the most diffusible? To answer this, we search through different embeddings and find that scaling the embedding model to stronger ones within the same family (T5 to T5Gemma-1 to T5Gemma-2) greatly improves generative performance. But the raw T5Gemma-2 embeddings are still not optimal. They are so discriminative that even the embeddings of plausible alternative words are separated, which makes the generation vulnerable to imperfect sampling. Consequently, continuous diffusion often fails to reach any of them and ends up at an invalid embedding instead. To address this, we distill T5Gemma-2 into a student encoder that learns the teacher's decoded probabilities as soft labels. Learning from such soft labels makes the student pull the alternative embeddings closer while maintaining the encoding-decoding mechanism. The distilled embeddings form a more connected and diffusible latent space, improving over the vanilla T5Gemma-2 embeddings. As a result, our medium-sized DLM achieves Gen. PPL 17.8 (against real-text PPL 15.4) at real-text entropy on OpenWebText, outperforming GPT-2-M on Gen. PPL.

Keywords: diffusion language models, text embeddings, latent diffusion, distillation

Date: September 2026

Correspondence: zzekai@umich.edu, {tianyunjie96, fu.burning}@gmail.com

Resources: Code | Project page

Figure

context: "... House Republicans, who are ___ about the bill"

T5Gemma-2

anxious

generated: invalid

worried

nervous

Distilled student

anxious

generated: valid

worried

nervous

Figure 1: Overview of our performance and mechanism. Left: the same DLM trained on our embeddings (distilled from T5Gemma-2) reaches real-text entropy with the best quality. Right: T5Gemma-2 maps plausible candidates apart in the embedding space, so a generated embedding often reaches none of those. Our distilled embedding pulls the candidates closer, forming a continuous region where an embedding at least decodes to one of them.

1 Introduction

Diffusion models (Ho et al., 2020) have achieved huge success in continuous modalities such as image (Black Forest Labs, 2025b) and video (ByteDance Seed, 2026). A natural question is whether their strong modeling transfers to language generation, and whether Diffusion Language Models (DLMs) can serve as a more parallelizable and efficient paradigm beyond autoregressive (AR) generation. There are two families of DLMs: the first is discrete DLMs (Austin et al., 2021; Nie et al., 2025), which apply a discretized diffusion process directly on tokens, and use likelihood training (Lou et al., 2023). They have drawn the most attention since they can be adapted from foundation models and scale with them (Ye et al., 2025; Team et al., 2026). The second is continuous DLMs (Li et al., 2022) which we study in this paper. They apply latent diffusion on text embeddings and decode generated embeddings back to tokens, and are trained with MSE loss. Interestingly, though introduced as early as discrete DLMs, continuous DLMs remain less studied until their recent revival (Hu et al., 2026; Guo et al., 2026), partly due to the incorporation of new techniques including self-conditioning (Chen et al., 2022), diffusion transformers (Peebles & Xie, 2023; Li & He, 2026), and the adoption of pretrained embeddings (Meshchaninov et al., 2026a).

A central question for continuous DLMs is which text embedding to use as the latent space. The same question is already a major topic in image diffusion (Yao et al., 2025; Black Forest Labs, 2025a), where the recent Representation Autoencoder (RAE) (Zheng et al., 2026) finds that replacing the VAE latents (Rombach et al., 2022) with pretrained image embeddings improves diffusibility. For text, earlier work finds that pretrained embeddings improve continuous DLMs over simple embeddings from lookup tables (Lovelace et al., 2023; Zhang et al., 2023). However, existing approaches either modify the embeddings and the diffusion model jointly (Lemercier et al., 2026; Li et al., 2026a) or rely on relatively older embedding models (Hu et al., 2026), making it difficult to isolate the contribution of the embedding space or fully realize its potential.

In this paper, we study the embedding space for continuous DLMs in isolation. We fix the diffusion side as the recent Embedded Language Flow (ELF) (Hu et al., 2026) framework for its minimalist design, and change only the embedding. We find two things. (i) Scaling the embeddings leads to a more diffusible latent space. By scaling, we mean moving to stronger embedding models of the same family, which are pretrained with more data and better recipes, and not only adding parameters. We find that along with the scaling of T5-small/base (Raffel et al., 2020) → T5Gemma-1 → T5Gemma-2 (Zhang et al., 2025b), diffusibility also increases, and replacing the default T5-small embedding in ELF with T5Gemma-2-270M reduces generative perplexity by about 40% at the same entropy. (ii) Scaled embeddings can be further enhanced via distillation. A student encoder trained to match the probabilities from the T5Gemma-2 decoder is more diffusible than the teacher. As a result, the same DLMs trained on the distilled embeddings improve over the teacher on perplexity and MAUVE and sample more stably, as illustrated in Fig. 1.

Distillation helps because it fixes a problem of the raw T5Gemma-2 embeddings, which is that they are hard to generate perfectly. When sampling is insufficient or imperfect, the trajectories end at invalid embeddings that deviate from the real ones and decode to an uncertain or even wrong word (Shabalin et al., 2026). We relate this to the strong representation learning of T5Gemma-2, which makes its embeddings information-dense and distinct, so even the words that could fill the same position are kept apart (Yu et al., 2020). That helps discriminative tasks but hurts generation, since a continuous trajectory has to settle on one of several separate candidates and can end at none of them. The soft labels in distillation mitigate such separation, since the student learns to predict the plausible candidates so the alternative embeddings are placed near each other, and the generated embedding lies in the region they form.

Our results also shed light on new understandings of language representation learning and generation. Although text embeddings are considered contextualized and continuous, they inherit discreteness from text and do not fill the entire embedding space, so continuous DLMs can still generate embeddings that do not represent any word. This, in turn, is the other side of continuous language generation. Though more flexible than predicting tokens, they also risk deviating and generating invalid embeddings. Whether continuous DLMs will become a fully workable route still needs to be tested on even larger and practical scales, and the scaling and distillation here provide a basis for that. In all, our contribution can be summarized as follows:

• We show that scaled embeddings make good latent spaces for continuous DLMs, providing a strong baseline and starting point for continuous DLMs with T5Gemma-2 embeddings.

• We study the diffusibility of text embeddings from the perspective of generating valid, decodable embeddings.

• We enhance T5Gemma-2's diffusibility by distilling its decoder probabilities, providing insights for taming and incorporating foundation models for continuous DLMs.

References (94)