arXiv:2507.09103stat.MLcs.LG2025-07被引 1

CoVAE让VAE一步生成高质量图像,无需额外训练先验模型。

CoVAE: Consistency Training of Variational Autoencoders

  • 用一致性训练思想改造VAE,编码器逐步加噪学习多阶段隐表示。
  • 单步生成即可达到高保真度,性能远超传统VAE和同类单阶段方法。
  • 适合追求高效生成的场景,尤其适合无须复杂采样的部署应用。

当前最先进的生成方法通常采用两阶段训练:先用自编码器(如VAE)进行降维,再在学习到的潜在空间上训练生成模型。该方法虽有效,但带来计算开销大和采样时间长的问题。本文提出一致性训练的变分自编码器(CoVAE),一种新型单阶段生成自编码框架,借鉴一致性模型技术训练VAE结构。CoVAE的编码器学习一系列逐渐增加噪声水平的潜在表示,类似扩散模型与流匹配模型的前向过程。该序列由随时间变化的β参数调节KL损失权重。解码器通过带变分正则化的一致性损失进行训练,在最早潜伏时间点退化为标准VAE损失。实验表明,CoVAE可在一步或少数几步内生成高质量样本,且无需学习先验分布,显著优于等效的VAE及其他单阶段方法。本方法统一了自编码与扩散式生成建模,为高性能、一步生成的自编码提供了可行路径。代码已公开于 https://github.com/gisilvs/covae。

原文摘要 · Abstract (English)

Current state-of-the-art generative approaches frequently rely on a two-stage training procedure, where an autoencoder (often a VAE) first performs dimensionality reduction, followed by training a generative model on the learned latent space. While effective, this introduces computational overhead and increased sampling times. We challenge this paradigm by proposing Consistency Training of Variational AutoEncoders (CoVAE), a novel single-stage generative autoencoding framework that adopts techniques from consistency models to train a VAE architecture. The CoVAE encoder learns a progressive series of latent representations with increasing encoding noise levels, mirroring the forward processes of diffusion and flow matching models. This sequence of representations is regulated by a time dependent $β$ parameter that scales the KL loss. The decoder is trained using a consistency loss with variational regularization, which reduces to a conventional VAE loss at the earliest latent time. We show that CoVAE can generate high-quality samples in one or few steps without the use of a learned prior, significantly outperforming equivalent VAEs and other single-stage VAEs methods. Our approach provides a unified framework for autoencoding and diffusion-style generative modeling and provides a viable route for one-step generative high-performance autoencoding. Our code is publicly available at https://github.com/gisilvs/covae.

生成模型变分自编码器一致性训练单步生成

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。