Anytime Sampling for Autoregressive Models via Ordered Autoencoding
Yilun Xu, Yang Song, Sahaj Garg, Linyuan Gong, Rui Shu, Aditya Grover, Stefano Ermon
Abstract
Autoregressive models are widely used for tasks such as image and audio generation. The sampling process of these models, however, does not allow interruptions and cannot adapt to real-time computational resources. This challenge impedes the deployment of powerful autoregressive models, which involve a slow sampling process that is sequential in nature and typically scales linearly with respect to the data dimension. To address this difficulty, we propose a new family of autoregressive models that enables anytime sampling. Inspired by Principal Component Analysis, we learn a structured representation space where dimensions are ordered based on their importance with respect to reconstruction. Using an autoregressive model in this latent space, we trade off sample quality for computational efficiency by truncating the generation process before decoding into the original data space. Experimentally, we demonstrate in several image and audio generation tasks that sample quality degrades gracefully as we reduce the computational budget for sampling. The approach suffers almost no loss in sample quality (measured by FID) using only 60% to 80% of all latent dimensions for image data. Code is available at https://github.com/Newbeeer/Anytime-Auto-Regressive-Model .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
3 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Equivariant Diffusion for Molecule Generation in 3D cites Denoising Diffusion Probabilistic Models
- Latent Autoregressive Source Separation cites Denoising Diffusion Probabilistic Models
- Latent Autoregressive Source Separation cites Parallel and Flexible Sampling from Autoregressive Models via Langevin Dynamics
Cited by top-tier papers3
- Equivariant Diffusion for Molecule Generation in 3DEmiel Hoogeboom, Victor Garcia Satorras, Clément Vignac, Max WellingICML 2022 · 865 citations
- Parallel and Flexible Sampling from Autoregressive Models via Langevin DynamicsVivek Jayaram, John ThickstunICML 2021 · 26 citations
- Latent Autoregressive Source SeparationEmilian Postolache, Giorgio Mariani, Michele Mancusi, Andrea Santilli et al.AAAI 2023 · 14 citations
Builds on3
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- From Variational to Deterministic AutoencodersPartha Ghosh, Mehdi S. M. Sajjadi, Antonio Vergari, Michael J. Black et al.ICLR 2020 · 298 citations
- Regularized linear autoencoders recover the principal components, eventuallyXuchan Bao, James Lucas, Sushant Sachdeva, Roger B. GrosseNeurIPS 2020 · 40 citations
Related papers
- Predictive Sampling with Forecasting Autoregressive ModelsAuke J. Wiggers, Emiel HoogeboomICML 2020 · 18 citations
- NFIG: Multi-Scale Autoregressive Image Generation via Frequency OrderingZhihao Huang, Xi Qiu, Yukuo Ma, Yifu Zhou et al.NeurIPS 2025 · 20 citations
- Structure by Architecture: Structured Representations without RegularizationFelix Leeb, Giulia Lanzillotta, Yashas Annadani, Michel Besserve et al.ICLR 2023 · 1 citation
- Very Deep VAEs Generalize Autoregressive Models and Can Outperform Them on ImagesRewon ChildICLR 2021 · 45 citations
- Autoregressive Image Diffusion: Generation of Image Sequence and Application in MRIGuanxiong Luo, Shoujin Huang, Martin UeckerNeurIPS 2024 · 10 citations
