Nonlinear GENERIC Informed Neural Networks (N-GINNs): learning GENERIC dynamics with non-quadratic dissipation potentials

This paper introduces Nonlinear GENERIC Informed Neural Networks (N-GINNs), a deep learning framework that enforces thermodynamic consistency through convex dissipation potentials to accurately discover evolution equations for systems exhibiting both conservative dynamics and non-quadratic dissipation.

Original authors: Vojtěch Votruba, Zequn He, Weilun Qiu, Celia Reina, Michal Pavelka

Published 2026-05-12
📖 5 min read🧠 Deep dive

Original authors: Vojtěch Votruba, Zequn He, Weilun Qiu, Celia Reina, Michal Pavelka

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

Imagine you are trying to teach a robot how to predict how a complex machine will move. You could just show the robot thousands of videos of the machine moving and let it guess the rules. But there's a problem: if the robot isn't careful, it might learn a rule that looks right for a few seconds but eventually breaks the laws of physics. It might invent a machine that creates energy out of thin air or one that gets colder while doing work, which is impossible in our universe.

This paper introduces a new tool called N-GINNs (Nonlinear GENERIC Informed Neural Networks). Think of this tool as a "physics safety harness" for artificial intelligence. Instead of letting the AI guess the rules freely, the researchers built the AI's brain so that it cannot break the fundamental laws of thermodynamics (energy conservation and entropy).

Here is a breakdown of how it works, using simple analogies:

1. The Two-Engine System

The paper focuses on systems that have two types of movement happening at once:

  • The Reversible Engine (The Swing): Imagine a child on a swing. If there were no friction, they would swing back and forth forever. This is "conservative" motion. It's predictable and can go backward in time.
  • The Irreversible Engine (The Friction): Now, imagine the swing has rusty hinges and air resistance. The swing slows down, and the energy turns into heat. You can't un-slow the swing. This is "dissipative" motion.

Most real-world machines (like car brakes, chemical reactions, or even your muscles) are a mix of both. The challenge for AI is to learn how to balance these two engines perfectly.

2. The "Safety Harness" (The Architecture)

The researchers created a special neural network architecture. Imagine building a car where the engine is designed so that it physically cannot produce more energy than you put into the gas tank.

  • The "Energy" and "Entropy" Maps: The AI learns two maps: one for the system's total energy and one for its disorder (entropy).
  • The "Friction" Map: The AI also learns a "dissipation potential." In simple terms, this is a map that tells the system how much energy turns into heat.
    • The Innovation: Previous AI models could only learn simple, straight-line friction (like a constant brake). This new model can learn complex, non-linear friction. Think of it like learning that a car's brakes work differently when they are cold versus when they are red-hot. The paper calls this "non-quadratic dissipation," which just means the friction rules can be curvy and complicated, not just straight lines.

3. The "Lock and Key" (The Constraints)

To make sure the AI doesn't cheat, the researchers built "locks" into the code.

  • The Energy Lock: The code is written so that the "Reversible Engine" and the "Friction Engine" cancel each other out perfectly regarding total energy. The AI is forced to keep the total energy constant (unless heat is added from outside).
  • The Entropy Lock: The code forces the "Friction Engine" to always generate heat (entropy). It is mathematically impossible for the AI to make the system get more ordered without an external push.

4. The Three Tests

The team tested this "safety-harnessed" AI on three very different scenarios to prove it works:

  • Test 1: The Bouncing Ball in a Hot Room.
    A simple spring bouncing up and down while losing energy to a heat bath. This was the "easy" test to show the AI could learn standard physics.
  • Test 2: The Chemical Motor.
    Imagine a piston (like in a car engine) filled with gas that is also undergoing a chemical reaction (like mixing baking soda and vinegar). The gas pushes the piston, but the chemical reaction creates complex, non-linear friction. This was a hard test because the rules were curvy and complicated. The AI successfully learned the rules.
  • Test 3: The Stretching Metal.
    Imagine a metal bar being stretched. It behaves like a spring at first, but if you pull hard enough, it permanently deforms (plasticity) and heats up. This involves a whole sheet of metal moving, not just a single point. The AI learned how to predict the stretching, the permanent bending, and the heating all at once.

The Bottom Line

The paper claims that N-GINNs can look at data from these complex systems and figure out the exact mathematical rules governing them, while guaranteeing that the rules obey the laws of thermodynamics.

It's like giving a student a math test where they have to solve a problem, but the test paper itself has a built-in calculator that refuses to let them write down an answer that violates the laws of arithmetic. The result is a model that is not only accurate but also trustworthy because it is physically impossible for it to be "wrong" about the fundamental laws of energy and heat.

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 →