EWC Recovery Evaluation
Use this skill to execute a reduced or full sequential-training comparison for Elastic Weight Consolidation. It should be used after task protocol, Fisher importance, and EWC penalty skills are available.
Inputs
- Protocol JSON with task order and datasets.
- Generated skill root containing
ewc_task_protocol,ewc_fisher_importance, andewc_penalty. - Module-plan target metadata.
- Output paths for recovery artifacts.
Outputs
recovery_result.jsonwith numeric retention metrics and mechanism checks.training_trace.jsonwith before/after loss and parameter values.- Skill invocation evidence proving generated modules were used.
Workflow
- Fit task A and snapshot parameters.
- Estimate a diagonal Fisher from task-A gradients.
- Train task B with plain SGD and with EWC.
- Compare task-A retention and Fisher-weighted drift.
- Save command-produced recovery artifacts.
Validation
Run:
python tests/test_recovery_evaluation.py
Limitations
The bundled harness is a reduced synthetic proxy. It does not claim full permuted-MNIST or Atari reproduction.