基于有序自编码的自回归模型的任意采样
Anytime Sampling for Autoregressive Models via Ordered Autoencoding
摘要:
自回归模型广泛用于图像和音频生成等任务。然而,这些模型的采样过程不允许中断,并且不能适应实时计算资源。这一挑战阻碍了强大的自回归模型的部署,该模型涉及缓慢的采样过程,该过程本质上是连续的,并且通常相对于数据维度线性缩放。为了解决这个困难,我们提出了一个新的家庭的自回归模型,使随时采样。受主成分分析的启发,我们学习了一个结构化的表示空间,其中维度根据它们在重建方面的重要性进行排序。在这个潜在空间中使用自回归模型,我们通过在解码到原始数据空间之前截断生成过程来权衡样本质量和计算效率。实验上,我们证明在几个图像和音频生成任务,样本质量下降优雅,因为我们减少了采样的计算预算。该方法几乎没有损失的样品质量(由FID测量),使用的图像数据的所有潜在的尺寸只有60\%至80\%。代码可在https://github.com/Newbeeer/Anytime-Auto-Regressive-Model上获得。
英文摘要:
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 .
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。