Hierarchical neural networks adapt with less interference on prior learning

Novelty geometry, plasticity locus, and interference in hierarchical neural networks

Machine LearningNeural and Evolutionary Computing

Summary

When deep neural networks learn new things, different layers update depending on whether the input or output is new. The authors show that networks change only specific layers to minimize disruption to what was learned before. For example, if the input is new but the output is known, only the bottom layers update, preserving earlier knowledge. They also identify mathematical conditions that help networks avoid forgetting old information while learning new tasks. Their experiments confirm these ideas and demonstrate improved accuracy when new items are added.

What this means in practice

Authors

Jasmeet Singh Bindra, Siddharth Panwar

Abstract

When a hierarchical neural network adapts to a new item, which levels change and what interference cost follows? We analyse this in deep linear networks and test selected predictions in nonlinear predictive-coding, convolutional, and residual networks. Onset gradients lie on the contiguous plasticity window reached by both bottom-up activity and top-down error. In balanced networks, pure novelty can be classified into four types relative to learned input and output subspaces. A novel input with a familiar outcome activates only the bottom level, where one-shot or bottom-only updates spare old inputs in the learned subspace; joint all-level gradient flow obeys a conservation law yielding exact single-mode interference, while mode-locality confines output interference to touched modes under arbitrary step sizes. A familiar input with a novel outcome activates only the readout. For doubly novel items in balanced networks with spare hidden capacity and old inputs spanning the learned input subspace, depth $L\ge3$ yields a saddle where every negative-curvature direction perturbs at least one old output at first order while aligned interference-free flow escapes in time $Θ(\varepsilon^{-(L-2)})$. We bound upper-level interference, derive a cross-moment condition for safe partial replay, and show that raw-error precision contrasts localise predictive-coding plasticity. Nonlinear experiments support this localisation, cutting median old-digit accuracy loss from 23.8 to 0.45 percentage points on unseen MNIST digits, while pre-learning layer tangent kernels forecast stage-wise interference in CIFAR-10 CNNs ($r=0.79$, $ρ=0.83$) and old-class Kullback-Leibler (KL) divergence across nonlinear ResNet-18 blocks under cross-entropy ($r=0.942$, $ρ=0.90$; optimal stage in 52/60 familiar-output conditions).