NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Neural Harmonic Measure Operator

Jinjin He, Sinan Wang, Yuchen Sun, Bo ZhuNeurIPS 2026

TL;DR

Imagine releasing a microscopic drunkard inside a complex 3D object and recording where they stumble into the wall. That exit-location probability distribution—known in math as the harmonic measure—depends purely on the shape of the room, yet holds the universal key to solving steady-state physics equations (like heat flow or electrostatics) for any boundary values. Neural Harmonic Measure Operator (NHMO) teaches a neural network to predict this boundary distribution directly, giving us a fast, mesh-free PDE solver that generalizes effortlessly to unseen boundary conditions without retraining.

What Problem Does This Paper Address?

Solving elliptic Partial Differential Equations (PDEs)—specifically the Laplace and Poisson equations that govern equilibrium physics—is a computational grind. Classical Finite Element Methods (FEM) slice an object’s entire 3D volume into tiny tetrahedral meshes and solve massive systems of equations from scratch whenever the shape, internal source, or boundary condition changes.

Neural operators try to bypass this by learning a direct mapping from inputs to PDE solutions, but most still operate over the bulky 3D volume. Worse, because they learn nonlinear, end-to-end mappings, they often break down when tested on boundary values outside their training range. Alternative approaches try to learn Green's functions (how a point-poke ripples through a volume), which wrestle with nasty mathematical singularities ($\infty$ at distance zero) and expensive volume integrals. Meanwhile, mesh-free Monte Carlo methods like Walk-on-Spheres (WoS) avoid meshes altogether by simulating random walks, but have to re-run thousands of walks from scratch every time you tweak a boundary value.

The authors ask: Can we combine the geometry-only elegance of potential theory with neural amortization, working strictly on the object's boundary rather than its bulk volume?

Methods

NHMO splits the Poisson problem ($\Delta u = f$ inside domain $\Omega$, with $u = h$ on boundary $\partial\Omega$) into two clean, additive parts using a classical potential-theory trick called balayage decomposition:

Figure 3: NHMO overview. Harmonic-measure density Kθ ≈dωp/dσ with WoS paths and residual lift vφ, composed additively as in (6) (bottom). Each WoS step lands on the largest circle inside Ω; a walk stops in the ε-shell (drawn wider than in practice) and is projected to ∂Ω. Right: Kθ once fit for Ω solves any new boundary datum without retraining.
  1. The Boundary Kernel ($K_\theta$): By Kakutani's 1944 theorem, the Laplace solution ($f=0$) at an interior point $p$ is just the boundary data $h$ integrated against the harmonic measure $\omega_p$—the probability density of where a Brownian motion starting at $p$ first hits the boundary $\partial\Omega$. NHMO parameterizes this density using a geometry encoder and a transformer-based kernel head. Crucially, $K_\theta$ is supervised entirely mesh-free using Walk-on-Spheres (WoS) random-walk exit samples—requiring zero FEM meshes or solver solutions.
  2. The Residual Field Lift ($v_\varphi$): Boundary integrals alone can't see internal sources ($f \neq 0$). Rather than computing a singular 3D volume integral at runtime, NHMO trains a secondary network (a U-Net in 2D; a cross-attention head in 3D) against reference solver fields to predict the zero-boundary source correction—and, in 2D, to clean up minor kernel approximation errors.

Once $K_\theta$ is evaluated for a new shape, solving for any new boundary condition $h$ is just a tiny matrix-vector multiplication on the surface plus a single forward pass of the lift.

Datasets

  • 2D MNIST Testbed (Newly Constructed): Planar domains formed from MNIST digit silhouettes (including shapes with holes like 0, 6, 8, and 9), paired with finite-difference reference solutions for parametric Laplace and Poisson problems. Includes a strict out-of-distribution (OOD) split where boundary condition coefficients are drawn outside the training range.
  • 3D MCB-B Poisson Benchmark: A published mechanical-parts benchmark featuring five 3D categories (Nut, Gear, Motor, Fitting, Screws & Bolts), each with 200 training and 20 unseen test shapes evaluated on 16 unseen source/boundary pairs per shape.
  • 3D Graphics Meshes: Complex shapes (Armadillo, Bunny, Fandisk, Lucy) used for proof-of-concept harmonic and constant-drift demonstrations.

