AdaNAT: Exploring Adaptive Policy for Token-Based Image Generation
<|reference_start|>AdaNAT: Exploring Adaptive Policy for Token-Based Image Generation: 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.<|reference_end|>
@article{ni2024adanat:,
    title={AdaNAT: Exploring Adaptive Policy for Token-Based Image Generation},
    author={Zanlin Ni, Yulin Wang, Renping Zhou, Rui Lu, Jiayi Guo, Jinyi Hu,
  Zhiyuan Liu, Yuan Yao, Gao Huang},
    journal={arXiv preprint arXiv:2409.00342},
    year={2024},
    archivePrefix={arXiv},
    eprint={2409.00342},
    primaryClass={cs.CV}
}