计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
adaptive_ntk_weighting【效率与协作】Compute Algorithm 1 PINN loss weights from NTK trace ratios with degeneracy checks and diagnostics.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
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.