Manuscript Offprint
arXiv:2611.08559PINNeval: A Comprehensive Evaluation Standard for Physics-Informed Neural Networks
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
The Physics-Informed Neural Network (PINN) literature has produced a rapidly expanding catalogue of methods. We divide a PINN training pipeline systematically into four components and observe that many existing benchmarks study these components in isolation. These components are domain-importance adaptation, loss balancing, neural network architecture, and optimization scheme. Moreover, the studies set the surrounding and not considered components of the pipeline to a minimal default that is no longer representative of current best practice approaches. Conclusions drawn under such conditions may not transfer to competitive pipelines. In this work, we propose a new evaluation protocol that (1) treats the four components as an integrated system; (2) crucially requires competitive implementations of the components not under investigation; (3) specifies the metrics and reporting format; and (4) is accompanied by structured documentation that ensures the traceability of evaluations across studies. Based on this comprehensive protocol, we release PINNpipe, an innovative JAX package containing 18 different methods from the current literature as well as nine efficiently implemented benchmark problems. Using PINNpipe, we illustrate our evaluation protocol in relation to established benchmark studies and report results that challenge common assumptions.
1 Introduction
Physics-Informed Neural Networks (PINNs) reformulate the solution of partial differential equations (PDEs) as an optimization of a residual-based objective evaluated on a neural surrogate [Raissi et al., 2019]. PINNs are mesh-free, differentiable, and applicable to forward, inverse, and parametric formulations of the same governing equations. These properties have driven substantial interest across scientific computing and engineering. Their practical performance, however, is consistently limited by the difficulty of training. Slow convergence, sensitivity to hyperparameters, and stagnation at unfaithful solutions are routinely reported for stiff, multi-scale, or high-dimensional problems [Krishnapriyan et al., 2021]. In Section 4.2, we revisit their early observation that the bottleneck lies not in network expressivity but in the surrounding training pipeline under modern optimizers and architectures. In response, the PINN literature has produced numerous methods that target components of a training pipeline. We divide such a pipeline into four key components:
-
domain-importance adaptation, which governs where in the problem domain residuals are evaluated and how individual locations are weighted;
-
loss balancing, which governs how multiple loss terms are weighted during training;
-
neural network architecture, which determines the hypothesis class of the neural surrogate;
-
optimization scheme, which specifies the optimizers and their schedule.
40th Conference on Neural Information Processing Systems (NeurIPS 2026). Track on Evaluations and Datasets.
Beyond these four components, advanced training techniques such as temporal marching [Wight and Zhao, 2020] and training curricula [Krishnapriyan et al., 2021] provide extensions for specific PDE families, in particular time-dependent problems on long horizons. However, these are optional rather than constitutive and are therefore omitted from our discussion.
Given the rapid growth of PINN method variants, a rigorous and standardized assessment is essential for meaningful comparisons and progress. Several benchmark studies have been conducted in response. Targeted studies examine individual components. For example, the architectures of PINNs and neural operators are studied in Wei et al. [2024] and optimizers in Wang et al. [2025]. A more comprehensive study, PINNacle [Hao et al., 2024], also covers diverse methods of a PINN training pipeline. However, many efforts share a common methodological limitation. Specifically, they evaluate methods with a surrounding pipeline that is set to a minimal default. As a result, methods that pursue different objectives within the pipeline, and that are intended to be used jointly, are placed in direct comparison against one another. PINNacle, the study most closely comparable to ours, exemplifies this pattern: loss-balancing methods and domain-importance adaptation methods are treated as a single methodological category and evaluated against each other rather than in combination, which conflates two of the four essential components into a single comparison axis. Concretely, the training signal arising from any region of the domain is shaped jointly by an effective importance density and by the scaling of the associated loss terms. This density can be realized through denser sampling or through pointwise weighting.
In general, these limitations stem from two fundamental issues. First, the literature lacks a standardized definition of a PINN training pipeline that explicitly accounts for its four key components. Second, no comprehensive evaluation protocol establishes the prerequisites under which comparative claims about a method become meaningful and transferable across settings.
In the absence of such a protocol, benchmarking studies often fix the surrounding pipeline to a vanilla default and insert the candidate method into that setting. This setting is no longer representative of best practice, and conclusions drawn under it can deviate substantially from those obtained when the same method is evaluated within a competitive instance of the pipeline. See Section 2 for details.
Against this background, we use a unified definition of the PINN optimization problem and propose a four-component decomposition of the related training pipeline. Building on this, we present an evaluation protocol that treats the pipeline as a coupled system. The protocol requires a competitive implementation of the components not currently under investigation. It further requires that the configuration of the surrounding pipeline is specified along with each comparison result, and that metrics and reporting formats follow a fixed specification under which claims become directly comparable across studies. The formal definition of our pipeline and protocol is given in Section 3.
Our contributions can be summarized as follows:
- We present a four-component decomposition of a PINN training pipeline as an explicit basis for evaluation.
- We propose PINNeval, an evaluation protocol that captures dependencies between components and requires a competitive rather than a minimal instantiation of the surrounding pipeline.
- We supplement the protocol with a structured documentation format that records the configuration and assumptions of an evaluation, so that comparative statements across different studies can be verified.
- We apply the protocol in case studies covering all four components and obtain results that revise commonly held expectations about specific methods, including negative results that contradict assumptions underlying some earlier evaluations.
- We implement the protocol in PINNpipe, a JAX package with composable modules for the four components and advanced training techniques, and efficient implementations of 18 methods together with nine benchmark problems.
The paper is organized as follows. Section 2 situates our contribution against existing benchmarks and component-specific studies. Section 3 formalizes the PINN training pipeline and the evaluation protocol. Section 4 demonstrates the protocol on case studies covering each component of the pipeline and introduces PINNpipe, our JAX package. Section 5 discusses the limitations of the present scope and possible extensions of the protocol to inverse and operator-learning settings.
In the second category, research articles propose a new approach by fixing a surrounding pipeline of their own choice and compare the new method against existing alternatives for the same pipeline component. Within this category, several individual components of the PINN training pipeline have been considered. For domain-importance adaptation, Toscano et al. [2026] introduce a sampling rule whose objective coincides with that of RAD [Wu et al., 2023]. However, this rule is combined with a GradNorm-based loss-balancing scheme of the type proposed in Wang et al. [2023], without comparison against RAD combined with the same loss-balancing scheme. The empirical comparison therefore reflects the joint effect of two pipeline components, and any improvement over alternative pipelines cannot be attributed unambiguously to the proposed domain-importance adaptation rule. The study also reports the numerical precision used in other evaluations, but does not specify the precision used in its own pipeline. The released code uses float64 when combined with SSBroyden, while the field's default is float32, a difference that has been shown to materially affect PINN convergence [Xu et al., 2025]. The reported improvements therefore cannot be attributed unambiguously to the proposed method, to the combination with the loss-balancing scheme, or to the precision regime. Also within the scope of domain-importance adaptation, Jeong et al. [2025] provide a careful comparison of such methods. However, the reported errors indicate that the surrounding pipeline is not competitive with current practice. Conclusions about the relative merits of domain-importance adaptation methods, when drawn under such a pipeline, therefore have limited transferability. For the loss balancing component, Bischof and Kraus [2025] introduce ReLoBRaLo, adopt a competitive surrounding pipeline, and provide a comparison of weighting schemes, but omit the well-established GradNorm-based method proposed by Wang et al. [2023]. As a result, their comparison covers only a subset of the loss-balancing methods relevant to a comprehensive evaluation of this pipeline component. For optimization schemes, Wang et al. [2025] present a thorough evaluation of quasi-second-order optimizers. However, quasi-Newton methods are excluded on the grounds that they rely on full-batch training, float64 precision, and small network sizes, and are therefore claimed to be “impractical for the complex PDE benchmarks considered in this work.”
Although each of these studies contributes valuable insights within its chosen scope, the recurring pattern across both categories is that conclusions are drawn under pipeline configurations that are not representative of established practice, omit relevant competing methods, or leave key implementation details unspecified. As a result, it remains difficult to assess the relative merits of individual pipeline components, and the reported improvements cannot be clearly attributed to the methodological contribution under investigation. Taken together, the limitations of both categories motivate the need for a comprehensive evaluation standard for PINNs. Our proposed framework, PINNeval, not only compares methods across benchmark problems, but also explicitly accounts for the modular structure of the PINN training pipeline. In particular, PINNeval provides a transparent evaluation protocol, documents all relevant implementation and numerical details, and assesses methods under competitive pipeline configurations.
3 Evaluation Protocol
3.1 General PINN Framework
Let be a spatial domain with boundary , let , and let and denote a differential operator and a boundary operator, respectively. For a given initial condition and boundary condition , an initial-boundary value problem for time-dependent PDEs (IBVP) seeks a solution satisfying the governing equation
the initial condition
and the boundary condition
The operator may be linear or nonlinear, and corresponds to a Dirichlet, Neumann, Robin, or periodic boundary condition.
The PINN approach approximates by a neural network . Training on an IBVP requires two formal ingredients: subsets of the respective domains on which the equations are enforced, and training objectives that act on those subsets.
Let denote the set of equations of the IBVP, comprising the governing equation, the initial condition, and the boundary condition. To each equation , we associate a residual function that measures the pointwise violation of by . Each equation is enforced on a subset , e.g., an initial condition is enforced on . From these domain sets , collocation sets are constructed or sampled to evaluate the residuals . The loss of equation for is defined as
and the composite training objective aggregates the physics-informed losses:
Despite correctly capturing the learning objective, this formulation is known to suffer from poor convergence and training instabilities [Wang et al., 2021]. To prepare for the four-component decomposition that follows, we extend the basic objective to admit pointwise and equation-level weighting. Given pointwise weights for and equation-level weights for , the training objective becomes
3.2 The Four-Component Decomposition of the PINN Training Pipeline
Two of the four PINN training pipeline components act directly on this loss structure. The first modifies the per-equation loss (6b) by adapting the pointwise weights and the sampled collocation set . We refer to this component as domain-importance adaptation. The second modifies the composite loss (6a) through the equation-level weights that balance the contributions of different residuals. We refer to this as loss balancing.
Domain-Importance Adaptation. Within this component, two core approaches have emerged for adaptively modifying the pointwise weights or the collocation sets :
-
Adaptive sampling: Methods that modify the sets by adding or resampling points from the domains , typically biased toward high-residual regions.
-
Importance weighting: Methods that attach dynamic, trainable, or scheduled weights to individual points or segments of the domain.
This unified view is reinforced by Toscano et al. [2026], who show that within domain-importance adaptation, the choice between adaptive sampling and importance weighting can be computational rather than conceptual. Established methods such as RAD, an adaptive sampling scheme, and RBA [Anagnostopoulos et al., 2024], an importance weighting scheme, emerge as alternative realizations of the same underlying variational objective.
Loss Balancing. This component addresses the multi-task nature of the composite loss , where individual loss terms can differ by orders of magnitude in their gradient norms and pull the optimizer in conflicting directions. Methods in this component adjust the scalar weights through different rules.
These two components distinguish a PINN training pipeline from standard machine learning pipelines. The remaining two components are the neural network architecture, which acts as the neural surrogate , and the optimization scheme that minimizes . They are shared with general machine learning practice and are discussed in Appendix C and Appendix D, respectively. All methods considered in this paper are embedded into this framework. See Appendix A for domain-importance adaptation and Appendix B for loss balancing. An overview of the full pipeline is shown in Figure 1.

Figure 1: Schematic of the four-component PINN training pipeline.
3.3 PINNeval: A Fair and Competitive Evaluation Protocol
Building on the four-component decomposition described in Section 3.2 and the limitations identified in Section 2, the proposed protocol is guided by three main principles:
-
Competitive surrounding pipeline: PINNeval is built around the principle that a method introduced in one component is evaluated within competitive choices of the remaining components. A component choice is competitive at the time of evaluation if the evidence does not show an established alternative that consistently achieves either better accuracy at comparable computational cost or comparable accuracy at lower cost. The evidence may come from the literature or from controlled benchmark experiments, and it must refer to a problem class comparable to that of the evaluation and use the same metrics as the evaluation. Given the four-component decomposition, checking a PINN training pipeline against this definition amounts to four focused checks, one per component.
-
Coupled evaluation of components: Methods in different components of the PINN training pipeline interact with each other. Consequently, comparisons that vary one component while holding the others fixed are conditional on the surrounding configuration, i.e., the choices of the remaining three components. The PINNeval protocol therefore requires the configuration of all four components to be reported with every comparative result, making it possible to assess the conditions under which a conclusion was obtained. The competitiveness requirement of the first principle makes the estimated conditional effect informative about the compared methods.
-
Cost reporting beyond iteration counts: Iteration counts alone are insufficient as a cost metric, since different methods are not always directly comparable. For example, the cost of a quasi-Newton step is not directly comparable to that of an Adam step, and a parameter-rich architecture incurs a higher per-iteration cost than a small Multilayer Perceptron (MLP). Accordingly, in the PINNeval protocol the runtime is included alongside the iteration counts and the hardware used, in the spirit of McGreivy and Hakim [2024].
3.4 Protocol Specification
Under the protocol, the following items are specified, controlled, and reported, organized into per-component and evaluation-level requirements.
Per-Component Requirements.
-
Model specification: Network topology, depth, width, activation functions, and feature mappings (e.g., Fourier features).
-
Optimization scheme: Optimizer or sequence of optimizers, learning-rate schedule, optimizer-specific hyperparameters, stopping criterion, and total training budget.
-
Loss balancing: Method for balancing the equation-level loss terms via the weights , update frequency of the balancing scheme, and method-specific hyperparameters.
-
Domain-importance adaptation: Adaptive sampling or importance weighting method, sampling distribution and collocation set sizes per equation, update frequency of the method, and method-specific hyperparameters.
Evaluation-Level Requirements.
-
Claim under evaluation: Each evaluation begins with an explicit statement of the claim under investigation and a specification of the PDE problems used to support it. The full PDE specification is referenced within the protocol.
-
Comparison conditions: Each evaluation specifies the baselines used and the justification for their selection, the components held fixed across the comparison, and an explicit statement that the components not currently under evaluation are instantiated competitively.
-
Metrics: The relative error is reported as the error metric, and runtime alongside iteration count as the computational-cost metric. They are consistently reported across all compared methods.
-
Numerical precision: The floating-point precision used (e.g., float32 or float64) is reported consistently across all compared methods.
-
Robustness and statistical reporting: The number of independent runs, the variability across runs, any observed instability or non-convergence, and, if a method is highlighted as best, the significance test supporting it are reported.
-
Reproducibility and limitations: The protocol reports all implementation-relevant settings required for reproduction, the surrounding-pipeline configurations that were tested, and the conditions under which the conclusions do not generalize.
3.5 The EvalCard Documentation Format
To strengthen consistent and comparable reporting of evaluation setups, a unified description format is needed. Building on the card-based reporting style of Dhar et al. [2025], we introduce a dedicated EvalCard for the proposed evaluation protocol. Each card summarizes, in a uniform layout, the methods compared, the architectural and optimization choices held constant across all benchmarks, and the evaluation-level conditions specified by the protocol. Benchmark-specific configurations that are independent of the compared methods, such as feature scales, training budget, and advanced training techniques, are reported alongside the card to avoid visual clutter.
A template is given in Appendix E; filled-in cards are provided in Figures 2, 3, 6, and 7.
4 Experiments
We conduct three evaluation studies, each targeting one component of the PINN training pipeline as well as one optimizer-and-network study, a coupling of these two components. One MLP with random Fourier features serves as the common anchor of all four studies. Performance differences in every study are therefore attributable to the component under evaluation and its surrounding pipeline rather than to an uncontrolled change in network expressivity. A dedicated study of neural network topology and size is provided in Appendix G.3.
4.1 Domain-Importance Adaptation Study
This study addresses the two gaps left by Toscano et al. [2026] and Jeong et al. [2025]: placing vRBA against a representative selection of domain-importance adaptation methods, and evaluating LAS within a competitive surrounding pipeline. Within a fixed pipeline, we compare Random-R, LAS, vRBA, R3 [Daw et al., 2023], and RAD. Method definitions, pseudocode, and hyperparameters used are provided in Appendix A.
EvalCard: Domain-Importance Adaptation
Claim under Evaluation. The choice of domain-importance adaptation method materially affects the final relative error of a PINN when evaluated on a competitive surrounding pipeline. Tested on a representative subset of competitive benchmarks ranging from low-dimensional to high-dimensional and coupled-system PDE problems.
Surrounding Pipeline.
| Component | Choice | Hyperparameters |
|---|---|---|
| Architecture | MLP, depth 5, hidden dim 64, Fourier features | Table 3 |
| Loss balancing | GradNorm-based, Frequency: 1000 | Appendix B.3 |
| Optimizer | SOAP | Table 4 |
Domain-Importance Adaptation.
| Hyperparameter | Random-R | vRBA | LAS | R3 | RAD |
|---|---|---|---|---|---|
| Sample size | 8192 | ||||
| Frequency | 1 | ||||
| Additional Hyperparameters | See defaults in Appendix A | ||||
Evaluation Conditions. Float32 precision, NVIDIA H100, 10 seeds. The median values are reported. The standard deviation and results for all nine benchmarks are provided in Appendix G.1. Significance test (bold): exact two-sided Mann–Whitney over seeds, Holm-corrected, .
Results.
| Method | Relative error | Runtime [min] | ||||||
|---|---|---|---|---|---|---|---|---|
| Wave | KdV | RT | Heat | Wave | KdV | RT | Heat | |
| Random-R | 10.5 | 10.1 | 29.8 | 5.4 | ||||
| LAS | 11.2 | 11.9 | 34.8 | 7.0 | ||||
| vRBA | 11.3 | 11.1 | 31.6 | 5.8 | ||||
| R3 | 11.0 | 11.0 | 31.1 | 6.0 | ||||
| RAD | 12.2 | 13.0 | 34.9 | 7.0 | ||||
Figure 2: EvalCard for the domain-importance adaptation study.
Figure 2 summarizes the results. The runtime overhead of all domain-importance adaptation methods is small relative to Random-R, so the choice of a domain-importance adaptation method is not notably constrained by cost. In terms of accuracy, the picture is more nuanced. Random-R sampling is best on KdV and RT and lies within a small factor of the best on Wave and Heat. LAS matches or outperforms Random-R on Wave and Heat, confirming that its benefits transfer to a competitive pipeline, although the margin is small and inconsistent. The remaining three methods mostly perform worse than Random-R and LAS on these four PDEs, with RAD trailing on most of them. We note that the adaptive methods run at the hyperparameter values proposed by the authors who introduced them. In their original studies, these methods match or outperform Random-R within surrounding pipelines built on other optimizers, in particular Adam, whereas this study uses SOAP. Full results across all nine PDEs as well as the standard deviation between different seeds are reported in Appendix G.1.
4.2 Optimizer and Neural Network Study
This study compares two pipelines that differ in optimization scheme, numerical precision, and neural network architecture, in order to test the claim of Wang et al. [2025]. The results in Figure 3 refute this claim, as the two-stage MLP pipeline (SOAP followed by SSBroyden2) attains both a lower median relative error and a markedly shorter runtime than the single-stage PirateNet-SOAP baseline.
EvalCard: Neural Network and Optimizer
Claim under Evaluation. Small neural networks with float64 precision and quasi-Newton optimizers are impractical for complex PDE benchmarks such as the Rayleigh–Taylor instability or the Kuramoto–Sivashinsky equation considered in our benchmark suite.
Surrounding Pipeline.
| Component | Choice | Hyperparameters |
|---|---|---|
| Loss balancing | GradNorm-based, Frequency: 1000 | Appendix B.3 |
| Domain-Importance Adaptation | LAS, Sample size: 8192, Frequency: 1 | Appendix A.3 |
Neural Network Architectures and Optimizer Schemes.
| Label | Architecture | Depth | Width | Opt. scheme | Optimizers | Precision |
|---|---|---|---|---|---|---|
| P1 | PirateNet | 3 | 256 | One-stage | SOAP | float32 |
| P2 | MLP | 5 | 64 | Two-stage | SOAP & SSBroyden2 | float64 |
Additional neural network settings are provided in Table 3. Optimizer settings for both pipelines are provided in Table 5.
Evaluation Conditions. NVIDIA H100, 5 seeds. Reported variability: median ± standard deviation. Significance test (bold): exact two-sided Mann–Whitney over seeds, Holm-corrected, .
Results.
| Benchmark | Relative error | Runtime [min] | ||
|---|---|---|---|---|
| P1 | P2 | P1 | P2 | |
| Wave | 2.82 ± 0.8 × 10-5 | 2.36 ± 0.8 × 10-7 | 111.22 | 4.65 |
| KdV | 1.93 ± 0.1 × 10-4 | 2.31 ± 1.2 × 10-5 | 88.16 | 7.39 |
| RT | 8.80 ± 0.8 × 10-3 | 8.61 ± 0.1 × 10-3 | 513.50 | 70.27 |
| Heat | 2.62 ± 0.2 × 10-4 | 1.25 ± 0.6 × 10-8 | 49.39 | 7.29 |
| AC | 2.04 ± 0.5 × 10-5 | 9.20 ± 3.4 × 10-6 | 297.46 | 9.68 |
| Burgers | 2.51 ± 0.9 × 10-5 | 8.59 ± 10.8 × 10-8 | 41.56 | 3.10 |
| GL | 4.77 ± 1.6 × 10-3 | 3.68 ± 1.2 × 10-3 | 519.22 | 18.02 |
| Poisson | 4.82 ± 0.4 × 10-6 | 1.14 ± 0.4 × 10-7 | 25.30 | 5.04 |
| KS | 4.51 ± 0.7 × 10-2 | 7.26 ± 3.6 × 10-3 | 1100.85 | 70.33 |
Figure 3: EvalCard for the optimizer and neural network study.
We note that the MLP of the two-stage pipeline is the anchor MLP. In a single-axis ablation (Appendix G.4), float64 precision alone yields no measurable gain, and replacing PirateNet by the MLP under SOAP alone mostly increases the error. Adding the quasi-Newton stage to the same MLP at the same precision, however, reduces the error by up to a factor of (Heat) and accounts for the accuracy gain of the two-stage pipeline. The larger error of the MLP under SOAP alone is therefore a trainability limit of single-stage SOAP optimization, not a capacity limit. Float64 precision is a prerequisite of the quasi-Newton stage [Wang et al., 2025] rather than an independent contributor. The moderate size of the MLP makes this stage feasible, since SSBroyden2 stores a dense inverse-Hessian approximation with memory for trainable parameters. Per-stage iteration counts and additional hyperparameters are reported in Table 5 and the peak VRAM usage in Appendix H.
We further highlight the efficiency of our implementation on the more demanding PDEs: on Ginzburg–Landau, the PirateNet-SOAP pipeline in jaxpi required 746.0 minutes on our hardware, whereas PINNpipe completes the same benchmark in 519.2 minutes despite employing the more expensive LAS domain-importance adaptation in place of Random-R. Comparable speed-ups are also observed on the Rayleigh–Taylor benchmark.
4.3 Loss Balancing Study
This study closes the gap left by Bischof and Kraus [2025], whose comparison of ReLoBRaLo against several adaptive schemes omits the GradNorm-based loss balancing of Wang et al. [2023]. The evaluation conditions, network architecture, and optimizer specified in Figure 2 are used throughout, with Random-R as the domain-importance adaptation method.
A filled-in EvalCard is provided in Figure 6. Method definitions, pseudocode, and hyperparameters used are given in Appendix B. We compare GradNorm-based balancing [Wang et al., 2023], ReLoBRaLo, SoftAdapt [Heydari et al., 2019], GradNorm-MTL [Chen et al., 2018], and a fixed-weight baseline.

