Trading Width for Depth: Exact and Approximate Serialization of Shallow Neural Networks into Deep Narrow Networks, with an Extension to Convolutional Architectures
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~. The construction partitions the hidden units of the shallow network into 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 and yields width , where and 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 convergence rate for networks, and preserved classification accuracy.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG, cs.NE
Related papers
Scaling Neural Network Verification with Distributed αβ-CROWN
Shared title terminologycs.AILei Huang, Yifei Li, Xuanle Li et al.
Using Decision Trees and Neural Networks to assess risk factors towards mediation of IP-related disputes
Shared title terminologycs.AISpyridon Spyratos, Anton Petrov, Tamar Aanen et al.
SpikeRSI: Recursive Self-Improvement for Spiking Neural Network Design
Shared title terminologycs.AIWangcheng Tao, Zhanglu Yan, Kaiwen Tang et al.
Benchmarking Deep and Foundation Models for Agricultural Crop Price Forecasting and Market Interventions
Shared title terminologycs.AIGeetha Charan, Kodur Sai Vinay Sathvik, Manojkumar Patil et al.
PTMO: Enable Neural Network for Elastic Matryoshka Inference at Low-Cost
Shared title terminologycs.AITianyi Chen, Christina Huang, Jiachen Sun et al.
ExAb-OPT: Reducing Exact-Payload Exposure in LLM-Based Optimization through Executable Abstraction
Shared title terminologycs.AIZezhen Ding, Tianlong Chen, Jiheng Zhang