Self-Expanding Neural Networks
Rupert Mitchell, Robin Menzenbach, Kristian Kersting, Martin Mundt
TL;DR
Self-Expanding Neural Networks (SENN) tackle the challenge of selecting neural network capacity during training by growing width and depth only when beneficial, without restarting optimization. They introduce the natural expansion score $\eta = \mathbf{g}^\top \mathbf{F}^{-1} \mathbf{g}$ to quantify potential loss reduction from additions, and use a principled, Kronecker-factored Fisher approximation to efficiently bound and guide growth. The framework provides four ingredients: how to add capacity without changing the function, initialization to maximize $\Delta \eta$, where to add capacity, and when to add capacity, forming a cohesive growth strategy that adapts to data complexity. Extensive experiments across regression, 2-D classification, and image tasks demonstrate stable, continuous expansion and occasional pruning, with benefits in transfer learning from pre-trained models. Overall, SENN offers a scalable, principled approach to dynamic architectures that tailor themselves to task difficulty and data-driven capacity needs, with potential extensions to transformers and continual-learning scenarios.
Abstract
The results of training a neural network are heavily dependent on the architecture chosen; and even a modification of only its size, however small, typically involves restarting the training process. In contrast to this, we begin training with a small architecture, only increase its capacity as necessary for the problem, and avoid interfering with previous optimization while doing so. We thereby introduce a natural gradient based approach which intuitively expands both the width and depth of a neural network when this is likely to substantially reduce the hypothetical converged training loss. We prove an upper bound on the ``rate'' at which neurons are added, and a computationally cheap lower bound on the expansion score. We illustrate the benefits of such Self-Expanding Neural Networks with full connectivity and convolutions in both classification and regression problems, including those where the appropriate architecture size is substantially uncertain a priori.
