Research gapEngineering & technology

Computational physics: research gaps in physics-informed machine learning, fair benchmarks and reproducible codes

Machine-learning solvers and physics-informed neural networks are now common in computational physics (Karniadakis et al., 2021; Cuomo et al., 2022). What is still missing is evidence, from fair comparisons with good classical solvers, of when they actually help (McGreivy & Hakim, 2024).

PhD Research Lab InsightsEditorial team, reviewed by a subject specialist
Posted
5 July 2021
Last checked
8 October 2026
Reading time
10 min
Sources
11
Research proposal support
The gap

Physics-informed neural networks (PINNs) and other machine-learning surrogates can embed governing equations, handle noisy or incomplete data and solve inverse problems (Karniadakis et al., 2021; Jin et al., 2021). Their training is non-convex, convergence to the true solution is not assured and costs can be high (Cuomo et al., 2022), and most published claims that they beat numerical methods compare against weak baselines (McGreivy & Hakim, 2024). We do not yet know, problem by problem, when these methods are better than a well-tuned classical solver, or how to report them so that others can reproduce the result (Kapoor & Narayanan, 2023; Peng, 2011).

Methods gap (when ML solvers beat classical numerics)Evidence gap (fair, reproducible benchmarks)Theory gap (convergence and error guarantees for PINNs)Capacity gap (computational training and shared tools)

What we know

  • Physics-informed machine learning combines data with physical laws and is used for forward and inverse problems, including problems with noisy or missing data (Karniadakis et al., 2021).
  • NSFnets solved the incompressible Navier-Stokes equations in velocity-pressure and vorticity-velocity forms, inferring pressure without pressure data and using weighting of loss terms to improve accuracy (Jin et al., 2021).
  • Training data for ML surrogates can be sampled more efficiently by using derivatives from the simulation code (a Taylor-based scheme) (Novello et al., 2021).
  • Lightweight frameworks such as turboPy separate the simulation driver from physics modules and diagnostics to speed up prototyping of new codes (Richardson et al., 2020).
  • A systematic review of 82 articles on ML for fluid-related PDEs found that 79% (60 of 76) of those claiming to outperform a numerical method used a weak baseline, and that reporting biases were widespread (McGreivy & Hakim, 2024).
  • Klingenberg argued in 2013 that a gap was widening between advances in applied mathematics, numerics and computer science and their adoption in physics (Klingenberg, 2013).

What we do not know yet

  • For which classes of PDE, dimension and accuracy target a PINN or neural surrogate is cheaper than a tuned classical solver at equal accuracy (McGreivy & Hakim, 2024; Cuomo et al., 2022).
  • How to obtain error bounds and reliable convergence for PINN training, given a non-convex objective (Cuomo et al., 2022).
  • How much of the reported gain in ML-for-physics papers survives independent reproduction with shared code, data and baselines (Kapoor & Narayanan, 2023; McGreivy & Hakim, 2024).
  • Which data-sampling strategies (such as derivative-based sampling) generalise beyond small ODE systems (Novello et al., 2021).
  • How physics programmes, especially in countries with limited computational training, can teach these methods at scale (Salagaram & Chetty, 2013).

Research questions a PhD could ask

  1. At matched accuracy and hardware, how does the wall-clock cost of a PINN compare with a finite-volume solver for a chosen 2D incompressible flow benchmark?
  2. Does derivative-based (Taylor) sampling reduce surrogate error for a PDE-based simulation code compared with uniform or random sampling of the same budget?
  3. Which loss-weighting schemes give the most reliable PINN convergence across a fixed set of benchmark problems?
  4. How many published ML-for-physics results in a chosen subfield can be reproduced from the authors' released code and data?
  5. What computational content do undergraduate physics curricula in a chosen country now include, and how does it relate to research needs?
Methods that could close the gap
ApproachWhy it fits
Benchmark studies with strong baselinesCompare ML methods with well-tuned classical solvers at equal accuracy or equal cost, and report negative results (McGreivy & Hakim, 2024).
Numerical analysis of PINNsStudy convergence, error and loss weighting for defined problem classes (Cuomo et al., 2022; Jin et al., 2021).
Surrogate modelling experimentsTest sampling strategies and network designs against held-out simulation data (Novello et al., 2021).
Reproduction studiesRe-run published work from released code and data, checking for leakage and undocumented choices (Kapoor & Narayanan, 2023; Sandve et al., 2013).
Research software engineeringBuild and document modular, tested codes that others can extend (Richardson et al., 2020; Peng, 2011).
Curriculum surveysSurvey what computational physics is taught and how (Salagaram & Chetty, 2013).
Gap typeHeavily researched, still unsolved

The problem

Machine-learning solvers are published rapidly in computational physics (Karniadakis et al., 2021), but many claims of better speed or accuracy do not rest on fair comparisons (McGreivy & Hakim, 2024).

Why it happens

PINN training is non-convex and costly (Cuomo et al., 2022); comparisons often use weak baselines and positive results are more likely to be reported (McGreivy & Hakim, 2024); and methods move faster than physicists can adopt and test them (Klingenberg, 2013).

Where it is felt most

The problem is felt most in fluid dynamics and other PDE-heavy fields (McGreivy & Hakim, 2024; Jin et al., 2021), and in countries where computational physics training is weak, such as South Africa at undergraduate level (Salagaram & Chetty, 2013).

How big is the problem

  • 82Journal articles comparing ML with numerical methods for fluid-related PDEs in a systematic review (McGreivy & Hakim, 2024).
  • 79% (60/76)Share of those articles claiming ML outperformed a numerical method that used a weak baseline (McGreivy & Hakim, 2024).
  • 4 of 82Articles in the same review reporting that the ML method underperformed, a sign of reporting bias (McGreivy & Hakim, 2024).
What studies say, and at what level of evidence
LevelWhat it shows
Systematic reviews and meta-analysesA review of fluid-PDE studies found weak baselines in most positive comparisons and widespread outcome-reporting and publication bias (McGreivy & Hakim, 2024); a leakage review found similar reproducibility problems across ML-based science (Kapoor & Narayanan, 2023).
Narrative reviewsReviews map PINN uses and limits, including unknown optimisation error and high training cost (Karniadakis et al., 2021; Cuomo et al., 2022).
Lab and simulation studiesNSFnets for laminar and turbulent flows (Jin et al., 2021) and Taylor-based sampling for ODE surrogates (Novello et al., 2021) show what is possible on chosen benchmarks.
Software and infrastructureModular frameworks such as turboPy aim to make new physics codes quicker to build and extend (Richardson et al., 2020).
Observational studiesA survey of South African curricula found computational physics training generally weak, especially for undergraduates (Salagaram & Chetty, 2013).
What is missingShared benchmark suites with strong classical baselines, cost reported at matched accuracy, and independent reproductions of headline results.

Who should take this on

Scholar profile

  • A physicist or engineer who can run and tune a classical solver (finite volume, spectral, particle-in-cell).
  • A computer scientist or applied mathematician interested in the numerical analysis of neural PDE solvers.
  • A research software engineer who wants to build tested, documented open codes.
  • A physics educator with access to curricula and students across institutions.

Subjects and PhD specialisations

  • Computational physics
  • Applied mathematics and numerical analysis
  • Computational fluid dynamics
  • Scientific machine learning
  • Plasma physics
  • Physics education

Countries where the problem is greatest

Scope for future research

  1. Fair benchmarks of ML and classical solvers at matched accuracy and cost (McGreivy & Hakim, 2024).
  2. Convergence, error control and loss weighting for PINNs (Cuomo et al., 2022; Jin et al., 2021).
  3. Data-efficient sampling for neural surrogates of simulation codes (Novello et al., 2021).
  4. Reproducibility and leakage checks for ML-based physics (Kapoor & Narayanan, 2023; Sandve et al., 2013).
  5. Modular open research software and its maintenance (Richardson et al., 2020; Peng, 2011).
  6. Teaching computational methods within physics degrees (Salagaram & Chetty, 2013; Klingenberg, 2013).

How a doctoral project could address it

  1. Fix the problem class

    Choose one equation family, dimension and accuracy target, and say what decision your result informs.

  2. Build a strong baseline

    Tune a standard numerical solver as carefully as the ML method and compare at equal accuracy or equal cost (McGreivy & Hakim, 2024).

  3. Pre-register comparisons

    Fix metrics and test cases in advance and report all of them, including those where ML loses (McGreivy & Hakim, 2024).

  4. Share code and data

    Version code, record seeds and environments and archive data so that others can rerun every figure (Sandve et al., 2013; Peng, 2011).

  5. Check for leakage

    Keep training, validation and test data separate across parameters and time (Kapoor & Narayanan, 2023).

  6. Work across communities

    Pair a physics supervisor with one from mathematics or computer science, as the methods gap requires (Klingenberg, 2013).

Why it is worth solving

Fair, reproducible evidence would let physicists adopt ML methods where they genuinely save time or enable new inverse problems, and avoid spending computing time and research careers on methods that do not beat a good classical solver (McGreivy & Hakim, 2024; Karniadakis et al., 2021).

