Mirai: Autoregressive Visual Generation Needs Foresight
Yonghao Yu, Lang Huang, Zerun Wang, Runyi Li, Toshihiko Yamasaki
TL;DR
This work identifies a key limitation of autoregressive visual generation: purely causal next-token supervision impedes global coherence and slows convergence. It introduces Mirai, a foresight-enabled framework that aligns AR internal representations with future-aware signals in a 2D token grid, using two instantiations: Mirai-E (explicit foresight from an online EMA) and Mirai-I (implicit foresight from a frozen bidirectional encoder). Through extensive experiments on ImageNet with LlamaGen variants, Mirai markedly accelerates convergence (up to ~10x faster) and improves generation quality (FID reductions from ~5.34 to as low as 4.34 on 256×256), while maintaining same inference cost. The findings suggest that visual AR models benefit from foresight during training, leading to stronger global structure and practical gains in image fidelity and training efficiency.
Abstract
Autoregressive (AR) visual generators model images as sequences of discrete tokens and are trained with next token likelihood. This strict causality supervision optimizes each step only by its immediate next token, which diminishes global coherence and slows convergence. We ask whether foresight, training signals that originate from later tokens, can help AR visual generation. We conduct a series of controlled diagnostics along the injection level, foresight layout, and foresight source axes, unveiling a key insight: aligning foresight to AR models' internal representation on the 2D image grids improves causality modeling. We formulate this insight with Mirai (meaning "future" in Japanese), a general framework that injects future information into AR training with no architecture change and no extra inference overhead: Mirai-E uses explicit foresight from multiple future positions of unidirectional representations, whereas Mirai-I leverages implicit foresight from matched bidirectional representations. Extensive experiments show that Mirai significantly accelerates convergence and improves generation quality. For instance, Mirai can speed up LlamaGen-B's convergence by up to 10$\times$ and reduce the generation FID from 5.34 to 4.34 on the ImageNet class-condition image generation benchmark. Our study highlights that visual autoregressive models need foresight.