Key Insights and Ideas

  • Out-of-distribution generalization by math, not luck: Because the boundary prediction $u_h$ is strictly a linear integral of boundary data $h$ against a geometry-only kernel $K_\theta$, scaling or shifting $h$ outside the training distribution scales the output proportionally. End-to-end neural operators treat $h$ nonlinearly and drift wildly on unseen magnitudes.
  • Built-in physics guarantees: By normalizing $K_\theta$ over the boundary quadrature weights so it sums to 1, the boundary integral becomes a convex combination of boundary values—satisfying the PDE maximum principle ($\min h \le u_h \le \max h$) by construction.
  • Falsifiable intermediate physics: Unlike black-box operators, you can directly audit $K_\theta$. Feeding an analytical harmonic function (like $e^x \cos y$) onto the boundary must reproduce that exact function inside the volume, giving a clean diagnostic of kernel health.

Key Results

  • 3D MCB-B Benchmark: NHMO beats all four prior neural operator baselines (Transolver, LNO, UPT, and Neural Green's Functions / NGF) across all five mechanical categories—e.g., dropping mean relative $L_2$ error on Screws & Bolts from 0.189 (NGF) to 0.131, and Gear from 0.243 to 0.188.
Figure 5: Qualitative comparison on MCB-B Poisson. Per shape, five panels show GT (the FEM reference), NGF prediction, NGF error, our prediction, and our error; the cut face is colored by the field, the back half by a gray ghost surface. Within each row, GT and the predictions share one color scale and the four error panels share a second one; panels are stretched to a common aspect ratio. Two shapes per row across all five MCB-B categories. Additional shapes in Appendix H.
  • 2D OOD Extrapolation: On 2D MNIST, NHMO achieves the lowest in-distribution mean error (2.1%, or 1.8% with a dedicated residual head). When boundary coefficients shift out-of-distribution, nonlinear baselines degrade by 4.5$\times$ to 8.3$\times$ (errors spiking to 23–44%), whereas NHMO degrades by only 1.25$\times$ (2.6% mean error).
Figure 4: 2D MNIST out-of-distribution (OOD) qualitative. Per row, a Laplace example (left) paired with a Poisson example (right); columns are GT (finite-difference reference) and the absolute error |pred −GT| of UPT, Transolver, NGF, and Ours. Within each example (half-row), the four error panels share one color scale and GT has its own. Additional shapes in Appendix G.3.
  • Complex 3D Shapes & Runtime: On Armadillo, Bunny, Fandisk, and Lucy, NHMO achieves 0.012 mean rel-$L_2$ error vs. 0.142 for a Green's-function-style baseline. On 3D Motor parts, NHMO's initial geometry step takes 10.3 s from the surface alone (compared to 48 s just to generate a tetrahedral mesh for baselines), and subsequent PDE solves take 7.9 ms per problem vs. 77 ms for preloaded NGF—sweeping 1,000 load cases in ~18 s total vs. ~77 s.

Limitations and Future Work

  • Dirichlet-only for now: The harmonic measure specifically solves Dirichlet problems (fixed values on the boundary). Handling Neumann or Robin boundary conditions (fluxes/derivatives) or broader PDE families will require generalized potential-theory measures.
  • Source extrapolation is not guaranteed: While linearity in boundary data $h$ is mathematically hardwired into the kernel channel, the lift network $v_\varphi$ learns source dependence ($f$) nonlinearly—so out-of-distribution internal sources can still degrade accuracy.
  • Upfront per-shape precomputation: Materializing the boundary kernel matrix takes ~6.6–10.3 seconds per new geometry. While faster than 3D tetrahedral meshing and great for multi-query workloads (like design sweeps or uncertainty quantification), one-off single-query workloads don't benefit from caching; low-rank kernel factorizations could help amortize this setup cost.

Summary updated

BibTeX
@inproceedings{he2026neural,
  author = {Jinjin He and Sinan Wang and Yuchen Sun and Bo Zhu},
  title = {{Neural Harmonic Measure Operator}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=csUQ0IwX0R},
}
Figure