arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2305.13607cs.CV
收藏

并非所有图像区域都重要:用于自回归图像生成的掩码向量量化

Not All Image Regions Matter: Masked Vector Quantization for Autoregressive Image Generation

University of Science and Technology of China(中国科学技术大学);Institute of Artificial intelligence, Hefei Comprehensive National Science Center(合肥综合性国家科学中心人工智能研究院);Beijing University of Posts and Telecommunications(北京邮电大学)

Mengqi Huang, Zhendong Mao, Quan Wang, Yongdong Zhang

AI总结:

针对自回归图像生成中码本学习未区分区域感知重要性导致冗余的问题,提出包含MQ-VAA和Stackformer的两阶段框架,通过掩码冗余特征提升建模重要结构的能力与生成效率。

摘要:

现有的自回归模型遵循两阶段生成范式,首先在潜在空间中学习码本以进行图像重建,然后基于所学码本自回归地完成图像生成。然而,现有的码本学习简单地建模图像的所有局部区域信息,而不区分它们不同的感知重要性,这在学习的码本中带来了冗余,不仅限制了下一阶段自回归模型对重要结构进行建模的能力,而且导致高训练成本和缓慢的生成速度。在本研究中,我们从经典图像编码理论中借鉴重要性感知的思想,并提出了一种新颖的两阶段框架,由掩码量化VAE(MQ-VAE)和Stackformer组成,以减轻模型对冗余的建模。具体而言,MQ-VAA结合了一个自适应掩码模块,用于在量化之前掩码冗余区域特征,以及一个自适应解掩码模块,用于在量化之后恢复原始网格图像特征图以忠实地重建原始图像。然后,Stackformer学习预测下一个码及其在特征图中位置的组合。在各种图像生成上的综合实验验证了我们的有效性和效率。代码将在https://github.com/CrossmodalGroup/MaskedVectorQuantization发布。

英文摘要:

Existing autoregressive models follow the two-stage generation paradigm that first learns a codebook in the latent space for image reconstruction and then completes the image generation autoregressively based on the learned codebook. However, existing codebook learning simply models all local region information of images without distinguishing their different perceptual importance, which brings redundancy in the learned codebook that not only limits the next stage's autoregressive model's ability to model important structure but also results in high training cost and slow generation speed. In this study, we borrow the idea of importance perception from classical image coding theory and propose a novel two-stage framework, which consists of Masked Quantization VAE (MQ-VAE) and Stackformer, to relieve the model from modeling redundancy. Specifically, MQ-VAE incorporates an adaptive mask module for masking redundant region features before quantization and an adaptive de-mask module for recovering the original grid image feature map to faithfully reconstruct the original images after quantization. Then, Stackformer learns to predict the combination of the next code and its position in the feature map. Comprehensive experiments on various image generation validate our effectiveness and efficiency. Code will be released at https://github.com/CrossmodalGroup/MaskedVectorQuantization.

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

↑