Elucidating the design space of language models for image generation

Xuantong Liu, Shaozhe Hao, Xianbiao Qi, Tianyang Hu, Jun Wang +2 more
2/12/2026

No official code found. Best implementation: Pepper-lll/LMforImageGeneration (44 stars, last commit 2024-11-17).

Abstract

The success of autoregressive (AR) language models in text generation has inspired the computer vision community to adopt Large Language Models (LLMs) for image generation. However, considering the essential differences between text and image modalities, the design space of language models for image generation remains underexplored. We observe that image tokens exhibit greater randomness compared to text tokens, which presents challenges when training with token prediction. Nevertheless, AR models demonstrate their potential by effectively learning patterns even from a seemingly suboptimal optimization problem. Our analysis also reveals that while all models successfully grasp the importance of local information in image generation, smaller models struggle to capture the global context. In contrast, larger models showcase improved capabilities in this area, helping to explain the performance gains achieved when scaling up model size. We further elucidate the design space of language models for vision generation, including tokenizer choice, model choice, model scalability, vocabulary design, and sampling strategy through extensive comparative experiments. Our work is the first to analyze the optimization behavior of language models in vision generation, and we believe it can inspire more effective designs when applying LMs to other domains. Finally, our elucidated language model for image generation, termed as ELM, achieves state-of-the-art performance on the ImageNet 256*256 benchmark. The code is available at https://github.com/Pepperlll/LMforImageGeneration.git.

View on arXivView PDF

Code Implementations(1)

Codebase for the paper-Elucidating the design space of language models for image generation

441Shell, PythonOct 9, 20241 years ago
imagegenerationlanguagemodels

Similar Papers

Cite this paper

@article{liu2026elucidating,
  title  = {Elucidating the design space of language models for image generation},
  author = {Xuantong Liu and Shaozhe Hao and Xianbiao Qi and Tianyang Hu and Jun Wang and Rong Xiao and Yuan Yao},
  year   = {2026},
  eprint = {2410.16257},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2410.16257},
  journal = {ICML 2024 2024}
}

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/2410.16257.svg)](https://codeofpaper.com/paper/2410.16257)

Discussion