학술

Trading Width for Depth: Exact and Approximate Serialization of Shallow Neural Networks into Deep Narrow Networks, with an Extension to Convolutional Architectures

arXiv CS.AI
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

Abstract

We study how a trained shallow and wide neural network can be transformed into a deeper and narrower network that computes the same function, either exactly or up to a prescribed uniform error~$\varepsilon$. The construction partitions the $N$ hidden units of the shallow network into $L$ blocks, evaluates one block per layer of the deep network, carries the input forward through dedicated channels and accumulates the partial output sums in further channels. For the ReLU activation the transformation is exact on all of $\R^d$ and yields width $\lceil N/L\rceil+2d+2K$, where $d$ and $K$ are the input and output dimensions. We transfer the theory to convolutional neural networks. The development culminates in a quantitative theorem for convolutional networks with smooth activations, in which an additional mask channel removes a boundary obstruction caused by zero padding and all constants are independent of the image resolution. Numerical experiments on synthetic data confirm exactness for ReLU networks, the predicted $\delta^2$ convergence rate for $\tanh$ networks, and preserved classification accuracy.
Additional Features

관련 뉴스