← Latest papers
🔬 physics

Computing high-order mixed derivatives in physics-informed neural networks using multi-index Bell polynomials

This paper introduces a computationally efficient and memory-stable method for calculating high-order mixed derivatives in physics-informed neural networks by utilizing multi-index Bell polynomials to organize the multivariate Faà di Bruno formula, thereby avoiding the memory failures of standard nested automatic differentiation while maintaining exactness up to roundoff error.

Original authors: Fumihiro Imoto

Published 2026-09-04
📖 6 min read🧠 Deep dive

Original authors: Fumihiro Imoto

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

In the world of modern physics, scientists often face a difficult puzzle: how to predict the behavior of complex systems like flowing water, electric fields, or shock waves when the mathematical rules governing them are incredibly intricate. For decades, researchers have turned to artificial intelligence to help solve these puzzles. A specific type of machine learning, known as a physics-informed neural network, acts like a digital apprentice. It is trained not just on data, but on the fundamental laws of physics themselves. The network learns to guess the solution to a problem by checking how well its guess satisfies the underlying equations. However, these equations often involve rates of change that are extremely difficult to calculate, especially when they involve multiple variables changing at once, such as time and three-dimensional space simultaneously. To train the network effectively, the computer must calculate these complex rates of change, known as derivatives, with extreme precision.

The challenge has been that calculating these high-order rates of change using standard computer methods is like trying to climb a mountain that keeps growing taller the higher you go. As the complexity of the equation increases, the computer's memory fills up, and the calculations become so slow that they are practically impossible to finish. This bottleneck has limited the ability of artificial intelligence to solve the most difficult physical problems, particularly those involving waves that disperse or spread out over time. A new study by Fumihiro Imoto addresses this limitation directly. The researcher developed a new mathematical method that allows computers to calculate these complex, multi-variable rates of change efficiently, without running out of memory or getting bogged down by unnecessary calculations.

The core of this new approach lies in how the computer organizes its work. Instead of repeatedly asking the computer to differentiate the same function over and over again—a process that creates a massive and tangled web of calculations—the new method uses a pre-organized system. Imagine a library where every possible book combination is already cataloged and ready to be pulled off the shelf, rather than having to write a new catalog every time a reader asks for a book. The researcher used a specific mathematical tool, involving structures called Bell polynomials, to create a fixed map of all the necessary calculations. This map is built once and then reused for every step of the learning process. By doing this, the computer only calculates the specific pieces of information required for the problem at hand, ignoring everything else. This strategy allows the system to handle equations that involve derivatives up to the seventh order, a level of complexity that causes standard methods to fail.

The results of this work are both precise and practical. The researcher tested the method on a variety of difficult physical scenarios, including the movement of waves in water and the flow of electrically charged fluids. In one specific test involving a complex wave equation in four dimensions, the new method produced a solution with a relative error of only 0.0006, a level of accuracy that confirms the method works as intended. Perhaps more importantly, the method proved to be robust where others failed. When standard computer programs tried to solve the same high-order problems, they often ran out of memory and crashed. The new approach, running on a single processor core, successfully calculated hundreds of mixed derivatives without any memory failures. It also handled systems with multiple interacting fields, such as the complex dance between fluid velocity, pressure, and electric charge, which are common in real-world engineering but notoriously difficult to simulate.

Beyond just speed and stability, the study also revealed something surprising about the tools used to build these networks. The "brain" of a neural network relies on a mathematical function called an activation function, which helps the network learn patterns. For a long time, a function called the hyperbolic tangent has been the standard choice. However, when the researcher tested the new high-order method against different activation functions, they found that the standard choice was not always the best. In tests involving the highest levels of complexity, functions based on Bessel functions, which are often used to describe wave patterns in nature, outperformed the standard choice. These alternative functions allowed the network to learn the solution more accurately, suggesting that the best tool for the job depends heavily on the specific mathematical demands of the problem.

The study also highlighted a critical lesson for anyone using these powerful tools: a small error in the calculation does not always mean a small error in the final answer. In one test involving fluid flow, the computer managed to reduce the error in the physical equations by a huge margin, making the math look perfect. Yet, the actual solution it produced was completely wrong. This happened because the computer found a way to satisfy the math without satisfying the physical reality, a trap that can only be avoided by checking the solution against known boundaries or data. This finding serves as a reminder that even the most advanced mathematical tricks require careful verification. The new method provides a reliable way to calculate the necessary derivatives, but it does not replace the need for human oversight and independent checks to ensure the results make physical sense.

Ultimately, this work removes a significant barrier to using artificial intelligence for the most demanding problems in physics. By organizing the calculation of complex derivatives in a way that is both exact and memory-efficient, the researcher has opened the door to simulating phenomena that were previously out of reach. The method is not a magic wand that solves everything instantly, but it is a powerful new engine that allows scientists to drive their simulations further than before. Whether it is modeling the flow of plasma in a fusion reactor or predicting the behavior of ocean waves, the ability to calculate these high-order rates of change accurately and quickly is a crucial step forward. The study confirms that with the right mathematical organization, artificial intelligence can tackle the most stubborn equations in physics, provided the calculations are guided by the right tools and verified with care.

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 →