Learning goals¶
Formulate an inverse PINN with trainable named parameters
Compare to classical LS on the same data contract
Keep network inputs, known signals, and unknowns in separate buckets
Reading¶
Inverse problems section of Raissi et al. (2019)
Where parameters enter¶
| Style | Network | Parameters |
|---|---|---|
| Forward PINN | Learns | Fixed inside residual |
| Inverse PINN | Learns | Trainable variables in residual |
The optimizer updates neural weights and (teaching Lab 3: , ).
Buckets (do not confuse)¶
| Bucket | Examples | Role |
|---|---|---|
| Network input | Feeds the NN | |
| Known signals | measured , setpoints | Residual / forcing |
| Unknowns | NN weights + | Optimized |
Measured power is not a parameter; it is a known signal or observation channel.
Comparison protocol (Lab 3)¶
Same measurements, noise model, window, and bounds
Classical LS baseline
Inverse PINN
Loss-surface or sensitivity diagnostic
Test fitted on a held-out disturbance
Worked example¶
Write with trainable. List which tensors require requires_grad=True.
Strengths and limits for identification¶
The forward-PINN limits (strengths and limits of physics losses) carry over. Inverse use adds three of its own.
Shared blame. Network weights and are fitted together. A flexible network can absorb model error that should have shown up in . So a low loss does not mean is right.
Weighting moves . Changing can shift the estimated , not only the fit quality. Report estimates for more than one weight.
Residual consistency is not trajectory consistency. Check the fitted by re-simulating with the reference solver (Lab 1). Compare that trajectory with the measurements, not the network output.
A tighter alternative puts the solver itself in the loop: differentiable simulation. There, is the only unknown and every candidate trajectory obeys the model exactly.
Lab¶
Further reading¶
Identifiability; identification pillar overview
Thuerey et al. (2021), discussion of physical losses and differentiable physics versus physics-informed training
Common misconceptions¶
Calling any PINN with parameters in the residual a solved identification problem
Optimizing without bounds or units
Using GFM triad language without declaring an elective model
- Raissi, M., Perdikaris, P., & Karniadakis, G. E. (2019). Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 378, 686–707. 10.1016/j.jcp.2018.10.045
- Thuerey, N., Holzschuh, B., Holl, P., Kohl, G., Lino, M., Liu, Q., Schnell, P., & Trost, F. (2021). Physics-based Deep Learning. arXiv. 10.48550/arXiv.2109.05237