Skip to content
Technology How it works Breeder — Hyperion Burner — Aegis Burner — MetroVolt AI-Native Architecture Magnets Fuel cycle Safety Roadmap
Solutions AI & Data Centers Defense & Government Grid & Baseload Neutron Detection Quantum
Learn Technical Library
Proof Publications Whitepapers Technical Library Open Science & Reproducibility The Honest Gates
Company About / Mission Leadership Environment Health & Safety Investors Careers Press Contact
3D Model
AI Architecture › Mathematical Foundations
Mathematical Foundations

PINN Loss Construction and Weighting

A PINN's loss sums PDE residual, boundary, and data terms; how those terms are weighted decides whether training converges to the physical solution.

STRATEGY / SLOW ▲ ▼ MICROSECOND REAL-TIMEL7Ecosystem & Strategytelemetry ▲ control ▼open ▸L6Experience & Visualizationtelemetry ▲ control ▼open ▸L5Applications & Copilotstelemetry ▲ control ▼open ▸L4Orchestrationtelemetry ▲ control ▼open ▸L3Twin Modeling & AItelemetry ▲ control ▼open ▸L2Data Fabrictelemetry ▲ control ▼open ▸L1Control Planetelemetry ▲ control ▼open ▸L0Foundationtelemetry ▲ control ▼open ▸PHYSICAL S.M.A.R.T. GENERATOR PLANTBREEDER · HYPERION1R0 1.2 m · A 2.5 · 16.84 T · δ −0.30BURNER · TANDEM MIRROR2317 T throat · 26.49 T plug · fₙ 5.44% · DEC1 center stack + plasma · 2 high-field plug · 3 expander → direct converterCOLOR GRAMMAR strategy AI-workflow infra/data models reactor/DECLINE SEMANTICStelemetry (µs)controlKRONOS FUSION ENERGYAI-NATIVE S.M.A.R.T. GENERATORMASTER BLUEPRINTSHEET 01REV. 2026-08L0-L7 · 2 MACHINES
The AI-Native S.M.A.R.T. Generator Master Blueprint — eight layers (L0→L7), one control stack, wired to both machines. Telemetry rises in microseconds; control descends the same path.

The composite objective

A PINN loss is a weighted sum of several objectives: the interior PDE residual, boundary/initial conditions, and any measured data. Each term is a mean-squared quantity over its own sample points. The weights balance terms that live on different scales and gradients, and getting them wrong is the most common reason a PINN converges to a plausible-looking but non-physical field.

text
Total loss:

  L(theta) = w_pde * L_pde  + w_bc * L_bc  + w_data * L_data

  L_pde  = (1/N_r) sum_i | N[psi_theta](x_i) |^2      (collocation)
  L_bc   = (1/N_b) sum_j | B[psi_theta](x_j) |^2      (boundary)
  L_data = (1/N_d) sum_k | psi_theta(x_k) - d_k |^2   (measurements)

  weights w_* balance term scales and gradient magnitudes

Adaptive weighting

Fixed weights rarely work across a scenario. The stack uses gradient-based adaptive weighting: it rescales each term so no single loss dominates the shared backbone's gradients. A common rule sets weights from the ratio of gradient norms, updated during training.

python
# gradient-norm adaptive weighting (schematic)
g_pde  = grad_norm(L_pde,  theta)
g_bc   = grad_norm(L_bc,   theta)
g_data = grad_norm(L_data, theta)
g_bar  = (g_pde + g_bc + g_data) / 3
w_pde  = g_bar / (g_pde + eps)
w_bc   = g_bar / (g_bc  + eps)
w_data = g_bar / (g_data+ eps)     # balance backbone gradients

Physics-specific terms

Beyond the raw PDE residual the breeder PINN adds terms that encode admissibility: monotonic flux from axis to boundary, positivity of pressure, and consistency of the reconstructed q profile with magnetics. For the burner, extra terms enforce quasineutrality and ambipolarity. These soft constraints steer training toward the physical branch of a nonlinear PDE that may have multiple solutions.

Loss weights are logged as provenance: because they change the solution a PINN converges to, they are part of the twin's reproducibility record, not a hidden hyperparameter.

Content reviewed August 2026 · design-and-simulation stage