Who Said Neural Networks Aren't Linear?
Abstract
Neural networks are famously nonlinear. However, linearity is defined relative to a pair of vector spaces, f : X → Y. Leveraging the algebraic concept of transport of structure, we propose a method to explicitly identify non-standard vector spaces where a neural network acts as a linear operator. When sandwiching a linear operator A between two invertible neural networks, f (x) = g -1 y (Ag x (x)), the corresponding vector spaces X and Y are induced by newly defined addition and scaling actions derived from g x and g y . We term this kind of architecture a Linearizer. This framework makes the entire arsenal of linear algebra, including SVD, pseudo-inverse, orthogonal projection and more, applicable to nonlinear mappings. Furthermore, we show that the composition of two Linearizers that share a neural network is also a Linearizer. We leverage this property and demonstrate that training diffusion models using our architecture makes the hundreds of sampling steps collapse into a single step. We further utilize our framework to enforce idempotency (i.e. f (f (x)) = f (x)) on networks leading to a globally projective generative model and to demonstrate modular style transfer. † A.S. is a Chaya Fellow, supported by the Chaya Career Advancement Chair. Code available at https://github.com/ assafshocher/Linearizer
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.
1 top-tier paper has 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
- One-Step Offline Distillation of Diffusion-based Models via Koopman Modeling cites Elucidating the Design Space of Diffusion-Based Generative Models
- One-Step Offline Distillation of Diffusion-based Models via Koopman Modeling cites Diffusion Models Beat GANs on Image Synthesis
- One-Step Offline Distillation of Diffusion-based Models via Koopman Modeling cites Consistency Models
- One-Step Offline Distillation of Diffusion-based Models via Koopman Modeling cites Denoising Diffusion Probabilistic Models
- Elucidating the Design Space of Diffusion-Based Generative Models cites Diffusion Models Beat GANs on Image Synthesis
- Elucidating the Design Space of Diffusion-Based Generative Models cites Denoising Diffusion Probabilistic Models
- Elucidating the Design Space of Diffusion-Based Generative Models cites Denoising Diffusion Implicit Models
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Probabilistic Models
- Diffusion Models Beat GANs on Image Synthesis cites Denoising Diffusion Implicit Models
- Consistency Models cites Elucidating the Design Space of Diffusion-Based Generative Models
- Consistency Models cites Diffusion Models Beat GANs on Image Synthesis
- Consistency Models cites Denoising Diffusion Probabilistic Models
- Consistency Models cites Denoising Diffusion Implicit Models
- Denoising Diffusion Implicit Models cites Denoising Diffusion Probabilistic Models
Cited by top-tier papers1
Builds on13
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
- Elucidating the Design Space of Diffusion-Based Generative ModelsTero Karras, Miika Aittala, Timo Aila, Samuli LaineNeurIPS 2022 · 3,959 citations
- Consistency ModelsYang Song, Prafulla Dhariwal, Mark Chen, Ilya SutskeverICML 2023 · 1,720 citations
Related papers
- Transport of Algebraic Structure to Latent EmbeddingsSamuel Pfrommer, Brendon G. Anderson, Somayeh SojoudiICML 2024
- Flowification: Everything is a normalizing flowBálint Máté, Samuel Klein, Tobias Golling, François FleuretNeurIPS 2022 · 9 citations
- Modular Duality in Deep LearningJeremy Bernstein, Laker NewhouseICML 2025
- Adaptive Convolutions for Structure-Aware Style TransferPrashanth Chandran, Gaspard Zoss, Paulo F. U. Gotardo, Markus Gross et al.CVPR 2021
- Idempotent Generative NetworkAssaf Shocher, Amil Dravid, Yossi Gandelsman, Inbar Mosseri et al.ICLR 2024 · 24 citations
