← Latest papers
💬 NLP

TextLDM: Language Modeling with Continuous Latent Diffusion

The paper introduces TextLDM, a language modeling framework that adapts the visual Diffusion Transformer (DiT) architecture to text generation by mapping discrete tokens to continuous latents via a VAE enhanced with Representation Alignment (REPA), achieving performance comparable to GPT-2 and advancing the goal of unified multimodal diffusion models.

Original authors: Jiaxiu Jiang, Jingjing Ren, Wenbo Li, Bo Wang, Haoze Sun, Yijun Yang, Jianhui Liu, Yanbing Zhang, Shenghe Zheng, Yuan Zhang, Haoyang Huang, Nan Duan, Wangmeng Zuo

Published 2026-05-11
📖 4 min read☕ Coffee break read

Original authors: Jiaxiu Jiang, Jingjing Ren, Wenbo Li, Bo Wang, Haoze Sun, Yijun Yang, Jianhui Liu, Yanbing Zhang, Shenghe Zheng, Yuan Zhang, Haoyang Huang, Nan Duan, Wangmeng Zuo

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a robot how to write a story. For a long time, the standard way to do this has been like a typewriter: the robot types one letter, then the next, then the next, in a strict line. This is called "Autoregressive" (AR) modeling. It works well, but it's slow because it can't write the whole sentence at once; it has to build it brick by brick.

On the other hand, when teaching robots to draw pictures, scientists recently discovered a better way. Instead of drawing line by line, they start with a canvas full of static noise (like TV snow) and slowly "denoise" it until a clear image appears. This is called Diffusion.

This paper, TextLDM, asks a simple question: Can we teach the robot to write stories using the same "denoising" method we use for drawing pictures?

Here is how they did it, explained through analogies:

1. The Problem: Words are Discrete, Noise is Continuous

The main hurdle is that words are like Lego bricks. You can't have half a brick; it's either there or it isn't. But the "denoising" method for pictures works with smooth, continuous colors (like mixing paint).

If you try to turn Lego bricks directly into smooth paint, the result is usually a blurry mess. Previous attempts to do this for text failed because the "smooth versions" of words they created were too messy for the robot to understand how to turn them back into good sentences.

2. The Solution: The "Translator" (TextVAE)

The authors built a special Translator (called a TextVAE).

  • The Job: It takes a sentence made of Lego bricks (discrete words) and translates it into a smooth, continuous liquid (latent vectors).
  • The Trick: They found that just translating the words wasn't enough. The liquid needed to be "smart." So, they added a Mentor (a frozen, pre-trained language model called Qwen3).
  • The Alignment (REPA): Imagine the Translator is a student and the Mentor is a master teacher. The student tries to translate the words, but the teacher constantly checks: "Is this smooth liquid representation capturing the true meaning of the word, just like I would?" This process, called Representation Alignment (REPA), forces the Translator to create a "liquid language" that is perfectly structured for the denoising process.

3. The Generator: The "Denoising Sculptor" (TextDiT)

Once the Translator is ready, the actual writing happens.

  • Instead of typing word-by-word, the robot starts with a bucket of random noise (like static on a TV).
  • It uses a Sculptor (a Diffusion Transformer, or DiT) to slowly chip away the noise, guided by the "liquid language" the Translator made.
  • The Magic: Because it's working in this smooth, continuous space, the robot can generate the entire story at once, rather than one word at a time.

4. Why This Matters (The Results)

The paper tested this new method on four different writing challenges (from simple children's stories to complex encyclopedia entries).

  • Speed: Because it generates the whole story in parallel (like painting a whole canvas at once) rather than sequentially (like typing), it can be much more efficient for long texts.
  • Quality: The new method (TextLDM) beat all previous "diffusion" text models. In fact, it performed just as well as the best "typewriter" models (GPT-2) of similar size.
  • The Key Insight: The paper proves that the exact "recipe" used to make amazing AI images (Smooth Translation + Smart Mentor + Denoising Sculptor) works perfectly for text too, provided you fix the "Translator" with the right alignment.

Summary

Think of it this way: Before, writing with AI was like molding clay one tiny piece at a time. This paper shows that if you first turn the clay into a perfectly smooth, intelligent liquid, you can pour the whole shape at once and get a result that is just as good, but potentially faster and more flexible. They didn't invent a new clay; they just found a better way to smooth it out before shaping it.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →