PackNet Continual Learning: Weight Budget and Error per Task (2D)
Bars of weights granted per task, a weight grid coloured by owning task and the error per task for PackNet versus fine-tuning. The same shared model as the 3D scene with numerical checks.
PackNet solves catastrophic forgetting by structural guarantee rather than by hoping regularization holds: it iteratively prunes a fixed-size network, freezing the most important surviving weights into a permanent binary mask for each task and handing the rest of the capacity forward to the next one. This simulator renders that process as a 16×16 grid of neural weights in 3D — each "Train Next Task" pass trains the free slots, ranks them by simulated importance, and freezes the top fraction (set by the Keep ratio slider) into a new colored, permanently frozen layer. Because frozen weights are never touched again, each task's accuracy — modeled as a saturating function of how many weights it was allocated relative to its difficulty — is locked in forever once its mask is cut, and the live per-task accuracy list proves it: earlier tasks never regress as later ones are added, right up until the shrinking free pool runs out.
Bars of weights granted per task, a weight grid coloured by owning task and the error per task for PackNet versus fine-tuning. The same shared model as the 3D scene with numerical checks.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install