CDFlow: Building Invertible Layers with Circulant and Diagonal Matrices
Xuchen Feng, Siyu Liao
Abstract
Normalizing flows are deep generative models that achieve efficient likelihood estimation and sampling through invertible transformations. A key challenge is designing linear layers that enhance expressiveness while enabling efficient computation of the Jacobian determinant and inverse. In this work, we introduce a novel invertible linear layer based on the product of circulant and diagonal matrices. This decomposition provides a parameter-and computation-efficient formulation, reducing the parameter complexity from O(n 2 ) to O(mn) by using m diagonal matrices together with m -1 circulant matrices, while approximating arbitrary linear transformations. Furthermore, leveraging the Fast Fourier Transform (FFT), our method reduces the time complexity of matrix inversion from O(n 3 ) to O(mn log n) and matrix log-determinant from O(n 3 ) to O(mn), where n is the input dimension. Building upon this, we introduce a novel normalizing flow model called Circulant-Diagonal Flow (CDFlow). Empirical results demonstrate that CDFlow excels in density estimation for natural image datasets and effectively models data with inherent periodicity. In terms of computational efficiency, our method speeds up the matrix inverse and log-determinant computations by 1.17× and 4.31×, respectively, compared to the general dense matrix, when the number of channels is set to 96.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 4656cd69-3e05-4a75-aa9e-1e78fc32036eBuilds on9
- DreamLLM: Synergistic Multimodal Comprehension and CreationRunpei Dong, Chunrui Han, Yuang Peng, Zekun Qi et al.ICLR 2024 · 315 citations
- Flow Matching for Generative ModelingYaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel et al.ICLR 2023 · 87 citations
- Invertible DenseNets with Concatenated LipSwishYura Perugachi-Diaz, Jakub M. Tomczak, Sandjai BhulaiNeurIPS 2021 · 29 citations
- Maximum Entropy Reinforcement Learning via Energy-Based Normalizing FlowChen-Hao Chao, Chien Feng, Wei-Fang Sun, Cheng-Kuang Lee et al.NeurIPS 2024 · 29 citations
- Scalable Bayesian GPFA with automatic relevance determination and discrete noise modelsKristopher T. Jensen, Ta-Chu Kao, Jasmine Stone, Guillaume HennequinNeurIPS 2021 · 22 citations
Related papers
- ButterflyFlow: Building Invertible Layers with Butterfly MatricesChenlin Meng, Linqi Zhou, Kristy Choi, Tri Dao et al.ICML 2022 · 13 citations
- Self Normalizing FlowsT. Anderson Keller, Jorn W. T. Peters, Priyank Jaini, Emiel Hoogeboom et al.ICML 2021 · 14 citations
- NanoFlow: Scalable Normalizing Flows with Sublinear Parameter ComplexitySang-gil Lee, Sungwon Kim, Sungroh YoonNeurIPS 2020 · 20 citations
- Woodbury Transformations for Deep Generative FlowsYou Lu, Bert HuangNeurIPS 2020 · 19 citations
- Relative gradient optimization of the Jacobian term in unsupervised deep learningLuigi Gresele, Giancarlo Fissore, Adrián Javaloy, Bernhard Schölkopf et al.NeurIPS 2020 · 25 citations
