STAR: Scale-wise Text-conditioned AutoRegressive image generation

Xiaoxiao Ma, Mohan Zhou, Tao Liang, Yalong Bai, Tiejun Zhao +3 more
6/16/2024
29 citations
cs.CV

Official code: krennic999/STAR (149 stars, last commit 2025-02-19).

Abstract

We introduce STAR, a text-to-image model that employs a scale-wise auto-regressive paradigm. Unlike VAR, which is constrained to class-conditioned synthesis for images up to 256$\times$256, STAR enables text-driven image generation up to 1024$\times$1024 through three key designs.

Show full abstract

First, we introduce a pre-trained text encoder to extract and adopt representations for textual constraints, enhancing details and generalizability. Second, given the inherent structural correlation across different scales, we leverage 2D Rotary Positional Encoding (RoPE) and tweak it into a normalized version, ensuring consistent interpretation of relative positions across token maps and stabilizing the training process. Third, we observe that simultaneously sampling all tokens within a single scale can disrupt inter-token relationships, leading to structural instability, particularly in high-resolution generation. To address this, we propose a novel stable sampling method that incorporates causal relationships into the sampling process, ensuring both rich details and stable structures. Compared to previous diffusion models and auto-regressive models, STAR surpasses existing benchmarks in fidelity, text-image consistency, and aesthetic quality, requiring just 2.21s for 1024$\times$1024 images on A100. This highlights the potential of auto-regressive methods in high-quality image synthesis, offering new directions for the text-to-image generation.

View on arXivView PDF

Code Implementations(1)

krennic999/STAROfficial100%

STAR: Scale-wise Text-to-image generation via Auto-Regressive representations

1492Jun 11, 20241 years ago

Similar Papers

Cite this paper

@article{ma2024star,
  title  = {STAR: Scale-wise Text-conditioned AutoRegressive image generation},
  author = {Xiaoxiao Ma and Mohan Zhou and Tao Liang and Yalong Bai and Tiejun Zhao and Biye Li and Huaian Chen and Yi Jin},
  year   = {2024},
  eprint = {2406.10797},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.10797v4}
}

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

Discussion