Modern numerical analysis and scientific machine learning have unlocked incredible capabilities for solving partial differential equations (PDEs). By leveraging deep neural networks, tensor decompositions, and sparse grids, researchers can bypass traditional mesh generation and solve high-dimensional problems that were once completely intractable.
However, many of these breakthroughs suffer from a shared, hidden vulnerability: they assume the universe is shaped like a perfect box. When applied to the irregular, non-convex geometries characteristic of real-world engineering—such as car wings, turbine blades, or human hearts—these advanced solvers frequently break down. Bridging the gap between the computational efficiency of regular domains and the geometric complexity of the real world is one of the most active frontiers in computational science.
The Tyranny of the Hypercube
To understand why irregular domains pose such a fierce challenge, we must look at how modern high-performance solvers achieve their speed.
To escape the curse of dimensionality, methods like Separable Physics-Informed Neural Networks (SPINN) proposed by Cho et al., Tensor Train formats developed by Richter et al., and Sparse Grid Discontinuous Galerkin methods designed by Tang et al. rely heavily on tensor-product structures.
In a standard multi-dimensional grid, the number of points scales exponentially with the number of dimensions ($O(N^d)$). Tensor-product and separable methods bypass this by decomposing a multi-dimensional function into a combination of independent, one-dimensional functions:
$$u(x, y, z) \approx \sum_{i} X_i(x) Y_i(y) Z_i(z)$$
This mathematical trick works beautifully on a hypercube or a rectangle because the boundaries of the domain are perfectly aligned with the coordinate axes. The boundary condition at $x = 0$ can be enforced without worrying about the value of $y$ or $z$.
However, on an irregular domain—such as a circle or an arbitrary polygon—the coordinates are fundamentally coupled at the boundary. The boundary is defined by a complex relationship (e.g., $x^2 + y^2 = 1$), meaning you can no longer cleanly separate the dimensions.
This geometric limitation restricts a wide array of powerful frameworks. For instance, the infinite-dimensional linear algebra framework introduced by Townsend et al., the Discrete Symbol Calculus developed by Demanet et al., and high-performance elliptic solvers like jaxhps built by Melia et al. are all inherently optimized for regular spatial domains and face steep mathematical hurdles when extended to non-rectangular boundaries.
The Failure of Soft Boundaries
When using neural networks to solve PDEs, why not simply let the network learn the boundary shape through data?
In a standard Physics-Informed Neural Network (PINN), boundary conditions are typically enforced as soft constraints. The network minimizes a composite loss function:
$$\mathcal{L} = \mathcal{L}_{\text{PDE}} + \lambda \mathcal{L}_{\text{Boundary}}$$
The network is penalized if it violates the governing physics inside the domain ($\mathcal{L}_{\text{PDE}}$) or if it fails to match the boundary conditions ($\mathcal{L}_{\text{Boundary}}$).
While appealingly simple, Wong et al. demonstrate that this approach struggles immensely on complex geometries. The optimization landscape becomes highly non-convex, causing the network to get stuck in local minima where it satisfies the internal PDE but suffers from severe errors along the irregular boundary.
Soft Constraints (PINN Loss Penalty):
[ Internal PDE Residual ] <--> [ Boundary Mismatch Penalty ]
(Competes in optimization, leading to boundary errors)
Hard Constraints (Exact Architecture):
[ Neural Network N(x) ] --> [ Distance Function D(x) ] --> [ Exact Boundary Match ]
(Boundary condition is satisfied mathematically by design)
More fundamentally, Müller et al. provided a theoretical reality check for soft constraints. They proved that exactly satisfying boundary conditions within the network architecture is the only way to guarantee strong mathematical error estimates (specifically, $H^2$ error bounds). Without exact boundary enforcement, the training loss cannot serve as a reliable, honest indicator of the true solution's accuracy.
Hard Constraints and the Distance Function Bottleneck
To achieve true reliability, researchers try to build hard constraints directly into the neural network's architecture. This is typically done using a lifting ansatz:
$$\hat{u}(x) = A(x) + D(x) \cdot N(x)$$
Here, $A(x)$ is an extension function that matches the boundary condition, $N(x)$ is the neural network, and $D(x)$ is a smooth distance function that equals exactly zero on the boundary ($\partial\Omega$). Because $D(x) = 0$ on the boundary, the network's output is completely neutralized there, forcing $\hat{u}(x)$ to match the boundary condition perfectly by design.
If the domain is a unit sphere, the distance function is trivial: $D(x) = 1 - \|x\|^2$. But if the domain is an intricate, non-convex engineering part, constructing a smooth, differentiable distance function becomes a nightmare. As Müller et al. point out, calculating these distance functions and lifting operators in high-dimensional or irregular geometries is mathematically complex and computationally prohibitive.
To bypass this bottleneck, Liu et al. introduced a unified hard-constraint framework that utilizes "extra fields" to linearize complex boundary equations. This allows the architecture to handle diverse conditions—such as Dirichlet, Neumann, and Robin boundaries—simultaneously across complex shapes without requiring explicit, expensive distance function calculations.
Bypassing the Mesh: Immersed Boundaries and Masking
If forcing a solver to conform to an irregular boundary is too difficult, an alternative strategy is to change the perspective entirely: embed the irregular shape inside a simple, regular bounding box.
This is the intuition behind the Immersed Boundary Network (IBN) developed by Gamdha et al.. Instead of generating an explicit, conforming mesh for a complex shape, the method operates on a regular background grid and implicitly integrates the geometric boundary conditions into the network's loss formulation. This allows the model to generalize across entirely unseen, arbitrary geometries without requiring remeshing.
Conforming Mesh (Expensive) Immersed Boundary (Implicit)
/\ /\ +---+---+---+---+
/__\__/__\ | /``\ | | |
/\ /\ /\ +--+---+---+---+
/__\/__\/__\ | \__/ | | |
(Mesh fits the shape) +---+---+---+---+
(Shape embedded in regular grid)
Other hybrid approaches seek to combine grid-based efficiency with geometric flexibility. For example, Kang et al. proposed localized neural cell representations to handle non-rectangular boundaries, while Mou et al. utilize domain decomposition to break down highly irregular, non-standard geometries into a collection of simpler, manageable sub-domains.
The Frontier of Generalization
Overcoming geometric constraints is not just about engineering convenience; it is a prerequisite for scaling advanced numerical methods to real-world problems.
Currently, many foundational theoretical guarantees remain trapped on regular domains. For example, the breakthrough work by Marwah et al., which proves that neural networks can efficiently represent non-linear PDEs without suffering from the curse of dimensionality, is largely restricted to simple hypercubes. Extending these representational guarantees to non-convex or irregular domains is essential for validating these models in practical scenarios.
Furthermore, as solvers push toward extreme precision, boundaries become the primary bottleneck. The Time-Evolving Natural Gradient (TENG) framework by Chen et al. can solve PDEs to near machine precision, yet the authors note that implementing complex, derivative-based Neumann or time-varying conditions on irregular boundaries remains an open challenge.
Whether developing Bayesian numerical methods for uncertainty quantification (Wang et al.), high-dimensional fractional Laplacian solvers (Ng et al.), or stable initial-value solvers (Finzi et al.), liberating these algorithms from the constraints of the hypercube remains one of the most critical objectives in modern computational mathematics.
Key Foundational Work
A practical framework for infinite-dimensional linear algebra (2014) — contributed 1 concept elements to this direction.
Discrete Symbol Calculus (2011) — contributed 1 concept elements to this direction.