Paper deep dive
Generalized Neural Operator for Parametric and Boundary-Value Problems
Ruoyan Li, Yizhou Sun, Wei Wang
Intelligence
Status: succeeded | Model: Gemma-4-26B-A4B | Prompt: intel-v1 | Confidence: 92%
Last extracted: 7/28/2026, 4:21:18 AM
Summary
The paper proposes a Generalized Neural Operator to solve the trilemma of computational efficiency, mathematical rigor, and physics-agnostic deployment in PDE simulation. It addresses the ill-posed nature of purely data-driven operators by explicitly conditioning on PDE parameters and boundary conditions. Key innovations include a parameter-gated mixture of kernels for efficient parameter generalization, a generalized boundary transfer operator for unified latent Dirichlet representation, and a specialized training objective for stability.
Entities (8)
Relation Signals (6)
Generalized Neural Operator → addresses → trilemma of computational efficiency, mathematical rigor, and physics-agnostic deployment
confidence 95% · To address this bottleneck between condition-agnostic deployment, physical rigor, and inference efficiency, we propose a Generalized Neural Operator.
Generalized Neural Operator → uses → parameter-gated mixture of kernels
confidence 95% · we introduce three novel architectural components: a parameter-gated mixture of kernels for efficient parameter generalization
Generalized Neural Operator → uses → generalized boundary transfer operator
confidence 95% · a generalized boundary transfer operator that projects arbitrary boundary constraints into a unified latent Dirichlet representation
Generalized Neural Operator → improves → generalization across heterogeneous physical regimes
confidence 90% · Extensive experiments demonstrate that our theoretically grounded approach achieves superior generalization across heterogeneous physical regimes
Physics-informed neural networks → suffersfrom → costly, instance-specific optimization
confidence 90% · Physics-Informed Neural Networks (PINNs) enforce rigorous physical constraints but necessitate costly, instance-specific optimization.
Fourier Neural Operator → isexampleof → lightweight operators
confidence 85% · recent studies show even lightweight operators (e.g., the 0.5M parameter Fourier Neural Operator)
Cypher Suggestions (0)
No Cypher suggestions yet.
Abstract
Abstract:Developing foundational neural simulators for Partial Differential Equations (PDEs) requires robust generalization across diverse physical parameters and boundary conditions. However, current deep learning approaches largely face a structural trade-off between condition-agnostic deployment and physical fidelity. Purely data-driven operators infer the underlying physics implicitly and thus lack the explicit constraints needed to ensure physically valid solutions across varying domains, rendering the learning problem ill-posed. On the other hand, Physics-Informed Neural Networks (PINNs) enforce rigorous physical constraints but necessitate costly, instance-specific optimization. Furthermore, the massive scale of emerging foundational operators has severely degraded their inference speeds, making them computationally uncompetitive with traditional numerical solvers. To address this bottleneck between condition-agnostic deployment, physical rigor, and inference efficiency, we propose a \textit{Generalized Neural Operator}. By formalizing the classical conditions for well-posedness within neural operators, our framework demonstrates the theoretical benefits of explicitly conditioning on PDE parameters and boundary conditions. To implement this synthesis without compromising computational speed, we introduce three novel architectural components: a parameter-gated mixture of kernels for efficient parameter generalization, a generalized boundary transfer operator that projects arbitrary boundary constraints into a unified latent Dirichlet representation, and a specialized training objective to ensure stability. Extensive experiments demonstrate that our theoretically grounded approach achieves superior generalization across heterogeneous physical regimes while maintaining strict inference efficiency comparable to conventional numerical baselines.
Tags
Links
- Source: https://arxiv.org/abs/2607.21932v1
- Canonical: https://arxiv.org/abs/2607.21932v1
Trouble viewing inline? Open PDF directly →
Full Text
95,571 characters extracted from source content.
Expand or collapse full text
Generalized Neural Operator for Parametric and Boundary-Value Problems Ruoyan Li University of California, Los Angeles &Yizhou Sun University of California, Los Angeles Wei Wang University of California, Los Angeles Abstract Physical systems are fully characterized by Partial Differential Equations (PDEs) alongside their specific parameters and boundary conditions. Thus, developing foundational physical simulators requires robust generalization across diverse PDE parameters and boundary conditions. However, existing solvers face a fundamental trilemma, struggling to simultaneously achieve computational efficiency, mathematical rigor, and physics-agnostic deployment. Traditional numerical methods provide mathematical rigor but are computationally expensive. Physics-Informed Neural Networks (PINNs) maintain this rigor and are computationally efficient, yet they remain instance-specific and require retraining for new conditions. Purely data-driven Neural Operators offer efficiency but sacrifice explicit physical grounding, leading to ill-posed formulations, dataset biases, and generalization failures. Furthermore, the massive scale of emerging foundational operators has severely degraded their inference speeds, making them computationally uncompetitive with traditional numerical solvers. To address these bottlenecks, we propose a Generalized Neural Operator that bridges these paradigms by restoring mathematical rigor through explicit physical conditioning. By formalizing the classical conditions for well-posedness within neural operators, our framework demonstrates the theoretical benefits of explicitly conditioning on PDE parameters and boundary conditions. To implement this synthesis without compromising computational speed, we introduce three novel architectural components: a parameter-gated mixture of kernels for efficient parameter generalization, a generalized boundary transfer operator that projects arbitrary boundary constraints into a unified latent Dirichlet representation, and a specialized training objective to ensure stability. Extensive experiments demonstrate that our theoretically grounded approach achieves superior generalization across heterogeneous physical regimes while maintaining strict inference efficiency comparable to conventional numerical baselines. 1 Introduction Partial Differential Equations (PDEs) constitute the standard mathematical framework for modeling physical phenomena. To fully characterize a specific physical system, these equations are formulated as parametric boundary value problems, in which the combination of equation parameters and boundary conditions fully defines the underlying physics. For example, the heat equation serves as a canonical model for understanding diffusion processes, describing how a quantity such as temperature evolves over time to reach equilibrium. ∂u(,t)∂t=α∇2u(,t) ∂ u( x,t)∂ t=α∇^2u( x,t), where u(,t)u( x,t) represents the temperature at spatial position x and time t. Central to this physical model is the thermal diffusivity parameter, α, which dictates the intrinsic rate at which heat propagates through a specific medium. A high diffusivity characterizes materials like copper that rapidly conduct thermal energy, while low diffusivity defines insulators that retard this flow. The physical behavior of the system is also constrained by its interactions with the environment, defined mathematically as boundary conditions. Dirichlet condition, u(,t)=f(,t)u( x,t)=f( x,t) for ∈∂Ω x∈∂ , is a scenario where the boundary temperature is strictly controlled, such as an object submerged in a thermal bath. Neumann condition, ∂u∂(,t)=g(,t) ∂ u∂ n( x,t)=g( x,t) for ∈∂Ω x∈∂ , with n denoting the outward unit normal vector, represents the control of heat flux at the boundary, where a homogeneous value, g(,t)=0g( x,t)=0, implies a perfectly insulated surface that allows no energy escape. Periodic conditions simulate a ring-like or infinite geometry where heat leaving one side re-enters the other. Thus, because real-world applications involve diverse materials and varying environmental interactions, learning a foundational physical neural model requires generalization across PDE parameters and boundary conditions. Figure 1: Trilemma of existing PDE solvers. Traditional numerical solvers guarantee mathematical rigor but are computationally expensive and demand instance-specific design. PINNs maintain this rigor and offer efficient inference, yet still require instance-specific retraining. Neural operators achieve favorable accuracy-efficiency tradeoffs and physics-agnostic deployment, but often yield ill-posed predictions. Existing foundational models achieve physics-agnostic deployment but suffer from computational inefficiency due to their massive size. Our proposed method unifies the core strengths of all three paradigms. Existing PDE solvers for these parametric boundary value problems struggle to balance three competing objectives: computational efficiency, mathematical rigor, and physics-agnostic deployment. Traditional numerical methods, such as finite difference and finite element solvers, prioritize mathematical rigor by computing state evolutions with strict, explicit adherence to governing equations. However, they are extremely computationally expensive and require entirely different, instance-specific algorithmic designs. For example, a seemingly simple shift from Dirichlet to periodic boundary conditions cannot be handled via a simple switch. Instead, it demands completely replacing a finite difference scheme with a fundamentally different algorithm, such as a pseudo-spectral method. Physics-Informed Neural Networks (PINNs) (Raissi et al., 2019) maintain mathematical rigor by embedding explicit equations into the loss function, but they remain instance-specific, requiring costly retraining for every new condition and thereby sacrificing agnostic deployment. Purely data-driven Neural Operators (Kovachki et al., 2023) achieve the "learn once, evaluate instantly" advantage by learning infinite-dimensional mappings from large-scale datasets and demonstrate superior accuracy-efficiency tradeoffs (Wang et al., 2025a). However, by treating the physics implicitly and attempting to deduce governing laws primarily from historical frames, they pose an ill-posed inverse problem, sacrificing mathematical rigor and leaving them vulnerable to generalization failure. Current attempts to build foundational physical models struggle precisely because they fail to resolve this trilemma. In pursuit of physics-agnostic deployment, most lean heavily into the data-driven operator paradigm but abandon the explicit physical grounding that makes numerical solvers and PINNs robust. By omitting explicit boundary information and parameter conditioning, these models often fall back on dataset biases, producing averaged, non-physical predictions. Furthermore, to compensate for this lack of explicit rigor, foundational models are scaled to massive sizes, which ironically destroys their computational efficiency. Given that recent studies (Wang et al., 2025a; McGreivy & Hakim, 2024) show even lightweight operators (e.g., the 0.5M parameter Fourier Neural Operator (Li et al., 2021)) offer only marginal speedups over highly optimized numerical solvers, the practical utility of deploying massive, multi-million parameter models to guess implicit physics is highly questionable. To definitively bridge the gap between computational efficiency, mathematical rigor, and condition-agnostic deployment, we propose a Generalized Neural Operator. We formalize the well-established classical conditions for well-posedness within the context of neural operators, demonstrating that restoring mathematical rigor through explicit physical inputs is the key to true generalization. To achieve this synthesis without sacrificing efficiency, our architecture introduces a parameter-gated mixture of kernels, dynamically routing computation based on explicit physical regimes rather than activating a monolithic network. This ensures physics-agnostic deployment while maintaining runtime efficiency strictly comparable to traditional numerical solvers. Furthermore, we propose a generalized boundary transfer operator that projects arbitrary, explicitly provided boundary conditions into a unified latent Dirichlet representation, allowing the core network to maintain rigor while seamlessly generalizing across configurations. Finally, we introduce a specialized training objective to ensure robust performance across diverse physical regimes. Our contributions are as follows: (i) Paradigm Synthesis & Problem Identification: We identify the fundamental struggle in current foundational PDE models and propose a framework that resolves this trilemma. (i) Theoretical Formalization: We formalize the well-posedness of foundational neural solvers, demonstrating theoretically why the structural inclusion of PDE parameters and boundary conditions is beneficial. (i) Practical Solution: We introduce a parameter-gated mixture of kernels, a generalized boundary transfer operator, and a robust optimization objective to achieve generalization across diverse physical regimes. (iv) Experimental Validation: We validate the superior generalization performance of our proposed model through extensive empirical benchmarks. 2 Related Work Early research on neural operators primarily focuses on learning PDEs with single parameters and fixed boundary conditions. This body of work encompasses Eulerian neural simulators (Li et al., 2021, 2023b; Pfaff et al., 2021; Brandstetter et al., 2022; Rahman et al., 2023; Wu et al., 2024; Luo et al., 2025; Li et al., 2023a; Tran et al., 2023; Wu et al., 2023), which operate on regular grids or irregular meshes, and Lagrangian neural simulators (Sanchez-Gonzalez et al., 2020; Toshev et al., 2024a; Prantl et al., 2022; Toshev et al., 2024b), which discretize the domain into particles. Recent initiatives have sought to develop foundational models that extend the capabilities of neural operators in several directions. Research such as Alesiani et al. (2022); Takamoto et al. (2023) focuses on generalizing operators across PDE parameters, while Boudec et al. (2025) introduces a physics-guided iterative training algorithm to handle diverse parameters and boundary conditions. Unified frameworks have also emerged, including the work by Alkin et al. (2024) for joint Eulerian and Lagrangian simulations and Chen et al. (2025) for multiscale pretraining across 1D, 2D, and 3D domains. Ye et al. (2024) utilizes computational graphs to represent various PDEs, and Shen et al. (2024) embeds systems into shared spaces to enable generalization across dimensions and resolutions. Saad et al. (2023) investigates architectural designs for enforcing exact boundary conditions, and Yang et al. (2023); Yang & Osher (2024) employs in-context learning to infer operators dynamically using example pairs as prompts. Furthermore, transformer-based multiphysics solvers (Hao et al., 2024; Wang et al., 2025b; McCabe et al., 2024; Subramanian et al., 2023; Sun et al., 2025; Herde et al., 2024; Zhou et al., 2025) conduct pretraining on large-scale datasets containing numerous PDEs and conditions. Some of these works rely on fine-tuning to generalize well to new physics. We approach the problem from a numerical PDE perspective by learning models that generalize to new parameters and boundary conditions without any instance-specific fine-tuning. The landscape of scientific machine learning encompasses a diverse array of applications that extend far beyond forward modeling. Significant research has been dedicated to tasks such as inferring dense fluid fields from sparse observations (Li et al., 2025c; Zhong et al., 2023; Mo & Magri, 2024; Yadav et al., 2025; Jing et al., 2024; He et al., 2022) and enhancing the performance of classical numerical schemes with neural networks (List et al., 2022; Sun et al., 2023; Greenfeld et al., 2019; Sappl et al., 2019). Furthermore, neural networks play a crucial role in engineering workflows through aerodynamic shape optimization (Elrefaie et al., 2025, 2024) and inverse design methodologies (Behrmann et al., 2019; Teng & Choromanska, 2019; Kruse et al., 2021). While these contributions fall broadly within the same context of scientific machine learning as our work, they address objectives distinct from the primary focus of this study. Figure 2: (a) Lack of physical inputs renders the problem ill-posed, causing the model to converge toward an averaged solution. (b) We propose a Generalized Neural Operator, which incorporates a parameter-gated mixture of kernels and a robust optimization training objective to improve generalization. (c) To enhance boundary generalization, we introduce a generalized boundary transfer operator that maps arbitrary boundary conditions into a latent Dirichlet boundary state. This unified modality significantly aids model generalization. 3 Problem Statement We focus on generalizing within specific PDE families, rather than disparate physical systems, to ensure efficiency compared to conventional numerical solvers. We consider the Parametric Boundary Value Problem. Let Ω⊆ℝd ^d be a bounded domain with boundary ∂Ω∂ . We consider a family of first-order in time partial differential equations with parameters ∈Θ⊆ℝp θ∈ ^p: ∂t+ℒ[]=0(,t)∈Ω×(0,T]ℬ[]=0(,0)=0()∈Ω cases ∂ u∂ t+L_ θ[ u]=0&( x,t)∈ ×(0,T]\\ B[ u]=0&\\ u( x,0)= u_0( x)& x∈ cases (1) where ℒL_ θ is the parameterized differential operator, 0 u_0 is the initial condition, and (,t) u( x,t) is the solution of interest. ℬB is the boundary operator. This operator specifies the type of the boundary constraint enforced and the associated boundary data, such as the specific Dirichlet values or the magnitude of the Neumann flux. We adopt the notation where square brackets [⋅][·] denote an operator on a function, while parentheses (⋅)(·) denote the evaluation of a function at specific coordinates. Let Y denote the topological vector space representing the solution trajectory. Let initX_init denote the topological vector space representing the initial conditions. We define the solution operator S with respect to a fixed configuration of the PDE structure. Specifically, for a fixed parameter θ and boundary ℬB, the operator ,ℬ:init→S_ θ,B:X_init maps the initial condition to the solution trajectory: =,ℬ(0) u=S_ θ,B( u_0) (2) where u satisfies the system in Equation 1. Assume the structural form of the differential operator ℒL is fixed. We consider variations in the PDE parameters ∈Θ θ∈ , boundary operator ℬ∈B , where B is the set of admissible boundary operators. Let =,ℬ∣∈Θ,ℬ∈ S=\S_ θ,B θ∈ ,B \ denote the set of all solution operators arising from admissible combinations of these varying components. Our goal is to learn a Generalized Neural Operator ℳϕM_φ, parameterized by ϕφ, that approximates the family of operators in S. 4 Method We first formalize the theoretical conditions required for operator well-posedness, demonstrating that explicit input of PDE parameters and boundary conditions is beneficial. Building on this mathematical foundation, we introduce a parameter-gated mixture of kernels, a generalized boundary transfer operator, and a robust optimization training objective. 4.1 Theoretical Formalization Proposition 4.1. Let =,ℬ∣∈Θ,ℬ∈ S=\S_ θ,B θ∈ ,B \ be the family of solution operators defined in Equation 1. Then, a single-valued operator ℳϕ:init→M_φ:X_init defined solely on the initial condition space cannot universally represent the family S. For the Generalized Neural Operator to be well-defined as a function approximating S, its domain must be augmented to include the parameter spaces Θ and boundary operator space B. Proof. See Appendix O ∎ We present the well-posedness of the neural operator in Proposition 4.1. It reveals a fundamental mathematical limitation in purely implicit foundational models. Since identical initial conditions can lead to entirely different trajectories under distinct physical configurations, an operator that maps solely from the initial condition space to the solution space lacks sufficient constraints to isolate a single, physically valid outcome. Remark: Ill-Posedness of Implicit Parameter Inference While recent works (Yin et al., 2022; Koupaï et al., 2024; Nzoyem et al., 2025; Koupaï et al., 2025) have demonstrated competitive empirical performance when implicitly inferring PDE parameters from historical state trajectories, this approach fundamentally reframes the forward simulation as a hidden inverse problem. Mathematically, deducing governing parameters solely from observed states is inherently ill-posed. Consequently, reliance on implicit inference introduces an irreducible epistemic uncertainty. Remark: Causal Impossibility of Implicit Boundary Inference While static boundaries can be inferred from rich historical context, dynamic or time-dependent boundary conditions present a hard causal barrier. Consider a time-varying Dirichlet boundary condition. It is fundamentally impossible for a neural operator to causally deduce the unobserved, future state of this external influence from the system’s past sequence. In such scenarios, implicit inference is strictly impossible. We formulate Generalized Neural Operator ℳϕM_φ over an augmented domain that incorporates the PDE configuration. We define ℳϕM_φ as a mapping from the Cartesian product of the initial condition space, PDE parameter space, and boundary operator space to the solution trajectory space. Mathematically, this is expressed as: ℳϕ:init×Θ×→ _φ:X_init× ×B (3) Under this formulation, the neural operator takes the tuple (0,,ℬ)( u_0, θ,B) as input and predicts the corresponding solution trajectory u that approximates the true solution defined by the operator ,ℬ(0)S_ θ,B( u_0). This augmentation ensures that ℳϕM_φ is well-defined, capable of distinguishing between varying physical dynamics and boundary constraints. The PDE parameters are embedded directly from their numerical values, while the boundary conditions are encoded using a combination of their type and the specific boundary data. Our approach readily generalizes to higher-order temporal PDEs by augmenting the input with additional initial snapshots. For example, in Newtonian dynamics governed by second-order time derivatives, the input would consist of both the initial position and the initial velocity. 4.2 Parameter-Gated Mixture of Kernels Building upon the neural operator framework (Kovachki et al., 2023), our architecture consists of three components: (1) a local lifting transformation, (2) a sequence of iterative kernel integration layers, and (3) a local projection to the output space. A central innovation in our approach is a parameter-gated mixture of kernels, where the integral kernels are dynamically selected based on the PDE parameters. ℳϕ=(∘ΦL∘ΦL−1∘⋯∘Φ1∘ℰ), _φ= (Q _L _L-1 ·s _1 ), (4) where L denotes the depth of the network. The lifting operator ℰE maps the physical inputs to a higher-dimensional latent feature (0) v^(0). The operator, Φl+1 _l+1, transforms the hidden representation (l) v^(l) to (l+1) v^(l+1) via the sum of a local linear operator and a non-local integral kernel. The final representation (L) v^(L) is mapped to the target solution ∈ u via the projection operator Q. To generalize across the parameter space Θ , the neural operator must adapt its integration geometry based on θ. In a standard neural operator, the integral kernel acts as a static mechanism, applying the same spatial aggregation rules across all problem instances. We overcome this limitation by replacing the static kernel with a parameter-gated mixture of kernels, allowing the network to dynamically assemble a custom integration rule for each specific PDE instance. Let W be a learnable weight matrix performing a linear transformation, k κ_k be K distinct base kernel functions that define the non-local integral operator, gkg_k be a hard gating function, and σ be an activation function. (l) h^(l) is the latent Dirichlet boundary condition created by the generalized boundary transfer operator as introduced in Section 4.3. We use the angle brackets ⟨⋅,⋅,⋅⟩ ·,·,· to denote concatenation. To update the state at any specific target point x, the integral simultaneously gathers information from surrounding spatial points (the physical domain) and from the governing conditions (boundaries and parameters). Physically, k(,) κ_k( x, y) calculates the influence of the features at source point y on the target point x. We project the PDE parameters into a higher-dimensional feature space, denoted by ~ θ, via a learnable transformation. The update rule for the hidden state (l)() v^(l)( x) at layer l is given by: (l+1)()=σ(⟨~,(l),(l)()⟩+∫Ω∪ctx(∑k=1Kgk()k(,))()μ()+()),∀∈Ω v^(l+1)( x)=σ ( W θ, h^(l), v^(l)( x) + _ _ctx ( _k=1^Kg_k( θ) κ_k( x, y) ) ξ( y)\,dμ( y)+ b( x) ), ∀ x∈ (5) The measure μ()μ( y) is defined as the standard Lebesgue measure for ∈Ω y∈ and the counting measure for ∈ctx y _ctx. The augmented input function () ξ( y) represents the latent state (l)() v^(l)( y) for ∈Ω y∈ , and the conditioning information (parameter θ or boundary h) for ∈ctx y _ctx. In practice, we adopt self-attention (Vaswani et al., 2023) kernels as this is the best approach reported in Wang et al. (2025a). We employ the hard-gating strategy to select the most relevant kernel for a given parameter configuration. Let sk()s_k( θ) be a learnable, lightweight score function that measures the affinity between the physical parameter θ and the kernel κk _k. We compute the selection probabilities g~k g_k and the discrete gates gkg_k as follows: g~k()=exp(sk())∑j=1Kexp(sj()),gk()=1,if k=argmaxjg~j()0,otherwise g_k( θ)= (s_k( θ)) _j=1^K (s_j( θ)),\ \ g_k( θ)= cases1,&if k= _j g_j( θ)\\ 0,&otherwise cases (6) Motivation: Our parameter-gated mixture of kernels is motivated by both experimental observations and physical intuition. We initially tested strong single-kernel baselines that explicitly encode PDE parameters, specifically CAPE+FNO and CAPE+Attn from Takamoto et al. (2023), as well as Unisolver (Zhou et al., 2025). We observed that performance varies significantly depending on the PDE parameters, suggesting that single-kernel models often excel in specific domains while failing in others. This necessitates a mixture of kernels to better adapt to the diverse physical conditions created by varying PDE parameters. We refer readers to the Appendix F for full experimental details. Physically, variations in PDE parameters often drive the system across distinct behavioral regimes rather than merely scaling the output magnitude. A classic example is the Reynolds number in fluid dynamics. Shifting this parameter transitions the system from laminar flow to turbulence. A single kernel forces a compromise, attempting to learn an average operator that is often too diffusive for turbulence yet too reactive for laminar states. Our parameter-gated approach mirrors this physical reality by treating different parameter spaces as distinct regimes. Further, as emphasized in Section 1, efficiency is paramount for the practical deployment of foundational PDE solvers. Our mixture of kernels incurs minimal computational overhead during inference, allowing the model to achieve superior accuracy while maintaining a significant speed advantage over traditional numerical solvers. Discussion with Related Work: Mixture of kernel-based neural operators have been explored in previous works. Deighan et al. (2025) use all kernels where gating depends on the spatial coordinates. Wang et al. (2025b) use more than one kernel and use latent initial conditions as gating. By contrast, we only select one kernel to ensure efficiency and use PDE parameters for explicit domain partition. These innovations, though simple, are crucial for model generalization and practical utility. 4.3 Generalized Boundary Transfer Operator Mathematical Motivation: The Dirichlet-to-Neumann (DtN) and Neumann-to-Dirichlet (NtD) operators (Arendt et al., 2014; Sauter, 2013; Bossavit, 1991; Quarteroni & Valli, 1999; Oberai et al., 1998; Knockaert & De Zutter, 2008) act as inverse transfer functions for the domain. Let ΩE _E be a bounded domain with a smooth boundary ∂ΩE∂ _E, governed by a uniformly elliptic linear operator ℒEL_E. The Dirichlet-to-Neumann (DtN) Operator, Λ , determines the necessary Neumann flux to sustain a given Dirichlet boundary state. Formally, Λ():=∂E|∂ΩE ( ):= _ n u_E|_∂ _E, where is the Dirichlet boundary value. The Neumann-to-Dirichlet (NtD) Operator, η, operating in reverse, yields the Dirichlet boundary values that result from an applied Neumann flux. η():=E|∂ΩEη( ψ):= u_E|_∂ _E, where ψ is a prescribed Neumann boundary flux. Proposed Method: While foundational theory and the majority of existing literature on these operators focus primarily on time-independent elliptic PDEs with standard Neumann or Dirichlet conditions, we propose a more versatile approach. We propose to learn a generalized boundary transfer operator designed to map arbitrary boundary conditions to a shared latent Dirichlet representation. By unifying diverse boundary inputs into a single modality, this method allows the neural operator kernel to specialize in one type of boundary condition, thereby reducing complexity and enhancing model generalization. For time-dependent PDEs, strictly mapping a boundary condition to a Dirichlet output without the initial condition is an ill-posed problem. Thus, our transfer operator also incorporates the initial condition for capturing the system’s complete boundary dynamics. Let γ:→∂Ωγ:Y _∂ denote a trace operator, which restricts a function defined on the domain Ω to a latent value on the boundary ∂Ω∂ . We define this latent value as the latent Dirichlet value. :=γ():=γ(,ℬ(0)), h:=γ( u):=γ (S_ θ,B( u_0) ), (7) where u is the solution trajectory of the PDE and h is the latent Dirichlet value. The trace operator γ is a purely theoretical construct utilized solely to formally define the latent Dirichlet value. Because defining this value requires the ground truth trajectory, which is inherently unavailable during inference, we approximate it in practice using a generalized boundary transfer operator, T_ λ, parametrized by λ. We design T_ λ to function similarly to the classical DtN and NtD operators that map boundary data from one type to another. This operator maps the boundary configuration encapsulated by ℬB and the interior dynamics to the equivalent latent Dirichlet data. We use the layer-wise latent state (ℓ) v^( ) as the input to the transfer operator to resolve the state-dependency of boundary interactions. In non-linear and time-dependent PDEs, the influence of a boundary condition is rarely static and is coupled with the instantaneous state of the field near the boundary. This allows the operator to dynamically adjust the boundary forcing based on the evolving physics of the interior domain. We argue that (ℓ) v^( ) serves as a more informative input than the initial condition 0 u_0 to the transfer operator. (l)≈(ℬ,(l)). h^(l) _ λ(B, v^(l)). (8) This learned boundary data subsequently serves as the input for Equation 5 to solve the PDE. In our implementation, T_ λ is parameterized as a light-weight, single-head self-attention, whose input consists of boundary type and associated boundary data. 4.4 Robust Optimization Objective In Appendix F, we observe that existing models exhibit large performance disparities across PDE parameters. Beyond physical domain partitioning, we attribute this issue to standard empirical risk minimization under MSE loss. A model can achieve low average loss by perfecting easy, smooth cases, while failing catastrophically on difficult, high-frequency cases. This is especially pronounced in CAPE (Takamoto et al., 2023) variants. To build a generalized neural solver, we require uniform accuracy across PDE parameters to ensure reliability. To tackle this, we propose a Group Distributionally Robust Optimization (Kuhn et al., 2025; Gorissen et al., 2015; Rahimian & Mehrotra, 2022; Blanchet et al., 2024) training objective. ℒDRO(ϕ)=max∈′(0,,ℬ)∼[ℓ(ℳϕ(0,,ℬ),)],L_DRO(φ)= _ θ∈ E_( u_0, u,B) _ θ [ (M_φ( u_0, θ,B), u) ], (9) where ′ denotes the PDE parameter set of a training batch, D_ θ denotes the subset of training data corresponding to the PDE parameter θ, and ℓ represents the MSE. Since the hard maximization in Equation 9 is non-differentiable, we approximate the objective using a differentiable Log-Sum-Exp (Zhang et al., 2023) relaxation. ℒDRO(ϕ)≈1τlog(1|′|∑∈′e(τ(0,,ℬ)∼[ℓ(ℳϕ(0,,ℬ),)])),L_DRO(φ)≈ 1τ ( 1| | _ θ∈ e ( _( u_0, u,B) _ θ [ (M_φ( u_0, θ,B), u) ] ) ), (10) where τ is the temperature parameter. When the cardinality of the parameter set |′|| | is prohibitively large, or the space is continuous, we employ a partitioning strategy. We discretize ′ into coarser bins, treating each bin as a distinct group for the DRO calculation. Our training curriculum proceeds by iterating through each boundary condition type. In each step, we minimize the DRO objective defined in Equation 10. Detailed procedural steps are provided in Algorithm 1. We found that initiating the training directly with the DRO objective is overly restrictive. Thus, we adopt a two-stage curriculum. First, we train the network using standard MSE to establish a baseline approximation of the physics. After P epochs, we switch to the Group DRO loss to enforce uniform accuracy, specifically targeting and refining performance in the most challenging regimes. 5 Experiment First, we individually validate the model’s generalization ability across PDE parameters and boundary conditions by fixing the other to a specific setting. This ensures that we evaluate the model’s robustness with respect to only one changing factor at a time. Second, we conduct extensive testing specifically covering simultaneous PDE parameters and boundary conditions variations. We demonstrate that our proposed method achieves superior performance while maintaining computational efficiency against numerical solvers. To evaluate generalization across PDE parameters, we utilize four distinct partial differential equations: the Heat, Advection, and Burgers equations, as well as the incompressible Navier-Stokes equations. For the experiments concerning boundary condition generalization and joint pre-training, we focus specifically on the Heat and Advection equations. Detailed descriptions of these datasets and justifications for our benchmark selection are provided in Appendix C and Appendix D. All models predict the next-frame solutions. We evaluate trajectories using a 10-step rollout (extended to 50 steps for the Incompressible Navier-Stokes). We utilize the normalized MSE as the evaluation metric: nMSE=‖^−‖2var(),nMSE= \| u- u\|^2var( u), where u and u are the ground truth and predicted fields. Method Heat Advection Burgers Inc. NS ViT-2 3.15×10−23.15× 10^-2 8.95×10−18.95× 10^-1 9.43×10−29.43× 10^-2 1.10×10−21.10× 10^-2 ViT-5 1.49×10−21.49× 10^-2 2.90×10−12.90× 10^-1 1.25×10−21.25× 10^-2 1.50×10−21.50× 10^-2 ViT-10 1.08×10−21.08× 10^-2 1.40×10−11.40× 10^-1 8.36×10−28.36× 10^-2 6.37×10−26.37× 10^-2 Concat 1.60×10−21.60× 10^-2 9.48×10−19.48× 10^-1 4.19×10−24.19× 10^-2 7.68×10−27.68× 10^-2 CAPE+Unet 3.05×10−13.05× 10^-1 1.61×10−11.61× 10^-1 1.30×10−21.30× 10^-2 1.03×10−11.03× 10^-1 CAPE+FNO 1.28×10−21.28× 10^-2 1.69×10−11.69× 10^-1 7.53×10−37.53× 10^-3 6.34×10−26.34× 10^-2 CAPE+Attn 1.52×10−21.52× 10^-2 1.54×10−11.54× 10^-1 1.39×10−21.39× 10^-2 4.60×10−24.60× 10^-2 Unisolver 6.89×10−36.89× 10^-3 4.53×1004.53× 10^0 9.88×10−39.88× 10^-3 1.68×10−21.68× 10^-2 MoE-POT 6.84×10−16.84× 10^-1 1.49×10−11.49× 10^-1 5.29×10−25.29× 10^-2 2.10×10−22.10× 10^-2 Ours 4.20×10−34.20× 10^-3 6.03×10−26.03× 10^-2 2.82×10−32.82× 10^-3 5.23×10−55.23× 10^-5 Table 1: Generalization across PDE parameters. We evaluate the normalized MSE on the Heat, Advection, Burgers, and Incompressible Navier-Stokes equations. For each equation, we vary the PDE parameters across the samples in the dataset to test generalization. 5.1 Generalization across PDE Parameters We include ViT-k (Dosovitskiy et al., 2021), which aligns with recent foundational models by relying on initial frames to implicitly infer PDE parameters. k denotes the number of initial frames. We include Concat, which follows Subramanian et al. (2023) and concatenates PDE parameters with initial conditions. We adapt the CAPE mechanism (Takamoto et al., 2023) to create CAPE+Unet, CAPE+FNO, and CAPE+Attn. Finally, we compare against Unisolver (Zhou et al., 2025) and MoE-POT (Wang et al., 2025b). We refer readers to the Appendix E for implementation details. We present the results in Table 1. Our proposed model achieves superior performance, largely due to the explicit disentanglement in our architecture. By using PDE parameters to govern kernel selection, we decouple control from prediction. The most significant gains are observed in the incompressible Navier-Stokes equation. We hypothesize that the modest parameter variation in this dataset allows our kernels to act as specialized experts and finely resolve the physical dynamics. Method Heat Advection ViT-2 2.33×10−12.33× 10^-1 1.56×10−11.56× 10^-1 ViT-5 1.57×10−11.57× 10^-1 1.48×10−11.48× 10^-1 ViT-10 9.18×10−29.18× 10^-2 1.07×10−11.07× 10^-1 Unisolver 1.15×10−11.15× 10^-1 7.23×10−27.23× 10^-2 MoE-POT 1.59×10−11.59× 10^-1 4.14×10−14.14× 10^-1 Ours 7.80×10−27.80× 10^-2 5.59×10−25.59× 10^-2 Table 2: Generalization across boundary conditions, including Dirichlet, Neumann, and periodic. We report the normalized MSE averaging over different boundary conditions. For Dirichlet and Neumann boundaries, we randomly sample boundary values or fluxes. Method Heat Advection ViT-2 2.60×1012.60× 10^1 3.33×10−13.33× 10^-1 ViT-5 2.44×1002.44× 10^0 2.51×10−12.51× 10^-1 ViT-10 2.06×1002.06× 10^0 2.28×10−12.28× 10^-1 Unisolver 8.71×10−18.71× 10^-1 5.02×10−15.02× 10^-1 MoE-POT 1.85×1001.85× 10^0 3.80×10−13.80× 10^-1 Ours 3.62×10−13.62× 10^-1 7.97×10−27.97× 10^-2 Table 3: Generalization across PDE parameters and boundary conditions. We evaluate the normalized MSE on the Heat and Advection equations. 5.2 Generalization across Boundary Conditions Existing boundary enforcement strategies often lack generalization, being limited to specific boundary types (Saad et al., 2023) or elliptic PDEs (Wang et al., 2024). For comparison, we utilize two standard baselines, ViT-k (Dosovitskiy et al., 2021) and MoE-POT (Wang et al., 2025b), alongside the boundary-aware Unisolver (Zhou et al., 2025). Table 2 summarizes the results. We observe that increasing the number of initial frames enhances the performance of the ViT variants. We attribute this to the temporal smoothness of the boundary data, which allows the model to implicitly extrapolate future boundary conditions from the extended history. Nevertheless, explicit boundary encoding remains superior, as demonstrated by our proposed model achieving the highest accuracy. 5.3 Unified Generalization: PDE Parameters and Boundary Conditions (a) Heat (b) Advection Figure 3: Runtime comparison between our GNO and numerical solvers. The ground truth, operating at a 128×128128× 128 resolution, is denoted as Solver-128. For our accuracy-matched baselines, we utilize Solver-70 and Solver-100, which operate at 70×7070× 70 and 100×100100× 100 resolutions, respectively. Table 3 presents main results, demonstrating that our proposed model outperforms baselines. This performance not only highlights the critical role of explicit encoding of PDE parameters and boundary conditions, but also validates the superiority of our design choices. The PDE parameters in the Heat equation generate drastically different physical regimes. Combined with varying boundary conditions, this creates a highly complex learning landscape. While several baselines exhibit large nMSE values, suggesting a failure to learn, our method successfully adapts to these varying physical conditions. Following McGreivy & Hakim (2024); Wang et al. (2025a), we compare the runtime of our neural model against numerical solvers calibrated to lower resolutions that yield equivalent error. Specifically, we progressively reduce the spatial resolution of the numerical solvers until their accuracy matches that of the neural solver. This approach serves as a fair-comparison methodology to rigorously evaluate the trade-off between accuracy and computational efficiency when comparing numerical and neural solvers. As shown in Figure 3, we observe an approximate 2×2× speedup for the Heat equation and a 4×4× speedup for the Advection equation. While this speedup is more modest than the orders-of-magnitude improvements reported in some prior literature, under such strict evaluation protocols, many existing neural solvers actually perform slower than numerical baselines. As noted in McGreivy & Hakim (2024), even the most competitive models achieve only a marginal 7%7\% speedup on datasets with fixed PDE parameters and boundary conditions. Consequently, our model demonstrates a highly favorable accuracy-efficiency trade-off. Performance Stability We report the standard deviation of the error on the Advection equation in Figure 5 in Appendix H. Our model exhibits the lowest standard deviation, demonstrating that our training curriculum and robust optimization loss ensure reliable performance suitable for real-world applications. Interestingly, ViT-2 also shows low standard deviation. This is likely because the limited input context forces the model to predict averaged dynamics. 5.4 Additional Experiments Ablation Study and Model Analysis: Appendix J.1 Additional Experiment on 3D dataset: Appendix K Additional Experiment on Out-of-Distribution Generalization: Appendix L Additional Comparison with Physics Informed Neural Operator (PINO): Appendix M Additional Experiment on Complex PDE: Appendix N 6 Conclusion We address the critical limitations of existing foundational models by proposing a theoretically grounded Generalized Neural Operator. BWe achieve superior generalization while maintaining the computational efficiency of numerical solvers. References Alesiani et al. (2022) Alesiani, F., Takamoto, M., and Niepert, M. Hyperfno: Improving the generalization behavior of fourier neural operators. In Workshop on Machine Learning and the Physical Sciences (ML4PS) at the 36th Conference on Neural Information Processing Systems (NeurIPS), 2022. URL https://ml4physicalsciences.github.io/2022/files/NeurIPS_ML4PS_2022_89.pdf. Alkin et al. (2024) Alkin, B., Fürst, A., Schmid, S., Gruber, L., Holzleitner, M., and Brandstetter, J. Universal physics transformers. arXiv preprint arXiv:2402.12365, 2024. Arendt et al. (2014) Arendt, W., ter Elst, A. F. M., Kennedy, J. B., and Sauter, M. The dirichlet-to-neumann operator via hidden compactness. Journal of Functional Analysis, 266:1757–1786, 2014. Baldan et al. (2025) Baldan, G., Liu, Q., Guardone, A., and Thuerey, N. Flow matching meets pdes: A unified framework for physics-constrained generation, 2025. URL https://arxiv.org/abs/2506.08604. Behrmann et al. (2019) Behrmann, J., Grathwohl, W., Chen, R. T., Duvenaud, D., and Jacobsen, J.-H. Invertible residual networks. In International Conference on Machine Learning, p. 573–582. PMLR, 2019. Blanchet et al. (2024) Blanchet, J., Li, J., Lin, S., and Zhang, X. Distributionally robust optimization and robust statistics, 2024. URL https://arxiv.org/abs/2401.14655. Bossavit (1991) Bossavit, A. The ’scalar’ poincaré–steklov operator and the ’vector’ one: algebraic structures which underlie their duality. In Glowinski, R. (ed.), Fourth International Symposium on Domain Decomposition Methods for Partial Differential Equations, p. 19–26, Philadelphia, PA, 1991. SIAM. ISBN 978-0-89871-278-0. Boudec et al. (2025) Boudec, L. L., de Bezenac, E., Serrano, L., Regueiro-Espino, R. D., Yin, Y., and Gallinari, P. Learning a neural solver for parametric PDEs to enhance physics-informed methods. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=jqVj8vCQsT. Brandstetter et al. (2022) Brandstetter, J., Worrall, D., and Welling, M. Message passing neural pde solvers. arXiv preprint arXiv:2202.03376, 2022. Chen et al. (2025) Chen, T., Zhou, H., Li, Y., Wang, H., Gao, C., Shi, R., Zhang, S., and Li, J. Omniarch: Building foundation model for scientific computing. In Forty-second International Conference on Machine Learning, 2025. URL https://openreview.net/forum?id=UlprLwWYKP. Deighan et al. (2025) Deighan, D., Actor, J. A., and Patel, R. G. Mixture of neural operator experts for learning boundary conditions and model selection, 2025. URL https://arxiv.org/abs/2502.04562. Dosovitskiy et al. (2021) Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit, J., and Houlsby, N. An image is worth 16x16 words: Transformers for image recognition at scale, 2021. URL https://arxiv.org/abs/2010.11929. Elrefaie et al. (2024) Elrefaie, M., Morar, F., Dai, A., and Ahmed, F. Drivaernet++: A large-scale multimodal car dataset with computational fluid dynamics simulations and deep learning benchmarks. In Globerson, A., Mackey, L., Belgrave, D., Fan, A., Paquet, U., Tomczak, J., and Zhang, C. (eds.), Advances in Neural Information Processing Systems, volume 37, p. 499–536. Curran Associates, Inc., 2024. Elrefaie et al. (2025) Elrefaie, M., Dai, A., and Ahmed, F. Drivaernet: A parametric car dataset for data-driven aerodynamic design and prediction. Journal of Mechanical Design, 147(4), 2025. Gorissen et al. (2015) Gorissen, B. L., Yanıkoglu, I., and den Hertog, D. A practical guide to robust optimization. Omega, 53:124–137, June 2015. ISSN 0305-0483. doi: 10.1016/j.omega.2014.12.006. URL http://dx.doi.org/10.1016/j.omega.2014.12.006. Greenfeld et al. (2019) Greenfeld, D., Galun, M., Basri, R., Yavneh, I., and Kimmel, R. Learning to optimize multigrid PDE solvers. In International Conference on Machine Learning, p. 2415–2423. PMLR, 2019. Hao et al. (2024) Hao, Z., Su, C., Liu, S., Berner, J., Ying, C., Su, H., Anandkumar, A., Song, J., and Zhu, J. Dpot: Auto-regressive denoising operator transformer for large-scale pde pre-training. arXiv preprint arXiv:2403.03542, 2024. He et al. (2022) He, X., Wang, Y., and Li, J. Flow completion network: Inferring the fluid dynamics from incomplete flow information using graph neural networks. Physics of Fluids, 34(8), August 2022. ISSN 1089-7666. doi: 10.1063/5.0097688. URL http://dx.doi.org/10.1063/5.0097688. Herde et al. (2024) Herde, M., Raonić, B., Rohner, T., Käppeli, R., Molinaro, R., de Bézenac, E., and Mishra, S. Poseidon: Efficient foundation models for pdes, 2024. Huang et al. (2024) Huang, J., Yang, G., Wang, Z., and Park, J. J. Diffusionpde: Generative pde-solving under partial observation, 2024. URL https://arxiv.org/abs/2406.17763. Jing et al. (2024) Jing, G., Wang, H., Li, X., Wang, G., and Yang, Y. An airflow velocity field reconstruction method with sparse or incomplete data using physics-informed neural network. Journal of Building Engineering, 88:109231, July 2024. Published: 1 July 2024. Knockaert & De Zutter (2008) Knockaert, L. F. and De Zutter, D. On the complex symmetry of the poincaré-steklov operator. Progress in Electromagnetics Research B, 7:145–157, 2008. doi: 10.2528/PIERB08022102. Koupaï et al. (2025) Koupaï, A. K., Boudec, L. L., Serrano, L., and Gallinari, P. ENMA: Tokenwise autoregression for continuous neural PDE operators. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. URL https://openreview.net/forum?id=3CYXSMFv55. Koupaï et al. (2024) Koupaï, A. K., Benet, J. M., Yin, Y., Vittaut, J.-N., and Gallinari, P. Geps: Boosting generalization in parametric pde neural solvers through adaptive conditioning, 2024. URL https://arxiv.org/abs/2410.23889. Kovachki et al. (2023) Kovachki, N., Li, Z., Liu, B., Azizzadenesheli, K., Bhattacharya, K., Stuart, A., and Anandkumar, A. Neural operator: Learning maps between function spaces with applications to pdes. JMLR, 24(1), 2023. Kruse et al. (2021) Kruse, J., Ardizzone, L., Rother, C., and Köthe, U. Benchmarking invertible architectures on inverse problems. arXiv preprint, 2021. Kuhn et al. (2025) Kuhn, D., Shafiee, S., and Wiesemann, W. Distributionally robust optimization, 2025. URL https://arxiv.org/abs/2411.02549. Li et al. (2025a) Li, E., Wang, Z., Huang, J., and Park, J. J. VideoPDE: Unified generative PDE solving via video inpainting diffusion models, 2025a. URL https://openreview.net/forum?id=CtBKITrZgp. Li et al. (2025b) Li, R., Huang, Z., Wang, H., Wan, G., Sun, Y., and Wang, W. Self-guided diffusion model for accelerating computational fluid dynamics, 2025b. URL https://arxiv.org/abs/2504.04375. Li et al. (2025c) Li, R., Wan, G., Huang, Z., Liu, Z., Wang, H., Luo, X., Wang, W., and Sun, Y. Flow field reconstruction with sensor placement policy learning. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025c. URL https://openreview.net/forum?id=1esFEjMUBS. Li et al. (2021) Li, Z., Kovachki, N. B., Azizzadenesheli, K., liu, B., Bhattacharya, K., Stuart, A., and Anandkumar, A. Fourier neural operator for parametric partial differential equations. In International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=c8P9NQVtmnO. Li et al. (2023a) Li, Z., Kovachki, N. B., Choy, C., Li, B., Kossaifi, J., Otta, S. P., Nabian, M. A., Stadler, M., Hundt, C., Azizzadenesheli, K., and Anandkumar, A. Geometry-informed neural operator for large-scale 3d pdes, 2023a. URL https://arxiv.org/abs/2309.00583. Li et al. (2023b) Li, Z., Zheng, H., Kovachki, N., Jin, D., Chen, H., Liu, B., Azizzadenesheli, K., and Anandkumar, A. Physics-informed neural operator for learning partial differential equations, 2023b. URL https://arxiv.org/abs/2111.03794. List et al. (2022) List, B., Chen, L.-W., and Thuerey, N. Learned turbulence modelling with differentiable fluid solvers: physics-based loss functions and optimisation horizons. Journal of Fluid Mechanics, 949:A25, 2022. Luo et al. (2025) Luo, H., Wu, H., Zhou, H., Xing, L., Di, Y., Wang, J., and Long, M. Transolver++: An accurate neural solver for PDEs on million-scale geometries. In Forty-second International Conference on Machine Learning, 2025. URL https://openreview.net/forum?id=AM7iAh0krx. McCabe et al. (2024) McCabe, M., Blancard, B. R.-S., Parker, L. H., Ohana, R., Cranmer, M., Bietti, A., Eickenberg, M., Golkar, S., Krawezik, G., Lanusse, F., Pettee, M., Tesileanu, T., Cho, K., and Ho, S. Multiple physics pretraining for spatiotemporal surrogate models. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024. URL https://openreview.net/forum?id=DKSI3bULiZ. McGreivy & Hakim (2024) McGreivy, N. and Hakim, A. Weak baselines and reporting biases lead to overoptimism in machine learning for fluid-related partial differential equations. Nature Machine Intelligence, 6(10):1256–1269, September 2024. ISSN 2522-5839. doi: 10.1038/s42256-024-00897-5. URL http://dx.doi.org/10.1038/s42256-024-00897-5. Mo & Magri (2024) Mo, Y. and Magri, L. Reconstructing unsteady flows from sparse, noisy measurements with a physics-constrained convolutional neural network, 2024. URL https://arxiv.org/abs/2409.00260. Nzoyem et al. (2025) Nzoyem, R. D., Barton, D. A., and Deakin, T. Neural context flows for meta-learning of dynamical systems. In The Thirteenth International Conference on Learning Representations, 2025. URL https://openreview.net/forum?id=8vzMLo8LDN. Oberai et al. (1998) Oberai, A. A., Malhotra, M., and Pinsky, P. M. On the implementation of the dirichlet-to-neumann radiation condition for iterative solution of the helmholtz equation. Applied Numerical Mathematics, 27(4):443–464, 1998. doi: 10.1016/S0168-9274(98)00024-5. Ohana et al. (2024) Ohana, R., McCabe, M., Meyer, L., Morel, R., Agocs, F., Beneitez, M., Berger, M., Burkhart, B., Dalziel, S., Fielding, D., et al. The well: a large-scale collection of diverse physics simulations for machine learning. Advances in Neural Information Processing Systems, 37:44989–45037, 2024. Paszke et al. (2019) Paszke, A., Gross, S., Massa, F., Lerer, A., Bradbury, J., Chanan, G., Killeen, T., Lin, Z., Gimelshein, N., Antiga, L., Desmaison, A., Köpf, A., Yang, E., DeVito, Z., Raison, M., Tejani, A., Chilamkurthy, S., Steiner, B., Fang, L., Bai, J., and Chintala, S. Pytorch: An imperative style, high-performance deep learning library, 2019. URL https://arxiv.org/abs/1912.01703. Perez et al. (2017) Perez, E., Strub, F., de Vries, H., Dumoulin, V., and Courville, A. Film: Visual reasoning with a general conditioning layer, 2017. URL https://arxiv.org/abs/1709.07871. Pfaff et al. (2021) Pfaff, T., Fortunato, M., Sanchez-Gonzalez, A., and Battaglia, P. Learning mesh-based simulation with graph networks. In International Conference on Learning Representations, 2021. URL https://openreview.net/forum?id=roNqYL0_XP. Prantl et al. (2022) Prantl, L., Ummenhofer, B., Koltun, V., and Thuerey, N. Guaranteed conservation of momentum for learning particle-based fluid dynamics. In Conference on Neural Information Processing Systems, 2022. Quarteroni & Valli (1999) Quarteroni, A. and Valli, A. Domain Decomposition Methods for Partial Differential Equations. Oxford University Press, 05 1999. ISBN 9780198501787. doi: 10.1093/oso/9780198501787.001.0001. URL https://doi.org/10.1093/oso/9780198501787.001.0001. Rahimian & Mehrotra (2022) Rahimian, H. and Mehrotra, S. Frameworks and results in distributionally robust optimization. Open Journal of Mathematical Optimization, 3:1–85, July 2022. ISSN 2777-5860. doi: 10.5802/ojmo.15. URL http://dx.doi.org/10.5802/ojmo.15. Rahman et al. (2023) Rahman, M. A., Ross, Z. E., and Azizzadenesheli, K. U-NO: U-shaped neural operators. Transactions on Machine Learning Research, 2023. ISSN 2835-8856. URL https://openreview.net/forum?id=j3oQF9coJd. Raissi et al. (2019) Raissi, M., Perdikaris, P., and Karniadakis, G. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 378:686–707, 2019. ISSN 0021-9991. doi: https://doi.org/10.1016/j.jcp.2018.10.045. URL https://w.sciencedirect.com/science/article/pii/S0021999118307125. Ronneberger et al. (2015) Ronneberger, O., Fischer, P., and Brox, T. U-net: Convolutional networks for biomedical image segmentation, 2015. URL https://arxiv.org/abs/1505.04597. Saad et al. (2023) Saad, N., Gupta, G., Alizadeh, S., and Maddix, D. C. Guiding continuous operator learning through physics-based boundary constraints. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=gfWNItGOES6. Sanchez-Gonzalez et al. (2020) Sanchez-Gonzalez, A., Godwin, J., Pfaff, T., Ying, R., Leskovec, J., and Battaglia, P. W. Learning to simulate complex physics with graph networks. In International Conference on Machine Learning, 2020. Sappl et al. (2019) Sappl, J., Seiler, L., Harders, M., and Rauch, W. Deep learning of preconditioners for conjugate gradient solvers in urban water related problems. arXiv preprint, 2019. Sauter (2013) Sauter, M. S. Degenerate Elliptic Operators with Boundary Conditions via Form Methods. PhD thesis, The University of Auckland, 2013. URL http://hdl.handle.net/2292/21318. Shen et al. (2024) Shen, J., Marwah, T., and Talwalkar, A. UPS: Efficiently building foundation models for PDE solving via cross-modal adaptation. Transactions on Machine Learning Research, 2024. ISSN 2835-8856. URL https://openreview.net/forum?id=0r9mhjRv1E. Subramanian et al. (2023) Subramanian, S., Harrington, P., Keutzer, K., Bhimji, W., Morozov, D., Mahoney, M. W., and Gholami, A. Towards foundation models for scientific machine learning: Characterizing scaling and transfer behavior. In Thirty-seventh Conference on Neural Information Processing Systems, 2023. URL https://openreview.net/forum?id=zANxvzflMl. Sun et al. (2025) Sun, J., Liu, Y., Zhang, Z., and Schaeffer, H. Towards a foundation model for partial differential equations: Multi-operator learning and extrapolation, 2025. URL https://arxiv.org/abs/2404.12355. Sun et al. (2023) Sun, Z., Yang, Y., and Yoo, S. A neural PDE solver with temporal stencil modeling. arXiv preprint, 2023. Takamoto et al. (2023) Takamoto, M., Alesiani, F., and Niepert, M. Learning neural pde solvers with parameter-guided channel attention, 2023. URL https://arxiv.org/abs/2304.14118. Takamoto et al. (2024) Takamoto, M., Praditia, T., Leiteritz, R., MacKinlay, D., Alesiani, F., Pflüger, D., and Niepert, M. Pdebench: An extensive benchmark for scientific machine learning, 2024. URL https://arxiv.org/abs/2210.07182. Teng & Choromanska (2019) Teng, Y. and Choromanska, A. Invertible autoencoder for domain adaptation. Computation, 7(2):20, 2019. Toshev et al. (2024a) Toshev, A., Galletti, G., Fritz, F., Adami, S., and Adams, N. Lagrangebench: A lagrangian fluid mechanics benchmarking suite. Advances in Neural Information Processing Systems, 36, 2024a. Toshev et al. (2024b) Toshev, A. P., Erbesdobler, J. A., Adams, N. A., and Brandstetter, J. Neural sph: Improved neural modeling of lagrangian fluid dynamics, 2024b. URL https://arxiv.org/abs/2402.06275. Tran et al. (2023) Tran, A., Mathews, A., Xie, L., and Ong, C. S. Factorized fourier neural operators. In The Eleventh International Conference on Learning Representations, 2023. URL https://openreview.net/forum?id=tmIiMPl4IPa. Vaswani et al. (2023) Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, L., and Polosukhin, I. Attention is all you need, 2023. URL https://arxiv.org/abs/1706.03762. Wang et al. (2024) Wang, H., Jiaxin, L., Dwivedi, A., Hara, K., and Wu, T. BENO: Boundary-embedded neural operators for elliptic PDEs. In The Twelfth International Conference on Learning Representations, 2024. URL https://openreview.net/forum?id=ZZTkLDRmkg. Wang et al. (2025a) Wang, H., Li, R., Xu, F., Sun, F., Han, K., Huang, Z., Wan, G., Chang, C., Luo, X., Wang, W., and Sun, Y. Fd-bench: A modular and fair benchmark for data-driven fluid simulation, 2025a. URL https://arxiv.org/abs/2505.20349. Wang et al. (2025b) Wang, H., Xin, H., Wang, J., Yang, X., Zha, F., Dong, H., and Jiang, Y. Mixture-of-experts operator transformer for large-scale pde pre-training, 2025b. URL https://arxiv.org/abs/2510.25803. Wu et al. (2023) Wu, H., Hu, T., Luo, H., Wang, J., and Long, M. Solving high-dimensional pdes with latent spectral models. In International Conference on Machine Learning, 2023. Wu et al. (2024) Wu, H., Luo, H., Wang, H., Wang, J., and Long, M. Transolver: A fast transformer solver for pdes on general geometries. In International Conference on Machine Learning, 2024. Yadav et al. (2025) Yadav, V., Casel, M., and Ghani, A. Rf-pinns: Reactive flow physics-informed neural networks for field reconstruction of laminar and turbulent flames using sparse data. Journal of Computational Physics, 524:113698, March 2025. Published: 1 March 2025. Yang & Osher (2024) Yang, L. and Osher, S. J. Pde generalization of in-context operator networks: A study on 1d scalar nonlinear conservation laws, 2024. URL https://arxiv.org/abs/2401.07364. Yang et al. (2023) Yang, L., Liu, S., Meng, T., and Osher, S. J. In-context operator learning with data prompts for differential equation problems. Proceedings of the National Academy of Sciences, 120(39), September 2023. ISSN 1091-6490. doi: 10.1073/pnas.2310142120. URL http://dx.doi.org/10.1073/pnas.2310142120. Ye et al. (2024) Ye, Z., Huang, X., Chen, L., Liu, H., Wang, Z., and Dong, B. PDEformer: Towards a foundation model for one-dimensional partial differential equations. In ICLR 2024 Workshop on AI4DifferentialEquations In Science, 2024. URL https://openreview.net/forum?id=GLDMCwdhTK. Yin et al. (2022) Yin, Y., Ayed, I., de Bézenac, E., Baskiotis, N., and Gallinari, P. Leads: Learning dynamical systems that generalize across environments, 2022. URL https://arxiv.org/abs/2106.04546. Zhang et al. (2023) Zhang, A., Lipton, Z. C., Li, M., and Smola, A. J. Dive into Deep Learning. Cambridge University Press, 2023. https://D2L.ai. Zhong et al. (2023) Zhong, Y., Fukami, K., An, B., et al. Sparse sensor reconstruction of vortex-impinged airfoil wake with machine learning. Theor. Comput. Fluid Dyn., 37:269–287, 2023. doi: 10.1007/s00162-023-00657-y. Zhou et al. (2025) Zhou, H., Ma, Y., Wu, H., Wang, H., and Long, M. Unisolver: PDE-conditional transformers are universal PDE solvers, 2025. URL https://openreview.net/forum?id=f3xXPDCh8Q. Appendix A Broader Impact This work significantly advances the field of scientific machine learning by establishing a theoretically rigorous framework for neural PDE solvers. By demonstrating that efficient, parameter and boundary-aware architectures can outperform numerical solvers, we promote a more sustainable computational paradigm that reduces the energy consumption and environmental footprint associated with training large-scale networks. Furthermore, our emphasis on well-posedness enhances the reliability of AI-driven simulations in critical engineering applications, fostering greater trust in data-driven methods. We do not anticipate any negative social or ethical consequences resulting from this work. Appendix B Limitation and Future Work A primary limitation of this study lies in the scarcity of established benchmark datasets that incorporate diverse boundary conditions. Existing datasets in the domain predominantly focus on fixed or simplistic boundary scenarios, which restricts the comprehensive evaluation of generalized neural operators. While we have mitigated this issue by generating a diverse set of boundary variations to rigorously validate our approach, the lack of a standardized community benchmark remains a challenge. We hope that future work will address this gap by developing high-quality, unified datasets that systematically capture the complexity of varying boundary interactions in physical systems. Establishing such comprehensive resources will require a sustained, long-term community effort and cannot be easily resolved within the scope of our current work. Appendix C Datasets Heat Equation The heat equation models the diffusion of temperature in a domain Ω⊂ℝd ^d: ∂u(,t)∂t=α∇2u(,t),(,t)∈Ω×(0,T],ℬ[u]=0u(,0)=u0(),∈Ω, cases ∂ u( x,t)∂ t=α∇^2u( x,t),&( x,t)∈ ×(0,T],\\[6.0pt] B[u]=0&\\[6.0pt] u( x,0)=u_0( x),& x∈ , cases where u(,t)u( x,t) is the temperature field, ∈ℝ2 x ^2 denotes the spatial position, and t is time. The coefficient α>0α>0 is the thermal diffusivity, defined as α=kρcp,α= kρ c_p, where k is the thermal conductivity, ρ is the density, and cpc_p is the specific heat capacity. Here, the PDE parameter is the thermal diffusivity α. To evaluate generalization across PDE parameters, we examined thermal diffusivity α∈[0.01,1.0]α∈[0.01,1.0]. For the training data, we defined a linearly spaced parameter grid Atrain=αii=1501A_train=\ _i\_i=1^501 over this interval. At each αi∈Atrain _i∈ A_train, we generated 10 distinct trajectories, with initial conditions sampled randomly from a Gaussian field under strictly periodic boundary conditions. For validation and testing, we evaluated the model’s interpolation capabilities by sampling a denser grid Atest=α~jj=11001A_test=\ α_j\_j=1^1001. For each α~j∈Atest α_j∈ A_test, we generated 2 trajectories. Next, we assessed generalization across boundary conditions by fixing the thermal diffusivity and varying the constraints among Dirichlet, Neumann, and periodic types. For the Dirichlet case, we generated 100 setups with boundary values sampled uniformly from [−10,10][-10,10]. Similarly, for the Neumann condition, we created 100 setups with boundary fluxes sampled from the same range. For both types, we generated 10 trajectories per setup. Additionally, we generated 1,000 trajectories for the periodic boundary condition. The validation and test sets mirrored this structure but generated only 2 trajectories per specific boundary setup. Finally, we conducted joint pre-training to handle simultaneous variations in parameters and boundary conditions. We utilized the same diffusivity range (0.010.01 to 1.01.0) with 501 evenly spaced training values. For each diffusivity value, we created 5 distinct boundary setups for each type (Dirichlet, Neumann, and periodic), where values and fluxes were randomly sampled. We generated 10 trajectories for each unique parameter-boundary combination using Gaussian-sampled initial conditions. Advection Equation The 2D advection equation models the transport of a scalar quantity u(x,t)u(x,t) (such as temperature, density, or concentration) within a flow field (x,t)=(v1,v2)⊤v(x,t)=(v_1,v_2) over a spatial domain Ω⊂ℝ2 ^2: ∂u∂t+()⋅∇u=0,(,t)∈Ω×(0,T],ℬ[u]=0,u(,0)=u0(),∈Ω, \ aligned & ∂ u∂ t+ v( x)·∇ u=0,&&( x,t)∈ ×(0,T],\\ &B[u]=0,&&\\ &u( x,0)=u_0( x),&& x∈ , aligned . where =(x1,x2)∈ℝ2 x=(x_1,x_2) ^2 and t denotes time. The velocity () v( x) is the PDE parameter. To investigate generalization across PDE parameters, we focused on varying the velocity field () v( x). We generated the training dataset by randomly sampling 500 distinct velocity fields from a Gaussian field. For each velocity configuration, we simulated 10 distinct trajectories with initial conditions also drawn from a random Gaussian field. All simulations in this phase utilized periodic boundary conditions. For validation and testing, we expanded the scope by sampling 1,000 new velocity fields. For each of these test cases, we generated 2 trajectories to assess the model’s performance on unseen parameters. Subsequently, we evaluated generalization across boundary conditions by fixing the velocity field () v( x) and varying the boundary constraints among Dirichlet, Neumann, and periodic types. For the Dirichlet condition, we created 100 configurations with boundary values sampled uniformly from [−10,10][-10,10]. Similarly, for the Neumann condition, we established 100 setups with boundary fluxes sampled from the same range. In each of these bounded cases, we generated 10 trajectories. Additionally, we produced 1,000 trajectories for the periodic boundary condition. In all scenarios, initial conditions were sampled from a random Gaussian field. The validation and test datasets followed this structure, generating 2 trajectories for each specific boundary setup. Finally, we undertook a joint pre-training approach to capture the coupled effects of varying parameters and boundary conditions. We sampled 500 velocity fields () v( x) from a random Gaussian field for the training set. For every specific velocity field, we constructed 5 distinct boundary configurations for each type (Dirichlet, Neumann, and periodic), with random sampling applied to the Dirichlet values and Neumann fluxes. We then generated 10 trajectories for each unique combination of parameter and boundary settings. For validation and testing, we sampled 1,000 new velocity fields. Following the training protocol for boundary generation, we produced 2 trajectories per setup to evaluate the model’s ability to generalize jointly across diverse physical parameters and boundary constraints. Burgers’ Equation The 2D viscous Burgers’ equation describes the evolution of a velocity field =(u1,u2)⊤ u=(u_1,u_2) in a domain Ω⊂ℝ2 ^2: ∂t+(⋅∇)=ν∇2,(,t)∈Ω×(0,T],ℬ[]=0,(,0)=0(),∈Ω, \ aligned & ∂ u∂ t+( u·∇) u=ν∇^2 u,&&( x,t)∈ ×(0,T],\\ &B[ u]=0,&&\\ & u( x,0)= u_0( x),&& x∈ , aligned . where (,t)=(u1(,t),u2(,t))⊤ u( x,t)=(u_1( x,t),u_2( x,t)) is the velocity vector field, =(x1,x2)∈ℝ2 x=(x_1,x_2) ^2 is the spatial coordinate, and t is time. The coefficient ν>0ν>0 is the kinematic viscosity, controlling the strength of diffusive effects relative to nonlinear advection. We examined the kinematic viscosity ν across distinct training and testing regimes. For the training data, we defined a linearly spaced parameter grid Vtrain=νii=1501V_train=\ _i\_i=1^501 over the interval [5×10−4,5×10−2][5× 10^-4,5× 10^-2]. At each νi∈Vtrain _i∈ V_train, we generated 10 distinct trajectories of length T=100T=100 time steps. Initial conditions were sampled randomly from a Gaussian field, and all simulations strictly enforced periodic boundary conditions. For the validation and test datasets, we evaluated a shifted parameter space, defining a denser grid Vtest=ν~jj=11001V_test=\ ν_j\_j=1^1001 over the interval [0.01,1.0][0.01,1.0]. For each ν~j∈Vtest ν_j∈ V_test, we generated 2 trajectories of 100100 time steps using the same initial and boundary condition protocols. Incompressible Navier-Stokes Equation The 2D incompressible Navier-Stokes equations govern the motion of a viscous, incompressible fluid within a domain Ω⊂ℝ2 ^2: ∂t+(⋅∇)=−∇p+ν∇2+,(,t)∈Ω×(0,T],∇⋅=0,(,t)∈Ω×(0,T],ℬ[,p]=0,(,0)=0(),∈Ω, \ aligned & ∂ u∂ t+( u·∇) u=-∇ p+ν∇^2 u+ f,&&( x,t)∈ ×(0,T],\\ &∇· u=0,&&( x,t)∈ ×(0,T],\\ &B[ u,p]=0,&&\\ & u( x,0)= u_0( x),&& x∈ , aligned . where (,t)=(u1(,t),u2(,t))⊤ u( x,t)=(u_1( x,t),u_2( x,t)) is the velocity field, p(,t)p( x,t) is the pressure field, ν=ρuLRe>0ν= ρ uLRe>0 is the kinematic viscosity, and (,t) f( x,t) represents an external body force such as gravity. ρ is the fluid density. u is the velocity of the fluid field. L is the characteristic length. ReRe is the Reynold number. The first equation expresses the conservation of momentum, while the second enforces the incompressibility condition ∇⋅=0∇· u=0, ensuring volume preservation of the flow. We examine the Reynolds number across a range of values from 500 to 1000, inclusive. To create our training data, we select 101 evenly spaced values within this range. For each specific kinematic viscosity, we generate 10 distinct trajectories, each with a length of 100 time steps. The initial conditions for these trajectories are sampled randomly from a Gaussian field. For the validation and test datasets, we again look at kinematic viscosity ranging from 500 to 1000. However, we sample this space more densely, selecting 501 evenly spaced values. For each of these values, we generate 2 trajectories, each with a length of 100 time steps, using initial conditions sampled from a random Gaussian field. All simulations use periodic boundary conditions. Appendix D Justifications on Benchmark Dataset Selection Our benchmark datasets include a variety of PDEs. For PDE parameters, we consider wide variations. For boundary conditions, we consider both local and nonlocal boundary conditions, including Dirichlet, Neumann, and periodic, which are commonly studied boundary conditions in existing works (Wang et al., 2024; Saad et al., 2023; Wang et al., 2025a; Takamoto et al., 2024; Ohana et al., 2024). Existing benchmarks and datasets (Wang et al., 2025a; Takamoto et al., 2024; Ohana et al., 2024) generally lack diverse boundary variations. Thus, we believe that our datasets constitute a valuable contribution and represent a significant step toward building generalized solvers. We suggest that future work focus on providing more comprehensive datasets regarding boundary variations. Appendix E Model Implementation Details ViT-k We adopt the architecture design from Dosovitskiy et al. (2021), utilizing a latent size of 256 and a patch size of 16. The model comprises 8 attention blocks, each configured with 8 attention heads and an MLP ratio of 4.0. We concatenate the k initial conditions through the channel dimension. Concat The PDE parameters are spatially broadcast and concatenated with the initial condition to form the input for a ViT-based architecture (Dosovitskiy et al., 2021). We employ a patch size of 16 and a latent dimension of 256. The model consists of 8 attention blocks, each featuring 8 attention heads and an MLP ratio of 4.0. CAPE+Unet We combine the CAPE (Takamoto et al., 2023) with Unet (Ronneberger et al., 2015). The CAPE module is configured with a widening factor of 64, a kernel size of 5, and a normalized dimension of 128. Additionally, if_11cnv is enabled, and the number of parameter embedding channels is set to 3. For the U-Net architecture, we utilize 32 initial features. The CAPE module accepts a single initial condition frame along with the PDE parameter, expanding the channel dimension to generate latent initial conditions. This representation is then fed into the U-Net to predict the subsequent frame. CAPE+FNO We combine the CAPE (Takamoto et al., 2023) with FNO (Li et al., 2021). The CAPE module is configured with a widening factor of 64, a kernel size of 5, and a normalized dimension of 128. Additionally, if_11cnv is enabled, and the number of parameter embedding channels is set to 3. For FNO, we use modes 12 and a width of 20. The CAPE module accepts a single initial condition frame along with the PDE parameter, expanding the channel dimension to generate latent initial conditions. This representation is then fed into the FNO to predict the subsequent frame. CAPE+Attn We combine the CAPE (Takamoto et al., 2023) with ViT (Dosovitskiy et al., 2021). The CAPE module is configured with a widening factor of 64, a kernel size of 5, and a normalized dimension of 128. Additionally, if_11cnv is enabled, and the number of parameter embedding channels is set to 3. For ViT, we use a latent dimension of 256, a patch size of 16, and 8 attention blocks featuring 8 heads and an MLP ratio of 4.0. The CAPE module accepts a single initial condition frame along with the PDE parameter, expanding the channel dimension to generate latent initial conditions. This representation is then fed into the FNO to predict the subsequent frame. Unisolver We adopt the architecture design from Zhou et al. (2025), utilizing a latent size of 256 and a patch size of 16. The model comprises 8 attention blocks, each configured with 8 attention heads and an MLP ratio of 4.0. MoE-POT We adopt the architecture proposed by Wang et al. (2025b). The model is configured with a latent dimension of 256, a patch size of 16, and 8 attention blocks featuring 8 heads and an MLP ratio of 4.0. Additionally, each block incorporates 4 experts to choose from. We use the top 2 experts and a shared common expert. Ours Our model is configured with a latent dimension of 256, a patch size of 16, and 8 attention blocks featuring 8 heads and an MLP ratio of 4.0. Each attention block contains 4 kernels (we use 3 kernels for the incompressible Navier Stokes). The gating function is a lightweight MLP with hidden size 32. Appendix F Why Mixture of Kernel? Error Trends vs. PDE Parameters We plot the three strong baselines, CAPE+FNO, CAPE+Attn, and UniSolver, showing normalized MSE (nMSE) as a function of the PDE parameter on the Incompressible Navier–Stokes dataset. The results reveal that nMSE varies markedly across parameters. All models degrade at low Reynolds numbers, while CAPE+FNO and CAPE+Attn exhibit an approximately exponential decay in error as the Reynolds number increases, reaching extremely small errors in the high-Re regime. The variability is most pronounced for CAPE+FNO, where nMSE is roughly 0.4 at low Re but becomes nearly negligible at high Re. These patterns suggest that the single kernel employed in the CAPE framework effectively captures PDE dynamics only within certain parameter regimes and can fail substantially outside those regimes. In contrast to the CAPE variants, UniSolver exhibits a noticeably smoother nMSE curve across PDE parameters, with no large fluctuations. The trend is still roughly parabolic, however, indicating parameter-dependent variation. This supports the same conclusion as before. A single kernel can capture PDE dynamics well only within certain parameter regimes. The results are reported in Figure 4. Figure 4: Error Trends vs. PDE Parameters on Incompressible Navier–Stokes dataset for CAPE+FNO, CAPE+Attn, and UniSolver. Appendix G Additional Baselines for PDE Parameters Generalization FiLM Encoder: We apply FiLM (Perez et al., 2017) to the encoding stage of the model. Z=PatchEmbed(x)Z=PatchEmbed(x) and Z~=γ()⊙Z+β() Z=γ( θ) Z+β( θ), where γ()=Wγ+bγ( θ)=W_γ θ+b_γ and β()=Wβ+bβ( θ)=W_β θ+b_β. Here WγW_γ, bγb_γ, WβW_β, and bβb_β are learnable model parameters. θ is the PDE parameter and Z represent the latent embedding of initial condition. FiLM Attn: We apply FiLM (Perez et al., 2017) before every multi-head attention layer. Z~=γ()⊙Z+β() Z=γ( θ) Z+β( θ) and Z~=MHA(Query=Z~,Key=Z~,Value=Z~) Z=MHA\! (Query= Z,\ Key= Z,\ Value= Z ). Pos Encoder: We apply parameter-guided positional encoding to the encoding stage of the model. Z~=Z+PosEmbed() Z=Z+PosEmbed( θ). Pos Attn: We apply parameter-guided positional encoding before every multi-head attention layer. Z~=Z+PosEmbed() Z=Z+PosEmbed( θ) and Z~=MHA(Query=Z~,Key=Z~,Value=Z~) Z=MHA\! (Query= Z,\ Key= Z,\ Value= Z ) Proj Encoder: We concatenate the input with the parameter and feed the result into an MLP in the encoding stage of the model. Z~=W[Z∣expand]+b Z=W[Z θ_expand]+b. Here, W and b are learnable model parameters. Proj Attn: We concatenate the input with the parameter and feed the result into an MLP before every multi-head attention layer. Z~=W[Z∣expand]+b Z=W[Z θ_expand]+b and Z~=MHA(Query=Z~,Key=Z~,Value=Z~) Z=MHA\! (Query= Z,\ Key= Z,\ Value= Z ). Token Encoder: We concatenate a parameter token at the encoding stage, and this token is not modified throughout the multi-head attention layers. Token Attn: We concatenate a new parameter token before every multi-head attention layer. This token is only used during multi-head attention and is removed after this operation. Method Inc. NS FiLM Encoder 1.85×10−11.85× 10^-1 FiLM Attn 4.31×10−24.31× 10^-2 Pos Encoder 2.75×10−22.75× 10^-2 Pos Attn 1.22×10−11.22× 10^-1 Proj Encoder Diverge Proj Attn 1.07×10−21.07× 10^-2 Token Encoder 2.02×10−12.02× 10^-1 Token Attn 3.69×10−23.69× 10^-2 Ours 5.23×10−55.23× 10^-5 Table 4: Comparison of our proposed method against several additional baselines on conditional generation. Appendix H Additional Results on Model Stability We present the results in Figure 5. Figure 5: Standard deviation of model performance on the Advection equation in generalization across both PDE parameters and boundary conditions. Appendix I Training Curriculum We present the training curriculum in Algorithm 1. Algorithm 1 Training Curriculum with Group DRO 1:Dataset D partitioned by boundary types and parameter groups ′ ; Total epochs E; Phase 1 limit P. 2:for e←1e← 1 to E do 3: for each boundary type do 4: ′←(0,,,ℬ)∈∣boundary typeD ←\( u_0, u, θ,B) type\ 5: if e≤Pe≤ P then 6: ⊳ Phase 1: Warm-up (Standard MSE) 7: ℒϕ←(0,,,ℬ)∼′[ℓ(ℳϕ(0,,ℬ),)]L_φ _( u_0, u, θ,B) [ (M_φ( u_0, θ,B), u) ] 8: else 9: ⊳ Phase 2: Robust Training (Group DRO) 10: L←(0,,ℬ)∼′[ℓ(ℳϕ(0,,ℬ),)]∀L_ θ _( u_0, u,B) _ θ [ (M_φ( u_0, θ,B), u) ]\ ∀ θ 11: ℒϕ←1τlog(1|′|∑∈′exp(τL))L_φ← 1τ ( 1| | _ θ∈ (τ\,L_ θ ) ) 12: end if 13: Update ϕ←ϕ−η∇ϕℒϕφ←φ-η _φL_φ 14: end for 15:end for Appendix J Ablation Study and Model Analysis J.1 Full Ablation Study Table 5 presents the results of our ablation study. The top row, "Full Model," incorporates all proposed components: the parameter-gated mixture of kernels, the generalized boundary transfer operator, and the robust optimization objective. Removing any of these modules consistently hurts performance, validating their individual contributions. While the model retains PDE parameters even without the mixture of kernels, removing the generalized boundary transfer operator completely deprives the network of boundary information. This specific removal causes the most severe drop in performance, strongly supporting our argument that explicitly incorporating physical inputs is highly beneficial. Model Advection Full Model 7.97×10−27.97× 10^-2 - Mixture of Kernels 2.15×10−12.15× 10^-1 - Generalized Boundary Transfer Operator 3.36×10−13.36× 10^-1 - Robust Optimization Objective 9.22×10−29.22× 10^-2 Table 5: Ablation study on the Advection equation with simultaneous variations in PDE parameters and boundary conditions. J.2 Analysis on Number of Kernels We analyze the impact of kernel count on model performance, with results detailed in Table 6. Our findings confirm that increasing the number of kernels improves accuracy, validating the intuition that specialized kernels are necessary to handle distinct physical regimes arising from varied PDE parameters. Notably, the most significant performance gain occurs when increasing the number of kernels from 1 to 2. We hypothesize that because the parameter variations in the incompressible Navier-Stokes datasets are moderate, two kernels per block are sufficient to capture the diverse physical conditions. It is worth noting that since this mixture of kernels is present in every attention block, the increase in capacity scales with the depth of the model. # Kernels Inc. NS 1 3.69×10−23.69× 10^-2 2 5.86×10−55.86× 10^-5 3 5.23×10−55.23× 10^-5 4 5.02×10−55.02× 10^-5 5 4.56×10−54.56× 10^-5 Table 6: Comparison of model performance with various kernel numbers. J.3 Analysis on Robust Optimization Objective Hyperparameters We investigate the sensitivity of Algorithm 1 to the switching epoch P (the point at which the training objective transitions from standard MSE to robust optimization). Results are detailed in Tables 7. We find that while the model requires an initial MSE warm-up to prevent divergence, switching to the robust objective too late (e.g., epoch 90) degrades performance by limiting the time available for robust optimization. Consequently, we select P=70P=70 to balance training stability with sufficient optimization time. P Inc. NS 0 Diverge 10 5.88×10−55.88× 10^-5 30 5.87×10−55.87× 10^-5 50 6.04×10−56.04× 10^-5 70 5.23×10−55.23× 10^-5 90 6.04×10−56.04× 10^-5 Table 7: Comparison of model performance on hyperparameter P on the incompressible Navier-Stokes dataset. Appendix K Additional Experiment on 3D dataset Solving 3D PDEs with neural solvers is particularly difficult because the transition from 2D to 3D triggers a cubic explosion in data complexity. Beyond managing raw scale, the model must also capture intricate, non-local spatial interactions. To validate our model’s performance in the 3D domain, we generated a 3D advection equation dataset on a 64364^3 grid, incorporating variations in PDE parameters and boundary conditions. As reported in Table 8, purely data-driven methods, such as the ViT variants and MoE-POT, struggle significantly on this dataset. Specifically, the ViT variants require more initial condition frames to sufficiently infer the underlying physics. In contrast, our model achieves superior performance, outperforming baselines both with and without explicit physical inputs. Method Advection ViT-2 1.10×1001.10× 10^0 ViT-5 4.22×10−14.22× 10^-1 ViT-10 4.16×10−14.16× 10^-1 Unisolver 1.67×1001.67× 10^0 MoE-POT 8.48×10−18.48× 10^-1 Ours 3.37×10−13.37× 10^-1 Table 8: Performance comparison on 3D Advection equation with both variations in PDE parameters and boundary conditions. We report the normalized MSE. Appendix L Additional Experiment on Out-of-Distribution Generalization We evaluate our model’s out-of-distribution (OOD) generalization using the advection dataset, introducing variations in both PDE parameters and boundary conditions. To test parameter shifts, we first calculate the Frobenius norm of the velocity fields in the training set. We then sample testing velocity fields with norms strictly outside the training range, specifically, values either smaller than the training minimum or larger than the training maximum. For boundary conditions, the Dirichlet values and Neumann fluxes are sampled from [-10, 10] during training. In our OOD evaluation, these values are instead drawn from either the [-15, -10] or the [10, 15] intervals. This ensures that the model is tested on magnitudes entirely unseen during the training phase. The results, summarized in Table 9, demonstrate that our proposed model achieves optimal performance, highlighting its superior generalization capabilities compared to existing baselines. While the velocity fields for the original testing and validation data in Table 3 are also unseen during training (as they are randomly sampled from a Gaussian field), their Frobenius norms may still fall within the range observed during training. Method Advection ViT-2 4.48×10−14.48× 10^-1 ViT-5 2.78×10−12.78× 10^-1 ViT-10 3.45×10−13.45× 10^-1 Unisolver 5.35×10−15.35× 10^-1 MoE-POT 4.24×10−14.24× 10^-1 Ours 8.30×10−28.30× 10^-2 Table 9: Out-of-distribution comparison on the Advection equation with both variations in PDE parameters and boundary conditions. We report the normalized MSE. Appendix M Additional Comparison with Physics Informed Neural Operator (PINO) The Physics-Informed Neural Operator (PINO) (Li et al., 2023b) combines data-driven neural operators with physics-informed neural networks, leveraging both empirical data and symbolic equations via loss functions during training. However, PINO inherits a key limitation of traditional PINNs. It is tied to specific PDE parameters and boundary conditions. Because it does not explicitly receive physical parameters as inputs during inference, it struggles to generalize to new scenarios without retraining. To evaluate this, we trained PINO on the advection equation, using variations in both PDE parameters and boundary conditions purely to guide the training loss. As shown in Table 10, our proposed model consistently outperforms PINO. Method Heat Advection PINO 2.98×1002.98× 10^0 3.53×10−13.53× 10^-1 Ours 3.62×10−13.62× 10^-1 7.97×10−27.97× 10^-2 Table 10: Performance comparison between PINO and our proposed model. We report the normalized MSE on the Heat and Advection equations with both PDE parameter and boundary condition variations. Appendix N Additional Experiment on Complex PDE Current benchmark datasets, such as those by Ohana et al. (2024); Takamoto et al. (2024); Toshev et al. (2024a), typically lack simultaneous variations in both PDE parameters and boundary conditions for a single PDE type. Consequently, the primary datasets used in this study were self-generated. To further evaluate our model’s robustness, we also employ the 2D Turbulent Radiative Layer dataset from Ohana et al. (2024). This simulation features a cold, dense gas layer beneath a hot, dilute gas layer, moving at highly subsonic relative velocities. The setup utilizes periodic boundary conditions in the x-direction and zero-gradient Neumann conditions in the y-direction. The governing PDE parameter, the cooling time, is varied across the set 0.03,0.06,0.1,0.18,0.32,0.56,1.00,1.78,3.16\0.03,0.06,0.1,0.18,0.32,0.56,1.00,1.78,3.16\. We model the density, pressure, and x,yx,y velocity fields. This validates our model on a public, computationally challenging PDE. We note that the boundary conditions remain fixed while only the PDE parameters vary. We report the MSE in Table 11. Our model achieves a considerably lower MSE compared to the baselines. Notably, purely data-driven ViT models perform poorly in this configuration. We hypothesize that because this PDE involves multiple coupled fields, ViT-based architectures struggle to capture the underlying physics from concatenated data. This highlights a significant limitation of purely data-driven approaches and underscores the superiority of our framework. Method Advection ViT-2 543.35543.35 ViT-5 314.46314.46 ViT-10 281.18281.18 Unisolver 35.4335.43 MoE-POT 24.8224.82 Ours 11.9911.99 Table 11: Performance Comparison on 2D Turbulent Radiative Layer dataset. This is a public dataset containing complex PDE with variations only in PDE parameters. We report the MSE over 10 steps of rollout. Appendix O Proof of Proposition 4.1 We begin by outlining and justifying our assumptions. Assumption O.1 (Existence). For every initial condition 0∈init u_0 _init, a solution ∈ u to the problem defined in Equation 1 exists. Justification. This assumption is implicit in standard operator learning frameworks (Kovachki et al., 2023), which model the solution operator as a continuous map. The formulation of such a map inherently presumes that for every input initial condition, a realizable output exists. ∎ Assumption O.2 (Uniqueness). The solution to the problem defined in Equation 1 is locally unique. Specifically, for a fixed initial condition 0 u_0, there exists exactly one solution trajectory u. This ensures that ,ℬS_ θ,B is a single-valued mapping rather than a one-to-many relation. Justification. Uniqueness is a necessary condition for standard, deterministic neural operator architectures (Kovachki et al., 2023), which are designed to approximate single-valued functions. If the PDE admits non-unique solutions, they will fail to converge to a valid physical solution, often learning an unphysical average of the possible modes. Modeling one-to-many mappings requires probabilistic frameworks, such as diffusion-based neural operators (Huang et al., 2024; Li et al., 2025b, a; Baldan et al., 2025). ∎ Assumption O.3 (Non-Degeneracy of PDE Configuration). The family of PDE problems defined by the configuration space =Θ×C= ×B is non-degenerate. We assume that the PDE parameters and boundary conditions exert a non-trivial influence on the system dynamics. If an initial condition 0 u_0 sufficiently excites the system, then there exist at least two distinct configurations c1,c2∈c_1,c_2 whose corresponding solution trajectories are not identical: ∃c1,c2∈,c1≠c2such thatc1(0)≠c2(0). ∃ c_1,c_2 , c_1≠ c_2 that _c_1( u_0) _c_2( u_0). (11) Justification. This assumption reflects the principle of model parsimony and physical relevance. It postulates that every component of the parameter vector θ and every constraint in the boundary operator ℬB exerts a measurable influence on the system dynamics. If a specific parameter or boundary condition could be altered without affecting the solution trajectory u, that element would be physically non-descriptive and effectively irrelevant to the process. We therefore assume the problem is formulated such that no such redundant setup exists. ∎ We proceed by contradiction. Suppose the generalized neural operator ℳϕM_φ is well-defined as a function dependent only on the initial condition 0 u_0, and that it correctly represents the family S. This hypothesis implies that for any valid PDE configuration c∈c and any initial condition 0 u_0, the operator satisfies: ℳϕ(0)=c(0). _φ( u_0)=S_c( u_0). (12) Consider the fixed initial condition 0 u_0 satisfying Assumption O.3. By the assumption, there exist distinct configurations c1,c2∈c_1,c_2 such that c1(0)≠c2(0)S_c_1( u_0) _c_2( u_0). However, if we apply our hypothesized operator ℳϕM_φ to the initial condition 0 u_0, it must yield the correct solution for both configurations: ℳϕ(0) _φ( u_0) =c1(0) =S_c_1( u_0) (13) ℳϕ(0) _φ( u_0) =c2(0) =S_c_2( u_0) (14) By definition, an operator is single-valued; it maps the input 0 u_0 to a unique output ∗∈ y^* . Substituting this into the equations above, we obtain: c1(0)=∗=c2(0). _c_1( u_0)= y^*=S_c_2( u_0). (15) This implies c1(0)=c2(0)S_c_1( u_0)=S_c_2( u_0), which directly contradicts Assumption O.3. Thus, ℳϕM_φ cannot be solely a function of 0 u_0. Appendix P Hardware Specification We implement all models in PyTorch (Paszke et al., 2019). All experiments are run on servers/workstations with the following configuration: • 80 CPUs, 503G Mem, 8 x NVIDIA V100 GPUs. • 48 CPUs, 220G Mem, 8 x NVIDIA TITAN XP GPUs. • 96 CPUs, 1.0T Mem, 8 x NVIDIA A100 GPUs. • 64 CPUs, 1.0T Mem, 8 x NVIDIA RTX A6000 GPUs. • 224 CPUs, 1.5T Mem, 8 x NVIDIA L40S GPUs. • 128 CPUs, 480G Mem, 8 × NVIDIA RTX 4090 GPUs.