Better training and shared tools would also narrow the methods gap Klingenberg described, so that advances in numerics reach physics faster (Klingenberg, 2013; Salagaram & Chetty, 2013).

What has changed since 2021

Since then, reviews have set out both the promise and the limits of physics-informed learning (Karniadakis et al., 2021; Cuomo et al., 2022), and a systematic review has shown that strong claims often rest on weak comparisons (McGreivy & Hakim, 2024).

How the main claims of the 2021 page have changed
Common claimCurrent positionSource
ML and PINNs overcome the limits of classical simulationThey help with inverse and ill-posed problems, but most claims of beating numerical solvers use weak baselines(McGreivy & Hakim, 2024)
PINN cost can be reduced by transfer learningTraining remains non-convex and costly; convergence is not assured(Cuomo et al., 2022)
Taylor-based sampling (dated 2019)Preprint submitted January 2021; tested on an ODE system(Novello et al., 2021)
Methods gap between numerics and physicsStill open; now joined by a reproducibility gap(Klingenberg, 2013; Kapoor & Narayanan, 2023)

What a PINN does, and where the difficulty lies

A physics-informed neural network represents the solution as a network of space and time. Its loss adds the residual of the governing equations, computed by automatic differentiation, to the misfit with initial, boundary and observed data (Karniadakis et al., 2021). In NSFnets, pressure is never given as data; it is recovered through the incompressibility constraint (Jin et al., 2021).

The difficulty is that minimising this loss is a non-convex problem, so the trained network need not match the true solution, and errors are hard to bound (Cuomo et al., 2022). Classical solvers, by contrast, come with decades of error analysis. A thesis that ignores this asymmetry will struggle in examination.

An illustrative example and common mistakes

Illustrative and hypothetical: a student reports that a PINN solves a 2D channel flow 50 times faster than a finite-volume code. On review, the finite-volume run used a much finer grid than needed for the same accuracy, and the PINN training time was not counted. Compared at equal accuracy with training included, the advantage disappears. This is the pattern the systematic review describes (McGreivy & Hakim, 2024).

What to do now

  • Read McGreivy and Hakim (2024) before designing any ML-versus-numerics comparison.
  • Pick one benchmark problem and get a well-tuned classical solution first.
  • Set up version control and an archived environment from the first week (Sandve et al., 2013).
  • Find a co-supervisor in applied mathematics or computer science (Klingenberg, 2013).
Your next step

Could this gap become your thesis?

  1. 1Read the evidence and the open questions
  2. 2Talk to a mentor about fit, data and method
  3. 3Build a defensible proposal
See proposal support

Questions scholars ask

Are PINNs better than classical CFD solvers?

Not in general. They are useful for inverse problems and incomplete data (Karniadakis et al., 2021), but most claims of outperforming numerical methods in fluid problems used weak baselines (McGreivy & Hakim, 2024).

What counts as a fair baseline?

A standard, well-tuned solver compared at equal accuracy or equal cost, with all costs counted (McGreivy & Hakim, 2024).

Is building research software a valid PhD contribution?

Yes, when it enables new physics and is documented, tested and reusable (Richardson et al., 2020; Peng, 2011).

Do I need to release my code?

Check your funder and journal, but releasing code and data is the main route to reproducible computational work (Peng, 2011; Sandve et al., 2013).

