Trading Width for Depth: Exact and Approximate Serialization of Shallow Neural Networks into Deep Narrow Networks, with an Extension to Convolutional Architectures
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 $δ^2$ convergence rate for $\tanh$ networks, and preserved classification accuracy.
- arXiv
- 2612.05557
- Authors
- Julian Stier
- Categories
- cs.AI · cs.LG · cs.NE