DeltaPhi: Learning Physical Trajectory Residual for PDE Solving

Xihang Yue, Linchao Zhu, Yi Yang · DOI

Introduction

Partial Differential Equations (PDEs) are fundamental to modeling complex physical phenomena, from fluid dynamics to structural mechanics. While traditional numerical solvers provide high accuracy, their computational cost is often prohibitive for real-time applications. Neural operators have emerged as a promising alternative, offering rapid inference. However, these models are notoriously "data-hungry," requiring vast amounts of expensive simulation data to generalize effectively.

When training data is scarce, neural networks often resort to memorizing specific input-output pairs rather than capturing the underlying physical laws. This leads to poor performance on out-of-distribution samples. DeltaPhi addresses this challenge by shifting the learning objective from absolute mappings to physical residuals, leveraging the inherent stability of physical systems to improve data efficiency and generalization.

The DeltaPhi Framework

DeltaPhi is an architecture-agnostic framework designed to "wrap" around existing neural operators like Fourier Neural Operators (FNO) or DeepONet. Instead of learning a direct mapping from an input state $a$ to an output solution $u$, DeltaPhi reformulates the task as learning the difference between the target solution and a similar, known physical state.

The DeltaPhi architecture compared to standard direct learning, highlighting the auxiliary sample retrieval and residual mapping process.

The process consists of several key components:

  1. Auxiliary Sample Retriever: For a given input, the system identifies the top-K most similar physical states within the training set using cosine similarity.
  2. Residual Mapping: The neural operator receives a concatenated input of the current state and a retrieved auxiliary state. It then predicts the residual—the difference between the target solution and the auxiliary solution.
  3. Implicit Data Augmentation: During training, the model randomly pairs an input with one of its $K$ neighbors. This effectively multiplies the diversity of the training data, forcing the model to learn the relationship between states rather than memorizing fixed outputs.
  4. Resolution Alignment: To maintain consistency across different grids, Fourier-based downsampling and upsampling are employed to ensure retrieved samples match the input resolution.

Theoretical Foundation: Stability as a Prior

The success of DeltaPhi is rooted in the "stability" property of PDEs: similar initial or boundary conditions typically lead to similar evolution trajectories. Geometrically, this means the solution manifold is locally smooth. By learning residuals, the model focuses on the "local geometry" or "tangent vectors" of this manifold.

This approach discourages simple memorization. Because the model must predict a different residual depending on which auxiliary sample it is paired with, it is forced to understand the underlying physical transitions. This "tangent vector" perspective allows the model to generalize more robustly from a limited number of "anchor points" in the solution space.

Experimental Results

The authors evaluated DeltaPhi across various domains, including regular grids (Darcy Flow, Navier-Stokes) and irregular meshes (Pipe Turbulence, Heat Transfer). The framework consistently outperformed direct learning baselines across all tested architectures.

Visual comparison of error maps between previous direct learning methods and DeltaPhi across three irregular domain benchmarks.

Key findings include:

  • Significant Error Reduction: DeltaPhi achieved massive performance gains on complex irregular domains, with up to a 50% reduction in error for Heat Transfer problems and 41% for Pipe Turbulence.
  • Data Efficiency: Models trained with DeltaPhi on 500 samples frequently outperformed standard models trained on significantly larger datasets (up to 900 samples), demonstrating its utility in data-constrained environments.
  • Zero-Shot Generalization: The framework showed remarkable resilience when moving from low-resolution training data to high-resolution testing, mitigating the overfitting common in standard neural operators.
  • Inherent Symmetry: Interestingly, the models naturally learned mathematical symmetries (e.g., $Res(A, B) = -Res(B, A)$) without explicit supervision, further validating the physical soundness of the residual approach.

Conclusion and Future Directions

DeltaPhi represents a significant step toward more data-efficient and physically grounded neural PDE solvers. By leveraging the local stability of physical systems, it provides a robust mechanism for implicit data augmentation and improved generalization.

While highly effective, challenges remain in applying the method to highly chaotic systems where small initial differences can lead to rapidly diverging trajectories. Future work may explore more advanced, physics-aware similarity metrics or explicit boundary-condition integration to further enhance the retriever's performance. Despite these areas for growth, DeltaPhi's architecture-agnostic nature and negligible computational overhead make it a highly practical tool for modern engineering and scientific computing.

Summary updated

Abstract

Although neural operator networks theoretically approximate any operator mapping, the limited generalization capability prevents them from learning correct physical dynamics when potential data biases exist, particularly in the practical PDE solving scenario where the available data amount is restricted or the resolution is extremely low. To address this issue, we propose and formulate the Physical Trajectory Residual Learning (DeltaPhi), which learns to predict the physical residuals between the pending solved trajectory and a known similar auxiliary trajectory. First, we transform the direct operator mapping between input-output function fields in original training data to residual operator mapping between input function pairs and output function residuals. Next, we learn the surrogate model for the residual operator mapping based on existing neural operator networks. Additionally, we design helpful customized auxiliary inputs for efficient optimization. Through extensive experiments, we conclude that, compared to direct learning, physical residual learning is preferred for PDE solving.
BibTeX
@misc{yue2024deltaphi,
  author = {Xihang Yue and Linchao Zhu and Yi Yang},
  title = {{DeltaPhi: Learning Physical Trajectory Residual for PDE Solving}},
  year = {2024},
  eprint = {2406.09795},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.09795},
}
Figure