TL;DR
As neural networks train, their weights tend to grow without bound, causing plasticity loss—a gradual decline in the network's ability to learn new data. This paper introduces Soft Weight Rescaling (SWR), an update-step regularization technique that gently scales layer weights back toward their initialization norms without wiping out learned knowledge. By leveraging network proportionality, SWR prevents runaway parameter growth, preserves network balance, and boosts performance across warm-start, continual, and standard supervised learning benchmarks.
What Problem Does This Paper Address?
In non-stationary setups (like continual learning or warm-starting on new data), pre-trained neural networks often perform worse on new data than a network trained fresh from scratch. A leading culprit is unbounded weight growth: as weights become enormous, model sensitivity increases and the network becomes rigid and difficult to steer.
Existing solutions face distinct tradeoffs:
- Loss-based regularization (e.g., $L_2$ weight decay, distance penalties): Penalties can conflict with optimization objectives, weaken as networks get deeper, fail to balance layer-wise growth rates, and require extra gradient computations.
- Re-initialization (e.g., resetting dormant units, head reset, Shrink & Perturb): While re-initializing layers restores plasticity, it directly discards learned knowledge, triggering severe performance drops when previous data cannot be revisited.
The authors ask: Can we continuously curb weight growth and restore plasticity without erasing prior knowledge or introducing optimization friction?
Methods
The authors propose Soft Weight Rescaling (SWR), which intervenes directly on parameter magnitudes at each optimization step.
- Proportional Weight Rescaling: The paper proves that for networks with homogeneous activations (like ReLU or Leaky ReLU), scaling layer weights $W_l$ by factor $c_l$ while tracking cumulative scaling on biases $b_l$ keeps the network mathematically proportional to the original network ($f_{\theta^c}(x) = C \cdot f_\theta(x)$). This preserves output class predictions exactly, avoiding instantaneous accuracy drops when scaling parameters.
-
Soft Scaling Factor ($c_l$): Rather than forcing hard norm constraints, SWR scales each layer using an exponential moving average (EMA) formulation: $$c_l = \frac{\lambda \|W_l^{\text{init}}\| + (1 - \lambda)\|W_l\|}{\|W_l\|}$$ where $\lambda \in [0, 1]$ controls regularization strength. This smoothly pulls layer weights toward their initial Frobenius norm.
-
Handling Normalization Layers: Because normalization layers (BatchNorm, LayerNorm) are scale-invariant to incoming activations, SWR cumulates scale factors starting from the final normalization layer up through the classifier.
- Theoretical Guarantees:
- Bounded Weights & Lipschitz Continuity: Provided the gradient update norm is bounded, SWR guarantees that the Frobenius norm of all layers remains strictly bounded, which in turn bounds the global Lipschitz constant.
- Inter-layer Balancedness: SWR acts as a generalized mediant on layer growth rates, provably drawing inter-layer norm ratios closer to their initial balance.
Datasets
The authors evaluated SWR on standard image classification benchmarks:
- MNIST: Evaluated using a 3-layer MLP (100 hidden units).
- CIFAR-10 & CIFAR-100: Evaluated with custom CNNs (with and without Batch Normalization).
- TinyImageNet: Evaluated using full-scale VGG-16 (4096 classifier hidden units).
Note: No new benchmark datasets were introduced.
Key Insights and Ideas
- Rescaling biases correctly preserves behavior: Arbitrarily multiplying weights by a fraction typically destroys model predictions. By correctly scaling the bias terms by the cumulative product of preceding scalers ($\prod_{i=1}^l c_i$), SWR preserves exact classification predictions while shrinking parameter magnitude.
- Per-layer scaling solves the depth decay of $L_2$: Standard weight decay is known to penalize earlier and deeper layers unevenly. Regulating each layer relative to its own change rate enforces layer-to-layer balance during training.
- No post-reset shock: Unlike periodic re-initialization methods (such as Shrink & Perturb), SWR does not trigger abrupt performance drops between training stages, making it especially effective when past data is inaccessible.
Key Results
- Warm-Starting: Across 100 epochs on 50% data followed by 100 epochs on full data, SWR closed the warm-start generalization gap across architectures. Notably on VGG-16 (TinyImageNet), where weight decay and $L_2$-Init brought little advantage, SWR outperformed Shrink & Perturb (S&P) and head-resetting baselines.
- Continual Learning (Full & Limited Access):
- In a 10-chunk continual setup, SWR maintained smooth trajectories and avoided the catastrophic drops exhibited by re-initialization methods upon chunk switches.
- In the limited-access setting (simulating catastrophic forgetting), SWR preserved prior performance on CNNs and showed steady test accuracy gains on VGG-16.
- Standard Generalization: In 200-epoch stationary training, SWR yielded improvements across all models. On TinyImageNet with VGG-16, SWR reached 43.48% test accuracy (vs. 39.12% vanilla and 39.15% $L_2$). When combined with learning rate scheduling and initial-norm resetting (
SWR + re-init), performance reached 51.65% (and standalone SWR reached 52.21%), outperforming $L_2$ (40.80%).
Limitations and Future Work
- Handling Learning Rate Decay: When learning rates decay, the equilibrium between gradient update norm and SWR contraction shifts, causing weights to drop excessively toward initial norms. While the authors' heuristic (
SWR + re-init) alleviated this on smaller models, it led to a slight performance penalty on VGG-16 compared to standard SWR. - Scaling-Down Focus: SWR only scales weights downward. The authors suggest investigating active upward scaling to accelerate training in under-parameterized layers.
- Architectural Scope: Experiments focused on MLPs, CNNs, and VGG-16. Extending proportional rescaling to transformer architectures and self-attention remains an open direction.
Summary updated