arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.08283cs.LGstat.ML
收藏

复杂性至关重要:重新思考生成建模的隐空间

Complexity Matters: Rethinking the Latent Space for Generative Modeling

National University of Singapore(新加坡国立大学);Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))

Tianyang Hu, Fei Chen, Haonan Wang, Jiawei Li, Wenjia Wang, Jiacheng Sun, Zhenguo Li

AI总结:

本文从模型复杂性视角重新思考生成建模的隐空间,提出隐-数据分布距离及解耦自编码器(DAE)两阶段训练策略,在 VQGAN 和 Diffusion Transformer 等模型上以更低模型复杂性显著提升生成质量。

摘要:

在生成建模中,众多成功方法利用低维隐空间,例如 Stable Diffusion 对由编码器诱导的隐空间进行建模,并通过配对解码器生成图像。尽管隐空间的选择在经验上至关重要,但确定最优选择及其识别过程仍不明确。在本研究中,我们旨在从模型复杂性的视角重新思考隐空间,以阐明这一尚未充分探索的主题。我们的研究始于经典的生成对抗网络(GANs)。受 GAN 训练目标的启发,我们提出了一种隐分布与数据分布之间的新型“距离”,其最小化与生成器复杂性的最小化相一致。该距离的最小化器被刻画为最优的数据依赖隐分布,能够最有效地利用生成器的容量。随后,我们考虑通过编码器网络对该隐分布进行参数化,并提出一种称为解耦自编码器(DAE)的两阶段训练策略,其中编码器仅在第一阶段借助辅助解码器进行更新,然后在第二阶段被冻结,同时训练实际解码器。DAE 能够改善隐分布,从而提升生成性能。我们的理论分析得到了在 VQGAN 和 Diffusion Transformer 等多种模型上的全面实验的证实,其中我们的修改在降低模型复杂性的同时显著提升了样本质量。

英文摘要:

In generative modeling, numerous successful approaches leverage a low-dimensional latent space, e.g., Stable Diffusion models the latent space induced by an encoder and generates images through a paired decoder. Although the selection of the latent space is empirically pivotal, determining the optimal choice and the process of identifying it remain unclear. In this study, we aim to shed light on this under-explored topic by rethinking the latent space from the perspective of model complexity. Our investigation starts with the classic generative adversarial networks (GANs). Inspired by the GAN training objective, we propose a novel "distance" between the latent and data distributions, whose minimization coincides with that of the generator complexity. The minimizer of this distance is characterized as the optimal data-dependent latent that most effectively capitalizes on the generator's capacity. Then, we consider parameterizing such a latent distribution by an encoder network and propose a two-stage training strategy called Decoupled Autoencoder (DAE), where the encoder is only updated in the first stage with an auxiliary decoder and then frozen in the second stage while the actual decoder is being trained. DAE can improve the latent distribution and as a result, improve the generative performance. Our theoretical analyses are corroborated by comprehensive experiments on various models such as VQGAN and Diffusion Transformer, where our modifications yield significant improvements in sample quality with decreased model complexity.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