用于图像生成的向量量化建模中结合离散扩散的全局上下文
Global Context with Discrete Diffusion in Vector Quantised Modelling for Image Generation
AI总结:
本文提出 VQ-DDM,将 VQ-VAE 的离散视觉码本与离散扩散模型结合,以低复杂度生成具有全局上下文的高保真图像,并在图像修复中优于向量量化自回归方法。
摘要:
将向量量化变分自编码器(Vector Quantised Variational AutoEncoder,VQ-VAE)与作为生成部分的自回归模型相结合,已经在图像生成上取得了高质量结果。然而,自回归模型在采样阶段会严格遵循渐进扫描顺序。这导致现有 VQ 系列模型难以摆脱缺乏全局信息的困境。连续域中的去噪扩散概率模型(Denoising Diffusion Probabilistic Models,DDPM)已展现出捕获全局上下文的能力,同时能够生成高质量图像。在离散状态空间中,一些工作已经证明了其执行文本生成和低分辨率图像生成的潜力。本文表明,借助来自 VQ-VAE 的内容丰富的离散视觉码本,离散扩散模型同样可以生成具有全局上下文的高保真图像,从而弥补经典自回归模型在像素空间方面的不足。同时,将离散 VAE 与扩散模型相结合,解决了传统自回归模型体积过大,以及扩散模型在生成图像时采样过程耗时过多的缺点。研究发现,生成图像的质量在很大程度上依赖于离散视觉码本。大量实验表明,所提出的向量量化离散扩散模型(Vector Quantised Discrete Diffusion Model,VQ-DDM)能够以较低复杂度达到与顶级方法相当的性能。在无需额外训练的图像修复任务方面,它相较其他采用自回归模型的向量量化方法也表现出显著优势。
英文摘要:
The integration of Vector Quantised Variational AutoEncoder (VQ-VAE) with autoregressive models as generation part has yielded high-quality results on image generation. However, the autoregressive models will strictly follow the progressive scanning order during the sampling phase. This leads the existing VQ series models to hardly escape the trap of lacking global information. Denoising Diffusion Probabilistic Models (DDPM) in the continuous domain have shown a capability to capture the global context, while generating high-quality images. In the discrete state space, some works have demonstrated the potential to perform text generation and low resolution image generation. We show that with the help of a content-rich discrete visual codebook from VQ-VAE, the discrete diffusion model can also generate high fidelity images with global context, which compensates for the deficiency of the classical autoregressive model along pixel space. Meanwhile, the integration of the discrete VAE with the diffusion model resolves the drawback of conventional autoregressive models being oversized, and the diffusion model which demands excessive time in the sampling process when generating images. It is found that the quality of the generated images is heavily dependent on the discrete visual codebook. Extensive experiments demonstrate that the proposed Vector Quantised Discrete Diffusion Model (VQ-DDM) is able to achieve comparable performance to top-tier methods with low complexity. It also demonstrates outstanding advantages over other vectors quantised with autoregressive models in terms of image inpainting tasks without additional training.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。