executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
adaptive_ntk_weightingCompute Algorithm 1 PINN loss weights from NTK trace ratios with degeneracy checks and diagnostics.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill after computing PINN NTK block traces. It implements the trace-ratio weighting rule proposed for calibrating convergence rates of different loss components.
trace_full: trace of the combined boundary-plus-residual NTK.trace_kuu: boundary-output kernel trace.trace_krr: residual-operator kernel trace.lambda_b = trace_full / trace_kuu.lambda_r = trace_full / trace_krr.Run:
python tests/test_adaptive_weights.py
The tests verify the paper's ratio formulas and that the smaller-trace component receives a larger weight.
The skill does not tune learning rates or batch sizes. It only computes the NTK-based loss weights used by a downstream training loop.