TRANSMISSION // 2612.05557v1
How a wide neural network can be made narrow
Source published
A mathematical construction rewrites a trained, wide neural network as a deeper, narrower one without retraining. It preserves ReLU networks exactly, but is not compression; results for smooth activations have important limits.

Can a neural network keep what it has learned while trading a broad layer for more layers with fewer units? Julian Stier’s preprint gives a constructive answer for certain networks: process groups of units one after another, carrying the input and accumulating their contributions along the way.
A wide neural network can process many hidden units in parallel. But what if a trained model needs fewer units at each layer? One option is to retrain a different architecture, potentially changing its predictions. Julian Stier’s preprint asks a more precise question: can a particular trained, shallow network be rewritten as a deeper, narrower network that computes the same function—or one that differs by a controlled amount—without retraining?
The answer depends on the activation function and the network being transformed. The paper develops a method called serialization. Instead of evaluating all hidden units at once, it divides them into groups and handles one group per layer. Special channels carry the original input forward, while others keep a running total of the groups’ contributions. The final layer combines that total with the last group’s contribution.
This works because the original network’s output is a sum of contributions from its hidden units. Serialization changes when those contributions are calculated, not which units contribute. For ReLU networks, the construction uses the identity that any number is the difference between its positive and negative parts. That lets the network carry inputs and running totals through ReLU layers.
Exact for ReLU, approximate for smooth activations
For a shallow ReLU network with input dimension d, output dimension K, and N hidden units, the construction uses L hidden layers in the new network. Its width is ⌈N/L⌉ + 2d + 2K. The paper proves that this network computes exactly the same function on all of ℝᵈ. Increasing the number of layers reduces the number of units assigned to each group, though input and output channels impose a floor on width. In particular, the paper proves that a first hidden layer narrower than the input dimension cannot approximate every possible target function arbitrarily well, regardless of how many later layers are added.
The method is a change of representation, not a way to shrink a model in every sense. The exact ReLU construction roughly doubles the number of non-zero weights. A narrower network may also have more sequential layers, so narrower does not automatically mean faster or cheaper to run.
For smooth activations such as tanh, sigmoid, and GELU, the exact ReLU trick is unavailable. The paper instead encodes values near an operating point and uses a local linear approximation to carry them through the network. It proves an error bound on a specified compact input set. Under the stated assumptions, the bound scales as O(L²δ), where δ controls the encoding; when the activation’s second derivative vanishes at the chosen point, it improves to O(L²δ²). Smaller δ can reduce approximation error, but the construction uses weights that grow like 1/δ, creating potential numerical difficulties in finite-precision computing.
The paper also extends the approach to convolutional neural networks, where width corresponds to the number of channels. For ReLU CNNs with zero padding, the transformation is exact under the stated setup. Smooth CNNs need extra care: zero padding creates a boundary issue for some activations, which the paper addresses with an additional mask channel. Its error-bound constants do not depend on image resolution. The work also gives constructions for certain strided convolutions and inverted residual blocks; it does not cover every modern architecture.
What the experiments show—and do not show
The numerical tests use synthetic classification tasks: a two-dimensional spiral for feed-forward networks and small images of sinusoidal stripes for CNNs. Stier first trains shallow networks, then transforms them without retraining. In these tests, ReLU outputs agree up to floating-point rounding, and tanh experiments show the predicted decrease in error as δ shrinks. Classification predictions can remain unchanged even when output scores, or logits, differ, provided the error is smaller than the original model’s classification margin.
These experiments check the proposed construction; they are not a broad benchmark of speed, hardware efficiency, or performance on real-world datasets. The paper also notes that fully general transformations of deep, wide networks may require extra computation, and that attention layers are not covered. Theoretical guarantees apply under the assumptions and bounds in the paper, not to arbitrary trained networks or every input setting.
This account is based on the supplied version of an arXiv preprint; it does not imply peer-reviewed validation. The manuscript discloses substantial assistance from a generative AI system in developing mathematical formulations, proofs, experiments, and writing. Stier says he reviewed the work and takes responsibility for it. Those disclosures do not establish whether the results are correct, so the proofs and experiments should be assessed independently.
- neural networks
- deep learning
- width-depth trade-off
- ReLU
- convolutional neural networks
- network reparameterization
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
How a CNN can learn signal amid noise
Source published
Shared keywords: convolutional neural networks
Why Some Neural Networks Need More Depth
Source published
Shared keywords: deep learning, neural networks
How well can neural networks classify encrypted traffic?
Source published
Shared keywords: deep learning
Can AI reliably spot crop pests in the field?
Source published
Shared keywords: deep learning
Random Voronoi Networks turn neighbor geometry into features
Source published
Shared keywords: neural networks