Elastic Weight Consolidation (EWC)
Adds a quadratic penalty term to the loss function that discourages changes to parameters important for previous tasks. Importance is estimated using the diagonal of the Fisher Information Matrix, computed after training on each task. This allows the model to learn new tasks while preserving critical weights.