# ScanAR: Parallel Row-Scan Decoding for Efficient Image Generation in Unified Autoregressive Models

> ScanAR adapts autoregressive image generation by predicting later rows in parallel while retaining the shared text-image interface. On Emu3.5-Image-34B, it scored 82.36 GenEval and generated 512×512 images 13.8× faster than raster decoding under matched inference settings.

- arXiv: https://arxiv.org/abs/2611.33761
- Authors: Jingen Qu, Xi Chen, Yingbo Tang, Xinghang Li, Tao Kong
- Published: 2026-11-27
- Topic: Inference & systems
- Visual carousel: https://instaxiv.com/p/2611.33761
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Can a unified image model decode a whole row at once?

**13.8×** latency speedup vs matched raster, 512×512

## The bottleneck is the image grid

**Unified raster AR:** Text and image tokens share one next-token interface, but raster decoding serializes an H×W grid into HW decisions.

**ScanAR:** ScanAR keeps the grid, backbone, vocabulary and shared head; only visual-token predecessors change, enabling later rows to run in parallel.

For H>1, effective depth is H+W instead of HW, with no added parameters.

## How one image block moves through the scan

1. **Sample the first row**: Generate it left to right with standard causal attention, one visual token per step.
2. **Commit full first-row context**: Reprocess the sampled row with full within-row visibility to produce fully visible states for row two; no extra tokens are sampled.
3. **Scan later rows together**: Each later token uses the committed state above its column; sample all columns together, then process the row as a group. Nonvisual tokens stay causal.

## Training follows the scan dependency

![Figure 3](https://cdn.instaxiv.com/figures/2611.33761/figure3.webp)

Figure 3 maps each visual token to its prediction predecessor and shows training visibility: later rows see all previous rows plus their full row; text and structure stay causal. (Figure 3)

## Why train for the row-scan conditionals?

**ZipAR, training-free:** On ImageNet 256×256 with GPT-B, default w=8 uses 144 passes (FID 5.69); at w=4 it uses 88 passes, but FID (lower is better) worsens to 16.59.

**ScanAR, from scratch:** In the same GPT-B setting, 300-epoch ScanAR uses 32 passes at FID 5.59, learning the row-scan conditionals used at inference.

This trades training for fewer inference passes; it is not a training-free shortcut.

## ScanAR leads same-data GenEval accelerators

| Method | GenEval overall | Post-training steps |
| --- | --- | --- |
| Raster fine-tune | 82.01 ± 0.85 | 2K |
| BlockDiffusion | 73.83 | 50K |
| FlashAR | 80.29 | 50K |
| **ScanAR (+2.07 pts)** | **82.36** | **20K** |

_Emu3.5-Image-34B, 512×512; accelerators use 80M tokens. Delta vs FlashAR. Raster ref: same data/init/batch/schedule, 5-seed mean._

## Mixed text-image sequences stayed fast

**Raster U0-Seq:** Same engine, same 80 embodied-planning cases: raster U0-Seq took 57.3 s per generated image.

**ScanAR post-trained U0:** It took 5.2 s per image end to end (11.1× faster); valid output rose from 81.3% to 91.3%. Ground-truth image fidelity stayed close; scene and temporal consistency dipped slightly.

The 80 cases came from post-training sources' training splits, not a held-out test.

## Where the speedup has boundaries

- **Parallel rows are approximate**: Later-row tokens are conditionally independent; each omits up to W-1 left neighbors. The first row still takes W serial samples plus a non-sampling commit.
- **U0 comparisons are confounded**: Raster references differ in checkpoint or post-training, and video uses default samplers; U0 metric shifts cannot be assigned to decoding alone.

Best used when: Best suited when image spans dominate inference and row-scan training or post-training is feasible.

## Key takeaways

- Matched raster-to-ScanAR latency at 512×512 fell from 64.60 to 4.69 s (13.8×), with CFG branches batched.
- Practitioners can keep the unified backbone and output head, but must train or post-train on the row-parallel visual conditionals used at inference.
- How much within-row detail can be predicted independently before image quality suffers on a particular task?

## Links

- arXiv: https://arxiv.org/abs/2611.33761
- PDF: https://arxiv.org/pdf/2611.33761

## Citation

```bibtex
@article{qu2026scanar,
  title   = {ScanAR: Parallel Row-Scan Decoding for Efficient Image Generation in Unified Autoregressive Models},
  author  = {Qu, Jingen and Chen, Xi and Tang, Yingbo and Li, Xinghang and Kong, Tao},
  journal = {arXiv preprint arXiv:2611.33761},
  year    = {2026},
  url     = {https://arxiv.org/abs/2611.33761}
}
```