Sources

  1. Cuomo, S., Schiano Di Cola, V., Giampaolo, F., Rozza, G., Raissi, M., & Piccialli, F. (2022). Scientific machine learning through physics-informed neural networks: Where we are and what's next. Journal of Scientific Computing, 92(3). https://doi.org/10.1007/s10915-022-01939-z
  2. Jin, X., Cai, S., Li, H., & Karniadakis, G. E. (2021). NSFnets (Navier-Stokes flow nets): Physics-informed neural networks for the incompressible Navier-Stokes equations. Journal of Computational Physics. https://doi.org/10.1016/j.jcp.2020.109951
  3. Kapoor, S., & Narayanan, A. (2023). Leakage and the reproducibility crisis in machine-learning-based science. Patterns, 4(9), 100804. https://doi.org/10.1016/j.patter.2023.100804
  4. Karniadakis, G. E., Kevrekidis, I. G., Lu, L., Perdikaris, P., Wang, S., & Yang, L. (2021). Physics-informed machine learning. Nature Reviews Physics, 3, 422-440. https://doi.org/10.1038/s42254-021-00314-5
  5. Klingenberg, C. (2013). Grand challenges in computational physics. Frontiers in Physics, 1, Article 2. https://doi.org/10.3389/fphy.2013.00002
  6. McGreivy, N., & Hakim, A. (2024). Weak baselines and reporting biases lead to overoptimism in machine learning for fluid-related partial differential equations. Nature Machine Intelligence, 6(10), 1256-1269. https://doi.org/10.1038/s42256-024-00897-5
  7. Novello, P., Poëtte, G., Lugato, D., & Congedo, P. (2021). A Taylor based sampling scheme for machine learning in computational physics (arXiv:2101.11105) [Preprint]. arXiv. https://arxiv.org/abs/2101.11105
  8. Peng, R. D. (2011). Reproducible research in computational science. Science, 334(6060), 1226-1227. https://doi.org/10.1126/science.1213847
  9. Richardson, A. S., Gordon, D. F., Swanekamp, S. B., Rittersdorf, I. M., Adamson, P. E., Grannis, O. S., Morgan, G. T., Ostenfeld, A., Phlips, K. L., Sun, C. G., Tang, G. T., & Watkins, D. J. (2020). TurboPy: A lightweight python framework for computational physics (arXiv:2002.08842) [Preprint]. arXiv. Published in Computer Physics Communications, https://doi.org/10.1016/j.cpc.2020.107607 https://arxiv.org/abs/2002.08842
  10. Salagaram, T., & Chetty, N. (2013). The challenges of developing computational physics: The case of South Africa. Journal of Physics: Conference Series, 454. http://hdl.handle.net/2263/33278
  11. Sandve, G. K., Nekrutenko, A., Taylor, J., & Hovig, E. (2013). Ten simple rules for reproducible computational research. PLoS Computational Biology, 9(10), e1003285. https://doi.org/10.1371/journal.pcbi.1003285

How to cite this page

Choose your referencing style, then copy.

PhD Research Lab Insights. (2021, July 5). Computational physics: research gaps in physics-informed machine learning, fair benchmarks and reproducible codes. PhD Research Lab. https://www.phdassistance.com/blog/the-advancement-and-challenges-in-computational-physics/

PhD Research Lab Insights. “Computational Physics: Research Gaps in Physics-informed Machine Learning, Fair Benchmarks and Reproducible Codes.” PhD Research Lab, 5 July 2021, www.phdassistance.com/blog/the-advancement-and-challenges-in-computational-physics. Accessed [access date].

PhD Research Lab Insights (2021) Computational physics: research gaps in physics-informed machine learning, fair benchmarks and reproducible codes. PhD Research Lab. Available at: https://www.phdassistance.com/blog/the-advancement-and-challenges-in-computational-physics/ (Accessed: [access date]).

PhD Research Lab Insights. “Computational Physics: Research Gaps in Physics-informed Machine Learning, Fair Benchmarks and Reproducible Codes.” PhD Research Lab. July 5, 2021. https://www.phdassistance.com/blog/the-advancement-and-challenges-in-computational-physics.

PhD Research Lab Insights, ‘Computational Physics: Research Gaps in Physics-informed Machine Learning, Fair Benchmarks and Reproducible Codes’ (PhD Research Lab, 5 July 2021) <https://www.phdassistance.com/blog/the-advancement-and-challenges-in-computational-physics> accessed [access date].

PhD Research Lab Insights. Computational physics: research gaps in physics-informed machine learning, fair benchmarks and reproducible codes [Internet]. PhD Research Lab; 2021 Jul 5 [cited [access date]]. Available from: https://www.phdassistance.com/blog/the-advancement-and-challenges-in-computational-physics/

PhD Research Lab Insights, “Computational physics: research gaps in physics-informed machine learning, fair benchmarks and reproducible codes,” PhD Research Lab, July 5, 2021. [Online]. Available: https://www.phdassistance.com/blog/the-advancement-and-challenges-in-computational-physics. [Accessed: [access date]].

@online{the_advancement_and_challenges_in_computational_physics_2021,
  author = {{PhD Research Lab Insights}},
  title = {{Computational physics: research gaps in physics-informed machine learning, fair benchmarks and reproducible codes}},
  organization = {PhD Research Lab},
  date = {2021-07-05},
  url = {https://www.phdassistance.com/blog/the-advancement-and-challenges-in-computational-physics},
  urldate = {[access date]}
}

  • Computational physics
  • Physics-informed neural networks
  • Scientific machine learning
  • Reproducibility
  • Numerical methods
Computational physics: research gaps in physics-informed machine learning, fair benchmarksResearch gap · Engineering & technology
Proposal support