Learning Geometric-Aware Quadrature Rules for Functional Minimization
Costas Smaragdakis
TL;DR
The paper tackles the challenge of numerical integration on non-uniform, unstructured point clouds within mesh-free variational solvers for PDEs by introducing QuadrANN, a graph neural network that learns quadrature weights directly from geometry. The model combines a density-aware geometric encoding with globally-aware propagation to produce permutation-invariant weights that sum to one, trained on a basis of multivariate polynomials up to degree $J$ with randomized trigonometric augmentation, enforcing exactness for constants via a loss on $\mathcal{C}(\mathcal{X};\theta)$. Empirical results show reduced variance in integral estimates compared to Sobol'-QMC across 2D and 4D tests and improved PDE solutions for the Heat and Fokker-Planck equations, with modest computational overhead relative to standard methods. The work provides a stable, data-driven quadrature framework for energy minimization in mesh-free variational solvers and suggests future directions such as learning the warping map to further optimize point distributions. Key formulas include $\mathcal{J}[u] = \int_\Omega L(x,u,\nabla u)dx$ and the weight-approximation objective $\mathcal{C}(\mathcal{X};\theta) = \sum_{\boldsymbol j} \big(\sum_{i=1}^n W_i(\mathcal{X};\theta) \Phi_{\boldsymbol j}(x_i) - 1\big)^2$, with constants enforced by the softmax constraint on $W_i$.
Abstract
Accurate numerical integration over non-uniform point clouds is a challenge for modern mesh-free machine learning solvers for partial differential equations (PDEs) using variational principles. While standard Monte Carlo (MC) methods are not capable of handling a non-uniform point cloud, modern neural network architectures can deal with permutation-invariant inputs, creating quadrature rules for any point cloud. In this work, we introduce QuadrANN, a Graph Neural Network (GNN) architecture designed to learn optimal quadrature weights directly from the underlying geometry of point clouds. The design of the model exploits a deep message-passing scheme where the initial layer encodes rich local geometric features from absolute and relative positions as well as an explicit local density measure. In contrast, the following layers incorporate a global context vector. These architectural choices allow the QuadrANN to generate a data-driven quadrature rule that is permutation-invariant and adaptive to both local point density and the overall domain shape. We test our methodology on a series of challenging test cases, including integration on convex and non-convex domains and estimating the solution of the Heat and Fokker-Planck equations. Across all the tests, QuadrANN reduces the variance of the integral estimation compared to standard Quasi-Monte Carlo methods by warping the point clouds to be more dense in critical areas where the integrands present certain singularities. This enhanced stability in critical areas of the domain at hand is critical for the optimization of energy functionals, leading to improved deep learning-based variational solvers.
