Computing the Hausdorff boundary measure of semi-algebraic sets

Jean B. Lasserre, Victor Magron · DOI

Abstract

Given a compact basic semi-algebraic set, we provide a numerical scheme to approximate as closely as desired, any finite number of moments of the Hausdorff measure on the boundary of this set. This also allows one to approximate interesting quantities like length, surface, or more general integrals on the boundary, as closely as desired from above and below.

1. Introduction

In computational geometry and robotics, we often deal with semi-algebraic sets—shapes defined by a collection of polynomial inequalities (e.g., $x^2 + y^2 \leq 1$). While calculating the volume of these sets has been studied extensively, calculating the "size" of their boundary (like the perimeter of a 2D shape or the surface area of a 3D object) is significantly harder.

Standard methods like Monte Carlo integration struggle because the boundary has "zero volume" in the surrounding space, making it nearly impossible to "hit" with random points. Other techniques are often limited to very specific shapes. This paper introduces a general-purpose numerical method to compute the Hausdorff boundary measure for any compact semi-algebraic set, regardless of whether it is convex or has sharp corners.

2. Methodology

The authors leverage a powerful mathematical bridge: Stokes' Theorem. This theorem relates an integral over a volume to an integral over its boundary, effectively using volume moments to "inform" the boundary moments.

Geometric representation of the boundary measure problem, illustrating the relationship between the interior and the boundary normal.

The core of their approach is a two-step numerical scheme:

  1. The Moment-SOS Hierarchy: The problem is framed as a Generalized Moment Problem (GMP). Instead of looking for a single number, they look for the "moments" (statistical averages of $x, x^2, xy, \dots$) of the measure sitting on the boundary. They use the Lasserre hierarchy to turn this infinite-dimensional problem into a sequence of finite Semidefinite Programs (SDPs)—a type of optimization problem that computers can solve efficiently.
  2. Handling Non-Polynomial Densities: A major technical hurdle is that the relationship between volume moments and boundary moments involves the gradient of the defining polynomials ($\|\nabla g\|$). This term is not a polynomial, which usually breaks the "Moment-SOS" machinery. The authors solve this using a "lifting" technique: they introduce an auxiliary variable to represent the non-polynomial term, effectively moving the problem into a higher-dimensional space where it becomes polynomial again.

3. Key Results and Experiments

The method produces two sequences of values—one approaching the true value from above and one from below—allowing researchers to know exactly how much error remains in their approximation. Numerical experiments show high precision even at low "relaxation orders" (the complexity level of the SDP):

  • The Unit Disk: A simple 2D circle used to verify the method against the known perimeter $2\pi$. At a relaxation order of $d=2$, the method yielded a perimeter of ~6.28319 (true value $2\pi \approx 6.28318$).
  • The "TV Screen": A super-quadratic set defined by $x^4 + y^4 \leq 1$. The relative error dropped from 0.18% at order $d=3$ to a tiny 0.01% at order $d=5$.
  • A Non-Convex "Star-Shaped" Set: A complex 2D shape defined by $x^4 + y^4 - 1.7x^2y^2 \leq 1$. Even for this non-convex shape, the method achieved a relative error of 0.09% at order $d=5$.

4. Limitations and Future Work

While powerful, the method faces the curse of dimensionality: the size of the SDP matrices grows quickly as the number of variables or polynomial degrees increase. Future work will focus on exploiting sparsity—where inequalities only involve a few variables—to scale the method to higher dimensions. Additionally, improving numerical stability for high-order relaxations remains a key challenge in the Moment-SOS field.

Summary updated

BibTeX
@article{lasserre2020computing,
  author = {Jean B. Lasserre and Victor Magron},
  title = {{Computing the Hausdorff boundary measure of semi-algebraic sets}},
  journal = {SIAM J. Appl. Algebra Geom.},
  year = {2020},
  doi = {10.1137/20m1314392},
}
Figure