arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.01515cs.LGcs.CLcs.CV
收藏

基于文本条件的掩码生成模型文本到图像生成采样框架

Text-Conditioned Sampling Framework for Text-to-Image Generation with Masked Generative Models

KAIST(韩国科学技术院);Yonsei University(延世大学);NAVER AI Lab(NAVER人工智能实验室)

Jaewoong Lee, Sangwon Jang, Jaehyeong Jo, Jaehong Yoon, Yunji Kim, Jin-Hwa Kim, Jung-Woo Ha, Sung Ju Hwang

AI总结:

针对基于token的掩码生成模型并行采样未考虑token依赖的问题,提出文本条件采样框架TCTS及频率自适应采样策略FAS,显著提升了图像质量与图文对齐度,并将推理时间减少50%以上。

摘要:

基于token的掩码生成模型因其通过并行解码实现快速推理而日益受到关注。尽管近期基于token的方法取得了与基于扩散的模型相媲美的性能,但其生成性能仍不够理想,因为它们在同时采样多个token时未考虑这些token之间的依赖关系。我们实证研究了这一问题,并提出了一种可学习的采样模型——文本条件token选择(TCTS),通过结合文本信息的局部监督来选择最优token。TCTS不仅提升了图像质量,还增强了生成图像与给定文本之间的语义对齐。为进一步提升图像质量,我们针对根据自注意力图划分的每组token,引入了一种内聚采样策略——频率自适应采样(FAS)。我们通过多种生成任务验证了TCTS与FAS结合的有效性,结果表明其在图像-文本对齐和图像质量上显著优于基线方法。我们的文本条件采样框架在不修改原始生成模型的前提下,进一步将原始推理时间减少了50%以上。

英文摘要:

Token-based masked generative models are gaining popularity for their fast inference time with parallel decoding. While recent token-based approaches achieve competitive performance to diffusion-based models, their generation performance is still suboptimal as they sample multiple tokens simultaneously without considering the dependence among them. We empirically investigate this problem and propose a learnable sampling model, Text-Conditioned Token Selection (TCTS), to select optimal tokens via localized supervision with text information. TCTS improves not only the image quality but also the semantic alignment of the generated images with the given texts. To further improve the image quality, we introduce a cohesive sampling strategy, Frequency Adaptive Sampling (FAS), to each group of tokens divided according to the self-attention maps. We validate the efficacy of TCTS combined with FAS with various generative tasks, demonstrating that it significantly outperforms the baselines in image-text alignment and image quality. Our text-conditioned sampling framework further reduces the original inference time by more than 50% without modifying the original generative model.

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

↑