Reduced Recovery Evaluation
Use this skill for soft-mode recovery when full legacy TensorFlow PINN training is blocked but a mechanism-faithful reduced experiment is allowed. It must execute real parameter updates and record gradient-statistic annealing evidence.
Inputs
- Problem builder and loss modules.
- Trainable model implementation.
- Annealing policy.
- Step count, learning rate, and random seed.
- Output directory for recovery artifacts.
Outputs
- Training trace with
params_before,params_after, losses, lambdas, and metrics. - Recovery result containing numeric relative-L2 metrics.
- Mechanism checks for residual loss, boundary loss, adaptive lambda, and optimizer execution.
Workflow
- Build a deterministic Helmholtz problem.
- Initialize a small trainable model.
- Evaluate relative L2 before training.
- Compute separated losses and finite-difference gradients.
- Update lambda from gradient statistics and perform optimizer steps.
- Evaluate relative L2 after training and write JSON artifacts.
Validation
Run a recovery harness that imports this skill and then run the Distiller recovery experiment validator.