LINA: Linear Autoregressive Image Generative Models with Continuous Tokens

Jiahao Wang, Ting Pan, Haoge Deng, Dongchen Han, Taiqiang Wu +2 more
1/30/2026
cs.CV
transformer-attention

Official code: techmonsterwang/LINA (2 stars, Python, Apache-2.0, last commit 2026-04-26).

Abstract

Autoregressive models with continuous tokens form a promising paradigm for visual generation, especially for text-to-image (T2I) synthesis, but they suffer from high computational cost. We study how to design compute-efficient linear attention within this framework.

Show full abstract

Specifically, we conduct a systematic empirical analysis of scaling behavior with respect to parameter counts under different design choices, focusing on (1) normalization paradigms in linear attention (division-based vs. subtraction-based) and (2) depthwise convolution for locality augmentation. Our results show that although subtraction-based normalization is effective for image classification, division-based normalization scales better for linear generative transformers. In addition, incorporating convolution for locality modeling plays a crucial role in autoregressive generation, consistent with findings in diffusion models. We further extend gating mechanisms, commonly used in causal linear attention, to the bidirectional setting and propose a KV gate. By introducing data-independent learnable parameters to the key and value states, the KV gate assigns token-wise memory weights, enabling flexible memory management similar to forget gates in language models. Based on these findings, we present LINA, a simple and compute-efficient T2I model built entirely on linear attention, capable of generating high-fidelity 1024x1024 images from user instructions. LINA achieves competitive performance on both class-conditional and T2I benchmarks, obtaining 2.18 FID on ImageNet (about 1.4B parameters) and 0.74 on GenEval (about 1.5B parameters). A single linear attention module reduces FLOPs by about 61 percent compared to softmax attention. Code and models are available at: https://github.com/techmonsterwang/LINA.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code for "LINA: Linear Autoregressive Image Generative Models with Continuous Tokens"

20Python, ShellApr 14, 20267 months agoApache-2.0

Similar Papers

Cite this paper

@article{wang2026lina,
  title  = {LINA: Linear Autoregressive Image Generative Models with Continuous Tokens},
  author = {Jiahao Wang and Ting Pan and Haoge Deng and Dongchen Han and Taiqiang Wu and Xinlong Wang and Ping Luo},
  year   = {2026},
  eprint = {2601.22630},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2601.22630v1}
}

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

Discussion