Sample- and Parameter-Efficient Auto-Regressive Image Models

Elad Amrani, Leonid Karlinsky, Alexander M. Bronstein
2/9/2026

No official code found. Best implementation: elad-amrani/xtra (14 stars, last commit 2025-11-21).

Abstract

We introduce XTRA, a vision model pre-trained with a novel auto-regressive objective that significantly enhances both sample and parameter efficiency compared to previous auto-regressive image models. Unlike contrastive or masked image modeling methods, which have not been demonstrated as having consistent scaling behavior on unbalanced internet data, auto-regressive vision models exhibit scalable and promising performance as model and dataset size increase. In contrast to standard auto-regressive models, XTRA employs a Block Causal Mask, where each Block represents k × k tokens rather than relying on a standard causal mask. By reconstructing pixel values block by block, XTRA captures higher-level structural patterns over larger image regions. Predicting on blocks allows the model to learn relationships across broader areas of pixels, enabling more abstract and semantically meaningful representations than traditional next-token prediction. This simple modification yields two key results. First, XTRA is sample- efficient. Despite being trained on 152 fewer samples (13.1M vs. 2B), XTRA ViT-H/14 surpasses the×top-1 average accuracy of the previous state-of-the-art auto-regressive model across 15 diverse image recognition benchmarks. Second, XTRA is parameter-efficient. Compared to auto-regressive models trained on ImageNet-1k, XTRA ViT-B/16 outperforms in linear and attentive probing tasks, using 7–16× fewer parameters (85M vs. 1.36B/0.63B).

View on arXivView PDF

Code Implementations(1)

elad-amrani/xtraCommunity100%

PyTorch implementation of "Sample- and Parameter-Efficient Auto-Regressive Image Models" from CVPR 2025

140Shell, PythonNov 22, 202411 months ago

Similar Papers

Cite this paper

@article{amrani2026sample,
  title  = {Sample- and Parameter-Efficient Auto-Regressive Image Models},
  author = {Elad Amrani and Leonid Karlinsky and Alexander M. Bronstein},
  year   = {2026},
  eprint = {2411.15648},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2411.15648},
  journal = {CVPR 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/2411.15648.svg)](https://codeofpaper.com/paper/2411.15648)

Discussion