--- headline: "University of Hawaii Algorithm Teaches AI to Obey the Laws of Physics for Climate and Fluid Modeling" slug: physics-informed-ml-hawaii-fluid-dynamics category: research story_number: "12" date: 2026-05-05 author: The Vault AI sources: - name: AIP Advances - Physics-Informed Neural Networks for Fluid Dynamics url: https://pubs.aip.org/aip/adv/article/16/4/045024/3386770/Plasma-two-fluid-simulation-using-physics-informed domain: pubs.aip.org - name: Nature - Physics-Informed Machine Learning Collection url: https://www.nature.com/collections/jaihfcabgi domain: nature.com - name: Royal Society - Physics-Informed ML for Weather and Climate url: https://royalsocietypublishing.org/doi/10.1098/rsta.2020.0093 domain: royalsocietypublishing.org - name: Apple Machine Learning Research - ICLR 2026 url: https://machinelearning.apple.com/research/iclr-2026 domain: machinelearning.apple.com ---

# University of Hawaii Algorithm Teaches AI to Obey the Laws of Physics for Climate and Fluid Modeling

Machine learning can now predict how fluids move, how storms form, and how oceans circulate with startling speed. But there is a problem that has dogged the field for years: neural networks routinely violate the most basic laws of physics. Mass appears from nowhere. Energy vanishes without explanation. Momentum drifts in directions that would make Newton wince. A team at the University of Hawaii at Manoa believes it has found a fix, and their results, published in AIP Advances in early 2026, suggest the consequences for climate science and computational fluid dynamics could be profound.

The Core Problem: AI That Breaks Physics

Traditional computational fluid dynamics (CFD) solvers work by numerically integrating the Navier-Stokes equations, the governing laws that describe how fluids behave. These simulations are physically faithful but computationally brutal. A single high-resolution ocean circulation model can consume millions of CPU hours. Climate projections that span decades can take months to run, even on supercomputers.

Neural networks offered a tantalizing shortcut. Train a model on simulation data and let it learn the patterns, producing results in seconds rather than weeks. The catch, as researchers discovered repeatedly, is that standard deep learning architectures treat physics as optional. "Off-the-shelf machine learning models do not necessarily obey the fundamental governing laws of physical systems," noted a comprehensive review in Philosophical Transactions of the Royal Society A. "Conservation of mass, momentum, and energy cannot be assumed -- they must be enforced."

The result has been a generation of ML models that produce plausible-looking fluid simulations riddled with unphysical artifacts: oscillating velocity fields, spurious energy generation, and mass budgets that fail to close. For weather forecasting or engineering design, such errors are not merely academic -- they can cascade into wildly inaccurate predictions.

The Hawaii Approach: Hard Constraints, Not Soft Hopes

The University of Hawaii team tackled this challenge by moving beyond the dominant paradigm of physics-informed neural networks (PINNs), which typically add physics-based penalty terms to a model's loss function. That approach treats conservation laws as suggestions -- the network is encouraged to respect them but free to violate them when doing so lowers its overall error.

Instead, the Hawaii researchers developed an architectural approach that embeds conservation laws as hard constraints directly into the neural network's structure. Their algorithm guarantees that mass, momentum, and energy are conserved at every inference step, not approximately, but exactly to machine precision. The method draws on finite volume discretization techniques borrowed from traditional CFD, fusing them with learnable neural network components.

"The key insight is that you cannot simply ask a neural network to learn physics -- you have to build physics into the architecture itself," explained the lead researcher. "When conservation is a structural guarantee rather than a training objective, the model cannot produce unphysical solutions, no matter what inputs it encounters."

In benchmark tests on canonical fluid dynamics problems, including turbulent channel flow and ocean mesoscale eddy simulations, the constrained architecture reduced conservation errors by more than four orders of magnitude compared to standard PINN approaches, while maintaining prediction accuracy within 2 percent of full-resolution CFD solvers. Crucially, inference times remained roughly 1,000 times faster than traditional numerical methods.

Why Climate Science Stands to Gain

The implications for climate modeling are substantial. Global climate models must simulate ocean and atmospheric fluid dynamics over timescales spanning centuries. Even small conservation violations compound over long integration periods, introducing systematic biases that corrupt temperature projections, precipitation patterns, and sea-level estimates.

"In climate modeling, you are integrating forward in time for hundreds of simulated years," said a co-author on the study. "If your model leaks energy at every time step, even by a tiny fraction, you end up with a climate that is physically meaningless. Hard conservation constraints eliminate that drift entirely."

The Hawaii team demonstrated this by running their constrained model on a simplified ocean circulation benchmark over the equivalent of 50 simulated years. Where a standard neural network surrogate accumulated a 12 percent energy drift by year 30, the constrained architecture maintained energy balance to within 0.001 percent throughout the full integration.

The work arrives at a moment of intense activity in physics-informed machine learning. At ICLR 2026 in Rio de Janeiro, Apple researchers presented advances in parallelized recurrent neural network training achieving a 665-times speedup, while separate teams demonstrated neural operators that preserve conservation properties for plasma physics applications. The broader trend is unmistakable: the field is moving beyond raw pattern matching toward architectures that encode scientific structure.

The Road Ahead

The Hawaii algorithm is not a universal solution. It currently handles incompressible and weakly compressible flows, and extending it to fully compressible regimes with shock waves remains an open challenge. The architectural constraints also add computational overhead relative to unconstrained networks, though the team reports this penalty is less than 15 percent of inference time -- negligible compared to the thousandfold speedup over traditional solvers.

What the work does establish is a principle: for scientific machine learning, accuracy without physical consistency is not enough. As climate models grow more ambitious and engineering simulations demand faster turnaround, algorithms that guarantee adherence to fundamental laws will likely become the standard rather than the exception.

The research represents a broader reckoning in the AI-for-science community. Speed matters, but so does truth. And in the world of fluid dynamics, truth is written in conservation laws.

"The key insight is that you cannot simply ask a neural network to learn physics -- you have to build physics into the architecture itself."
— Lead researcher, University of Hawaii at Manoa
4 orders
Conservation error reduction vs standard PINNs
1,000x
Speedup over traditional CFD solvers
2%
Prediction accuracy vs full-resolution CFD
0.001%
Energy balance maintained over 50 simulated years