用于高质量图像合成的乘积量化图像表示
Product-Quantised Image Representation for High-Quality Image Synthesis
AI总结:
本文提出PQGAN量化图像自编码器,将乘积量化引入VQGAN框架,通过分析码本、嵌入维度与子空间分解显著提升重建质量,并可无缝接入预训练扩散模型以加速生成或倍增分辨率。
摘要:
乘积量化(PQ)是一种用于可扩展向量编码的经典方法,但它在高保真图像生成的隐式表示中应用有限。在本工作中,我们提出了PQGAN,这是一种量化图像自编码器,将PQ集成到VQGAN著名的向量量化(VQ)框架中。PQGAN在重建性能方面相较最先进方法取得了显著提升,比较对象既包括各种量化方法,也包括其连续对应方法。我们取得了37dB的PSNR分数,而先前工作为27dB,并且能够将FID、LPIPS和CMMD分数最高降低96%。我们成功的关键在于深入分析了码本大小、嵌入维度和子空间分解之间的相互作用,并将向量量化和标量量化视为特殊情况。我们获得了一些新发现,例如在扩展嵌入维度时,VQ和PQ的性能表现相反。此外,我们的分析揭示了PQ的性能趋势,有助于指导最优超参数选择。最后,我们证明PQGAN可以无缝集成到预训练扩散模型中。这既能够实现显著更快、计算效率更高的生成,也能够在不增加额外成本的情况下使输出分辨率翻倍,从而将PQ定位为图像合成中离散隐式表示的一种强有力扩展。
英文摘要:
Product quantisation (PQ) is a classical method for scalable vector encoding, yet it has seen limited usage for latent representations in high-fidelity image generation. In this work, we introduce PQGAN, a quantised image autoencoder that integrates PQ into the well-known vector quantisation (VQ) framework of VQGAN. PQGAN achieves a noticeable improvement over state-of-the-art methods in terms of reconstruction performance, including both quantisation methods and their continuous counterparts. We achieve a PSNR score of 37dB, where prior work achieves 27dB, and are able to reduce the FID, LPIPS, and CMMD score by up to 96%. Our key to success is a thorough analysis of the interaction between codebook size, embedding dimensionality, and subspace factorisation, with vector and scalar quantisation as special cases. We obtain novel findings, such that the performance of VQ and PQ behaves in opposite ways when scaling the embedding dimension. Furthermore, our analysis shows performance trends for PQ that help guide optimal hyperparameter selection. Finally, we demonstrate that PQGAN can be seamlessly integrated into pre-trained diffusion models. This enables either a significantly faster and more compute-efficient generation, or a doubling of the output resolution at no additional cost, positioning PQ as a strong extension for discrete latent representation in image synthesis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。