pi-Net: Empirical Latent Representations for Differentiable Physics Heads in Data-Scarce Systems
Organizations: Tampere University · University of Helsinki
Abstract
Developing reliable predictive models for multi-physics systems often forces a compromise between computationally demanding physical simulators and data-hungry, opaque machine learning (ML) algorithms. While incorporating dimensional analysis into directed computation graphs offers a structurally sound alternative to explicitly solving partial differential equations (PDEs), such formulations typically yield underdetermined systems that act as imperfect simulators. We introduce pi-Net, a physics-informed latent variable model that resolves these imperfect simulators. The hybrid pi-Net architecture consists of an encoder that maps inputs into physically normalized latent space, which are then decoded into final predictions by a differentiable physics head. Evaluated on a real-world, data-scarce Gas Metal Arc Welding (GMAW) case study, the framework achieves an R2 of 0.864 with only 60 experimental samples. The results demonstrate that pi-Net significantly outperforms purely data-driven baselines in data-scarce regimes while providing causal, process-level explainability.
Figures & tables
| Baseline | -Net | |||||
|---|---|---|---|---|---|---|
| Model | MAPE | RMSE | MAPE | RMSE | ||
| LASSO | 0.742 | 10.69% | 1.919 | 0.840 | 7.92% | 1.511 |
| MLP | 0.809 | 7.39% | 1.652 | 0.851 | 7.14% | 1.461 |
| FT-Transformer | 0.796 | 8.14% | 1.708 | 0.864 | 6.93% | 1.394 |
| LASSO | MLP | FT-Transformer | ||||
|---|---|---|---|---|---|---|
| Training split | Baseline | -Net | Baseline | -Net | Baseline | -Net |
| 80% train; 20% test | 0.742 | 0.840 | 0.809 | 0.851 | 0.796 | 0.864 |
| 75% train; 25% test | 0.697 | 0.830 | 0.832 | 0.851 | 0.782 | 0.852 |
| 67% train; 33% test | 0.712 | 0.833 | 0.799 | 0.848 | 0.770 | 0.840 |
| 50% train; 50% test | 0.680 | 0.821 | 0.792 | 0.825 | 0.679 | 0.825 |
| Backbone Model | Architecture Configuration | Key Mechanism & Rationale |
|---|---|---|
| LASSO | Single linear layer mapping the 4 input features to 5 dimensionless coefficient outputs ( ). | Employs an penalty to perform feature selection, identifying which welding parameters exert the greatest influence on each dimensionless group. |
| MLP | Input: 4 neurons Hidden: 2 layers (16 neurons each) Output: 5 neurons corresponding to the coefficients | Compact design deliberately limits trainable parameters to mitigate overfitting risks on the small experimental dataset ( ). Aligns with standard, robust baselines for GMAW [47,48]. |
| FT-Transformer | Tokenization: Independent linear tokenizer projects each feature to a 64-dimensional embedding with additive learnable positional embeddings. Encoder: A CLS token is prepended (forming a 5-token sequence), processed by a 2-layer pre-norm transformer encoder. Output: Learned CLS representation is decoded to . | Attention mechanism explicitly models the complex, strong interdependencies between welding parameters (e.g., arc voltage and wire feed rate). |
Physics-Informed ML
Physics-informed machine learning combines data-driven models with physical laws to solve, predict, and infer scientific systems.
See all 836 papers