[Paper Review] Nonparametric Neural Networks
This paper introduces nonparametric neural networks, a framework that dynamically adjusts network size during a single training run by continuously adding and removing units via an ℓ₂ penalty and an ℓₚ regularization on fan-in or fan-out weights. The proposed AdaRad optimization algorithm enables automatic network growth and pruning, achieving higher accuracy than fixed-size networks and traditional hyperparameter search methods with less computational cost.
Automatically determining the optimal size of a neural network for a given task without prior information currently requires an expensive global search and training many networks from scratch. In this paper, we address the problem of automatically finding a good network size during a single training cycle. We introduce *nonparametric neural networks*, a non-probabilistic framework for conducting optimization over all possible network sizes and prove its soundness when network growth is limited via an L_p penalty. We train networks under this framework by continuously adding new units while eliminating redundant units via an L_2 penalty. We employ a novel optimization algorithm, which we term *adaptive radial-angular gradient descent* or *AdaRad*, and obtain promising results.
Motivation & Objective
- To address the challenge of automatically selecting optimal neural network size without prior knowledge or expensive global hyperparameter searches.
- To enable dynamic network growth and pruning during a single training run, avoiding repeated full training cycles.
- To prove theoretical soundness of the framework under ℓₚ regularization on fan-in or fan-out weights, ensuring convergence to a finite-size solution.
- To develop a novel optimization algorithm, AdaRad, that adapts radial and angular steps for efficient network size adjustment.
- To demonstrate that nonparametric networks achieve higher test accuracy than both fixed-size networks and standard hyperparameter search methods.
Proposed method
- Introduces a nonparametric neural network framework where network width (number of units per layer) is a learnable hyperparameter, not fixed in advance.
- Applies a fan-in or fan-out ℓₚ regularizer (Ω_in or Ω_out) to prevent unbounded network growth and ensure finite optimal size.
- Employs a novel normalization layer, CapNorm, to stabilize training during dynamic network size changes.
- Proposes AdaRad (Adaptive Radial-Angular Gradient Descent), an optimization algorithm that adaptively adjusts radial (weight magnitude) and angular (direction) steps.
- Uses a two-phase training strategy: first grow the network by adding units, then prune redundant units via ℓ₂ regularization while maintaining performance.
- Employs a rewinding mechanism after convergence to refine hyperparameters, gradually reducing step sizes until no further improvement is observed.
Experimental results
Research questions
- RQ1Can a neural network automatically determine its optimal size during a single training run without prior knowledge or multiple full training cycles?
- RQ2Does dynamic network growth and pruning via ℓ₂ and ℓₚ regularization lead to better generalization than fixed-size networks?
- RQ3Can the proposed AdaRad optimization algorithm effectively balance network expansion and pruning to improve model accuracy?
- RQ4Is the nonparametric framework theoretically sound, with a guaranteed finite optimal network size under ℓₚ regularization?
- RQ5How does the performance of nonparametric networks compare to standard hyperparameter search methods like random search or Bayesian optimization?
Key findings
- Nonparametric networks achieve higher test accuracy than fixed-size networks of the same size, demonstrating the benefit of dynamic architecture adaptation.
- The framework achieves a global minimum in training error at a finite network size when using fan-in or fan-out ℓₚ regularization with λ > 0.
- AdaRad enables effective joint optimization over network size and weights, outperforming standard optimizers like Adam and RMSprop in dynamic settings.
- On the poker dataset, the best nonparametric network achieved a test error of 1.44%, outperforming the best fixed-size network (1.52%) and all standard hyperparameter search baselines.
- The network size selected by the nonparametric framework was consistently smaller than the best-performing fixed-size networks, indicating improved parameter efficiency.
- The ablation study confirmed that both the CapNorm layer and the AdaRad algorithm are essential for stable and effective training in the nonparametric regime.
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.