Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.Operators on scattered points
Think of sensors scattered unevenly over a field, dense in some places and sparse in others. A graph neural operator connects each point to its nearby points and lets them pass messages: each neighbour sends its value, scaled by a learned function of where the two points are. Adding up the messages approximates an integral, so the model describes a map between functions rather than between fixed lists of numbers, and it can be used on a new set of points.
Graph-based operators and message-passing simulators have been used for airflow around car bodies, cloth and fluid simulation, and global weather on icosahedral meshes.
- 1. A graph neural operator connects each point to…
- 2. Summing messages from neighbours approximates…
- 3. GNOs suit…
Level 1: Beginner
★★☆☆☆ Basic⏱ 20 minSecondary-school mathematics: arithmetic and elementary algebra.By hand
- Kernel integral on a graph: (𝒦v)(x_i) ≈ Σ_(j ∈ N(x_i)) w_j κ_θ(x_i, x_j, a(x_i), a(x_j)) v(x_j), with N(x_i) the points within radius r and w_j quadrature weights (Li et al., 2020).
- Layer: v_(l+1)(x_i) = σ(W v_l(x_i) + (𝒦v_l)(x_i)); the kernel κ_θ is a small neural network of the two positions and local inputs.
- Quadrature weights: 1/n assumes evenly spread points; cell sizes (Voronoi areas, mesh element volumes) make the sum a proper integral on uneven point sets.
- Radius and cost: each layer costs the number of edges, about n times the mean number of neighbours; r = full domain gives n² edges, small r gives a local operator whose reach grows by r per layer.
- Long range: multipole GNOs (Li et al., 2020) and GINO (Li et al., 2023, a GNO encoder and decoder around an FNO on a latent grid) recover global interactions cheaply.
- Relation to GNNs: a GNO is a message-passing neural network whose messages depend on positions and whose aggregation is a quadrature.
- 1. Quadrature weights in a GNO should reflect…
- 2. The cost of one layer is proportional to…
- 3. GINO combines a GNO with…
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 25 minUndergraduate students and practising engineers.Variable-coefficient diffusion on random point clouds
Exercise 1.
- Smooth random sources and the solution of −(a u′)′ = f with a(x) = 1 + 0.5 sin 2πx and zero ends, by conservative finite differences on 401 points, checked against a manufactured solution.
- Random point clouds crowded towards x = 0.
- Cell-size (Voronoi) quadrature weights compared with equal weights for an integral on such a cloud.
Practice.
- Build the graph with a radius search (k-d trees, PyTorch Geometric’s radius graph) and cap the neighbours per point on dense meshes.
- Use cell sizes as weights from the mesh or a Voronoi diagram, so the model does not depend on how points are spread.
- Feed positions and local inputs to the kernel network, normalised to the domain size.
- For long-range effects combine local layers with a global component (multipole GNO, GINO, or a latent FNO).
- Tools: neuraloperator (GNO, GINO), PyTorch Geometric, DGL, NVIDIA PhysicsNeMo (MeshGraphNet).
import numpy as np
# one linear GNO layer: kernel κ(x, y) = Σ_b θ_b φ_b(x, y), weights = cell sizes, radius r
def gno_features(x, f, r):
mid = np.concatenate([[0], (x[:-1] + x[1:]) / 2, [1]]); w = np.diff(mid) # Voronoi weights
B = kernel_basis(x[:, None], x[None, :]) * (np.abs(x[:, None] - x[None, :]) <= r)[..., None]
return np.einsum("ijb,j->ib", B, w * f) # messages summed per point
A = np.vstack([gno_features(x, f, r) for x, f in train_clouds]); theta = np.linalg.lstsq(A, u_all, rcond=None)[0]
u_new = gno_features(x_new, f_new, r) @ theta # any new point cloud- 1. A library with a radius-graph builder:
- 2. On a dense mesh, one usually…
- 3. Inputs to the kernel network are usually…
Level 3: Advanced
★★★★☆ Advanced⏱ 25 minGraduate level, with full derivations and proofs.Theory
Green’s functions are global. For −(a u′)′ = f, the value u(x) depends on f everywhere: the Green’s function is nonzero for all y. A single layer that only looks within radius r discards the rest of the integral, so its error cannot fall below what that missing part contributes. Deep GNOs extend the reach by r per layer; multipole and latent-grid methods add the far field directly.
Quadrature makes it an operator. Σ_j w_j κ(x_i, x_j) f(x_j) approximates ∫ κ(x_i, y) f(y) dy only if w_j is the size of the region point j represents. With equal weights, a crowded region counts more than it should, and the learned kernel silently absorbs the training density; on a cloud with different density the model is wrong. The constant-coefficient Green’s function min(x, y)(1 − max(x, y)) equals (x + y − |x − y|)/2 − xy, so a kernel built from x, y, xy and |x − y| times low-degree polynomials can represent it and its smooth variable-coefficient relatives well.
Results in the exercise. With cell-size weights and full radius the model reached 0.04 on new 60-point skewed clouds, on 240-point skewed clouds and on 240-point uniform clouds. With equal weights the same kernel gave 0.1 on skewed clouds and 0.3 on uniform ones. Shrinking the radius to 0.3 and 0.1 raised errors to 0.2 and 0.4 for a single layer.
- 1. A one-layer GNO with small radius fails here because…
- 2. With equal weights, the learned kernel absorbs…
- 3. min(x, y)(1 − max(x, y)) equals…
Level 4: Expert
★★★★★ Expert⏱ 30 minResearchers: original papers and open problems.What do the radius and the quadrature weights of a graph neural operator do to accuracy and transfer between point clouds?
History.
- Z. Li, N. Kovachki, K. Azizzadenesheli, B. Liu, K. Bhattacharya, A. Stuart and A. Anandkumar (2020) introduced the graph kernel network and the multipole graph neural operator.
- T. Pfaff, M. Fortunato, A. Sanchez-Gonzalez and P. Battaglia (2021) introduced MeshGraphNets for mesh-based simulation; GraphCast (Lam et al., 2023) used message passing on a multi-scale icosahedral mesh for weather.
- Z. Li et al. (2023) introduced GINO for 3-D geometries such as car bodies.
Exercise 2. −(a u′)′ = f, a(x) = 1 + 0.5 sin 2πx. 100 training pairs, each on its own 60-point cloud crowded towards 0 (x = v², v uniform); 50 test sources. Kernel: 16 basis functions (monomials of degree ≤ 3 in x, y and |x − y| times monomials of degree ≤ 2), coefficients by least squares. Median relative L2 error on 60 skewed / 240 skewed / 240 uniform points.
| radius | cell-size weights | equal weights |
|---|---|---|
| 0.1 | 0.4 / 0.3 / 0.3 | 0.5 / 0.4 / 0.4 |
| 0.3 | 0.2 / 0.2 / 0.1 | 0.3 / 0.2 / 0.4 |
| 1 (all pairs) | 0.04 / 0.04 / 0.04 | 0.1 / 0.1 / 0.3 |
- Weights made it transferable: cell-size weights gave the same error on every cloud; equal weights tripled it on uniform clouds.
- One local layer was not enough for a global operator: radius 0.1 gave errors of 0.3–0.4.
- Seeds 1 and 2: with cell-size weights and full radius 0.04–0.05; with equal weights 0.3 on uniform clouds; radius 0.1 gave 0.4–0.6.
Graph neural operators in practice
- Automotive aerodynamics: GINO predicts surface pressure on new car shapes from 3-D meshes.
- Weather: GraphCast passes messages on a multi-scale icosahedral mesh (J8-2).
- Mesh-based simulation: MeshGraphNets for cloth, airfoils and plates.
- Subsurface and geoscience: operators on unstructured reservoir meshes and scattered well data.
References
- Z. Li, N. Kovachki, K. Azizzadenesheli, B. Liu, K. Bhattacharya, A. Stuart and A. Anandkumar (2020). “Neural operator: graph kernel network for partial differential equations.” arXiv:2003.03485.
- Z. Li et al. (2020). “Multipole graph neural operator for parametric partial differential equations.” NeurIPS.
- T. Pfaff, M. Fortunato, A. Sanchez-Gonzalez and P. Battaglia (2021). “Learning mesh-based simulation with graph networks.” ICLR.
- Z. Li et al. (2023). “Geometry-informed neural operator for large-scale 3D PDEs.” NeurIPS.
- R. Lam et al. (2023). “Learning skillful medium-range global weather forecasting.” Science.