arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.13935cs.LGcs.NAmath.NA
收藏

神经网络的LU分解和Toeplitz分解

LU decomposition and Toeplitz decomposition of a neural network

University of Chicago(芝加哥大学)

Yucong Liu, Simiao Jiao, Lek-Heng Lim

摘要:

众所周知,任何矩阵$A$都有LU分解。不太为人所知的是它有一个“Toeplitz分解”$A = T_1 T_2 \cdots T_r$,其中$T_i$是Toeplitz矩阵。我们将证明,任何连续函数$f : \mathbb{R}^n \to \mathbb{R}^m$都具有采用$L_1 σ_1 U_1 σ_2 L_2 σ_3 U_2 \cdots L_r σ_{2r-1} U_r$形式的神经网络的任意精度的近似,即,其中权重矩阵在下三角矩阵和上三角矩阵之间交替,对于某个偏置向量$b_i$,为$σ_i(x) := σ(x - b_i)$,并且激活$σ$可以被选择为基本上任何一致连续的非多项式函数。同样的结果也适用于Toeplitz矩阵,即,$f \approx T_1 σ_1 T_2 σ_2 \cdots σ_{r-1} T_r$到任意精度,并且对于Hankel矩阵也是如此。我们的Toeplitz结果的一个结果是卷积神经网络的固定宽度通用近似定理,到目前为止,卷积神经网络只有任意宽度的版本。由于我们的结果特别适用于$f$是一般神经网络的情况,我们可以把它们看作是神经网络的LU和Toeplitz分解。我们的研究结果的实际意义是,可以大大减少神经网络中的权重参数的数量,而不牺牲其通用逼近的能力。我们将在真实数据集上进行几个实验,以表明在权重矩阵上施加这种结构会大幅减少训练参数的数量,而对测试精度几乎没有明显的影响。

英文摘要:

It is well-known that any matrix $A$ has an LU decomposition. Less well-known is the fact that it has a 'Toeplitz decomposition' $A = T_1 T_2 \cdots T_r$ where $T_i$'s are Toeplitz matrices. We will prove that any continuous function $f : \mathbb{R}^n \to \mathbb{R}^m$ has an approximation to arbitrary accuracy by a neural network that takes the form $L_1 σ_1 U_1 σ_2 L_2 σ_3 U_2 \cdots L_r σ_{2r-1} U_r$, i.e., where the weight matrices alternate between lower and upper triangular matrices, $σ_i(x) := σ(x - b_i)$ for some bias vector $b_i$, and the activation $σ$ may be chosen to be essentially any uniformly continuous nonpolynomial function. The same result also holds with Toeplitz matrices, i.e., $f \approx T_1 σ_1 T_2 σ_2 \cdots σ_{r-1} T_r$ to arbitrary accuracy, and likewise for Hankel matrices. A consequence of our Toeplitz result is a fixed-width universal approximation theorem for convolutional neural networks, which so far have only arbitrary width versions. Since our results apply in particular to the case when $f$ is a general neural network, we may regard them as LU and Toeplitz decompositions of a neural network. The practical implication of our results is that one may vastly reduce the number of weight parameters in a neural network without sacrificing its power of universal approximation. We will present several experiments on real data sets to show that imposing such structures on the weight matrices sharply reduces the number of training parameters with almost no noticeable effect on test accuracy.

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

↑