인터페이스는 현지화되어 있으며, Skill 소개와 설명 문서는 선택한 언어로 AI가 자동 번역합니다. 코드·명령어·경로·전문 용어는 원문을 유지하며 원작자 문서가 우선합니다.
Skills 둘러보기
생산성 및 협업 · SKILL.md

pinn_loss_decomposition

pinn_loss_decomposition

Compute separated Helmholtz PINN residual and boundary losses so gradient imbalance can be diagnosed and corrected.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill 문서

GitHub

name: pinn_loss_decomposition description: Compute separated Helmholtz PINN residual and boundary losses so gradient imbalance can be diagnosed and corrected.

PINN Loss Decomposition

Use this skill when recovery needs separate PDE residual and boundary/data-fit loss terms. Do not collapse losses before gradient-statistic annealing.

Inputs

  • A trainable model with coordinate predictions.
  • Interior collocation points and forcing values.
  • Boundary points and exact boundary values.
  • Helmholtz parameters and current lambda values.

Outputs

  • Residual loss.
  • Boundary loss.
  • Weighted total loss.
  • Per-parameter gradients for residual and boundary losses when a compatible reduced model is used.

Workflow

  1. Predict the solution on interior and boundary samples.
  2. Compute the Helmholtz residual or a reduced residual proxy for the selected model family.
  3. Compute mean-squared residual and boundary errors separately.
  4. Combine them with current lambda weights only after logging the individual terms.

Validation

Run python scripts/losses.py --self-test or the skill tests.

저장한 Skills