Figure 4: Relative error of the loss-balancing methods on nine representative PDE benchmarks (log scale, lower is better). Bars show the median over 10 seeds and indicate one standard deviation.
Figure 4 shows that no method dominates across all nine benchmarks, but two trends are clear. GradNorm-based balancing performs best overall, achieving the lowest median error on five of the nine benchmarks (Wave, Poisson, Burgers, GL, RT) and remaining competitive on the others. The fixed-weight baseline is also a reliable choice and performs best on KS, AC and KdV. Two methods show robustness failures: SoftAdapt fails to train on Wave and KS, and GradNorm-MTL collapses on KdV. Full numerical results, including runtimes, are provided in Appendix G.2.
4.4 PINNpipe: a Modular PINN Evaluation Package
To support reproducibility and lower the barrier for future studies, we release the PINNpipe package (https://github.com/KevinvonBargen/pinnpipe), which contains all reported experiments.
Its internal structure reflects the four-component decomposition of the PINN training pipeline. Within the JAX-based package, each component is implemented as a self-contained module with a uniform interface, so that new methods can be added in isolation and benchmarked against established baselines without modifying the surrounding pipeline. This positions PINNpipe as a foundation for developing new PINN methods and evaluating them under controlled and standardized conditions.
5 Conclusions and Future Work
In this work, we introduced an evaluation protocol that (1) treats the PINN training pipeline as a coupled system of four components; (2) requires a competitive implementation of those components not currently under investigation; (3) specifies the metrics and reporting format; and (4) uses the EvalCard documentation template to record the configuration of each evaluation. We released PINNpipe, a JAX package that implements the protocol together with 18 methods and nine benchmark problems. Four case studies illustrated the protocol on the four components of the PINN training pipeline, and they revise the claim of Wang et al. [2025] that quasi-Newton methods are impractical for complex PDEs. Coupled with the moderate-size MLPs and the float64 precision on which quasi-Newton methods operate, and embedded in a competitive pipeline, a two-stage optimization scheme outperforms the configuration recommended by the authors on the most demanding benchmarks of that work. By using the same neural network instance across these studies, we further showed that the limiting factor was not the expressivity of the neural surrogate but the surrounding training pipeline.
Our benchmark suite covers a broad range of real-world, chaotic, and multi-scale problems, but it does not include problems on complex geometries. Other challenging classes of PDEs likewise remain outside its scope. The suite is chosen to be representative of the problems in the studies we re-examine. The evaluation standard itself is not restricted to this suite. We restricted the present study to PINNs and to forward problems. We note that inverse formulations and neural-operator methods share enough of the pipeline structure that the protocol and the EvalCard format are applicable with adjustments, and we view the corresponding extensions as a natural next step. Finally, the protocol depends on the surrounding pipeline being instantiated competitively. As the field continues to evolve, the reference instantiation must be updated regularly. PINNeval is designed to make such updates straightforward, but no set of rules can replace the community's ongoing efforts to maintain a current notion of competitive best practice.
Acknowledgments and Disclosure of Funding
This research was supported by the Lower Saxony Ministry of Science and Culture (MWK), funded through the zukunft.niedersachsen program of the Volkswagen Foundation, Germany (ZN4072). The computations were carried out on the high-performance computing cluster of Osnabrück University, funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) project number 456666331. The authors declare no competing interests.
References
M. Al-Baali. Numerical experience with a class of self-scaling quasi-Newton algorithms. Journal of Optimization Theory and Applications, 96(3):533–553, 1998. doi: 10.1023/A:1022608410710.
S. J. Anagnostopoulos, J. D. Toscano, N. Stergiopulos, and G. E. Karniadakis. Residual-based attention in physics-informed neural networks. Computer Methods in Applied Mechanics and Engineering, 421:116805, 2024. ISSN 00457825. doi: 10.1016/j.cma.2024.116805.
R. Bischof and M. A. Kraus. Multi-objective loss balancing for physics-informed deep learning. Computer Methods in Applied Mechanics and Engineering, 439:117914, 2025. ISSN 0045-7825. doi: 10.1016/j.cma.2025.117914. URL https://www.sciencedirect.com/science/article/pii/S0045782525001860.
Z. Chen, V. Badrinarayanan, C.-Y. Lee, and A. Rabinovich. GradNorm: Gradient normalization for adaptive loss balancing in deep multitask networks. In J. Dy and A. Krause, editors, Proceedings of the 35th International Conference on Machine Learning, ICML 2018, Stockholm, Sweden, July 10-15, 2018, volume 80 of Proceedings of Machine Learning Research, pages 794–803. PMLR, 2018.
A. Daw, J. Bu, S. Wang, P. Perdikaris, and A. Karpatne. Mitigating propagation failures in physics-informed neural networks using retain-resample-release (R3) sampling. In A. Krause, E. Brunskill, K. Cho, B. Engelhardt, S. Sabato, and J. Scarlett, editors, Proceedings of the 40th International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 7264–7302. PMLR, 23–29 Jul 2023. URL https://proceedings.mlr.press/v202/daw23a.html.
R. Dhar, D. Sanchez Villegas, A. Karamolegkou, A. Schiavone, Y. Yuan, X. Chen, J. Li, S. Frank, L. De Grazia, M. Swain, S. Brandl, D. Hershcovich, A. Søgaard, and D. Elliott. EvalCards: A framework for standardized evaluation reporting, 2025. URL https://arxiv.org/abs/2511.21695.
S. Dong and N. Ni. A method for representing periodic functions and enforcing exactly periodic boundary conditions with deep neural networks. Journal of Computational Physics, 435:110242, 2021. ISSN 0021-9991. doi: 10.1016/j.jcp.2021.110242. URL https://www.sciencedirect.com/science/article/pii/S0021999121001376.
T. A. Driscoll, N. Hale, and L. N. Trefethen, editors. Chebfun Guide. Pafnuty Publications, Oxford, 2014.
Z. Hao, S. Liu, F. Lu, L. Lu, C. Su, H. Su, Z. Wang, Z. Xia, J. Yao, Y. Zhang, and J. Zhu. PINNacle: A comprehensive benchmark of physics-informed neural networks for solving PDEs. In A. Globerson, L. Mackey, D. Belgrave, A. Fan, U. Paquet, J. Tomczak, and C. Zhang, editors, Advances in Neural Information Processing Systems 37, pages 76721–76774, San Diego, California, USA, 2024. Neural Information Processing Systems Foundation, Inc. (NeurIPS). ISBN 979-8-3313-1438-5. doi: 10.52202/079017-2442.
C. R. Harris, K. J. Millman, S. J. van der Walt, R. Gommers, P. Virtanen, D. Cournapeau, E. Wieser, J. Taylor, S. Berg, N. J. Smith, R. Kern, M. Picus, S. Hoyer, M. H. van Kerkwijk, M. Brett, A. Haldane, J. F. del Río, M. Wiebe, P. Peterson, P. Gérard-Marchant, K. Sheppard, T. Reddy, W. Weckesser, H. Abbasi, C. Gohlke, and T. E. Oliphant. Array programming with NumPy. Nature, 585(7825):357–362, 2020. doi: 10.1038/s41586-020-2649-2. URL https://doi.org/10.1038/s41586-020-2649-2.
A. A. Heydari, C. A. Thompson, and A. Mehmood. SoftAdapt: Techniques for adaptive loss weighting of neural networks with multi-part loss functions. arXiv preprint arXiv:1912.12355, 2019.
J. D. Hunter. Matplotlib: A 2D graphics environment. Computing in Science & Engineering, 9(3): 90–95, 2007. doi: 10.1109/MCSE.2007.55.
M. Jeong, G. Seo, and E. Hwang. Mitigating instability in high residual adaptive sampling for PINNs via Langevin dynamics. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025.
A.-K. Kassam and L. N. Trefethen. Fourth-order time-stepping for stiff PDEs. SIAM Journal on Scientific Computing, 26(4):1214–1233, 2005. doi: 10.1137/S1064827502410633.
A. S. Krishnapriyan, A. Gholami, S. Zhe, R. M. Kirby, and M. W. Mahoney. Characterizing possible failure modes in physics-informed neural networks. In Advances in Neural Information Processing Systems, volume 34, pages 26548–26560, 2021.
N. McGreivy and A. Hakim. Weak baselines and reporting biases lead to overoptimism in machine learning for fluid-related partial differential equations. Nature Machine Intelligence, 6(10):1256–1269, 2024. ISSN 2522-5839. doi: 10.1038/s42256-024-00897-5.
M. Raissi, P. Perdikaris, and G. E. Karniadakis. 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, 2019. ISSN 00219991. doi: 10.1016/j.jcp.2018.10.045.
M. Takamoto, T. Praditia, R. Leiteritz, D. MacKinlay, F. Alesiani, D. Pflüger, and M. Niepert. PDEBench: An extensive benchmark for scientific machine learning. In S. Koyejo, S. Mohamed, A. Agarwal, D. Belgrave, K. Cho, and A. Oh, editors, Advances in Neural Information Processing Systems, volume 35, pages 1596–1611. Curran Associates, Inc., 2022. URL https://proceedings.neurips.cc/paper_files/paper/2022/file/0a9747136d411fb83f0cf81820d44afb-Paper-Datasets_and_Benchmarks.pdf.
M. Tancik, P. P. Srinivasan, B. Mildenhall, S. Fridovich-Keil, N. Raghavan, U. Singhal, R. Ramamoorthi, J. T. Barron, and R. Ng. Fourier features let networks learn high frequency functions in low dimensional domains. In Advances in Neural Information Processing Systems, volume 33, pages 7537–7547, 2020.
J. D. Toscano, D. T. Chen, V. Oommen, J. Darbon, and G. E. Karniadakis. A variational framework for residual-based adaptivity in neural PDE solvers and operator learning. npj Artificial Intelligence, 2(1):32, 2026. ISSN 3005-1460. doi: 10.1038/s44387-026-00084-4.
J. F. Urbán, P. Stefanou, and J. A. Pons. Unveiling the optimization process of physics informed neural networks: How accurate and competitive can PINNs be? Journal of Computational Physics, 523:113656, 2025. doi: 10.1016/j.jcp.2024.113656.
N. Vyas, D. Morwani, R. Zhao, M. Kwun, I. Shapira, D. Brandfonbrener, L. Janson, and S. M. Kakade. SOAP: Improving and stabilizing Shampoo using Adam. In The Thirteenth International Conference on Learning Representations (ICLR), 2025. URL https://openreview.net/forum?id=IDxZhXrpNf.
S. Wang, Y. Teng, and P. Perdikaris. Understanding and mitigating gradient flow pathologies in physics-informed neural networks. SIAM Journal on Scientific Computing, 43(5):A3055–A3081, 2021. doi: 10.1137/20M1318043.
S. Wang, S. Sankaran, H. Wang, and P. Perdikaris. An expert's guide to training physics-informed neural networks. arXiv preprint arXiv:2308.08468, 2023. doi: 10.48550/arXiv.2308.08468.
S. Wang, B. Li, Y. Chen, and P. Perdikaris. PirateNets: Physics-informed deep learning with residual adaptive networks. Journal of Machine Learning Research, 25(402):1–51, 2024.
S. Wang, A. K. Bhartari, B. Li, and P. Perdikaris. Gradient alignment in physics-informed neural networks: A second-order optimization perspective. In Advances in Neural Information Processing Systems, 2025.
P. Wei, M. Liu, J. Cen, Z. Zhou, L. Chen, and Q. Zou. PDENNEval: A comprehensive evaluation of neural network methods for solving PDEs. In K. Larson, editor, Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence, IJCAI-24, pages 5181–5189. International Joint Conferences on Artificial Intelligence Organization, Aug. 2024. doi: 10.24963/ijcai.2024/573. URL https://doi.org/10.24963/ijcai.2024/573. Main Track.
C. L. Wight and J. Zhao. Solving Allen–Cahn and Cahn–Hilliard equations using the adaptive physics informed neural networks. arXiv preprint arXiv:2007.04542, 2020.
C. Wu, M. Zhu, Q. Tan, Y. Kartha, and L. Lu. A comprehensive study of non-adaptive and residual-based adaptive sampling for physics-informed neural networks. Computer Methods in Applied Mechanics and Engineering, 403:115671, 2023. ISSN 0045-7825. doi: 10.1016/j.cma.2022.115671. URL https://www.sciencedirect.com/science/article/pii/S0045782522006260.
C. Xu, D. Liu, A. Nassereldine, and J. Xiong. FP64 is all you need: Rethinking failure modes in physics-informed neural networks. In Advances in Neural Information Processing Systems, 2025.
Appendix Overview
The Appendix is organized as follows:
-
Appendix A describes domain-importance adaptation strategies, including definitions and pseudocode.
-
Appendix B details the loss balancing methods considered in this work.
-
Appendix C summarizes the neural network architectures and input representations used throughout the experiments.
-
Appendix D provides definitions and hyperparameters of the optimizers and method alongside them used in this work.
-
Appendix E provides a template for the evaluation card proposed in Section 3.5 and filled-in cards appear in multiple places throughout this work.
-
Appendix F provides the definitions of all benchmark PDEs, including governing equations and reference solutions and their accuracies.
-
Appendix F.10 reports detailed training hyperparameter settings and optimization schedules.
-
Appendix G contains extended results for the large-scale method comparison study.
-
Appendix G.4 separates the optimizer, precision and architecture axes of the optimizer and network study in a single-axis ablation.
-
Appendix H presents a GPU memory measurement methodology and peak usage results.
-
Appendix I describes the JAX library used in this work.
A Domain-Importance Adaptation
In this section we introduce the most common methods to adapt the importance inside the training domains of PINNs. For each equation , a set of collocation points is selected from a sampling domain . Along with , adaptive weights are defined. The loss term associated with equation is then evaluated on via
Since the choice of the collocation set is entirely flexible as well as the weight we assign to each point, numerous sampling strategies have been developed to improve the accuracy and efficiency of PINN training. A central idea behind many of these methods is to increase the density of points in regions where the current residual is large. This leads to two broad categories of adaptive strategies:
-
Adaptive sampling: methods that modify the collocation sets by adding or resampling points from the domains , typically biased toward high-residual regions.
-
Importance weighting: methods that attach dynamic, trainable, or scheduled weights to individual points or segments of the domain.
The representative methods discussed in this section are:
-
Residual-based Adaptive Refinement (RAR): Periodically augments by adding the highest-residual points drawn from .
-
Residual-Based Adaptive Distribution (RAD): Periodically resamples the entire collocation set from a probability distribution proportional to the current residuals.
-
R3: On each iteration a subset of is resampled based on the mean of the absolute .
-
Langevin Adaptive Sampling (LAS): Each point in gets updated based on the gradient w.r.t of , perturbed by Gaussian noise.
-
Variational Residual-Based Adaptivity (vRBA): Adaptive weights are used and define a resampling rule for .
Methods 1–4 change (sampling-based adaptivity). vRBA (method 5) defines pointwise weights that are used either directly in the loss or to resample . In other words, sampling adaptivity alters the geometry of the training set, while weight adaptivity reshapes the loss landscape over a set of points.
In addition to these adaptive strategies, we also include a non-adaptive baseline sampling procedure for comparison: Random-R (new samples drawn each iteration from ).
A.1 Residual-based Adaptive Refinement
The Residual-based Adaptive Refinement (RAR) strategy [Wu et al., 2023] is one of the earliest adaptive sampling approaches for PINNs. For each equation , the method begins by drawing an initial collocation set of size uniformly from the corresponding sampling domain .
During training, RAR periodically identifies regions with large residuals by drawing a temporary candidate set and evaluating the pointwise residuals on these candidates. A fixed number of the highest absolute residual points from are then added to the collocation set . In this way, global coverage from the original uniform sampling is preserved, while progressively focusing more sampling density in difficult regions of the domain.
RAR is a sampling-based adaptive method because the set grows over time as new informative points are added.
Algorithm 1 Residual-based Adaptive Refinement (RAR)
Require: Initial sizes , number of added points , number of warm-up iterations , resampling interval .
1: Sample initial collocation points with .
2: Train the neural network for iterations.
3: while not converged do
4: Sample temporary candidate points .
5: Evaluate residuals for all .
6: Gather the points with the largest absolute residuals in .
7: Update collocation set:
8: Train the neural network for iterations.
9: end while
A.2 Residual-Based Adaptive Distribution
The Residual-Based Adaptive Distribution (RAD) strategy [Wu et al., 2023] is a sampling-based adaptive method that, unlike RAR, resamples the entire collocation set at regular intervals. For each equation , an initial collocation set of size is drawn uniformly from the sampling domain .
During training, RAD periodically constructs a new collocation set by sampling from a residual-weighted probability distribution over . Points with larger current residuals receive higher probability, thereby biasing the sampling process toward regions where the condition is currently violated the most. To maintain sufficient exploration of the domain, the distribution is augmented with a positive constant .
Formally, RAD draws new points from a density of the form
The exponent controls the degree of exploitation (stronger focus on high-residual regions), while the constant ensures exploration by preventing the probability density from vanishing outside these regions.
Algorithm 2 Residual-Based Adaptive Distribution (RAD)
Require: Initial collocation size , warm-up iterations , exploration coefficient , exploitation exponent , resampling interval
1: Sample initial collocation set with .
2: Train the neural network for iterations.
3: while not converged do
4: Construct the residual-weighted density
.
5: Draw a new collocation set
with .
6: Train the neural network for iterations.
7: end while
A.3 LAS
The Langevin Adaptive Sampling (LAS) strategy [Jeong et al., 2025] is a sampling-based adaptive method that, unlike RAR, RAD, and R3, does not draw new collocation points from at each step but instead evolves the existing points by applying a discretized overdamped Langevin diffusion to the squared residual. For each equation , an initial collocation set of size is drawn uniformly from the sampling domain .
At each training iteration, every point is updated by performing Langevin steps. A single Langevin step takes the form
where is the Langevin step size, is the sampling concentration coefficient, and is a vector of independent standard Gaussian noise of the same dimension as . The drift term pulls each point toward local maxima of the squared residual, while the diffusion term injects exploration noise.
For fixed network parameters , the limit and formally recovers the continuous Langevin diffusion whose stationary density on is
The coefficient therefore plays the same role as the exponent in RAD: small concentrates in regions of large residual, whereas large approaches uniform sampling on . In contrast to RAD, however, this residual-weighted distribution is realized implicitly through the dynamics, so no normalization of over is required.
Algorithm 3 Langevin Adaptive Sampling (LAS)
Require: Collocation size , Langevin step size , concentration coefficient , number of Langevin steps per iteration .
1: Sample initial collocation set with .
2: while not converged do
3: for do
4: for all do
5: Compute the residual gradient .
6: Sample .
7: Update the point via
.
8: end for
9: end for
10: Train the neural network for one iteration on the updated .
11: end while
The values used are , , and .
A.4 R3
The Retain–Resample–Release (R3) sampling strategy [Daw et al., 2023] is a sampling-based adaptive method that, in contrast to RAR and RAD, does not require an auxiliary candidate set to identify high-residual regions. For each equation , an initial collocation set of size is drawn uniformly from the sampling domain .
At every iteration, R3 evaluates the residual on the current collocation set and splits it into two subsets using the mean of the absolute residuals as a threshold:
Points whose absolute residual exceeds form the retained subset
while the remaining points are considered sufficiently minimized and are dropped. To keep the size of the collocation set constant, the dropped points are replaced by a freshly drawn uniform sample
and the updated collocation set used in the next training step is
This update rule realizes three complementary effects. Points lying in regions whose residual remains above persist in across iterations and accumulate as long as those regions are not resolved (retain); points that have been driven below the mean residual are released and replaced by uniform draws (release); and because is a strict inequality, the resampled subset is always non-empty, so a background density of uniform points over is maintained at every iteration (resample). In contrast to other domain-importance adaptation methods considered, R3 does not introduce any additional hyperparameter.
Algorithm 4 Retain–Resample–Release (R3)
Require: Collocation size .
1: Sample initial collocation set with .
2: while not converged do
3: Evaluate residuals for all .
4: Compute the threshold
.
5: Form the retained subset
.
6: Draw a fresh uniform sample
with .
7: Update the collocation set:
.
8: Train the neural network for one iteration on the updated .
9: end while
A.5 vRBA
The variational Residual-Based Adaptivity (vRBA) framework [Toscano et al., 2026] differs from the previously discussed methods in that it does not prescribe a single update rule but instead provides a generative recipe parameterized by a convex, increasing potential function . Different choices of recover existing schemes as special cases: the linear potential corresponds to uniform sampling, the quadratic potential recovers RAD- and RBA-type weighting, and the exponential potential produces a softmax-style attention over the residuals.
For each equation , an initial collocation set of size is drawn uniformly from the sampling domain , and a non-negative pointwise weight is associated with each . At every training iteration, vRBA constructs a target weight at each point that is proportional to evaluated at the rescaled residual. For a temperature parameter , the target weight at iteration is
To stabilize the weights against stochastic fluctuations and to retain a baseline of exploration, the target is combined convexly with the uniform density on through a stabilization parameter , and smoothed with an exponential moving average. Let denote the EMA memory and the EMA learning rate. The weight update reads
By construction this guarantees throughout training.
The temperature governs the sharpness of the induced distribution and is updated at every iteration according to an annealing schedule that depends on . For the exponential potential , a logarithmic decay
is used. For polynomial potentials with , the optimal is available in closed form by enforcing the normalization condition . For other admissible potentials
(e.g. , , or ), the same normalization constraint is solved at each iteration via a few Newton–Raphson steps.
The smoothed weights can be used in two complementary ways:
Importance weighting. The weights are applied directly inside the equation loss,
and the collocation set is kept fixed throughout training. In this mode, vRBA acts as a weight-based adaptive method.
Adaptive resampling. The weights are normalized to a probability mass function on ,
and a new collocation set is resampled from . The unweighted loss
is then evaluated on the resampled points. Through this resampling rule, vRBA defines a sampling-based adaptive method that can be combined with the candidate-construction strategies of RAR and RAD.
Algorithm 5 Variational Residual-Based Adaptivity (vRBA)
Require: Convex increasing potential , collocation size , EMA memory , EMA learning rate , stabilization parameter , mode .
1: Sample initial collocation set with .
2: Initialize for all .
3: while not converged do
4: Evaluate residuals for all .
5: Update the temperature from according to the annealing rule associated with .
6: Compute the target weights
7: Update the smoothed weights
8: if mode = weighting then
9: Compute the weighted loss .
10: else
11: Form .
12: Resample with .
13: Compute the unweighted loss .
14: end if
15: Train the neural network for one iteration on the current loss.
16: end while
The values used are , , , and c=1 in the logarithmic annealing schedule used for the exponential potential.
B Loss Balancing Strategies
Training PINNs requires the simultaneous optimization of numerous heterogeneous loss components arising from the governing equations, boundary and initial conditions, and possibly additional observational data. These components typically operate on different physical scales and may exhibit widely varying optimization dynamics. As a result, certain losses may dominate the gradient signal, while others receive insufficient attention, ultimately leading to poor convergence, imbalance between constraints, or even complete failure of training. This motivates the use of adaptive loss balancing strategies.
A key observation is that each physical constraint in a PINN generally consists of multiple distinct equations or residual functions. For example, a multi-dimensional PDE system or a vector-valued boundary condition may produce several independent residual terms, each requiring accurate enforcement. Instead of treating entire categories such as “PDE”, “BC”, or “IC” as single loss terms, we adopt an equation-wise perspective: let
denote the set of all individual equations or residual components in the model. Each is associated with its own collocation set and loss value
where denotes the corresponding residual function. The total weighted loss used for training is then
so that every equation receives its own adaptive weight . This equation-wise viewpoint naturally aligns PINNs with the language of multitask learning, where each equation constitutes a separate task with its own scale and convergence behavior.
The literature on adaptive loss balancing, however, is not uniform in its terminology. In particular, the name GradNorm has been used to describe two different algorithms. To avoid ambiguity, we adopt the following naming convention throughout this paper:
-
GradNorm (Multitask). Introduced by Chen et al. [2018], this method balances task losses by equalizing gradient magnitudes relative to their training rates. It was not originally designed for PINNs but is applicable in equation-wise form.
-
Learning Rate Annealing (Original). Proposed by Wang et al. [2021] specifically for PINNs, this method adjusts the weights of boundary and initial condition equations using gradient-norm ratios relative to the PDE equations.
-
GradNorm-based/ Learning Rate Annealing (Revised). A simplified variant used in the jaxpi framework. Although internally referred to as “gradnorm”, it is conceptually distinct from GradNorm (Multitask). We refer to this method as GradNorm-based.
In the remainder of this section we present all loss balancing strategies using the unified equation-wise notation above, ensuring compatibility with multi-dimensional, multiscale, and multi-equation PDE problems, before applying them in our benchmark study.
B.1 GradNorm (Multitask)
GradNorm [Chen et al., 2018] adaptively balances task losses based on their gradient magnitudes and relative training progress. Interpreting each equation as a separate task, the method updates the weights so that harder or slower-learning equations receive larger weights.
For each equation , define the gradient norm and averages
To measure training progress, let
Given a hyperparameter , the target gradient is
GradNorm updates by minimizing the auxiliary objective
Algorithm 6 GradNorm (Multitask, equation-wise)
Require: Initial parameters , weights , hyperparameter
1: while not converged do
2: Compute losses for all
3: Compute gradient norms
4: Compute and the ratios
5: Compute targets
6: Form
7: Update by a gradient step on
8: Optionally normalize (e.g. )
9: Update using the weighted loss
10: end while
B.2 Learning Rate Annealing (Original)
Learning Rate Annealing was introduced by Wang et al. [2021] as a simple heuristic to rebalance the PDE residual loss and the data-fitting losses (initial and boundary conditions, and possibly additional data). The total loss is written as
where denotes the (single) PDE residual loss and are data-fitting losses. The weight of the PDE loss is fixed to 1, while the weights of the data-fitting terms are adapted during training.
At each iteration, the method compares the gradient of with those of the data-fitting losses. Denoting by the -th network parameter, Wang et al. [2021] define
i.e. is the maximum absolute gradient component of the PDE residual loss, and is the mean absolute gradient component of . The instantaneous target weight for loss is
and the actual weight is updated via an exponential moving average
with a smoothing parameter .
Remark. In this original formulation, all PDE residuals are aggregated into a single scalar loss , and only the data-fitting losses receive adaptive weights. As a consequence, Learning Rate Annealing (Original) does not distinguish between different PDE equations or scales. This limitation motivated the more general revised variant discussed in the following subsection.
B.3 Learning Rate Annealing (Revised)/ GradNorm-based
A revised version of Learning Rate Annealing is implemented in the jaxpi framework, where it is internally referred to as gradnorm. In contrast to the original group-wise formulation, this variant assigns a separate weight to each equation based on its gradient magnitude, and thus naturally fits our equation-wise setting.
At a given iteration, we define for every equation the gradient magnitude
and the average gradient magnitude
For , the instantaneous target weight for equation is
so that equations with comparatively small gradients receive larger target weights. The actual weights are updated via an exponential moving average
and the parameters are updated using the weighted loss
Typical choices for the hyperparameters are and .
Algorithm 7 GradNorm-based (Revised, equation-wise)
Require: Initial parameters , initial weights for all , , smoothing parameter
1: while not converged do
2: Compute losses for all
3: Compute gradient magnitudes for all
4: Compute average gradient magnitude
5: Compute target weights
6: Compute weights
7: Update using the weighted loss
8: end while
Remark. Unlike the original Learning Rate Annealing, this revised variant operates at the level of individual equations and treats PDE, BC, IC, and data equations in a unified way, without collapsing PDE residuals into a single loss.
B.4 SoftAdapt
SoftAdapt [Heydari et al., 2019] balances loss terms based on their recent change during training. At each iteration, losses that have decreased less (or even increased) compared to the previous iteration receive larger weights via a softmax over their temporal differences.
Let denote the loss of equation at training iteration , and let be its value at the previous iteration. For a temperature parameter , we define the score
and compute the weights via a softmax
The parameters are then updated using the weighted loss
Algorithm 8 SoftAdapt (equation-wise)
Require: Temperature , initial parameters for all
1: Set iteration counter
2: while not converged do
3: Compute current losses
4: Compute scores
5: Compute weights
6: Update parameters using
7: Set for all
8:
9: end while
B.5 Relative Loss Balancing with Random Lookback (ReLoBRaLo)
ReLoBRaLo [Bischof and Kraus, 2025] is a SoftAdapt-style method that operates on loss values rather than gradients and combines two ideas: (i) relative loss balancing based on ratios of current to past losses, and (ii) a random look-back mechanism that occasionally refers back to the initial losses. This is intended to improve robustness and avoid getting stuck in imbalanced configurations.
Let denote the loss of equation at training iteration , and let be the number of loss components. For two iterations and a temperature parameter , ReLoBRaLo defines the balanced weights
In practice, ReLoBRaLo uses two specific look-back choices: (i) from the initial iteration 0 and (ii) from the previous iteration . The algorithm updates the weights via:
where is a smoothing parameter and is a Bernoulli random variable with chosen close to 1. The parameters are then updated using the weighted loss
Algorithm 9 Relative Loss Balancing with Random Lookback (ReLoBRaLo)
Require: Initial parameters , temperature , smoothing parameter , look-back probability
1: Initialize for all
2: Compute initial losses
3: Set iteration counter
4: while not converged do
5: Compute current losses
6: Compute for all via Eq. (7)
7: Sample
8: Compute
9: Compute for all via Eq. (7)
10: Update
11: Update using an optimizer step on
12:
13: end while
C Neural Network Architectures
In this section we introduce the most common and promising architectures of neural networks in PINNs. Apart from the traditionally used MLP, we will also use the Modified MLP introduced by Wang et al. [2021] and the PirateNet [Wang et al., 2024] which builds on the idea of Modified MLPs and residual neural networks.
In addition to architectural changes, a very promising approach is the inclusion of random Fourier features [Tancik et al., 2020]. As our basic vanilla model we choose the MLP with tanh as its activation function. It is by far the most used network architecture in PINN studies and publications and is therefore included.
C.1 Multi-layer Perceptrons
As default function approximator, which maps the spatio-temporal domain to the output space, we use MLPs. A layer of an MLP consists of
-
affine map ,
-
is a non-polynomial function from
-
together they form: .
The functions are commonly called activation functions and are usually element-wise. The composition of the layers is given by
and represents the MLP as one function. The learnable parameters called are the parameters of the affine maps. Explicitly this means .
C.2 Modified MLP
Inspired by attention and convolutions, the Modified MLP [Wang et al., 2021] enriches a standard MLP by introducing two global feature maps that extract input-dependent invariants and propagate this information to every hidden layer. Throughout this section we assume that all hidden layers have the same width .
The global features are defined by
The first hidden layer is given by the standard MLP layer map
For we define the map
and the next hidden layer by
where denotes element-wise multiplication.
The output of the Modified MLP is computed by a final affine map.
C.3 Random Fourier features
To enhance the representational capacity of the networks and to mitigate spectral bias, we employ random Fourier features (RFF) as an input embedding. Since all hidden layers in our architectures have width d, we require d to be an even number. We then define the RFF embeddings as a map
where the trigonometric functions are applied element-wise. The matrix B has dimensions
so that has dimension . Each entry of is sampled independently from a Gaussian distribution , where the parameter controls the frequency spectrum.
The embedded coordinates replace the raw input x and serve as the new input representation for all architectures. In particular, in the Modified MLP formulation the global feature maps and first hidden layer become
C.4 PirateNet
Let denote the feature dimension of the network input (e.g., after an optional embedding), and let be the hidden width of the bottleneck layers.
As in the Modified MLP, PirateNet uses two global feature maps
which are computed once from the input x and shared across all blocks.
A PirateNet consists of L blocks, each defining a map
Given , the -th block applies a three-layer bottleneck with two gating operations:
where the affine maps satisfy
and denotes element-wise multiplication.
The residual output of the block is
where is a trainable scalar parameter controlling the balance between nonlinear transformation and identity propagation.
The entire PirateNet is the composition of its blocks,
C.5 Hard periodic boundary conditions
In order to impose periodic boundary conditions exactly rather than as a soft penalty in the loss, we follow the construction of Dong and Ni [2021]. The idea is to compose the network with a coordinate embedding that is itself exactly periodic. The resulting network then inherits exact periodicity together with the periodicity of all its derivatives.
Let the input be split as , where are the directions in which the solution is required to be periodic with periods , and collects the remaining (non-periodic) coordinates. For each periodic direction we set and define the elementary periodic embedding
The full periodic embedding is then the map
By construction, is smooth and exactly periodic in each periodic coordinate, i.e.
The periodic embedding replaces the raw input as the representation passed to any of the architectures introduced above,
where is an MLP, a Modified MLP, or a PirateNet, now with input dimension instead of . Since acts on only through and is exactly -periodic in , the network output is itself exactly periodic in , and so are all its derivatives. The periodic boundary conditions are therefore enforced as a hard constraint, and no corresponding penalty term is needed in the PINN loss.
When random Fourier features are additionally employed, the periodic embedding is applied first and the RFF map afterwards, so that the input representation seen by the network becomes
with as defined in Section C.3. The matrix in the RFF map then has dimension , while periodicity of in is preserved because acts only through the already-periodic .
D Optimizer
D.1 Shampoo with Adam in the Preconditioner's Eigenbasis (SOAP)
SOAP [Vyas et al., 2025] is a quasi-second-order optimizer that runs AdamW in a slowly changing rotated coordinate basis derived from the eigenvectors of Shampoo's Kronecker-factored preconditioner. Conceptually, SOAP can be viewed as Adam applied not to the raw gradient but to a whitened gradient, where the whitening rotation is given by the eigendecomposition of two layer-wise gradient-covariance matrices accumulated in the style of Shampoo. The rotation is refreshed only every steps via a single step of orthogonal iteration, while the Adam moments are updated at every step inside the rotated basis. This combines the curvature awareness of Shampoo with the per-coordinate adaptivity and computational simplicity of Adam, and adds only a single hyperparameter ( ) relative to AdamW.
We apply SOAP layer-wise to the 2D weight matrices , . The 1D parameters are updated with standard AdamW. Let denote the gradient of layer at iteration . For brevity we drop the layer index in what follows; the updates are applied independently per 2D layer. For each such layer, SOAP maintains the first moment in the original basis, the second moment in the rotated basis, the Kronecker factors and , and the orthogonal eigenvector estimates , .
The two Kronecker factors are exponential moving averages of the left and right gradient covariances,
and form the layerwise Shampoo preconditioner in the vectorized parameter space. Rather than inverting this preconditioner, SOAP works in its eigenbasis: every iterations the eigenvector estimates are refreshed via a single step of orthogonal iteration,
where returns the orthogonal factor of a QR decomposition. On iterations that are not multiples of , and are kept fixed. The estimates are initialized at from a full eigendecomposition of , .
Inside the rotated basis defined by , , SOAP performs an Adam update. The first moment is accumulated in the original basis and projected each step, while the second moment is accumulated directly in the rotated basis,
where denotes the Hadamard product. With bias-corrected moments and , the Adam direction in the rotated basis is
with the square root and division taken element-wise. The update is rotated back to the original basis and applied,
We use weight decay 0 throughout, so the AdamW decoupled-decay term in equation (15) vanishes and is omitted. Setting and in equations (11)–(15) recovers AdamW exactly, which is the update we use for the bias parameters .
Algorithm 10 SOAP step for a single 2D layer .
Require: Initial weights , learning rate , EMA decays , stability constant , preconditioning frequency
1: Initialize
2: Initialize
3:
4: while not converged do
5: Compute gradient
6:
7:
8:
9: if then
10: Initialize from full eigendecomposition of
11: else if then
12:
13:
14: else
15:
16: end if
17:
18:
19:
20:
21:
22:
23:
24:
25: end while
Default settings. The defaults recommended in the reference SOAP implementation [Vyas et al., 2025] are , , and . The recommended learning rate in the reference implementation is . The reference implementation also uses a decoupled weight decay of by default; in our experiments we set the weight decay to 0 because we employ an LR schedule manually, so the corresponding term is omitted from equation (15). The following settings are used throughout this work:
Table 1: Default SOAP hyperparameters used in this work.
| Symbol | Description | Default |
|---|---|---|
| learning rate | ||
| EMA decay for first moment | 0.95 | |
| EMA decay for | 0.95 | |
| numerical stability constant | ||
| eigenbasis update period | 2 |
D.2 Self-Scaled Broyden (SSBroyden)
SSBroyden [Al-Baali, 1998] is a full-memory quasi-Newton optimizer that maintains a dense approximation of the inverse Hessian , where is the total number of trainable parameters. At each iteration the method flattens into a vector, computes the search direction from the gradient , performs a Wolfe line search along to find a step length (Section D.2.1), takes the step , and finally refines to via a self-scaled rank-2 update. Because is stored explicitly, SSBroyden has memory and per-step cost, which restricts it to the moderate- regime typical of PINN-style problems. Recent work by Urbán et al. [2025] has demonstrated that SSBroyden, when combined with a strong-Wolfe line search, attains relative errors on standard PINN benchmarks that are several orders of magnitude below those obtained with Adam, BFGS or L-BFGS, motivating its use as the quasi-Newton optimizer in this work.
The classical Broyden family is a one-parameter convex combination of the BFGS () and DFP () updates applied directly to the inverse Hessian. The self-scaled extension multiplies the DFP-component of the update by the reciprocal of a positive scaling factor before the rank-1 BFGS-style outer product is added; this is intended to control the conditioning of across iterations. The variants SSBroyden in the literature differ only in how the Broyden parameter is chosen at each step inside an admissible interval; below we describe the SSBroyden2 selection rule, which is the one used in our implementation.
For iteration define the curvature pair and the auxiliary vector ,
together with the scalars
and the bounds
The interval is the admissible range for the Broyden parameter; SSBroyden2 selects
With and , and assuming , the self-scaling factor is
Finally, define the auxiliary vector and convex coefficient by
The inverse Hessian approximation is then updated as
With and , equation (22) reduces to the standard BFGS update on the inverse Hessian; with it reduces to DFP.
D.2.1 Wolfe line search
Each step length is obtained by a strong-Wolfe line search on the scalar function . A trial step length is accepted when both
(Armijo / sufficient decrease),
(23)
(strong curvature condition),
(24)
with . We use the JAX implementation of the single-step strong-Wolfe line search of Moré and Thuente as the inner primitive, and wrap it in a three-stage cascade: each stage uses the same but a progressively tighter (i.e. smaller) curvature tolerance , and a stage is only invoked if the previous one returned a failure flag — e.g. exceeded its iteration cap without finding any satisfying both (23) and (24). The schematic is given in Algorithm 11.
Algorithm 11 Wolfe line-search cascade used inside SSBroyden.
Require: Iterate , direction , value , gradient
Require: Armijo constant ; curvature tolerances ; per-stage iteration caps
1: Stage 1. Run strong-Wolfe line search with , trials.
2: if stage 1 succeeded then
3: return
4: end if
5: Stage 2. Run strong-Wolfe line search with , trials.
6: if stage 2 succeeded then
7: return
8: end if
9: Stage 3. Run strong-Wolfe line search with , trials.
10: return stage-3 result (success or failure flag).
In our implementation we set for all three stages, with curvature tolerances , , and per-stage cap .
Algorithm 12 Self-Scaled Broyden (SSBroyden2) step on the flattened parameter vector .
Require: Initial parameters , initial inverse Hessian
Require: Wolfe parameters
Require: Curvature-collapse threshold , fallback constant
1:
2: while not converged do
3: Compute and
4:
5: Obtain from Algorithm 11
6:
7:
8: if then
9:
10: else
11:
12: end if
13:
14: Compute via (17)
15: Compute via (18)
16: Compute via (19)
17: Compute via (20)
18: Compute and via (21)
19: Update via (22)
20:
21: end while
Default settings. Following the implementation, we initialize and use the values listed in Table 2. The numerical guard replaces with the fallback , whenever collapses below the threshold, mirroring the safeguard used in the SciPy BFGS reference implementation.
| Symbol | Description | Value |
|---|---|---|
| Initial inverse Hessian | ||
| Armijo constant (all stages) | ||
| Curvature tolerance, line-search stage 1 | 0.9 | |
| Curvature tolerance, line-search stage 2 | 0.8 | |
| Curvature tolerance, line-search stage 3 | 0.5 | |
| Maximum trials per line-search stage | 25 each | |
| Curvature-collapse threshold for | ||
| Fallback value when |
Table 2: Default hyperparameters for the SSBroyden optimizer used in this work.
E Evaluation card
Here we provide a template for the EvalCard and indicate which fields to fill in, depending on the study or comparison.
| EvalCard: General Evaluation Card for a PINN Training Pipeline | |
|---|---|
| Model | |
| Field | Specification |
| Topology | e.g. MLP, modified MLP, PirateNet |
| Depth and width | number of layers and neurons per layer |
| Activation function | e.g. tanh, swish |
| Feature mapping | e.g. Fourier features, scale parameter |
| Initialization | scheme and any modifications (e.g. RWF) |
| Trainable parameters | total count |
| Domain-importance adaptation | |
| Field | Specification |
| Method | e.g. RAD, RBA, vRBA, Random-R |
| Collocation set sizes | |C_e| for each equation e ∈ E |
| Sampling distribution | e.g. Random-R, Latin hypercube, residual-based |
| Update frequency | iterations between updates |
| Hyperparameters | all method-specific values |
| Loss balancing | |
| Field | Specification |
| Method | e.g. GradNorm-based, ReLoBRaLo, fixed weights |
| Update frequency | iterations between updates |
| Hyperparameters | all method-specific values |
| Optimization scheme | |
| Field | Specification |
| Optimizer(s) | name and order if a sequence is used |
| Optimizer schedule | iterations or stopping criterion per optimizer |
| Learning-rate schedule | function from iteration to learning rate |
| Hyperparameters | all optimizer-specific values |
| Evaluation conditions | |
| Field | Specification |
| Numerical precision | e.g. float32, float64 |
| Accuracy metric | e.g. relative L² error |
| Cost metric(s) | runtime and iteration count |
| Hardware | GPU/CPU model and configuration |
| Independent runs | number of runs and seed-handling |
| Reported variability | median and standard deviation |
| Significance test for highlighted results | e.g. exact two-sided Mann–Whitney U over seeds, Holm-corrected, α = 0.05 |
Figure 5: General EvalCard for a PINN training pipeline. The card captures the configuration of the four pipeline components together with the evaluation-level conditions required by the protocol. Benchmark-specific information (governing PDE, domain, reference solution) is reported in the experimental setup of each study.
F Benchmarks
In this section we introduce the benchmark PDEs, define the error metrics for the benchmarks and provide baseline settings for benchmarks used. These are namely the periodicity (if used), the standard deviation of the random Fourier features used, as well as the optimizer settings for PINN pipelines that solely use SOAP as optimizer. Information on advanced training techniques such as Time-marching are provided if applicable for the benchmark. Additionally, the provenance and the estimated accuracy of every reference solution are documented in the last subsection.
F.1 Allen–Cahn equation
In the 1D Allen–Cahn equation conventional PINNs are known to have issues finding a good approximation. It has the form
The Allen–Cahn PDE is a standard benchmark equation for PINNs and poses a challenge because it is a “stiff” PDE with sharp transitions in space and time and a periodic boundary condition. The performance of this benchmark is the relative error of .
F.2 Burgers equation
The one-dimensional Burgers equation considered has the form:
Here, represents the velocity field, and denotes the kinematic viscosity parameter controlling the diffusive term. Performance on this benchmark is measured by the relative error of with respect to a reference solution.
F.3 Wave equation
The one-dimensional wave equation considered takes the form:
Here, represents the amplitude and the wave propagation speed. We choose . The performance of this benchmark is the relative L2 error of .
F.4 Korteweg–de Vries equation
The one-dimensional Korteweg–de Vries equation (KdV) is expressed as follows:
where represents the wave amplitude or water surface elevation. The parameter governs the strength of the nonlinearity and controls the dispersion level. Under the KdV dynamics, the initial wave evolves into a series of solitary-type waves. Here and . The performance of this benchmark is the relative L2 error of .
F.5 Kuramoto–Sivashinsky equation
The one-dimensional Kuramoto–Sivashinsky (KS) equation takes the form:
where represents the height of a thin film or flame front. This equation arises in various physical contexts, including flame front propagation, thin film flows and plasma instabilities. Here and , , , . The performance of this benchmark is the relative L2 error of .
F.6 Ginzburg–Landau equation
The two-dimensional Ginzburg–Landau equation takes the form:
with periodic boundary conditions and initial condition:
where is the complex amplitude representing the envelope of oscillations. represents the diffusion coefficient, is the linear growth rate and controls the nonlinear saturation. The parameters are set to , , . With , the performance of this benchmark is the relative L2 error of .
F.7 Rayleigh–Taylor instability
A coupled flow-temperature system that models buoyancy-driven instabilities in a rectangular domain is called a Rayleigh–Taylor instability. It has the form:
with and and . Here is the temperature field, is the Prandtl number and is the Rayleigh number. This system captures the characteristic mushroom-shaped plumes that develop as the heavier fluid penetrates into the lighter fluid below it. The boundary conditions are periodic in the horizontal direction for and with on the top and bottom boundaries. The parameters are and . The performance on this benchmark is the relative L2 error of .
F.8 N-dimensional heat equation
The -dimensional heat equation with forcing is considered on the unit ball with boundary :
where represents a scalar (temperature) field, the spatial dimension, , the spatial Laplacian, and the outward normal derivative on the unit sphere. The forcing term is given by
which is constructed such that the problem admits the manufactured exact solution . This benchmark probes the ability of the method to handle PDEs in high spatial dimensions, where collocation-based residual minimization becomes increasingly demanding. The default parameters are and , corresponding to a dimensional problem. The performance of this benchmark is the relative L2 error of .
F.9 N-dimensional Poisson equation
The -dimensional Poisson equation with Dirichlet boundary conditions is considered on the unit hypercube :
where represents a scalar field, the spatial dimension, and the spatial Laplacian. The forcing term and Dirichlet data are given by
which are constructed such that the problem admits the manufactured exact solution . This benchmark probes the ability of the method to handle elliptic PDEs in high spatial dimensions, where the boundary consists of hyperfaces and thus scales linearly with . The default parameter is .
The performance of this benchmark is the relative L2 error of .
F.10 Default PDE settings
Here we provide the additional hyperparameters and settings for each PDE benchmark studied in this work for the neural network and optimizer schemes.
First we provide information about activation function, Fourier scales and the use of hard boundary constraints in Table 3.
Table 3: Neural Network Hyperparameters for benchmark PDEs.
| Wave | Burgers | AC | KdV | Poisson | Heat | KS | GL | RT | |
|---|---|---|---|---|---|---|---|---|---|
| Architecture | |||||||||
| Activation | Tanh | Tanh | Tanh | Tanh | Tanh | Tanh | Tanh | Swish | Tanh |
| Fourier Features Scale | 10.0 | 1.0 | 1.0 | 1.0 | 1.0 | 1.0 | 2.0 | 1.0 | 1.0 |
| Hard constraint | |||||||||
| Axis | |||||||||
| Periodicity | 1.0 | ||||||||
Next, we provide the optimizer settings for the domain-importance adaptation, loss-balancing and neural network size studies.
Table 4: Optimizer Hyperparameters for each benchmark PDE.
| Wave | Burgers | AC | KdV | Poisson | Heat | KS | GL | RT | |
|---|---|---|---|---|---|---|---|---|---|
| Learning rate schedule | |||||||||
| Initial learning rate | |||||||||
| Decay rate | |||||||||
| Decay steps | |||||||||
| Warmup steps | |||||||||
| Training | |||||||||
| Iters SOAP | 100k | 100k | 300k | 100k | 40k | 40k | |||
| Time Marching | |||||||||
| # Time windows | 10 | 5 | 7 | ||||||
| Iters per window | 100k | 40k | 25k | ||||||
Lastly, we provide the optimizer settings for the study investigating the claim of Wang et al. [2025] in Table 5.
Table 5: Optimizer Hyperparameters for the optimizer and network study. Learning-rate schedule and iteration counts of the single-stage training (SOAP) and of the two-stage training (SOAP followed by SSBroyden2) for each benchmark PDE.
| Wave | Burgers | AC | KdV | Poisson | Heat | KS | GL | RT | |
|---|---|---|---|---|---|---|---|---|---|
| Learning rate schedule | |||||||||
| Initial learning rate | |||||||||
| Decay rate | |||||||||
| Decay steps | |||||||||
| Warmup steps | |||||||||
| One-stage Training | |||||||||
| Iters SOAP | 100k | 70k | 300k | 100k | 40k | 40k | |||
| Time Marching | |||||||||
| # Time windows | 10 | 5 | 7 | ||||||
| Iters per window | 100k | 100k | 50k | ||||||
| Two-stage Training | |||||||||
| Iters SOAP | 5k | 1k | 2k | 8k | 2k | 2k | |||
| Iters SSBroyden2 | 10k | 10k | 20k | 12k | 10k | 10k | |||
| Time Marching | |||||||||
| # Time windows | 10 | 5 | 7 | ||||||
| Iters SOAP per window | 5k | 2.5k | 2k | ||||||
| Iters SSBroyden2 per window | 5k | 5k | 8k | ||||||
F.11 Reference Solutions
Table 6 documents the reference solution of every benchmark. For AC and Burgers, the 511-mode Chebfun [Driscoll et al., 2014] solutions commonly used are accurate only to the order of and cannot resolve the errors reported in this work. We therefore compute both reference solutions with a Fourier pseudo-spectral discretization and ETDRK4 time stepping [Kassam and Trefethen, 2005]. AC requires 32704 modes because its initial condition is not continuously differentiable across the periodic boundary, so the Fourier discretization converges only algebraically in the number of modes. The RT reference solution is taken from the jaxpi repository of Wang et al. [2025].
Table 6: Reference solution of each benchmark: solver and resolution, verification, and estimated accuracy (relative ). All reference solutions are computed in float64. The estimated accuracy is the deviation from a refined solution (self-convergence).
| Benchmark | Reference solution / solver | Verification | Est. accuracy |
|---|---|---|---|
| Poisson | exact, float64 | exact by construction | |
| Heat | exact, float64 | exact by construction | |
| Wave | exact, float64 | exact by construction | |
| KdV | Chebfun spin, ETDRK4, 511 modes, | reproduced to ; refinement | |
| KS | Chebfun spin, 511 modes, | reproduced to ; refinement | |
| GL | Chebfun spin2, , | reproduced to ; refinement | |
| AC | Fourier + ETDRK4, 32704 modes, | self-convergence vs. 65408 modes | |
| Burgers | Fourier + ETDRK4, 2044 modes, | self-convergence vs. 4088 modes, | |
| RT | external (jaxpi) | self-convergence vs. 65408 modes, |
A reference solution cannot resolve a difference between two errors that is not larger than its estimated accuracy. For all benchmarks except RT, the estimated accuracy lies more than three orders of magnitude below the smallest error reported in this work. On RT, the smallest reported error () is less than twice the estimated accuracy (). The scripts that generate the reference solutions, validate them, and estimate their accuracy are part of PINNpipe (Appendix I).
G Extended Studies and Results
In this section, the full results on the domain-importance adaptation and loss balancing study are presented. Furthermore, an evaluation study on three neural network variants at three different sizes is conducted.
G.1 Domain-Importance Adaptation Study
The evaluation card for this study is provided in Figure 2. The main text presents and discusses a representative subset of the benchmark suite, where the most informative methodological differences emerge. For completeness, we report here the full results across all nine PDE benchmarks, together with the standard deviation that was omitted from the main text for readability.
Table 7: Median and standard deviation of the relative errors for the five domain-importance adaptation methods evaluated on the nine PDE benchmark problems. For each benchmark, bold marks the method with the lowest median relative error if its errors differ significantly from those of every other method. Significance is assessed by the exact two-sided Mann–Whitney test on the per-seed relative errors, with Holm correction at over the comparisons of this method with each of the other methods. If at least one of these comparisons is not significant, no entry for that benchmark is bold.
| Benchmark | Random-R | vRBA | LAS | R3 | RAD |
|---|---|---|---|---|---|
| Wave | |||||
| KdV | |||||
| RT | |||||
| Heat | |||||
| AC | |||||
| Burgers | |||||
| GL | |||||
| KS | |||||
| Poisson |
The full results are consistent with the conclusions drawn in the main text: no adaptive sampling strategy dominates uniformly, and Random-R remains a strong baseline, achieving the best median error on seven of the nine benchmarks. Among the adaptive methods, LAS is the only strategy that improves over Random-R, doing so on Wave and Heat. The deviation, omitted from the main text, further reinforces this picture: on KS in particular, both the medians and the standard deviations of the adaptive methods are substantially larger than those of Random-R, with R3 showing variation on the order of the median itself. This indicates that, beyond average-case performance, several adaptive schemes also exhibit reduced robustness across seeds on the more challenging benchmarks.
Table 8: Reported are the median runtime [min] for the different domain-importance adaptation methods evaluated on the nine PDE benchmark problems. For each benchmark, bold marks the lowest median runtime.
| Benchmark | Random-R | vRBA | LAS | R3 | RAD |
|---|---|---|---|---|---|
| Wave | 10.53 | 11.27 | 11.19 | 11.02 | 12.20 |
| KdV | 10.10 | 11.14 | 11.91 | 10.95 | 13.04 |
| RT | 29.80 | 31.59 | 34.79 | 31.12 | 34.91 |
| Heat | 5.43 | 5.77 | 7.02 | 6.00 | 6.98 |
| AC | 11.24 | 12.64 | 12.18 | 11.89 | 13.62 |
| Burgers | 6.26 | 6.77 | 6.70 | 6.64 | 7.24 |
| GL | 26.82 | 30.43 | 28.18 | 28.81 | 30.95 |
| KS | 113.97 | 133.22 | 138.17 | 123.60 | 150.90 |
| Poisson | 4.06 | 6.33 | 4.63 | 4.33 | 5.16 |
G.2 Loss Balancing Study
In this section we present the evaluation card of the loss-balancing study announced in Section 4.3 as well as the full results of the study.
EvalCard: Loss Balancing
Claim under Evaluation. The choice of loss balancing method materially affects the final relative error of a PINN when evaluated on a competitive surrounding pipeline. Tested on a representative subset of competitive benchmarks ranging from low-dimensional to high-dimensional and coupled-system PDE problems.
Surrounding Pipeline.
| Component | Choice | Hyperparameters |
|---|---|---|
| Architecture | MLP, depth 5, hidden dim 64, Fourier features | Table 3 |
| Domain-Importance Adaptation | Random-R, Sample size: 8192 | Appendix A |
| Optimizer | SOAP | Table 4 |
Loss Balancing.
| Hyperparameter | GradNorm-based | SoftAdapt | ReLoBRaLo | GradNorm-MTL | Fixed |
|---|---|---|---|---|---|
| Frequency | 1000 | 1 | 1 | 100 | N.A. |
| Hyperparameter | See defaults in Appendix B | ||||
Evaluation Conditions. Float32 precision, NVIDIA H100, 10 seeds. Per-PDE configuration and details can be found in Appendix F.10. Reported variability: median ± standard deviation. Significance test (bold): exact two-sided Mann–Whitney over seeds, Holm-corrected, .
Figure 6: EvalCard for the loss-balancing study.
The evaluation card for this study is provided in Fig. 6. As with the domain-importance adaptation study, the main text presents the most informative results on a representative subset of the benchmark suite. Here we report the full results across all nine PDE benchmarks, together with the standard deviation across the tested seeds. Table 9 contains the relative errors and Table 10 the corresponding median runtimes.
Table 9: Median and standard deviation of the relative errors for the five loss-balancing methods evaluated on the nine PDE benchmark problems. For each benchmark, bold marks the method with the lowest median relative error if its errors differ significantly from those of every other method. Significance is assessed by the exact two-sided Mann–Whitney test on the per-seed relative errors, with Holm correction at over the comparisons of this method with each of the other methods. If at least one of these comparisons is not significant, no entry for that benchmark is bold.
| Benchmark | GradNorm-based | SoftAdapt | ReLoBRaLo | Fixed | GradNorm-MTL |
|---|---|---|---|---|---|
| Wave | |||||
| AC | |||||
| KS | |||||
| Poisson | |||||
| Burgers | |||||
| GL | |||||
| Heat | |||||
| KdV | |||||
| RT |
The full results extend the picture given in the main text and the evaluation card in Fig. 6: no single loss-balancing method dominates across the suite, but GradNorm-based balancing is the strongest method overall, achieving the best median error on five of the nine benchmarks (Wave, Poisson, Burgers, GL, and RT) and remaining near-best on the others. The fixed-weight baseline nevertheless remains competitive, taking the best median error on KS, AC and KdV, while SoftAdapt wins on a single benchmark (Heat). The seed-to-seed variation reported here additionally surfaces two robustness failures that are not visible from medians alone: SoftAdapt fails to train on Wave and KS, with errors several orders of magnitude above the other methods, and GradNorm-MTL collapses on KdV, where its median error of ≈ 6 indicates that several seeds did not converge at all. These failure modes argue for caution when deploying these schemes as defaults, and motivate the more conservative recommendations made in the main text.
Table 10: Median runtime [min] for the five loss-balancing methods evaluated on the nine PDE benchmark problems.
| Benchmark | GradNorm-based | SoftAdapt | ReLoBRaLo | Fixed | GradNorm_MTL |
|---|---|---|---|---|---|
| Wave | 10.96 | 11.10 | 11.05 | 10.95 | 11.13 |
| AC | 9.63 | 9.66 | 9.68 | 9.62 | 9.68 |
| KS | 117.95 | 116.35 | 117.85 | 116.20 | 119.30 |
| Poisson | 4.29 | 4.32 | 4.31 | 4.29 | 4.38 |
| Burgers | 6.62 | 6.66 | 6.66 | 6.60 | 6.75 |
| GL | 28.03 | 27.58 | 27.53 | 27.06 | 29.12 |
| Heat | 5.59 | 5.62 | 5.62 | 5.56 | 5.64 |
| KdV | 10.80 | 10.78 | 10.76 | 10.10 | 10.66 |
| RT | 30.77 | 30.08 | 31.67 | 27.53 | 36.73 |
The runtime differences between loss-balancing methods are negligible on all benchmarks, typically below a few percent relative to the fixed-weight baseline. This is in contrast to the domain-importance adaptation study, where the adaptive methods incurred a slightly more visible overhead.
G.3 Neural Network Study
In this section we present a study on the three neural network architectures MLP, Modified MLP [Wang et al., 2021] and PirateNet [Wang et al., 2024] across varying parameter budgets; formal definitions are provided in Appendix C. The purpose of this study is to evaluate the claim that, once the surrounding pipeline is fixed to a strong configuration, the choice of architecture has a measurable and consistent influence on the performance of the PINN training pipeline. To this end we consider three sizes between approximately 5,000 and 100,000 trainable parameters, evaluated across our benchmark suite. The exact parameter counts vary between benchmarks because of the periodic embeddings and the different input and output dimensions.
EvalCard: Neural Network Size Study
Claim under Evaluation. The choice of a neural network architecture, namely MLP, Modified MLP or PirateNet, under reasonable network sizes does influence the performance of the entire PINN training pipeline.
Surrounding Pipeline.
| Component | Choice | Hyperparameters |
|---|---|---|
| Domain-Importance Adaptation | Random-R, sample size: 8192 | Appendix A |
| Loss balancing | GradNorm-based, Frequency: 1000 | Appendix B.3 |
| Optimizer | SOAP | Table 4 |
Neural Networks.
| Architecture | rel. size | Depth | Width | # trainable parameters |
|---|---|---|---|---|
| MLP | small | 5 | 32 | 5,360 |
| MLP | medium | 5 | 64 | 20,960 |
| MLP | large | 5 | 128 | 82,880 |
| Modified MLP | small | 4 | 32 | 6,416 |
| Modified MLP | medium | 4 | 64 | 25,120 |
| Modified MLP | large | 4 | 128 | 99,392 |
| PirateNet | small | 3 | 24 | 6,663 |
| PirateNet | medium | 3 | 48 | 25,995 |
| PirateNet | large | 3 | 96 | 102,675 |
Settings of the Fourier features and other details applicable to all NNs are presented in Table 3.
Evaluation Conditions. Float32 precision, NVIDIA H100, 5 seeds. Reported variability: median ± standard deviation. Significance test (bold): exact two-sided Mann–Whitney U over seeds, Holm-corrected, .
Figure 7: EvalCard for the neural network size study.
The evaluation settings are summarized in Fig. 7, and the results for the small, medium, and large parameter budgets are reported in Tables 11, 12, and 13, respectively.
Discussion. The results across all three sizes tell a surprisingly consistent story that only partially supports the claim. While architecture choice does influence performance – Modified MLP reliably outperforms on problems with smooth, oscillatory solutions (Wave, AC, Poisson across most sizes), and the plain MLP tends to dominate on steeper or more irregular problems (KdV, RT, GL at small and large scale) – the expected advantage of more sophisticated architectures at larger parameter counts does not materialize. PirateNet, despite its inductive biases designed for difficult PINN problems [Wang et al., 2024], does not achieve consistent gains over the plain MLP at any scale, winning in only 3 out of 24 benchmark–size combinations while incurring a runtime penalty of roughly relative to MLP.
Table 11: Reported are the median, standard deviation [rel. L²] and the median runtime [min] across the different seeds for the small-sized neural networks. For each benchmark, bold marks the method with the lowest median relative L² error if its errors differ significantly from those of every other method. Significance is assessed by the exact two-sided Mann–Whitney U test on the per-seed relative L² errors, with Holm correction at α = 0.05 over the comparisons of this method with each of the other methods. If at least one of these comparisons is not significant, no entry for that benchmark is bold.
| Benchmark | Relative L² error | Runtime [min] | ||||
|---|---|---|---|---|---|---|
| MLP | Modified MLP | PirateNet | MLP | Modified MLP | PirateNet | |
| Wave | 3.29 ± 0.6 × 10⁻⁴ | 7.43 ± 1.6 × 10⁻⁵ | 1.72 ± 0.9 × 10⁻⁴ | 7.89 | 8.94 | 15.01 |
| KdV | 1.35 ± 0.1 × 10⁻³ | 1.59 ± 0.1 × 10⁻³ | 1.99 ± 0.5 × 10⁻³ | 7.41 | 8.26 | 13.32 |
| RT | 6.19 ± 1.2 × 10⁻² | 7.60 ± 0.5 × 10⁻² | 8.31 ± 1.0 × 10⁻² | 23.48 | 27.70 | 48.72 |
| Heat | 9.88 ± 0.8 × 10⁻⁴ | 8.09 ± 1.5 × 10⁻⁴ | 1.18 ± 0.2 × 10⁻³ | 3.84 | 4.10 | 7.14 |
| AC | 1.80 ± 0.4 × 10⁻⁴ | 1.12 ± 0.4 × 10⁻⁴ | 3.05 ± 1.6 × 10⁻⁴ | 6.70 | 7.01 | 11.75 |
| Burgers | 1.34 ± 0.3 × 10⁻⁵ | 2.22 ± 0.4 × 10⁻⁵ | 2.43 ± 0.4 × 10⁻⁵ | 4.93 | 5.14 | 8.56 |
| GL | 2.37 ± 0.3 × 10⁻¹ | 3.08 ± 0.3 × 10⁻¹ | 2.67 ± 0.3 × 10⁻¹ | 20.02 | 23.02 | 40.78 |
| Poisson | 5.43 ± 0.4 × 10⁻⁵ | 4.48 ± 0.7 × 10⁻⁵ | 5.60 ± 1.2 × 10⁻⁵ | 2.96 | 3.31 | 5.43 |
Table 12: Reported are the median, standard deviation [rel. L²] and the median runtime [min] across the different seeds for the medium-sized neural networks. For each benchmark, bold marks the method with the lowest median relative L² error if its errors differ significantly from those of every other method. Significance is assessed by the exact two-sided Mann–Whitney U test on the per-seed relative L² errors, with Holm correction at α = 0.05 over the comparisons of this method with each of the other methods. If at least one of these comparisons is not significant, no entry for that benchmark is bold.
| Benchmark | Relative L² error | Runtime [min] | ||||
|---|---|---|---|---|---|---|
| MLP | Modified MLP | PirateNet | MLP | Modified MLP | PirateNet | |
| Wave | 7.93 ± 2.6 × 10⁻⁵ | 2.07 ± 0.4 × 10⁻⁵ | 3.42 ± 0.6 × 10⁻⁵ | 11.54 | 14.37 | 21.94 |
| KdV | 4.54 ± 0.1 × 10⁻⁴ | 5.43 ± 0.6 × 10⁻⁴ | 5.21 ± 0.8 × 10⁻⁴ | 10.28 | 12.18 | 18.33 |
| RT | 1.68 ± 0.2 × 10⁻² | 1.93 ± 0.2 × 10⁻² | 2.54 ± 1.3 × 10⁻² | 30.17 | 37.88 | 60.58 |
| Heat | 3.90 ± 0.4 × 10⁻⁴ | 4.75 ± 0.4 × 10⁻⁴ | 5.82 ± 0.5 × 10⁻⁴ | 5.21 | 6.16 | 9.81 |
| AC | 3.52 ± 0.9 × 10⁻⁵ | 3.30 ± 0.8 × 10⁻⁵ | 7.16 ± 2.4 × 10⁻⁵ | 9.30 | 10.65 | 16.54 |
| Burgers | 7.21 ± 2.2 × 10⁻⁶ | 8.00 ± 1.1 × 10⁻⁶ | 7.97 ± 1.8 × 10⁻⁶ | 6.85 | 8.20 | 12.05 |
| GL | 4.06 ± 0.5 × 10⁻² | 4.79 ± 0.7 × 10⁻² | 3.44 ± 0.5 × 10⁻² | 26.39 | 32.69 | 53.43 |
| Poisson | 2.93 ± 0.6 × 10⁻⁵ | 1.71 ± 0.6 × 10⁻⁵ | 2.75 ± 0.8 × 10⁻⁵ | 4.12 | 5.13 | 8.54 |
Table 13: Reported are the median, standard deviation [rel. L²] and the median runtime [min] across the different seeds for the large neural networks. For each benchmark, bold marks the method with the lowest median relative L² error if its errors differ significantly from those of every other method. Significance is assessed by the exact two-sided Mann–Whitney U test on the per-seed relative L² errors, with Holm correction at α = 0.05 over the comparisons of this method with each of the other methods. If at least one of these comparisons is not significant, no entry for that benchmark is bold.
| Benchmark | Relative L² error | Runtime [min] | ||||
|---|---|---|---|---|---|---|
| MLP | Modified MLP | PirateNet | MLP | Modified MLP | PirateNet | |
| Wave | 3.56 ± 1.3 × 10⁻⁵ | 1.67 ± 0.4 × 10⁻⁵ | 1.83 ± 0.2 × 10⁻⁵ | 20.98 | 30.97 | 37.43 |
| KdV | 3.15 ± 0.2 × 10⁻⁴ | 3.37 ± 0.1 × 10⁻⁴ | 2.90 ± 0.4 × 10⁻⁴ | 17.22 | 21.54 | 30.74 |
| RT | 1.00 ± 0.1 × 10⁻² | 1.35 ± 0.6 × 10⁻² | 1.44 ± 0.4 × 10⁻² | 48.18 | 60.93 | 94.52 |
| Heat | 3.84 ± 0.2 × 10⁻⁴ | 6.89 ± 0.5 × 10⁻⁴ | 7.06 ± 0.5 × 10⁻⁴ | 8.17 | 11.14 | 16.23 |
| AC | 2.29 ± 0.3 × 10⁻⁵ | 2.29 ± 0.3 × 10⁻⁵ | 2.72 ± 0.6 × 10⁻⁵ | 15.84 | 19.06 | 27.98 |
| Burgers | 5.63 ± 1.2 × 10⁻⁶ | 5.26 ± 1.2 × 10⁻⁶ | 4.51 ± 1.2 × 10⁻⁶ | 11.79 | 15.22 | 20.20 |
| GL | 1.12 ± 0.2 × 10⁻² | 3.34 ± 0.8 × 10⁻² | 1.98 ± 0.4 × 10⁻² | 44.05 | 55.17 | 87.52 |
| Poisson | 2.10 ± 0.4 × 10⁻⁵ | 9.28 ± 1.1 × 10⁻⁶ | 1.19 ± 0.3 × 10⁻⁵ | 8.12 | 10.88 | 16.14 |
The most pronounced architectural sensitivity appears on GL and RT, the most challenging benchmarks in our suite, yet even there the rankings are not stable across sizes: PirateNet achieves the best GL result at medium scale but falls behind at both small and large scale.
Taken together, the evidence supports the claim only weakly and in a problem-dependent manner: architecture choice produces measurable but inconsistent accuracy differences, with no single architecture dominating across benchmarks and sizes. Crucially, the plain MLP remains competitive or superior at large scale while being substantially cheaper to train, which justifies the plain MLP as the anchor.
G.4 Optimizer, Precision and Architecture Ablation
Recall that the optimizer and network study (Section 4.2) compares two configurations, P1 and P2, that differ in three axes at once: the network architecture, the numerical precision, and the optimizer scheme. Specifically, P1 is a PirateNet trained with SOAP in float32, and P2 is an MLP trained with the two-stage scheme of SOAP followed by SSBroyden2 in float64 (Fig. 3). The comparison of P1 and P2 therefore reflects the joint effect of all three axes, and the difference in relative error cannot be attributed to a single axis from this comparison alone. To separate the effects of the three axes, we add three configurations that each differ from P1 or from P2 in a single axis. Concretely, these are a PirateNet trained with SOAP in float64, an MLP trained with SOAP in float32, and an MLP trained with SOAP in float64. The first two differ from P1 in the numerical precision and in the network architecture, respectively, and the third differs from P2 in the optimizer scheme.
Each experiment is a corner of a cube . Two corners of the cube are joined by an edge if they differ in a single axis.
A comparison along an edge isolates the effect of that axis if the two arms agree in all settings outside the cube. We omit the corners that are combination of the two-stage scheme with a PirateNet or with float32. These corners are not feasible, for the reasons given in the last paragraph of this subsection. The relative errors and the runtimes of the five arms on the nine benchmarks of Appendix F are reported in Tables 14 and 15, respectively.
Table 14: Median and standard deviation over seeds of the relative errors for the five arms of the single-axis ablation evaluated on the nine PDE benchmark problems. Arms marked are P1 and P2 of the optimizer and network study (Fig. 3).
| Benchmark | PirateNet, SOAP float32 (P1)† | PirateNet, SOAP float64 | MLP, SOAP float32 | MLP, SOAP float64 | MLP, SOAP→SSBroyden2 float64 (P2)† |
|---|---|---|---|---|---|
| Wave | |||||
| KdV | |||||
| RT | |||||
| Heat | |||||
| AC | |||||
| Burgers | |||||
| GL | |||||
| Poisson | |||||
| KS |
Training diverged.
Table 15: Median runtime [min] for the five arms of the single-axis ablation evaluated on the nine PDE benchmark problems. Arms marked are P1 and P2 of the optimizer and network study (Fig. 3).
| Benchmark | PirateNet, SOAP float32 (P1)† | PirateNet, SOAP float64 | MLP, SOAP float32 | MLP, SOAP float64 | MLP, SOAP→SSBroyden2 float64 (P2)† |
|---|---|---|---|---|---|
| Wave | 111.22 | 187 | 11 | 16 | 4.65 |
| KdV | 88.16 | 88 | 16 | 14 | 7.39 |
| RT | 513.50 | 708 | 89 | 99 | 70.27 |
| Heat | 49.39 | 76 | 8 | 7 | 7.29 |
| AC | 297.46 | 30 | 41 | 9.68 | |
| Burgers | 41.56 | 94 | 8 | 9 | 3.10 |
| GL | 519.22 | 66.7 | 76.1 | 18.02 | |
| Poisson | 25.30 | 62 | 4 | 6 | 5.04 |
| KS | 1100.85 | 191 | 176 | 70.33 |
Training diverged; runtime not reported.
First, none of the error reduction from P1 to P2 is attributable to the change from float32 to float64 as a main effect. For the MLP trained with SOAP, float64 leaves the relative error essentially unchanged or marginally higher (Table 14). More precisely, it raises the error on seven of the nine benchmarks (KdV, RT, Heat, AC, Burgers, GL, Poisson) and lowers it on Wave and KS. For the PirateNet trained with SOAP, float64 changes the error by at most small factors in either direction wherever training completes. Specifically, it lowers the error on KdV, raises it on Heat and Poisson, and leaves it within one standard deviation of P1 on Wave, RT, and Burgers. However, the decrease on KdV is specific to the PirateNet: for the MLP, which P2 uses, float64 raises the error on KdV. Three failures occur for the PirateNet in float64. On Allen-Cahn the physics-informed initialisation's least-squares fit retains near-singular features and produces output weights of order 1e7.
Second, the MLP trained with SOAP alone in float64 differs from P2 only in the optimizer scheme. In terms of accuracy, replacing SOAP alone by the two-stage scheme (SOAP followed by SSBroyden2) reduces the relative error of this MLP by a factor between 1.3 on RT and on Heat. On eight benchmarks, this factor exceeds the factor between the errors of P1 and P2, and on Heat it is nearly as large.
In terms of runtime, replacing SOAP alone by the two-stage scheme reduces the runtime on GL, Wave, KdV, RT, AC, Burgers, Poisson, and KS and leaves it essentially unchanged on Heat. For example, the runtime decreases from 9 to 3.1 min on Burgers and from 176 to 70 min on KS.
Third, the change of architecture alone is not the source of the error reduction from P1 to P2. In particular, with SOAP alone in float64, the MLP has a higher error than the PirateNet on five of the six benchmarks on which both runs completed (Wave, KdV, RT, Burgers, Poisson) and a lower error on Heat. However, once the quasi-Newton SSBroyden2 stage is added, the same MLP reaches errors up to four orders of magnitude lower than under SOAP alone.
Against the PirateNet trained with SOAP in float64, the same MLP in P2 attains a lower error on all six of these benchmarks. We therefore attribute the higher error of the MLP under SOAP alone, relative to the PirateNet, to the difficulty of training the MLP with a first-order optimizer, not to a limited expressivity.
Taken together, the error reduction from P1 to P2 is attributable to the quasi-Newton stage. In terms of precision, float64 is not an independent contributor to this reduction but a prerequisite of the quasi-Newton stage. We note that Wang et al. [2025] exclude quasi-Newton methods as impractical for complex PDEs in part because these methods require float64. In terms of memory, the moderate size of the MLP of P2 is what makes the quasi-Newton stage feasible. Specifically, SSBroyden2, the optimizer of the quasi-Newton stage, stores a dense approximation of the inverse Hessian, so the memory of SSBroyden2 grows as in the number of trainable parameters; see Appendix D. This quadratic growth restricts SSBroyden2 to networks with a moderate number of trainable parameters. For the MLP of P2, the peak VRAM of the quasi-Newton stage lies between 10.23 and 10.68 GiB across the nine benchmarks, which is well within the memory of modern accelerators. The peak VRAM per benchmark is reported in Appendix H.
H Video RAM Results
The peak Video RAM usage reported in Table 16 is obtained using the built-in memory tracking functionality of the JAX library. Specifically, we report the maximum value returned by jax.local_devices() [0].memory_stats() [?'peak_bytes_in_use'], which corresponds to the peak VRAM consumption observed during training. All measurements are collected after completion of the training run.
The reported VRAM values for the PirateNet-SOAP reference pipeline are produced by executing the publicly released code provided by the original authors. The VRAM measurements for the proposed pipeline can be reproduced by running our published implementation under the same experimental setup.
The other studies, which use networks of a size similar to that of the SOAP-SSBroyden pipeline, have a VRAM consumption very similar to that of this pipeline during the SOAP phase.
Notably, the SOAP-SSBroyden pipeline consumes a nearly constant amount of memory in the SS-Broyden phase, which is dominated by the dense second-order information. However, on challenging problems like the Rayleigh-Taylor benchmark, the PirateNet-SOAP pipeline requires even more memory due to its number of trainable parameters and the amount of equations considered in the benchmark.
Table 16: Peak Video RAM usage occupied by the training pipelines in JAX.
| Benchmark | PirateNet-SOAP | SOAP-SSBroyden | |
|---|---|---|---|
| SOAP phase | SSBroyden Phase | ||
| Burgers | 1.46 GiB | 0.25 GiB | 10.23 GiB |
| Korteweg-de Vries | 1.53 GiB | 0.49 GiB | 10.55 GiB |
| Allen-Cahn | 1.95 GiB | 0.41 GiB | 10.23 GiB |
| Kuramoto-Sivashinsky | 2.76 GiB | 0.70 GiB | 10.31 GiB |
| Wave | 3.23 GiB | 0.79 GiB | 10.55 GiB |
| Poisson | 3.71 GiB | 0.41 GiB | 10.32 GiB |
| Heat | 6.67 GiB | 0.54 GiB | 10.36 GiB |
| Ginzburg-Landau | 8.89 GiB | 1.00 GiB | 10.61 GiB |
| Rayleigh-Taylor instability | 19.22 GiB | 1.94 GiB | 10.68 GiB |
I PINNpipe: The code package
The experiments in this paper are implemented in PINNpipe (https://github.com/KevinvonBargen/pinnpipe), a JAX/Flax-based evaluation framework for physics-informed neural networks. The framework was built specifically to support the comparative study described in the main text: it treats optimizer choice, neural architecture, adaptive sampling strategy, and loss-balancing scheme as independently configurable components, allowing any combination of the four to be evaluated on any benchmark without code changes. This design directly reflects the orthogonality argument in Section 2: where prior comparative studies conflate components by treating them as a single comparison axis, PINNpipe makes the four axes structurally separate at the API level.
The package is organized into a core library and a benchmark suite. The core library provides base abstractions for PINN models, train states, evaluators, and training loops, together with concrete implementations of the components studied in the main text. Supported architectures include standard multilayer perceptrons, modified MLPs, and PirateNet-style models. The optimization interface covers first-order and quasi-second-order training with Adam and SOAP, as well as SOAP/Broyden-style hybrids. Adaptive domain sampling methods include Random-R, grid sampling, RAD [Wu et al., 2023], LAS [Jeong et al., 2025], R3 [Daw et al., 2023], and vRBA [Toscano et al., 2026]; loss-weighting schemes include fixed weighting, GradNorm-based balancing [Wang et al., 2023], learning-rate annealing [Wang et al., 2021], ReLoBRaLo [Bischof and Kraus, 2025], SoftAdapt [Heydari et al., 2019], and GradNorm-MTL [Chen et al., 2018].
The benchmark suite covers Allen-Cahn, Burgers, Ginzburg-Landau, Heat, KdV, Kuramoto-Sivashinsky, Poisson, Rayleigh-Taylor, and wave problems. Each benchmark directory exposes the same five experiment entry points — neural architecture sweeps, loss-balancing sweeps, sampler sweeps, SOAP optimizer sweeps, and SOAP/Broyden optimizer sweeps—so that every benchmark can be exercised along every axis with identical tooling. Problem-specific model definitions, evaluators, configurations, and data-loading utilities live inside each benchmark folder. Reference data required by the loaders is included where needed.
Dependencies and prior artifacts. PINNpipe is built on JAX, NumPy [Harris et al., 2020], and Matplotlib [Hunter, 2007].
J Visual Results and error plots for the SSBroyden pipeline
To complement the quantitative error metrics, we visualize the predictions produced by the SOAP-SSBroyden pipeline on the considered benchmark problems. Each figure compares the final learned solution with the reference solution and includes an absolute error map. Together, these results illustrate how accurately the trained models recover the underlying dynamics across the different PDE examples.

Figure 8: Allen–Cahn Equation. From left to right: reference solution, final prediction, and absolute error for the Allen–Cahn equation. The reference and prediction share a common color scale for direct comparison.

Figure 9: Burgers Equation. From left to right: reference solution, final prediction, and absolute error for the Burgers equation. The reference and prediction share a common color scale for direct comparison.

Figure 10: Wave Equation. From left to right: reference solution, final prediction, and absolute error for the Wave equation. The reference and prediction share a common color scale for direct comparison.

Figure 11: Korteweg-de Vries Equation. From left to right: reference solution, final prediction, and absolute error for the KdV equation. The reference and prediction share a common color scale for direct comparison.

Figure 12: Kuramoto–Sivashinsky Equation. From left to right: reference solution, final prediction, and absolute error for the KS equation. The reference and prediction share a common color scale for direct comparison.

Figure 13: Ginzburg–Landau Equation. The columns show four selected time snapshots from left to right. The rows show the predicted components , and the absolute error.

Figure 14: Rayleigh–Taylor Instability. From left to right, the columns show selected time snapshots of the flow. From top to bottom, the rows show the predicted horizontal velocity , the predicted vertical velocity , the predicted temperature field , and the absolute temperature error.
NeurIPS Paper Checklist
1. Claims
Question: Do the main claims made in the abstract and introduction accurately reflect the paper's contributions and scope?
Answer: [Yes]
Justification: The abstract and introduction accurately reflect the paper's contributions and scope: introducing a new evaluation standard for PINNs, presenting a four-component decomposition of the PINN training pipeline, illustrating it along multiple studies and providing the PINNpipe code library as well as revising commonly held assumptions.
Guidelines:
-
The answer [N/A] means that the abstract and introduction do not include the claims made in the paper.
-
The abstract and/or introduction should clearly state the claims made, including the contributions made in the paper and important assumptions and limitations. A [No] or [N/A] answer to this question will not be perceived well by the reviewers.
-
The claims made should match theoretical and experimental results, and reflect how much the results can be expected to generalize to other settings.
-
It is fine to include aspirational goals as motivation as long as it is clear that these goals are not attained by the paper.
2. Limitations
Question: Does the paper discuss the limitations of the work performed by the authors?
Answer: [Yes]
Justification: The manuscript discusses limitations of the benchmarks covered as well as the specialization to PINNs solving forward problems.
Guidelines:
-
The answer [N/A] means that the paper has no limitation while the answer [No] means that the paper has limitations, but those are not discussed in the paper.
-
The authors are encouraged to create a separate "Limitations" section in their paper.
-
The paper should point out any strong assumptions and how robust the results are to violations of these assumptions (e.g., independence assumptions, noiseless settings, model well-specification, asymptotic approximations only holding locally). The authors should reflect on how these assumptions might be violated in practice and what the implications would be.
-
The authors should reflect on the scope of the claims made, e.g., if the approach was only tested on a few datasets or with a few runs. In general, empirical results often depend on implicit assumptions, which should be articulated.
-
The authors should reflect on the factors that influence the performance of the approach. For example, a facial recognition algorithm may perform poorly when image resolution is low or images are taken in low lighting. Or a speech-to-text system might not be used reliably to provide closed captions for online lectures because it fails to handle technical jargon.
-
The authors should discuss the computational efficiency of the proposed algorithms and how they scale with dataset size.
-
If applicable, the authors should discuss possible limitations of their approach to address problems of privacy and fairness.
-
While the authors might fear that complete honesty about limitations might be used by reviewers as grounds for rejection, a worse outcome might be that reviewers discover limitations that aren't acknowledged in the paper. The authors should use their best judgment and recognize that individual actions in favor of transparency play an important role in developing norms that preserve the integrity of the community. Reviewers will be specifically instructed to not penalize honesty concerning limitations.
3. Theory assumptions and proofs
Question: For each theoretical result, does the paper provide the full set of assumptions and a complete (and correct) proof?
Answer: [Yes]
Justification: The decomposition of the four-component training pipeline of PINNs is based on established work in the literature.
Guidelines:
-
The answer [N/A] means that the paper does not include theoretical results.
-
All the theorems, formulas, and proofs in the paper should be numbered and cross-referenced.
-
All assumptions should be clearly stated or referenced in the statement of any theorems.
-
The proofs can either appear in the main paper or the supplemental material, but if they appear in the supplemental material, the authors are encouraged to provide a short proof sketch to provide intuition.
-
Inversely, any informal proof provided in the core of the paper should be complemented by formal proofs provided in appendix or supplemental material.
-
Theorems and Lemmas that the proof relies upon should be properly referenced.
4. Experimental result reproducibility
Question: Does the paper fully disclose all the information needed to reproduce the main experimental results of the paper to the extent that it affects the main claims and/or conclusions of the paper (regardless of whether the code and data are provided or not)?
Answer: [Yes]
Justification: The manuscript contains all information needed to reproduce the experiments: the EvalCard of each study (Section 4, Appendix G), the benchmark definitions and the provenance and accuracy of their reference solutions (Appendix F, Appendix F.11), the training settings (Appendix F.10) and the optimizer, precision and architecture ablation (Appendix G.4). The public PINNpipe repository (https://github.com/KevinvonBargen/pinnpipe) additionally contains all code, the instructions to reproduce the results and the reference-solution generation scripts.
Guidelines:
-
The answer [N/A] means that the paper does not include experiments.
-
If the paper includes experiments, a [No] answer to this question will not be perceived well by the reviewers: Making the paper reproducible is important, regardless of whether the code and data are provided or not.
-
If the contribution is a dataset and/or model, the authors should describe the steps taken to make their results reproducible or verifiable.
-
Depending on the contribution, reproducibility can be accomplished in various ways. For example, if the contribution is a novel architecture, describing the architecture fully might suffice, or if the contribution is a specific model and empirical evaluation, it may be necessary to either make it possible for others to replicate the model with the same dataset, or provide access to the model. In general, releasing code and data is often one good way to accomplish this, but reproducibility can also be provided via detailed instructions for how to replicate the results, access to a hosted model (e.g., in the case of a large language model), releasing of a model checkpoint, or other means that are appropriate to the research performed.
-
While NeurIPS does not require releasing code, the conference does require all submissions to provide some reasonable avenue for reproducibility, which may depend on the nature of the contribution. For example
(a) If the contribution is primarily a new algorithm, the paper should make it clear how to reproduce that algorithm.
(b) If the contribution is primarily a new model architecture, the paper should describe the architecture clearly and fully.
(c) If the contribution is a new model (e.g., a large language model), then there should either be a way to access this model for reproducing the results or a way to reproduce the model (e.g., with an open-source dataset or instructions for how to construct the dataset).
(d) We recognize that reproducibility may be tricky in some cases, in which case authors are welcome to describe the particular way they provide for reproducibility. In the case of closed-source models, it may be that access to the model is limited in some way (e.g., to registered users), but it should be possible for other researchers to have some path to reproducing or verifying the results.
5. Open access to data and code
Question: Does the paper provide open access to the data and code, with sufficient instructions to faithfully reproduce the main experimental results, as described in supplemental material?
Answer: [Yes]
Justification: The code is publicly available in the PINNpipe repository (https://github.com/KevinvonBargen/pinnpipe) under an open-source license, together with instructions to reproduce all studies, the reference data required by the benchmarks, and the reference-solution generation scripts, so that the reference solutions and their accuracy can be regenerated independently (Appendix I, Appendix F.11).
Guidelines:
-
The answer [N/A] means that paper does not include experiments requiring code.
-
Please see the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details.
-
While we encourage the release of code and data, we understand that this might not be possible, so [No] is an acceptable answer. Papers cannot be rejected simply for not including code, unless this is central to the contribution (e.g., for a new open-source benchmark).
-
The instructions should contain the exact command and environment needed to run to reproduce the results. See the NeurIPS code and data submission guidelines (https://neurips.cc/public/guides/CodeSubmissionPolicy) for more details.
-
The authors should provide instructions on data access and preparation, including how to access the raw data, preprocessed data, intermediate data, and generated data, etc.
-
The authors should provide scripts to reproduce all experimental results for the new proposed method and baselines. If only a subset of experiments are reproducible, they should state which ones are omitted from the script and why.
-
At submission time, to preserve anonymity, the authors should release anonymized versions (if applicable).
-
Providing as much information as possible in supplemental material (appended to the paper) is recommended, but including URLs to data and code is permitted.
6. Experimental setting/details
Question: Does the paper specify all the training and test details (e.g., data splits, hyperparameters, how they were chosen, type of optimizer) necessary to understand the results?
Answer: [Yes]
Justification: The EvalCard of each study states the surrounding pipeline, the compared methods and the evaluation conditions. The method hyperparameters are the values proposed by the introducing authors, identical across benchmarks and seeds (Appendix A, Appendix B); the training and optimizer settings, the reference solutions and the optimizer, precision and architecture ablation are given in Appendix F.10, Appendix F.11 and Appendix G.4.
Guidelines:
-
The answer [N/A] means that the paper does not include experiments.
-
The experimental setting should be presented in the core of the paper to a level of detail that is necessary to appreciate the results and make sense of them.
-
The full details can be provided either with the code, in appendix, or as supplemental material.
7. Experiment statistical significance
Question: Does the paper report error bars suitably and correctly defined or other appropriate information about the statistical significance of the experiments?
Answer: [Yes]
Justification: Every reported error is given as the median ± the standard deviation over independent seeds, where each seed is a complete training run under the stated conditions; the number of seeds of each study is stated in its EvalCard. A best entry is highlighted in bold only if its margin over every other method in its row is significant under the exact two-sided Mann–Whitney U test on the per-seed relative errors, with Holm correction over the comparisons in that row, at ; otherwise no entry in the row is bold. Bold runtimes are descriptive and mark the lowest median (Section 3, Section 3.5).
Guidelines:
-
The answer [N/A] means that the paper does not include experiments.
-
The authors should answer [Yes] if the results are accompanied by error bars, confidence intervals, or statistical significance tests, at least for the experiments that support the main claims of the paper.
-
The factors of variability that the error bars are capturing should be clearly stated (for example, train/test split, initialization, random drawing of some parameter, or overall run with given experimental conditions).
-
The method for calculating the error bars should be explained (closed form formula, call to a library function, bootstrap, etc.)
-
The assumptions made should be given (e.g., Normally distributed errors).
-
It should be clear whether the error bar is the standard deviation or the standard error of the mean.
-
It is OK to report 1-sigma error bars, but one should state it. The authors should preferably report a 2-sigma error bar than state that they have a 96% CI, if the hypothesis of Normality of errors is not verified.
-
For asymmetric distributions, the authors should be careful not to show in tables or figures symmetric error bars that would yield results that are out of range (e.g., negative error rates).
-
If error bars are reported in tables or plots, the authors should explain in the text how they were calculated and reference the corresponding figures or tables in the text.
8. Experiments compute resources
Question: For each experiment, does the paper provide sufficient information on the computer resources (type of compute workers, memory, time of execution) needed to reproduce the experiments?
Answer: [Yes]
Justification: In each study the paper specifies the GPU used (H100).
Guidelines:
-
The answer [N/A] means that the paper does not include experiments.
-
The paper should indicate the type of compute workers CPU or GPU, internal cluster, or cloud provider, including relevant memory and storage.
-
The paper should provide the amount of compute required for each of the individual experimental runs as well as estimate the total compute.
-
The paper should disclose whether the full research project required more compute than the experiments reported in the paper (e.g., preliminary or failed experiments that didn't make it into the paper).
9. Code of ethics
Question: Does the research conducted in the paper conform, in every respect, with the NeurIPS Code of Ethics https://neurips.cc/public/EthicsGuidelines?
Answer: [Yes]
Justification: The research presented conforms to the NeurIPS Code of Ethics. The manuscript focuses on evaluation design, standards, and comparisons, as well as a common definition of the PINN training pipeline, and raises no ethical concerns.
Guidelines:
- The answer [N/A] means that the authors have not reviewed the NeurIPS Code of Ethics.
- If the authors answer [No], they should explain the special circumstances that require a deviation from the Code of Ethics.
- The authors should make sure to preserve anonymity (e.g., if there is a special consideration due to laws or regulations in their jurisdiction).
10. Broader impacts
Question: Does the paper discuss both potential positive societal impacts and negative societal impacts of the work performed?
Answer: [Yes]
Justification: While the work on an evaluation standard for PINNs solving forward problems is specific, it can be used as a guide to develop standards for the broader field of Physics-Informed Machine Learning and beyond.
Guidelines:
- The answer [N/A] means that there is no societal impact of the work performed.
- If the authors answer [N/A] or [No], they should explain why their work has no societal impact or why the paper does not address societal impact.
- Examples of negative societal impacts include potential malicious or unintended uses (e.g., disinformation, generating fake profiles, surveillance), fairness considerations (e.g., deployment of technologies that could make decisions that unfairly impact specific groups), privacy considerations, and security considerations.
- The conference expects that many papers will be foundational research and not tied to particular applications, let alone deployments. However, if there is a direct path to any negative applications, the authors should point it out. For example, it is legitimate to point out that an improvement in the quality of generative models could be used to generate Deepfakes for disinformation. On the other hand, it is not needed to point out that a generic algorithm for optimizing neural networks could enable people to train models that generate Deepfakes faster.
- The authors should consider possible harms that could arise when the technology is being used as intended and functioning correctly, harms that could arise when the technology is being used as intended but gives incorrect results, and harms following from (intentional or unintentional) misuse of the technology.
- If there are negative societal impacts, the authors could also discuss possible mitigation strategies (e.g., gated release of models, providing defenses in addition to attacks, mechanisms for monitoring misuse, mechanisms to monitor how a system learns from feedback over time, improving the efficiency and accessibility of ML).
11. Safeguards
Question: Does the paper describe safeguards that have been put in place for responsible release of data or models that have a high risk for misuse (e.g., pre-trained language models, image generators, or scraped datasets)?
Answer: [N/A]
Justification: The paper does not involve the release of sensitive datasets, or tools with a high risk of misuse. It focuses on physics-informed neural networks without foreseeable harmful applications.
Guidelines:
-
The answer [N/A] means that the paper poses no such risks.
-
Released models that have a high risk for misuse or dual-use should be released with necessary safeguards to allow for controlled use of the model, for example by requiring that users adhere to usage guidelines or restrictions to access the model or implementing safety filters.
-
Datasets that have been scraped from the Internet could pose safety risks. The authors should describe how they avoided releasing unsafe images.
-
We recognize that providing effective safeguards is challenging, and many papers do not require this, but we encourage authors to take this into account and make a best faith effort.
12. Licenses for existing assets
Question: Are the creators or original owners of assets (e.g., code, data, models), used in the paper, properly credited and are the license and terms of use explicitly mentioned and properly respected?
Answer: [Yes]
Justification: Appendix I cites and acknowledges the software and data PINNpipe builds on: JAX/Flax, NumPy and Matplotlib, the jaxpi framework and PINNacle for problem definitions and the Rayleigh–Taylor reference data, and Chebfun for the reference solutions.
Guidelines:
-
The answer [N/A] means that the paper does not use existing assets.
-
The authors should cite the original paper that produced the code package or dataset.
-
The authors should state which version of the asset is used and, if possible, include a URL.
-
The name of the license (e.g., CC-BY 4.0) should be included for each asset.
-
For scraped data from a particular source (e.g., website), the copyright and terms of service of that source should be provided.
-
If assets are released, the license, copyright information, and terms of use in the package should be provided. For popular datasets, paperswithcode.com/datasets has curated licenses for some datasets. Their licensing guide can help determine the license of a dataset.
-
For existing datasets that are re-packaged, both the original license and the license of the derived asset (if it has changed) should be provided.
-
If this information is not available online, the authors are encouraged to reach out to the asset's creators.
13. New assets
Question: Are new assets introduced in the paper well documented and is the documentation provided alongside the assets?
Answer: [Yes]
Justification: The new asset is the PINNpipe package, publicly released at https://github.com/KevinvonBargen/pinnpipe. Appendix I documents its structure, the implemented methods, the benchmark suite, the experiment entrypoints and the reference-solution generation scripts.
Guidelines:
-
The answer [N/A] means that the paper does not release new assets.
-
Researchers should communicate the details of the dataset/code/model as part of their submissions via structured templates. This includes details about training, license, limitations, etc.
-
The paper should discuss whether and how consent was obtained from people whose asset is used.
-
At submission time, remember to anonymize your assets (if applicable). You can either create an anonymized URL or include an anonymized zip file.
14. Crowdsourcing and research with human subjects
Question: For crowdsourcing experiments and research with human subjects, does the paper include the full text of instructions given to participants and screenshots, if applicable, as well as details about compensation (if any)?
Answer: [N/A]
Justification: The paper does not involve any human subjects or crowdsourcing in data collection or evaluation.
Guidelines:
-
The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.
-
Including this information in the supplemental material is fine, but if the main contribution of the paper involves human subjects, then as much detail as possible should be included in the main paper.
-
According to the NeurIPS Code of Ethics, workers involved in data collection, curation, or other labor should be paid at least the minimum wage in the country of the data collector.
15. Institutional review board (IRB) approvals or equivalent for research with human subjects
Question: Does the paper describe potential risks incurred by study participants, whether such risks were disclosed to the subjects, and whether Institutional Review Board (IRB) approvals (or an equivalent approval/review based on the requirements of your country or institution) were obtained?
Answer: [N/A]
Justification: The research does not involve human subjects, so IRB approval is not applicable.
Guidelines:
-
The answer [N/A] means that the paper does not involve crowdsourcing nor research with human subjects.
-
Depending on the country in which research is conducted, IRB approval (or equivalent) may be required for any human subjects research. If you obtained IRB approval, you should clearly state this in the paper.
-
We recognize that the procedures for this may vary significantly between institutions and locations, and we expect authors to adhere to the NeurIPS Code of Ethics and the guidelines for their institution.
-
For initial submissions, do not include any information that would break anonymity (if applicable), such as the institution conducting the review.
16. Declaration of LLM usage
Question: Does the paper describe the usage of LLMs if it is an important, original, or non-standard component of the core methods in this research? Note that if the LLM is used only for writing, editing, or formatting purposes and does not impact the core methodology, scientific rigor, or originality of the research, declaration is not required.
Answer: [N/A]
Justification: The paper does not indicate the use of LLMs as part of the core methods or research.
Guidelines:
-
The answer [N/A] means that the core method development in this research does not involve LLMs as any important, original, or non-standard components.
-
Please refer to our LLM policy in the NeurIPS handbook for what should or should not be described.