模型架构
Latent diffusion
Run diffusion in an autoencoder’s lower-dimensional latent space, then decode the generated representation back to pixels or another signal.
思维模型
Denoise a compact learned sketch instead of every raw pixel.
数据流
- Training media
- Frozen or jointly trained autoencoder latent
- Conditional latent denoiser
- Sampled clean latent
- Decoder → media
训练方式
An autoencoder first learns a perceptual compression. The diffusion model then learns the denoising objective over those latents, often conditioned through cross-attention.
推理运行方式
Sample in the smaller latent tensor over several steps and decode once. Image-to-image and inpainting can begin from encoded and selectively noised source content.
优势
- Lower denoising cost than raw high-resolution pixels
- Modular text conditioning and editing
- Reusable autoencoder and generator components
权衡
- The autoencoder creates a reconstruction ceiling
- Fine text or high-frequency detail can be lost in compression
- Two-stage failures are harder to attribute
适用场景
- High-resolution media generation must fit practical compute
- Editing and conditional control are required
- Codec reconstruction is validated on the target domain
应避免或质疑的场景
- The autoencoder drops task-critical details
- End-to-end simplicity matters more than generation cost
- Latent-space shortcuts could hide safety-relevant content
已发表的示例系列
- • Latent Diffusion Models
- • Stable Diffusion research lineage
常见组合
Autoencoder / VAEU-Net denoiserDiffusion TransformerText encoder