Switti: Designing Scale-Wise Transformers for Text-to-Image Synthesis

Anton Voronov, Denis Kuznedelev, Mikhail Khoroshikh, Valentin Khrulkov, Dmitry Baranchuk
12/2/2024
33 citations
cs.CV
transformer-attention

No official code found. Best implementation: yandex-research/switti (206 stars, Jupyter Notebook, Apache-2.0, last commit 2025-07-13).

Abstract

This work presents Switti, a scale-wise transformer for text-to-image generation. We start by adapting an existing next-scale prediction autoregressive (AR) architecture to T2I generation, investigating and mitigating training stability issues in the process.

Show full abstract

Next, we argue that scale-wise transformers do not require causality and propose a non-causal counterpart facilitating ~21% faster sampling and lower memory usage while also achieving slightly better generation quality. Furthermore, we reveal that classifier-free guidance at high-resolution scales is often unnecessary and can even degrade performance. By disabling guidance at these scales, we achieve an additional sampling acceleration of ~32% and improve the generation of fine-grained details. Extensive human preference studies and automated evaluations show that Switti outperforms existing T2I AR models and competes with state-of-the-art T2I diffusion models while being up to 7x faster.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

(CVPR 2025) Switti: Designing Scale-Wise Transformers for Text-to-Image Synthesis

20617Jupyter Notebook, PythonNov 29, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{voronov2024switti,
  title  = {Switti: Designing Scale-Wise Transformers for Text-to-Image Synthesis},
  author = {Anton Voronov and Denis Kuznedelev and Mikhail Khoroshikh and Valentin Khrulkov and Dmitry Baranchuk},
  year   = {2024},
  eprint = {2412.01819},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.01819v4}
}

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

Discussion