TangentPDE: Learning Local Operator Responses with Sparse Finite-Difference Supervision

Xinjian Xie, Ruxuan Chen, Jiashu Li, Tianyu Gao, Ye WeiarXiv 2026 · arXiv

TL;DR

TangentPDE is a training framework that improves neural PDE operators by supervising their local sensitivity using sparse finite-difference pairs. By aligning the model's "finite-step responses" with those of a reference solver, it achieves significantly better state fidelity and long-term rollout stability without requiring explicit derivative labels or differentiable solver interfaces.

What Problem Does This Paper Address?

Neural operators are increasingly used as fast surrogates for solving partial differential equations (PDEs). Typically, these models are trained via "state reconstruction"—simply trying to match the output values of a reference solver at specific points.

However, getting the value right doesn't mean the model understands the local "landscape" of the PDE. A model might predict the current state accurately but fail to capture how that state changes if the input is slightly perturbed. This lack of local sensitivity leads to poor performance in tasks like design optimization, sensitivity analysis, and iterative "rollout" predictions, where errors compound over time.

While "Sobolev training" exists to address this by supervising derivatives, it usually requires access to Jacobians, adjoint solvers, or differentiable simulation interfaces—tools that are often unavailable for complex, nonlinear, or legacy solvers. TangentPDE fills this gap by using only state outputs to supervise local variations.

Methods

The core idea of TangentPDE is to use sparse finite-difference supervision. Instead of just looking at single input-output pairs $(z, u)$, the method looks at pairs of nearby inputs $(z, z^+)$ and their corresponding reference states $(u, u^+)$.

TangentPDE-Core

The framework introduces a multi-part objective function:

  1. State Fidelity ($\mathcal{L}_{state}$): Standard MSE to match endpoint values.
  2. Direction Alignment ($\mathcal{L}_{dir}$): Ensures the model's predicted change (the "intrinsic response") points in the same direction as the reference solver's change.
  3. Magnitude Calibration ($\mathcal{L}_{mag}$): Calibrates the scale of the predicted change.

The authors prioritize direction alignment over magnitude, arguing that "where the system is going" is a more critical geometric signal than "how fast it's getting there."

Figure 1: Overview of TangentPDE. Core supervises the intrinsic state-output response rop; optional LSTH produces a separate auxiliary estimate raux from selected hidden finite differences.

Layer-Selective Tangent Head (LSTH)

As an optional extension, the authors propose LSTH. This module takes finite differences of hidden representations within the neural network and maps them to an auxiliary response estimate. This allows the model to learn local variations at multiple scales of abstraction without altering the primary state-prediction path.

Datasets

The authors evaluated TangentPDE across four diverse PDE regimes:

  • DiffReact: Nonlinear reaction-diffusion dynamics (characterized by spatial smoothing).
  • Kolmogorov Flow: Forced nonlinear fluid dynamics (multi-scale interactions and instability).
  • Burgers' Equation: Nonlinear conservation laws with steep gradients and shocks.
  • Advection: Pure transport and phase propagation.

They tested these across five different neural operator backbones, including FNO (Fourier Neural Operator), RNO, CViT, MambaNO, and LaMO, totaling 20 distinct task-backbone settings.

Key Insights and Ideas

  • The "Cross-Endpoint Error" Gap: The authors demonstrate that two models can have identical state errors but completely different response behaviors. If one model's errors at two nearby points cancel out, its response is accurate; if they diverge, the response error explodes. TangentPDE explicitly optimizes this relational quantity.
  • Sparse Supervision is Potent: You don't need a dense Jacobian to regularize a model. Even a small number of paired "secants" (finite-step responses) provides enough geometric signal to significantly improve the model's local behavior.
  • Architecture Orthogonality: Because TangentPDE operates at the supervision level, it can be plugged into almost any existing neural operator architecture without redesigning the backbone.

Key Results

TangentPDE demonstrated broad improvements across nearly all benchmarks:

  • Better Accuracy: It lowered the mean state error in 18 out of 20 settings.
  • Improved Stability: It improved 20-step rollout performance in 18 out of 20 settings, showing that better local sensitivity directly translates to more stable long-term predictions.
  • Response Alignment: On the DiffReact task, the intrinsic response cosine similarity improved dramatically (e.g., for FNO, it jumped from 0.4367 to 0.9358).
Figure 3: Response-field comparison for a representative paired query. Reference finite-step responses are shown against Two-point MSE and TangentPDE-Core predictions for the two output channels; cosine values are computed against the corresponding reference response field. This qual- itative example complements the aggregate mechanism met- rics in Table 4.

Limitations and Future Work

  • Task Dependency: While state and rollout gains were broad, the improvements in intrinsic response were highly task-dependent. Gains were massive in diffusion-heavy systems (DiffReact) but more modest in transport-dominated systems (Advection).
  • Data Cost: Constructing pairs requires one additional solver call per training anchor. While more efficient than computing full Jacobians, it still increases the initial data generation budget.
  • Scope of Linearization: TangentPDE learns finite-step secants along specific perturbation families rather than a complete, uniformly accurate Jacobian in every possible direction. Future work could explore more complex perturbation sampling strategies to broaden this sensitivity.

Summary updated

Abstract

Neural PDE operators are often optimized through state reconstruction, which largely constrains operator values at observed inputs but does not fully characterize their sensitivity to local perturbations. A more faithful approximation of operator behavior requires not only accurate state predictions, but also correct variations along local perturbation directions. We present TangentPDE, which uses finite differences to approximate directional derivatives and constructs task-relevant finite-step responses from the state outputs of a reference solver at sparse paired inputs. Its objective jointly constrains state fidelity, response-direction alignment, and response-magnitude calibration, thereby learning both operator values and their local variations. Because the response labels are constructed solely from state outputs at paired inputs, the method requires neither explicit derivative labels, linearized or adjoint PDE solves, nor full Jacobians, and remains applicable to nonlinear solvers without derivative interfaces. Building on this, we additionally propose a selectively executed adaptation mechanism to strengthen local operator representations under finite-difference supervision. Budget-matched and correspondence-perturbed controls isolate the effect of relational supervision from improvements attributable to additional state observations or increased data volume. Designed as a plug-and-play training framework, TangentPDE integrates with diverse neural-operator backbones. Across four PDE systems and 20 task-backbone settings, TangentPDE lowers the three-seed mean state error in 18 settings and the corresponding Rollout@20 error in 18, while intrinsic finite-step response gains are strongest on DiffReact and remain task- and backbone-dependent elsewhere.
BibTeX
@misc{xie2026tangentpde,
  author = {Xinjian Xie and Ruxuan Chen and Jiashu Li and Tianyu Gao and Ye Wei},
  title = {{TangentPDE: Learning Local Operator Responses with Sparse Finite-Difference Supervision}},
  year = {2026},
  eprint = {2611.24873},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.24873},
}

Loading related content...

Figure