← Latest papers
💻 computer science

CoFINN: Conservation Flux Informed Neural Networks for Physics Problems Governed by Conservation Laws

CoFINN is a novel physics-informed deep learning framework that enhances the accuracy and physical consistency of compressible flow predictions by embedding finite-volume conservation laws directly into CNN training, significantly reducing drag prediction errors even in data-scarce regimes.

Original authors: Adnan Harun Doğan, Mert Deniz, Hande Alemdar, Özgür Uğraş Baran

Published 2026-07-09
📖 5 min read🧠 Deep dive

Original authors: Adnan Harun Doğan, Mert Deniz, Hande Alemdar, Özgür Uğraş Baran

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). 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

The Big Idea: Teaching AI the Rules of the Road

Imagine you are trying to teach a robot how to drive a car. You have two ways to do it:

  1. The "Look-Alike" Method (Old Way): You show the robot thousands of videos of cars driving. The robot learns to guess what the next frame looks like by matching patterns. If the car in the video turns left, the robot learns to turn left because that's what it sees. However, the robot doesn't actually understand physics. It doesn't know that if it turns too fast, the car will flip. It just knows that "turning left" usually follows "steering wheel left."
  2. The "Rule-Follower" Method (CoFINN): You still show the robot the videos, but you also give it a strict rulebook: "Conservation of Momentum." You tell the robot, "No matter what, if you push the car forward, the air must push back with equal force." If the robot predicts a turn that violates this rule, you don't just say "wrong picture"; you say, "You broke the laws of physics."

CoFINN is a new type of AI that uses the second method. It is designed to predict how air flows around airplane wings (aerodynamics). Instead of just trying to make its predictions look like the training photos, it forces the AI to obey the strict laws of physics that govern how air moves.

The Problem with Current AI: The "Blurry Shockwave"

When air moves very fast (like around a plane wing), it creates sharp, sudden changes called shockwaves. Think of these like a sonic boom or a sudden wall of pressure.

  • The Old AI's Mistake: Standard AI models are like a painter who is good at blending colors but bad at sharp lines. They might predict a shockwave, but they might place it slightly to the left or right, or make it too blurry.
  • Why This Matters: In aerodynamics, a tiny shift in where a shockwave happens can completely change the amount of drag (air resistance) and lift (upward force) the plane experiences.
    • Analogy: Imagine a tightrope walker. If you move the rope just one inch to the left, the walker might fall. Similarly, if the AI predicts the shockwave in the wrong spot, the calculated "force" on the plane can be wildly wrong, even if the picture looks mostly correct.

How CoFINN Works: The "Pixel as a Room" Trick

The authors came up with a clever way to teach the AI these rules.

  1. The Grid: Usually, AI sees an image as a grid of pixels (dots of color).
  2. The Transformation: CoFINN treats every single pixel not just as a dot of color, but as a tiny, sealed room (a "control volume").
  3. The Traffic Flow: Imagine air is a crowd of people moving between these rooms.
    • If 10 people leave Room A to go to Room B, Room A must lose 10 people, and Room B must gain 10.
    • The AI is trained to calculate exactly how many "people" (air mass, energy, momentum) flow across the walls between these pixel-rooms.
  4. The Check: The AI is penalized if the math doesn't add up. If it predicts that 10 people left Room A but only 8 arrived at Room B, the AI knows it made a mistake because matter cannot disappear.

By using a specific math tool called the HLLC Riemann Solver (think of it as a very strict traffic cop), CoFINN ensures that the air flowing out of one pixel equals the air flowing into the next, exactly as real physics demands.

The Results: Better Predictions, Especially When Data is Scarce

The researchers tested this on airplane wings at high speeds. Here is what they found:

  • The "Physics" Bonus: When they added the physics rules (the CoFINN loss) to the training, the AI got much better at predicting drag (how hard it is to push the plane through the air).
    • In some difficult cases (extreme angles of attack), the error dropped by 34%.
    • On average, the error dropped by 15%.
  • The "Small Data" Superpower: The biggest win happened when the AI didn't have a lot of training data to learn from.
    • Analogy: If you only show a student 5 examples of a problem, a normal student might guess randomly. But a student who knows the rules of math can solve it correctly even with few examples. CoFINN acts like that student; the physics rules act as a safety net that prevents the AI from guessing wildly when it hasn't seen enough examples.
  • It Works on Different AI Types: The researchers tried this method on four different types of AI architectures (including standard image processors and more complex "Transformer" models). In almost every case, adding the physics rules improved the results.

Summary

CoFINN is a bridge between two worlds:

  1. Deep Learning: Fast, pattern-matching AI that is great at looking at pictures.
  2. Fluid Dynamics: The strict, mathematical laws that govern how air and water move.

By forcing the AI to treat its output like a grid of tiny rooms where air must balance perfectly, CoFINN creates predictions that are not just "pretty pictures," but physically accurate simulations. This makes it much more reliable for designing airplanes, especially in tricky situations where standard AI tends to fail.

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 →