Integrating Physical Laws into Deep Learning Architectures

This direction is merged into another direction: computational training overhead (physics-informed training overhead). Its last version stays readable and citable here.

Version 1 of 1141 papers149 conceptsfrozen 2026-10-04

Traditional machine learning models are "physically blind." A standard neural network can predict the trajectory of a fluid or the stress on a bridge, but it has no inherent understanding of gravity, conservation of mass, or thermodynamics. To a "black-box" model, these fundamental laws are merely statistical patterns that must be learned from massive amounts of data.

Researchers are bridging this gap through Physics-Enhanced Machine Learning (PEML). By embedding governing equations—typically partial differential equations (PDEs)—directly into the learning process, we can create models that are more data-efficient, physically consistent, and capable of solving complex "inverse problems" where we have sensor data but lack knowledge of the underlying material properties.

Soft Constraints via Physics-Informed Loss

The most common way to "teach" a model physics is through the loss function. In a standard setup, the loss measures the difference between the model's prediction and the ground truth. In a Physics-Informed Neural Network (PINN), a second term is added: the "physics residual."

As Jian-Xun Wang and Xin-Yang Liu demonstrate in their work on Physics-informed Model-Based Reinforcement Learning, this residual penalizes the model whenever its predictions violate known physical laws (like the Navier-Stokes equations). This acts as a powerful regularizer. Because the model is forced to stay within the "manifold" of physically possible solutions, it requires significantly less data—achieving up to a 90% reduction in sample requirements compared to model-free methods.

However, these are "soft" constraints. The model is encouraged to follow the physics, but it isn't strictly forced to. J. Strube notes in Evaluating Physically Motivated Loss Functions that while these constraints improve reliability, they can triple training time and don't always outperform simple data augmentation in every domain.

Hard Constraints by Construction

To move beyond "encouraging" physics to "guaranteeing" it, researchers are building physical laws into the architecture itself. This is known as enforcing physics "by construction."

Jonas Actor and Andy Huang utilize Finite Element Exterior Calculus (FEEC) to ensure that properties like mass or flux are conserved to machine precision. Similarly, Nathaniel Trask developed Data-Driven Exterior Calculus (DDEC), which uses graph theory to bake the mathematical structure of physics into the model's "wiring."

In these models, it is mathematically impossible for the network to output an unphysical result, regardless of how little training data it has seen. This is particularly vital for Hamiltonian Neural Networks (HNNs), which, as surveyed by Junchi Yan and colleagues in Learning Neural Hamiltonian Dynamics, learn the underlying energy function of a system to ensure long-term stability that standard networks cannot match.

Hybrid Differentiable Solvers

A third approach involves "fusing" traditional numerical solvers with neural networks. Instead of replacing the solver, the neural network acts as a high-speed "corrector" or "upsampler."

In the CFD-GCN framework, a fast, low-resolution physical simulation is run first. A Graph Neural Network then takes those results and learns to correct the errors and add fine-grained detail. This hybrid approach is often 70x faster than traditional high-resolution solvers and generalizes to unseen phenomena, like shockwaves, where pure deep learning models typically fail.

The Training vs. Inference Trade-off

The primary hurdle for this field is the "efficiency gap." While physics-informed models offer near-instantaneous inference once trained, the training phase itself is notoriously expensive.

Petr Karnakov and Petros Koumoutsakos point out in their work on ODIL that PINNs can require tens of thousands of iterations to converge, making them up to 100,000x slower to "solve" a problem than traditional numerical methods. Jai Kumar reports that training for complex plasma simulations can consume hundreds of GPU hours.

The value proposition, therefore, lies in amortization. As Dongxiao Zhang shows with Theory-guided Neural Networks, the high upfront cost of training a "solve-once, use-anywhere" model allows for massive speedups later—performing 10,000 simulations in minutes for tasks like uncertainty quantification where traditional solvers would take days.

Papers in this version

Showing 60 of 141 papers.

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_integrating_physical_laws_into_deep_lear_89b127df,
  title = {Integrating Physical Laws into Deep Learning Architectures},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/integrating-physical-laws-into-deep-learning-architectures/rdr_89b127dff1254788b7554d4d717b505a},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-27},
}

This exact version (version 1, frozen text):

@misc{lacuna_integrating_physical_laws_into_deep_lear_89b127df_v1,
  title = {Integrating Physical Laws into Deep Learning Architectures},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/integrating-physical-laws-into-deep-learning-architectures/rdr_89b127dff1254788b7554d4d717b505a/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-27},
}