TL;DR
This paper proves a uniform compressibility theorem for deep multilayer perceptrons (MLPs) with analytic activations, demonstrating that a wide network can be compressed into a much narrower one of the same depth. Strikingly, the width of this compressed network is entirely independent of the original width, scaling polylogarithmically with the inverse error budget and depending solely on the input dimension. This reveals that the true functional complexity of a deep network is fundamentally constrained by the dimensionality of its data rather than its initial size.
What Problem Does This Paper Address?
Modern deep neural networks are notoriously overparameterized, yet they can be aggressively pruned, quantized, or distilled post-training with virtually no loss in performance. While empirical compression techniques work incredibly well, a rigorous theoretical explanation has been lacking.
Existing approximation theories typically focus on bounding error for an entire class of functions or rely heavily on data-dependent distributions. They often fail to provide uniform (worst-case) guarantees for a fixed, deep network across its entire input domain without using data. This paper bridges the gap by asking a fundamental question: Can we constructively compress any given wide, deep MLP into a narrow counterpart with a guaranteed bound on the maximum discrepancy across the entire input space?
Methods
The authors introduce a data-free, constructive compression framework based on two main pillars:
- Derivative Matching: Instead of matching network activations on a specific dataset, the authors match the partial derivatives of the network's hidden layers at the origin up to a certain order $k$. For real-analytic activation functions (such as sigmoid, tanh, or GELU), matching these local derivatives allows them to geometrically control the remainder of the function's Taylor expansion.
- Deterministic Rank Reduction: The authors reformulate layer-wise compression as a measure compression problem. They introduce a deterministic rank-reduction algorithm (Algorithm 1) that operates on a "derivative-feature matrix." This algorithm selects a small subset of the original neurons (at most $\binom{d_{in}+k}{d_{in}}$) and recomputes their outgoing weights to perfectly preserve the low-order input-output mapping.
Crucially, to compress a deep network, they apply this single-layer compression sequentially in backward order (from the output layer down to the input layer). This specific ordering ensures that the mathematical constants governing the network's weight norms remain bounded and do not explode recursively.
Datasets
As a theoretical study, this paper does not evaluate on standard large-scale empirical datasets like ImageNet. Instead, the authors validate their mathematical guarantees using controlled synthetic setups:
- Randomly Initialized Networks: They evaluate single hidden-layer networks (width 2048) and deep networks (5 layers, hidden widths of 1024) using sigmoid and GELU activations.
- Synthetic Target Function: To test post-training compression, they train a 3-hidden-layer MLP (width 512) to fit a smooth 2D target function: $q(x_1, x_2) = \sin(2x_1) + \frac{1}{2}\cos(3x_2) + \frac{1}{4}x_1x_2$. Training is performed on 20,000 Sobol sampling points, and evaluation is conducted on 150,000 held-out points.
Key Insights and Ideas
- True Width Independence: The maximum width of the compressed network has absolutely no explicit dependence on the original network's width. Once the teacher network's weight bounds are established, the compressed width is driven entirely by the error budget $\varepsilon$ and the effective input dimension $d_{in}$.
- Complexity is Driven by Data Dimension: The effective complexity of an analytic neural network scales as $O((\log(1/\varepsilon))^{d_{in}})$. This means that for low-dimensional inputs, wide networks cannot express fundamentally more complex patterns than a much narrower network.
- Forward vs. Backward Stability: Theoretically, backward compression is required to guarantee strict error bounds. However, the authors' experiments revealed that forward and backward compression perform almost identically in practice, suggesting that the underlying function remains remarkably stable regardless of the optimization order.
Key Results
- Geometric Error Decay: As predicted by the theory, the uniform approximation error decays exponentially as the derivative-matching order $k$ increases. For an input radius $R \le 1$, the error quickly hits the float32 numerical noise floor ($\sim10^{-6}$) at a low derivative order ($k \approx 5$).
- Massive Parameter Reduction: When compressing the trained 3-hidden-layer MLP, the method achieved a 304× reduction in total parameter count (compressing hidden layers from 512 down to a width of 28) while keeping the test Mean Squared Error (MSE) within 1.05× of the uncompressed teacher network.
Limitations and Future Work
- No Support for ReLU: The proof relies heavily on the holomorphy (complex differentiability) of real-analytic activation functions. It does not apply to ReLU due to its non-differentiable point at zero. Extending this framework to ReLU remains an open challenge.
- High Computational Cost: Evaluating high-order derivative features and executing the combinatorial maximum-volume search for rank reduction is highly compute- and memory-intensive. As a result, the current algorithm serves as a theoretical proof-of-existence rather than a practical tool for compressing LLM-scale models.
- The Curse of Input Dimensionality: The compressed width scales exponentially with the input dimension $d_{in}$. While highly effective for low-dimensional inputs, the bound becomes vacuous for high-dimensional raw inputs (like high-resolution images) unless the network can be shown to operate on a low-dimensional intrinsic manifold.
Summary updated