# End-to-End Training for Unified Tokenization and Latent Denoising

*Shivam Duggal, Xingjian Bai, Zongze Wu, Richard Zhang, Eli Shechtman, Antonio Torralba, Phillip Isola, Bill Freeman*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/155881) · [OpenReview](https://openreview.net/forum?id=28rLEQtSjg) · [alphaXiv](https://www.alphaxiv.org/abs/2603.22283) · [Open on the map](../papers.html#p155881)

Category: [Diffusion & Image Generation](../pcat/5.md) › [Text-to-Image Diffusion Control](../pgroup/288.md) · Type: new method · Keywords: unified tokenization, latent diffusion, single-stage training, generative encoder, image generation, molecular generation

Areas: [Model Architectures & Sequence Modeling](../areas/architectures.md) › Vision and Generative Architectures › Discrete Image Tokenization; [Generative Models (Diffusion & Flows)](../areas/generative-models.md) › Pixel-Space Diffusion › Unified Multimodal Models

## Summary
UNITE introduces a unified autoencoder that jointly learns tokenization and latent diffusion in a single-stage training, enabling high-fidelity synthesis without separate tokenizer pre-training.

## Explained to a 5-year-old
The paper makes a new machine that can both cut pictures into tiny pieces and draw new pictures at the same time. Instead of training two separate machines, they train one machine to do both jobs. The machine learns a common language for the tiny pieces so that the two jobs help each other. It works well on pictures and on making new molecules without needing extra tricks. This makes creating high-quality images and molecules easier and faster.

## Explained to a 5-year-old, longer
The researchers wanted a simpler way to make pictures and molecules using a kind of AI called latent diffusion. Usually, you first need a special tool to turn pictures into a compact code, then another tool to create new pictures from that code. This two-step process can be complicated and may not make the best use of the code. They invented a single machine that can do both jobs at the same time. This machine has an encoder that reads pictures and also generates new pictures from random noise. By sharing the same parts of the machine, the two tasks learn from each other. The shared parts help the code become a common language that works for both reading and creating. The new method works well on regular pictures, reaching very low error rates on a standard test set. It also works well on making new molecules, showing it can help chemistry as well. No extra tricks like adversarial training or pre-trained encoders are needed. This makes the whole pipeline easier to build and faster to train. In short, the paper shows you can learn to tokenize and generate together from scratch.

## For a technical reader
The paper addresses the common two-stage pipeline for latent diffusion models, where a tokenizer must be trained before the diffusion model. They propose a unified autoencoder that shares weights between a generative encoder used for both tokenizing observed data and generating latent samples from noise. By jointly optimizing tokenization and generation in a single stage, the latent space becomes more consistent across both tasks. Experiments on ImageNet and molecular data show state-of-the-art FID scores without requiring adversarial losses or external pretrained encoders. This approach simplifies the training workflow and can reduce the computational overhead for high-fidelity synthesis tasks.

## Problem
Training state-of-the-art latent diffusion models currently requires a two-stage pipeline: a tokenizer must be trained first, then the diffusion model is trained in its frozen latent space. This sequential process adds complexity and limits joint optimization of tokenization and generation.

## Method
The approach uses a single Generative Encoder that serves as both an image tokenizer and a latent generator via weight sharing. Two forward passes through this encoder are employed: one to infer latents from observed images for tokenization, and another to infer latents from noise conditioned on text or class for generation. Joint optimization of both tasks shapes a common latent space without adversarial losses or pretrained encoders.

## Results
The approach reaches FID scores of 2.12 and 1.75 on ImageNet 256x256 for Base and Large models, respectively, and attains near state-of-the-art performance on both image and molecule generation without adversarial losses or pretrained encoders.

## Contributions
It proposes a unified single-stage training framework that jointly optimizes tokenization and latent diffusion, enabling the learning of a common latent language from scratch. The framework eliminates the need for separate tokenizer pre-training and pretrained encoders, achieving competitive results across image and molecular domains.

## Research questions this paper is counted under

- [How can we design latent spaces that simultaneously support high-quality reconstruction and effective diffusion-based generation?](../q/250.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/155881)
