谁说神经网络不是线性的?
Who Said Neural Networks Aren't Linear?
AI总结:
本文提出线性化器架构,通过结构运输概念使神经网络在特定向量空间中表现为线性算子,从而应用线性代数工具处理非线性映射,并展示其在扩散模型和风格迁移中的应用。
摘要:
神经网络以非线性著称。然而,线性性是相对于两个向量空间对$ f: X \to Y $而言的。利用代数中的结构运输概念,我们提出了一种方法,以显式识别非标准向量空间,其中神经网络作为线性算子作用。当将线性算子$ A $夹在两个可逆神经网络之间时,$ f(x) = g_y^{-1}(A g_x(x)) $,相应的向量空间$ X $和$ Y $由从$ g_x $和$ g_y $导出的新加法和缩放操作诱导。我们将这种架构称为线性化器。该框架使整个线性代数工具包,包括SVD、伪逆、正交投影等,适用于非线性映射。此外,我们证明了两个共享神经网络的线性化器的组合也是线性化器。我们利用这一性质,证明了使用我们的架构训练扩散模型使数百次采样步骤坍缩为单一步骤。我们进一步利用该框架在神经网络上强制幂等性(即$ f(f(x)) = f(x) $),从而得到一个全局投影生成模型,并展示模块化风格迁移。
英文摘要:
Neural networks are famously nonlinear. However, linearity is defined relative to a pair of vector spaces, $f:X \to 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_y^{-1}(A g_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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。