Unleashing the Potential of Large Language Models for Text-to-Image Generation through Autoregressive Representation Alignment
Xing Xie, Jiawei Liu, Ziyue Lin, Huijie Fan, Zhi Han, Yandong Tang, Liangqiong Qu
TL;DR
The paper tackles the challenge of achieving global, spatially coherent text-to-image generation with autoregressive LLMs without modifying their architecture. It introduces Autoregressive Representation Alignment (ARRA), which couples the standard next-token loss with a Global Visual Alignment loss that distills external visual representations into a novel <HYBNEXT> token during training. ARRA comes in three practical variants (ARRA-Base, ARRA, ARRA-Adapt) to train from scratch, convert text-generation-only LLMs, or adapt to domain-specific settings, respectively. Across natural and medical imaging tasks, ARRA substantially improves FID and CLIP-Score, demonstrating that objective redesign, rather than architectural changes, can resolve cross-modal coherence gaps while preserving inference efficiency. The work offers a versatile, plug-and-play framework with strong implications for scalable, coherent multimodal generation in autoregressive models.
Abstract
We present Autoregressive Representation Alignment (ARRA), a new training framework that unlocks global-coherent text-to-image generation in autoregressive LLMs without architectural modifications. Different from prior works that require complex architectural redesigns, ARRA aligns LLM's hidden states with visual representations from external visual foundational models via a global visual alignment loss and a hybrid token, <HYBNEXT>. This token enforces dual constraints: local next-token prediction and global semantic distillation, enabling LLMs to implicitly learn spatial and contextual coherence while retaining their original autoregressive paradigm. Extensive experiments validate ARRA's plug-and-play versatility. When training T2I LLMs from scratch, ARRA reduces FID by 16.6% (ImageNet), 12.0% (LAION-COCO) for autoregressive LLMs like LlamaGen, without modifying original architecture and inference mechanism. For training from text-generation-only LLMs, ARRA reduces FID by 25.5% (MIMIC-CXR), 8.8% (DeepEyeNet) for advanced LLMs like Chameleon. For domain adaptation, ARRA aligns general-purpose LLMs with specialized models (e.g., BioMedCLIP), achieving an 18.6% FID reduction over direct fine-tuning on medical imaging (MIMIC-CXR). These results demonstrate that training objective redesign, rather than architectural modifications, can resolve cross-modal global coherence challenges. ARRA offers a complementary paradigm for advancing autoregressive models. The code is available at https://github.com/HKU-HealthAI/ARRA.
