Lune

NeurIPS2025Top-tier venue

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 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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on9

  1. DreamLLM: Synergistic Multimodal Comprehension and CreationRunpei Dong, Chunrui Han, Yuang Peng, Zekun Qi et al.ICLR 2024 · 315 citations
  2. Flow Matching for Generative ModelingYaron Lipman, Ricky T. Q. Chen, Heli Ben-Hamu, Maximilian Nickel et al.ICLR 2023 · 87 citations
  3. Invertible DenseNets with Concatenated LipSwishYura Perugachi-Diaz, Jakub M. Tomczak, Sandjai BhulaiNeurIPS 2021 · 29 citations
  4. 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
  5. 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

  1. ButterflyFlow: Building Invertible Layers with Butterfly MatricesChenlin Meng, Linqi Zhou, Kristy Choi, Tri Dao et al.ICML 2022 · 13 citations
  2. Self Normalizing FlowsT. Anderson Keller, Jorn W. T. Peters, Priyank Jaini, Emiel Hoogeboom et al.ICML 2021 · 14 citations
  3. NanoFlow: Scalable Normalizing Flows with Sublinear Parameter ComplexitySang-gil Lee, Sungwon Kim, Sungroh YoonNeurIPS 2020 · 20 citations
  4. Woodbury Transformations for Deep Generative FlowsYou Lu, Bert HuangNeurIPS 2020 · 19 citations
  5. 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
Dusk over the sea between two cliffs drawn in fine vertical lines