Beyond PINNs: Boundary-Enriched Holomorphic Networks for Laplace Problems
Organizations: University of Amsterdam · Technical University of Denmark
Abstract
Physics-informed neural networks (PINNs) solve partial differential equations by penalizing their residual, but this formulation can be difficult to optimize for solutions with singular behaviour. We focus specifically on the two-dimensional Laplace equation, whose strong analytical structure allows the governing equation to be enforced directly in the neural representation. We compare a hybrid harmonic-neural model with a holomorphic neural network whose output is harmonic by construction and therefore requires only boundary training. We further enrich the holomorphic model with singular functions chosen according to the interior angle and boundary conditions at each junction of boundary segments. On six singular benchmarks, the enriched model is the most accurate of the neural models we compare. On the four with a closed-form solution, however, that solution lies in the span of the enrichment terms, and a least-squares fit of these terms alone is exact to rounding error. On Motz's problem and the cracked beam, the neural core reduces the relative error of the recovered leading singular coefficient from about , for a least-squares fit with the same four terms, to about , and on four variants whose solution has a smooth part outside the span, the network is to times more accurate than a fit of its singular terms alone; classical least-squares fits with more singular terms, or with harmonic polynomials and rational poles, are more accurate still. Our results demonstrate how exploiting problem-specific analytical structure can provide an alternative to base and residual PINNs for challenging scientific computing problems.
Figures & tables
| Sides | Condition | Solution near | Term added | |
| D–N | any | , | ||
| D–N | , | |||
| D–D | value jump | |||
| D–D | , | |||
| N–N | , | |||
| N–N | , |
| Holomorphic | ||||||
| Problem | MLP | Harmonic | Hybrid | Plain | Enriched | Enr. LS |
| Closed-form solution, relative error | ||||||
| Sector | ||||||
| Sector | ||||||
| L-shape | ||||||
| Slit disk | ||||||
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| Family | Boundary-loss ratio | Enriched loss | Conv. | ratio | Time |
|---|---|---|---|---|---|
| Disk, D jumps | [ , ] | 12/12 | 1.11 | ||
| Square, D jumps | [ , ] | 12/12 | 1.30 | ||
| Disk, mixed D/N | 616 [61, ] | 3/12 | – | 1.13 | |
| Square, mixed D/N | [ , ] | 10/12 | – | 1.38 | |
| Disk, many segments | 498 [13, ] | 0/12 | – | 1.37 | |
| Square, many segments | [693, ] | 4/12 | – | 1.50 |
| Problem | Domain | Terms | Reference | |
| Sector | circular sector, opening | 1, trained | exact | |
| Sector | circular sector, opening | 1, trained | exact | |
| L-shape | square minus a quadrant | 1, trained | exact | |
| Slit disk | disk cut from centre to rim | 1, trained | exact | |
| Motz | rectangle, D/N switch mid-edge | 4, pinned | ||
| Cracked beam | same rectangle, conditions swapped | 4, pinned |
| Problem | Model | ||||
|---|---|---|---|---|---|
| Relative error | |||||
| Sector | enriched | ||||
| range | – | – | – | – | |
| plain | |||||
| Sector | enriched | ||||
| range | – | – | – | – | |
| Problem | Sites | Plain | Enriched | Factor | Enr. LS |
|---|---|---|---|---|---|
| Sector, opening | 1 | ||||
| Sector, opening | 1 | ||||
| L-shaped domain | 1 | ||||
| Pure switch mode | 1 | ||||
| Slit disk | 1 | – | |||
| Disk, four Dirichlet arcs | 4 | ∗ |
| Configuration | Runs | Boundary loss | Ratio | Converged | Time (s) |
|---|---|---|---|---|---|
| starting configuration | 18 | 1.00 | 3/18 | 402 | |
| depth 2 | 18 | 0.03 | 7/18 | 280 | |
| learning rate 0.01 | 18 | 0.14 | 7/18 | 381 | |
| Adam steps 40 000 | 18 | 0.41 | 5/18 | 644 | |
| width 16 | 18 | 0.42 | 7/18 | 275 | |
| points per segment 1 024 | 18 | 0.43 | 6/18 | 645 |
| Problem | Frozen at | Frozen, off | Trained | after training |
|---|---|---|---|---|
| Started at ; relative error | ||||
| Slit disk | – | – | ||
| [ , ] | [ , ] | |||
| L-shape | – | – | ||
| [ , ] | [ , ] | |||
| Pure mode | – | – | ||
Neural PDE Solvers
Neural PDE solvers use trainable models to approximate solutions or solution operators for partial differential equations, often with physical constraints.
See all 304 papers