Physics-Informed Neural Networks for Solving Derivative-Constrained PDEs

This paper introduces Derivative-Constrained PINNs (DC-PINNs), a general framework that enhances Physics-Informed Neural Networks by embedding general nonlinear constraints on states and derivatives via automatic differentiation and self-adaptive loss balancing, thereby stabilizing training and ensuring physically admissible solutions for problems requiring derivative-based relations beyond standard PDE residuals.

Original authors: Kentaro Hoshisashi, Carolyn E Phelan, Paolo Barucca

Published 2026-04-16
📖 5 min read🧠 Deep dive

This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a robot to predict how heat spreads through a metal rod, how stock prices move, or how water flows around a boat. You give the robot a set of rules (the laws of physics, written as complex math equations) and ask it to learn the pattern.

This is what Physics-Informed Neural Networks (PINNs) do. They are like students who are given a textbook (the physics equations) and a few test questions (data points). They try to learn the answer by minimizing their mistakes on the test.

The Problem:
Sometimes, just following the textbook isn't enough. In the real world, there are "common sense" rules that the textbook doesn't explicitly state but are absolutely critical.

  • Heat: Heat always flows from hot to cold; it never spontaneously concentrates in one spot.
  • Stocks: A stock price shouldn't be able to go up and down in a way that guarantees a free lunch (arbitrage).
  • Water: Water can't just disappear or appear out of thin air; the amount flowing in must equal the amount flowing out.

If you only teach the robot the main textbook equations, it might come up with a mathematically "correct" answer that is physically impossible—like a stock price that creates infinite money or water that flows uphill. The robot gets the math right but the reality wrong.

The Solution: DC-PINNs (Derivative-Constrained PINNs)
The authors of this paper, Kentaro, Carolyn, and Paolo, created a new method called DC-PINNs. Think of this as upgrading the robot's teacher from a strict textbook reader to a wise coach who understands the spirit of the game.

Here is how they did it, using some everyday analogies:

1. The "Guardrails" Analogy

Imagine driving a car (the neural network) down a winding mountain road (the solution to the equation).

  • Standard PINNs: The car has a GPS (the physics equations) telling it where to go. But if the GPS is slightly off, the car might drive off the cliff because it's only trying to follow the GPS coordinates.
  • DC-PINNs: The authors added guardrails to the road. These guardrails represent the "derivative constraints."
    • Constraint: "The car must never go faster than the speed limit."
    • Constraint: "The car must never drive backward."
    • Constraint: "The road must always slope downward if it's a downhill section."

Even if the GPS (the main equation) gets confused, the guardrails force the car to stay on the safe, physically possible path. In math terms, these guardrails ensure that the rate of change (derivatives) of the solution makes sense (e.g., heat doesn't get hotter as it spreads).

2. The "Tug-of-War" Coach (Self-Adaptive Balancing)

One of the hardest parts of training these robots is balancing the different rules.

  • Rule A: "Match the data points."
  • Rule B: "Follow the physics equations."
  • Rule C: "Don't break the guardrails."

Sometimes, Rule C is very hard to satisfy, and the robot gets stuck. If you tell the robot "Rule C is super important!" too loudly, it might ignore the data. If you say it's "not important," it breaks the laws of physics.

The authors introduced a Self-Adaptive Coach. Imagine a coach who watches the robot struggle.

  • If the robot is failing to stay within the guardrails, the coach whispers, "Hey, pay a little more attention to the guardrails!"
  • If the robot is ignoring the data points, the coach says, "Look at the data!"
  • The coach automatically adjusts the volume of each instruction so the robot doesn't get overwhelmed by one loud rule. This removes the need for a human to guess the perfect settings (hyperparameters) beforehand.

3. Real-World Tests

The team tested their new "Guardrail Robot" on three difficult scenarios:

  • The Heat Diffusion Test: They simulated heat spreading through a beam. Standard robots made the heat "wiggle" or go up and down in impossible ways. The DC-PINN robot kept the heat flowing smoothly and naturally, respecting the rule that heat always dissipates.
  • The Stock Market Test: In finance, you can't have a "free lunch" (arbitrage). Standard robots sometimes created stock price charts that looked weird and allowed for impossible profits. The DC-PINN robot created smooth, logical price curves that respected the "no free lunch" rule.
  • The Water Flow Test: They simulated water swirling around a cylinder (like a boat piling up water). Standard robots sometimes made the water compress or vanish. The DC-PINN robot ensured the water remained incompressible (it doesn't squish), creating a realistic flow pattern with swirling vortices.

The Bottom Line

DC-PINNs are a smarter way to teach computers to solve physics problems. Instead of just memorizing the equations, they are taught to respect the fundamental "common sense" rules of the universe (like conservation of energy or money).

By adding these "guardrails" and a "smart coach" to balance the rules, the AI produces solutions that are not just mathematically close, but physically real. It's the difference between a student who memorizes the answers and a student who truly understands the subject.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →