SingularClip: Preventing Spectral Collapse to Maintain Plasticity in Continual and Reinforcement Learning
Organizations: University of Toronto, Vector Institute, Mila · Polytechnique Montréal, Mila
Abstract
Neural networks trained on nonstationary tasks frequently lose the ability to fit new targets, a phenomenon referred to as loss of plasticity. We identify a novel source of plasticity loss due to the growing anisotropy of weight matrices' singular values during training, and analyze this phenomenon both empirically and theoretically. To mitigate this issue, we introduce SingularClip, a procedure that periodically clips the singular values of all weight matrices. We show that SingularClip performs strongly against baselines across a range of tasks in both continual supervised learning and deep reinforcement learning.
Figures & tables
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
| Shape | Relative Frobenius Error (%) |
|---|---|
| (128, 128) | |
| (256, 256) | |
| (512, 512) | |
| (1024, 1024) | |
| (256, 512) |
| Shape | SVD (ms) | Newton-Schulz (ms) |
|---|---|---|
| (128, 128) | 2.527 0.075 | 2.219 0.013 |
| (256, 256) | 6.282 0.006 | 2.540 0.653 |
| (512, 512) | 17.390 0.017 | 2.287 0.008 |
| (1024, 1024) | 51.230 0.259 | 4.887 0.029 |
| (256, 512) | 6.515 0.009 | 2.417 0.022 |
Loss of Plasticity
Loss of plasticity is the declining ability of trained neural networks to learn new tasks or data after continued optimization.
See all 20 papers