arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.01308cs.LG
收藏

通过库普曼算子理论将神经网络层表示为线性运算

Representing Neural Network Layers as Linear Operations via Koopman Operator Theory

New York University Tandon(纽约大学坦登工程学院);New York University Abu Dhabi(纽约大学阿布扎比分校)

Nishant Suresh Aswani, Saif Eddin Jabari, Muhammad Shafique

AI总结:

本文利用库普曼算子理论和动态模式分解,将预训练MLP中的非线性层替换为有限维线性算子,并在Yin-Yang和MNIST数据集上验证了该方法能以较小的精度损失实现网络层的线性化。

摘要:

简单神经网络的强大性能通常归因于其非线性激活。然而,线性视角下的神经网络使理解和控制网络变得更加可行。我们从动力系统的视角看待神经网络,利用库普曼算子理论及其与动态模式分解(DMD)的联系,提供了一个新的视角。二者共同构成了一个框架,通过将系统嵌入到适当的观测空间中来线性化动力系统。通过将神经网络重新表述为动力系统,我们证明可以用有限维线性算子替换预训练多层感知器(MLP)中的非线性层。此外,我们分析了DMD的特征值和SVD的右奇异向量,以证明时间延迟坐标为库普曼理论线性化网络层提供了一个直接且高效的观测空间。因此,我们将一个在Yin-Yang数据集上训练的MLP中的层替换为DMD模型的预测,实现了高达97.3%的模型准确率,而原始准确率为98.4%。此外,我们替换了一个在MNIST数据集上训练的MLP中的层,在测试集上实现了高达95.8%的准确率,而原始准确率为97.2%。

英文摘要:

The strong performance of simple neural networks is often attributed to their nonlinear activations. However, a linear view of neural networks makes understanding and controlling networks much more approachable. We draw from a dynamical systems view of neural networks, offering a fresh perspective by using Koopman operator theory and its connections with dynamic mode decomposition (DMD). Together, they offer a framework for linearizing dynamical systems by embedding the system into an appropriate observable space. By reframing a neural network as a dynamical system, we demonstrate that we can replace the nonlinear layer in a pretrained multi-layer perceptron (MLP) with a finite-dimensional linear operator. In addition, we analyze the eigenvalues of DMD and the right singular vectors of SVD, to present evidence that time-delayed coordinates provide a straightforward and highly effective observable space for Koopman theory to linearize a network layer. Consequently, we replace layers of an MLP trained on the Yin-Yang dataset with predictions from a DMD model, achieving a mdoel accuracy of up to 97.3%, compared to the original 98.4%. In addition, we replace layers in an MLP trained on the MNIST dataset, achieving up to 95.8%, compared to the original 97.2% on the test set.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