← Latest papers
🤖 AI

AutoPDE: Reliable Agentic PDE Solving via Explicitly Represented Solver Strategies

AutoPDE is an agentic system that improves the reliability of partial differential equation (PDE) solving by explicitly representing and iteratively refining numerical solver strategies as independent objects before code generation, achieving a 54.5% pass rate on the PDE Agent Bench.

Original authors: Huanshuo Dong, Keyao Zhang, Hong Wang, Zhezheng Hao, Zhiwei Zhuang, Ziyan Liu, Jiacong Wang, Gengyuan Liu, Xin Jin

Published 2026-06-10
📖 4 min read☕ Coffee break read

Original authors: Huanshuo Dong, Keyao Zhang, Hong Wang, Zhezheng Hao, Zhiwei Zhuang, Ziyan Liu, Jiacong Wang, Gengyuan Liu, Xin Jin

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 bake a very complex cake (solving a Partial Differential Equation, or PDE). In the world of science and engineering, these "cakes" represent real-world problems like how heat spreads through a metal plate, how air flows over a wing, or how water moves in a pipe.

For a long time, getting this right required a human expert chef who knew exactly which ingredients to mix, what temperature to use, and how long to bake it. If the cake burned, the chef had to rethink the recipe, not just fix a typo in the instructions.

Recently, AI coding assistants (LLMs) started trying to bake these cakes for us. They are great at writing the instructions (code), but they often have a blind spot: they treat the recipe as a secret hidden inside the code.

The Problem: "Fixing the Code" vs. "Fixing the Strategy"

The paper argues that current AI agents work like a nervous apprentice who, when the cake fails, immediately starts rewriting the instructions line-by-line without ever asking, "Wait, did I use the wrong oven temperature to begin with?"

  • The Old Way (Traditional Human Expert): The chef writes down a clear plan first: "This is a convection problem, so I need a special stabilizing ingredient (SUPG) and a specific mesh size." If it fails, they look at the plan, realize the temperature was wrong, and change the plan.
  • The Current AI Way: The AI jumps straight to writing the code. If the cake fails, it tries to patch the code. It doesn't realize the fundamental strategy (the recipe) was flawed. It's like trying to fix a burnt cake by changing the font on the recipe card.

The Solution: AutoPDE

The authors introduce AutoPDE, a new AI agent that changes the workflow. Instead of jumping straight to writing code, AutoPDE acts like a project manager who insists on a blueprint first.

Here is how AutoPDE works, broken down into three simple steps:

  1. The Diagnosis (The "What is this?" Phase):
    Before writing a single line of code, AutoPDE analyzes the problem. It asks: "Is this a heat problem? A wave problem? Is it unstable?" It creates a digital "Diagnosis Card" that explicitly states the nature of the problem. This is like a chef reading the ingredients and saying, "Ah, this is a soufflé; it needs a very specific technique, not a standard cake method."

  2. The Strategy Selection (The "How do we do it?" Phase):
    Using a library of "skills" (like a cookbook of proven techniques), AutoPDE picks the right tools based on the Diagnosis Card. It decides on the math method, the grid size, and the solver. Crucially, this strategy is saved as a separate, visible object. It's not hidden inside the code yet. It's a standalone document that says, "We are using Method X because the problem is Type Y."

  3. The Pilot Run (The "Test Kitchen" Phase):
    Before committing to the final, expensive run, AutoPDE runs a tiny, cheap test (a "pilot solve"). It checks: "Did we get the right result? Did it take too long?"

    • If the error is too high, it doesn't just tweak the code; it goes back to the Strategy Document and says, "We need a finer grid."
    • If it's too slow, it says, "We need a simpler solver."
    • It revises the plan based on the test results, then updates the code to match the new plan.

Why This Matters (The Results)

The authors tested AutoPDE on a benchmark called PDE Agent Bench, which contains 191 different math problems ranging from simple heat flow to complex fluid dynamics.

  • The Score: AutoPDE solved 54.5% of the problems successfully.
  • The Comparison: The best previous AI agent (CodePDE) only solved about 40.3% (on the same powerful AI model). AutoPDE improved the success rate by 14.2 percentage points.

The paper highlights that this improvement is most dramatic in "tricky" problems (like convection-diffusion), where a wrong strategy makes the problem impossible to solve, no matter how much you refine the code. AutoPDE succeeds because it fixes the strategy first, ensuring the code is built on solid ground.

The Takeaway

Think of AutoPDE as the difference between a coder who just types furiously hoping to get it right, and a master engineer who draws a blueprint, checks the physics, runs a small scale model, and then builds the bridge. By making the "solver strategy" an explicit, visible, and revisable object, AutoPDE stops AI from blindly patching code and starts it thinking like a mathematician.

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 →