"매 NN 매 PDE 의 solution 매 학습 — 매 physics 의 loss 의 embed". 매 Raissi/Perdikaris/Karniadakis (2019, JCP) 매 popularize. 매 soft constraint 매 PDE residual + boundary/initial conditions → 매 mesh-free PDE solver. 매 sparse data + known physics regime 매 best.
매 핵심
매 formulation
매 NN: u_θ(x, t) — 매 neural network 매 solution 의 approximate.
매 PDE residual loss: L_pde = ||N[u_θ] - 0||² (e.g. ∂u/∂t + u ∂u/∂x - ν ∂²u/∂x² for Burgers).
매 BC/IC loss: L_bc + L_ic — 매 boundary + initial conditions.
매 data loss (optional): L_data — 매 sparse measurements 의 fit.
매 total: L = λ_pde·L_pde + λ_bc·L_bc + λ_ic·L_ic + λ_data·L_data.
매 autograd: 매 ∂u/∂x, ∂²u/∂x² 의 torch.autograd.grad 로 compute.
매 강점 + 약점
매 강점: mesh-free, 매 inverse problems, 매 sparse/noisy data, 매 high-dim PDEs (curse-resistant), 매 unified forward+inverse.
매 약점: 매 stiff PDEs (multi-scale) 매 fail, 매 training slow, 매 loss balancing tricky, 매 FEM 보다 매 large-domain 의 underperform.
매 변형
매 XPINN (extended): 매 domain decomposition.
매 cPINN (conservative): 매 conservation laws.
매 hp-VPINN: variational + hp-refinement.
매 PINO (Physics-Informed Neural Operator): 매 operator learning + physics loss.
매 DeepONet + PINN hybrid.
매 SA-PINN: self-adaptive loss weights.
매 modern (2026)
매 Neural Operators (FNO, DeepONet): 매 PINN 보다 매 generalization across PDE families.
매 Foundation models for PDEs: Poseidon (2024), DPOT (2024).
매 Diffusion-based PDE solvers.
매 PINN 매 still useful: 매 inverse problems + 매 physics-constrained design.
# Treat viscosity as trainable parameternu=torch.nn.Parameter(torch.tensor(0.05,device="cuda"))opt=torch.optim.Adam([*model.parameters(),nu],lr=1e-3)# Add data loss from sparse measurementsx_d,t_d,u_d=load_measurements()L_data=((model(x_d,t_d)-u_d)**2).mean()# nu converges to true value during training
Self-adaptive weights (SA-PINN)
# Trainable per-point weights — 매 hard regions 의 emphasizelambda_pde=nn.Parameter(torch.ones(N_collocation,1,device="cuda"))L_pde=(lambda_pde*pde_residual(...)**2).mean()# Maximize w.r.t. lambda, minimize w.r.t. theta — adversarial-ish
언제: 매 forward/inverse PDE problems 매 sparse data, 매 mesh-free desired, 매 unified data+physics framework 의 wanted.
언제 X: 매 production CFD (FEM/FVM 매 mature), 매 stiff multi-scale (notorious failure), 매 same PDE solved 1000s of times (operator learning).
❌ 안티패턴
매 unbalanced loss weights: 매 L_pde dominates → 매 BC violation. 매 SA-PINN 또는 manual tuning.
매 single-stage stiff training: 매 sequence-to-sequence (causal) training 의 사용.
매 ReLU activation: 매 PINN 매 smooth activation (tanh, sin, GELU) 의 필요 — autograd hessian.
매 PINN > FEM claim: 매 standard forward problems 매 still FEM-superior.