arXiv:2409.00342cs.CV2024-09ECCV被引 20

AdaNAT自动为每张图定制生成策略,提升图像质量与多样性。

AdaNAT: Exploring Adaptive Policy for Token-Based Image Generation

  • 将生成策略学习建模为马尔可夫决策过程,用强化学习自动优化。
  • 在ImageNet、MS-COCO等4个数据集上,生成质量优于传统方法。
  • 设计对抗性奖励机制,解决简单奖励导致生成质量不可靠的问题。

近期研究证实了基于标记(token)的方法在视觉内容生成中的有效性。作为代表性工作,非自回归变换器(NATs)能在少量步骤内合成高质量图像。然而,NATs通常需要配置复杂的生成策略,包含多个手动设计的调度规则。这些启发式规则易导致次优结果,且依赖专家知识和大量人工调参。此外,其通用性无法适应不同样本的特性差异。为此,本文提出AdaNAT,一种可学习的方法,能为每个待生成样本自动配置合适策略。具体而言,将生成策略确定问题建模为马尔可夫决策过程,在此框架下,通过强化学习训练轻量级生成策略网络。重要的是,我们发现简单的奖励设计(如FID或预训练奖励模型)无法可靠保证生成样本的质量与多样性。因此,提出对抗性奖励设计以有效引导策略网络训练。在ImageNet-256 & 512、MS-COCO和CC3M四个基准数据集上的实验验证了AdaNAT的有效性。代码与预训练模型将发布于https://github.com/LeapLabTHU/AdaNAT。

原文摘要 · Abstract (English)

Recent studies have demonstrated the effectiveness of token-based methods for visual content generation. As a representative work, non-autoregressive Transformers (NATs) are able to synthesize images with decent quality in a small number of steps. However, NATs usually necessitate configuring a complicated generation policy comprising multiple manually-designed scheduling rules. These heuristic-driven rules are prone to sub-optimality and come with the requirements of expert knowledge and labor-intensive efforts. Moreover, their one-size-fits-all nature cannot flexibly adapt to the diverse characteristics of each individual sample. To address these issues, we propose AdaNAT, a learnable approach that automatically configures a suitable policy tailored for every sample to be generated. In specific, we formulate the determination of generation policies as a Markov decision process. Under this framework, a lightweight policy network for generation can be learned via reinforcement learning. Importantly, we demonstrate that simple reward designs such as FID or pre-trained reward models, may not reliably guarantee the desired quality or diversity of generated samples. Therefore, we propose an adversarial reward design to guide the training of policy networks effectively. Comprehensive experiments on four benchmark datasets, i.e., ImageNet-256 & 512, MS-COCO, and CC3M, validate the effectiveness of AdaNAT. Code and pre-trained models will be released at https://github.com/LeapLabTHU/AdaNAT.

图像生成非自回归强化学习策略学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。