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 +2 more
3/10/2025
7 citations
cs.CV

Official code: HKU-HealthAI/ARRA (7 stars, Python, last commit 2025-11-17). Most starred: xiexing0916/ARRA, a community implementation (12 stars, Python, last commit 2025-11-17, 1.7× the official stars). 1 more implementation below.

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>.

Show full abstract

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.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
HKU-HealthAI/ARRAOfficial7Python–2025-11-17
xiexing0916/ARRACommunity12Python–2025-11-17
HKU-HealthAI/ARRAOfficial100%

Code for AAAI 2026 Oral Paper | Unleashing the Potential of Large Language Models for Text-to-Image Generation through Autoregressive Representation Alignment

70Python, ShellNov 11, 20251 years ago
xiexing0916/ARRACommunity100%

(AAAI 2026 Oral) Unleashing the Potential of Large Language Models for Text-to-Image Generation through Autoregressive Representation Alignment

121Python, ShellMar 27, 20251 years ago

Similar Papers

Cite this paper

@article{xie2025unleashing,
  title  = {Unleashing the Potential of Large Language Models for Text-to-Image Generation through Autoregressive Representation Alignment},
  author = {Xing Xie and Jiawei Liu and Ziyue Lin and Huijie Fan and Zhi Han and Yandong Tang and Liangqiong Qu},
  year   = {2025},
  eprint = {2503.07334},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.07334v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.07334.svg)](https://codeofpaper.com/paper/2503.07334)

Discussion