[Paper Review] The Limitations of Large Width in Neural Networks: A Deep Gaussian Process Perspective
This paper investigates the inductive biases of wide neural networks by analyzing Deep Gaussian Processes (Deep GP), a nonparametric generalization of neural networks. It proves that as width increases, Deep GP converge to single-layer Gaussian processes, losing hierarchical representational capacity. Surprisingly, optimal test performance occurs at width 1 or 2, indicating that excessive width harms model adaptability and performance even after sufficient capacity is achieved.
Large width limits have been a recent focus of deep learning research: modulo computational practicalities, do wider networks outperform narrower ones? Answering this question has been challenging, as conventional networks gain representational power with width, potentially masking any negative effects. Our analysis in this paper decouples capacity and width via the generalization of neural networks to Deep Gaussian Processes (Deep GP), a class of nonparametric hierarchical models that subsume neural nets. In doing so, we aim to understand how width affects (standard) neural networks once they have sufficient capacity for a given modeling task. Our theoretical and empirical results on Deep GP suggest that large width can be detrimental to hierarchical models. Surprisingly, we prove that even nonparametric Deep GP converge to Gaussian processes, effectively becoming shallower without any increase in representational power. The posterior, which corresponds to a mixture of data-adaptable basis functions, becomes less data-dependent with width. Our tail analysis demonstrates that width and depth have opposite effects: depth accentuates a model's non-Gaussianity, while width makes models increasingly Gaussian. We find there is a "sweet spot" that maximizes test performance before the limiting GP behavior prevents adaptability, occurring at width = 1 or width = 2 for nonparametric Deep GP. These results make strong predictions about the same phenomenon in conventional neural networks trained with L2 regularization (analogous to a Gaussian prior on parameters): we show that such neural networks may need up to 500 - 1000 hidden units for sufficient capacity - depending on the dataset - but further width degrades performance.
Motivation & Objective
- To decouple the effects of width and representational capacity in neural networks by using Deep Gaussian Processes (Deep GP) as a nonparametric generalization.
- To investigate whether large width provides any benefit beyond sufficient capacity for a given modeling task.
- To analyze the inductive biases introduced by width in hierarchical models, particularly how width affects posterior adaptability and non-Gaussianity.
- To determine whether width has a detrimental effect on performance even after capacity is no longer limiting.
- To extend insights from Deep GP to conventional neural networks trained with L2 regularization, which induce a Gaussian prior on parameters.
Proposed method
- Generalize standard neural networks to Deep GP, where each layer is a vector-valued Gaussian process, enabling control over representational capacity independent of width.
- Prove that in the infinite width limit, Deep GP converge to single-layer Gaussian processes (Theorem 1), effectively losing depth and hierarchical feature learning.
- Analyze the posterior mean of Deep GP as a mixture of data-adaptable basis functions in a reproducing kernel Hilbert space, showing it becomes less data-dependent with increasing width.
- Perform a tail analysis to compare the effects of width and depth: depth increases non-Gaussianity (fatter tails, sharper peaks), while width increases Gaussianity (Theorem 2 and 3).
- Use empirical experiments on MNIST and CIFAR10 to validate theoretical findings, training Bayesian and conventional neural networks with L2 regularization and matching hyperparameters to the limiting GP.
- Match hyperparameters of Deep GP and neural networks to the limiting GP to ensure fair comparison, using log marginal likelihood maximization and NUTS sampling for Bayesian models.
Experimental results
Research questions
- RQ1Does increasing width beyond sufficient capacity improve generalization in hierarchical models, or does it degrade performance due to loss of representational flexibility?
- RQ2What happens to the posterior and inductive bias of Deep GP in the infinite width limit, and how does this affect model adaptability to data?
- RQ3How do width and depth differentially affect the non-Gaussianity of hierarchical models, particularly in terms of tail behavior and peak sharpness?
- RQ4Can insights from nonparametric Deep GP be transferred to parametric neural networks with L2 regularization, and what is the optimal width for such models?
- RQ5Is there a 'sweet spot' in width that maximizes test performance before the model collapses into a shallow GP limit?
Key findings
- Deep GP converge to single-layer Gaussian processes in the infinite width limit, effectively losing depth and hierarchical feature learning (Theorem 1).
- The posterior mean of Deep GP becomes less data-dependent with increasing width, collapsing to a data-independent kernel, indicating reduced feature learning.
- Width and depth have opposing effects: depth increases non-Gaussianity (fatter tails, sharper peaks), while width increases Gaussianity (Theorems 2 and 3).
- For nonparametric Deep GP, optimal test performance is achieved at width 1 or 2, with further width degrading performance.
- For Bayesian and conventional neural networks with L2 regularization, performance degrades beyond a certain width, with optimal performance at 16 or fewer units on small datasets (N ≤ 1000).
- On larger datasets like CIFAR10, optimal width for conventional neural networks is still limited, with performance declining beyond 500–1000 hidden units depending on the dataset and architecture.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.