paper-with-me

홈 › Papers

Inference Acceleration of Autoregressive Normalizing Flows by Selective Jacobi Decoding

2025-05-30 · Jiaru Zhang, Juanwu Lu, Ziran Wang, Ruqi Zhang

Normalizing flows are promising generative models with advantages such as theoretical rigor, analytical log-likelihood computation, and end-to-end training. However, the architectural constraints to ensure invertibility and tractable Jacobian computation limit their expressive power and practical usability. Recent advancements utilize autoregressive modeling, significantly enhancing expressive power and generation quality. However, such sequential modeling inherently restricts parallel computation during inference, leading to slow generation that impedes practical deployment. In this paper, we first identify that strict sequential dependency in inference is unnecessary to generate high-quality samples. We observe that patches in sequential modeling can also be approximated without strictly conditioning on all preceding patches. Moreover, the models tend to exhibit low dependency redundancy in the initial layer and higher redundancy in subsequent layers. Leveraging these observations, we propose a selective Jacobi decoding (SeJD) strategy that accelerates autoregressive inference through parallel iterative optimization. Theoretical analyses demonstrate the method's superlinear convergence rate and guarantee that the number of iterations required is no greater than the original sequential approach. Empirical evaluations across multiple datasets validate the generality and effectiveness of our acceleration technique. Experiments demonstrate substantial speed improvements up to 4.7 times faster inference while keeping the generation quality and fidelity.

📄 PDF Abstract BibTeX arXiv:2505.24791

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Sylvester Normalizing Flows for Variational Inference

2018-03-15 · Rianne van den Berg, Leonard Hasenclever, Jakub M. Tomczak, Max Welling

Variational inference relies on flexible approximate posterior distributions. Normalizing flows provide a general recipe to construct flexible variational posteriors. We introduce Sylvester normalizing flows, which can b…

Variational Inference

Improved Variational Inference with Inverse Autoregressive Flow

2016-12-01 · NeurIPS 2016 12 · Durk P. Kingma, Tim Salimans, Rafal Jozefowicz, Xi Chen 외

The framework of normalizing flows provides a general strategy for flexible variational inference of posteriors over latent variables. We propose a new type of normalizing flow, inverse autoregressive flow (IAF), that, i…

Image GenerationVariational Inference

Improving Variational Inference with Inverse Autoregressive Flow

2016-06-15 · Diederik P. Kingma, Tim Salimans, Rafal Jozefowicz, Xi Chen 외

The framework of normalizing flows provides a general strategy for flexible variational inference of posteriors over latent variables. We propose a new type of normalizing flow, inverse autoregressive flow (IAF), that, i…

Variational Inference

Semi-Autoregressive Energy Flows: Exploring Likelihood-Free Training of Normalizing Flows

2022-06-14 · Phillip Si, Zeyi Chen, Subham Sekhar Sahoo, Yair Schiff 외

Training normalizing flow generative models can be challenging due to the need to calculate computationally expensive determinants of Jacobians. This paper studies the likelihood-free training of flows and proposes the e…

Two-sample testing

normflows: A PyTorch Package for Normalizing Flows

2023-01-26 · Vincent Stimper, David Liu, Andrew Campbell, Vincent Berenz 외

Normalizing flows model probability distributions through an expressive tractable density. They transform a simple base distribution, such as a Gaussian, through a sequence of invertible functions, which are referred to …

Image GenerationVariational Inference