math.NAAug 27, 2026

Enforcing Dirichlet Boundary Conditions in Operator Learning

Authors: Andrew M. Stuart, Margaret Trautner

Organizations: Caltech · ETH Zürich Department of Mathematics

Abstract

Operator learning in scientific machine learning is concerned with approximation of maps between infinite-dimensional function spaces; such maps frequently arise as the solution operators of partial differential equations (PDEs). Neural operators have demonstrated broad empirical success at approximating such maps from data. However, most existing neural operator architectures enforce boundary conditions indirectly through training from data even though the boundary condition is often known exactly. Furthermore, existing modifications and approaches that do enforce boundary conditions explicitly suffer from impractical restrictions, including boundary smoothness, uniform grids, and separable, box-like domains. In this work, we propose an architecture which, independently of training, satisfies homogeneous Dirichlet boundary conditions, whilst simultaneously retaining the expressivity of existing kernel-integral neural operator architectures. This is achieved by enforcing the property that the output of each layer is contained in the span of a subset of the homogeneous Dirichlet eigenfunctions of the Laplacian on the output domain. The method requires only that the output domain be bounded with Lipschitz boundary and places no restriction on the choice of discretization, making it applicable to arbitrary mesh data and general geometries. We prove universal approximation for the resulting architecture; furthermore the approach we adopt in the analysis proves universality for a broad class of kernel-integral neural operators thereby uniting existing theory for a variety of operator learning methods. We validate the proposed method on maps defined by the coefficient to solution map in 2D PDEs: Darcy flow on a square domain and the Helmholtz equation on a circular domain. Comparisons are made with alternative methods.

Figures & tables

Explore similar work

CardsList
  1. One Operator to Rule Them All? On Boundary-Indexed Operator Families in Neural PDE Solvers

    Mar 2, 2026Lennon J. ShikhmanPDE Operator LearningNeural Operators

  2. Kernel Methods for Learning Operators with Multiple Inputs and Outputs

    Aug 12, 2026Adrien Weihs, Chunyang Liao, Jingmin Sun +1Kernel MethodsPDE Operator Learning

  3. KernelOnet: An Interpretable Neural Operator Based on Kernel Functions

    Sep 28, 2026Yuan Guo, Hanshu Chen, Qiang Xi +2PDE Operator LearningNeural Operators