A common way to wrap a 3D object or a point cloud for collision checking is to find a polynomial $p$ whose sublevel set $\{x : p(x) \le 1\}$ contains every point and is as small as possible. If $p$ is also certified convex, distance and collision queries become small convex programs. The certificate used is called SOS-convexity: the Hessian of $p$ can be written as a sum of squares of polynomial matrices, which a semidefinite program can check. Today's best method for this task minimizes a stand-in objective, the log-determinant of a matrix of coefficients, and not the volume itself. Separately, Lasserre showed that the true volume of a sublevel set is a strictly convex function of the polynomial's coefficients, but only when $p$ is homogeneous, meaning all its terms have the same degree. That restriction forces the shape to be centered at the origin and symmetric through it. The two lines of work have not been joined.
We propose to join them through a single quantity, $\log \int \exp(-\lambda p(x))\,dx$. Statisticians know it as the log-partition function of the probability density proportional to $\exp(-\lambda p)$. Three facts make it the right objective. First, it is convex in the coefficients of any polynomial, homogeneous or not. Second, for homogeneous $p$ it equals the log-volume up to a known constant. Third, when $p$ is SOS-convex the density $\exp(-\lambda p)$ is log-concave, which makes its gradient (a vector of moments) cheap to estimate by sampling. The convexity certificate therefore plays two roles. It makes the final shape convex, and it makes the volume objective computable. The result is a convex program with a unique solution that targets the true volume for envelopes that need not be centered or symmetric.
Core Claim
Let $p$ have degree $d$ and coefficient vector $c$ in the monomial basis $m(x)$, and let $\lambda > 0$ be a temperature parameter. Define
$$F_\lambda(c) = \lambda + \log \int_{\mathbb{R}^n} \exp(-\lambda\, c^\top m(x))\,dx .$$
Because $c^\top m(x)$ is linear in $c$, $F_\lambda$ is convex, by Hölder's inequality. Because the monomials are linearly independent on any set of positive measure, $F_\lambda$ is strictly convex, with gradient $-\lambda\,\mathbb{E}[m(x)]$ and Hessian $\lambda^2\,\mathrm{Cov}[m(x)]$ under the density proportional to $\exp(-\lambda p)$. On the set $\{p \le 1\}$ the integrand is at least $e^{-\lambda}$, so $\mathrm{vol}(\{p\le 1\}) \le e^{F_\lambda(c)}$. Minimizing $F_\lambda$ therefore minimizes an upper bound on the true volume.
For homogeneous $p$, the bound is exact up to a constant. Lasserre's Laplace identity in Level Sets and NonGaussian Integrals of Positively Homogeneous Functions gives $\int \exp(-\lambda p) = \lambda^{-n/d}\,\Gamma(1+n/d)\,\mathrm{vol}(\{p\le1\})$. In that case our objective reproduces the strictly convex volume program of A generalization of Löwner-John's ellipsoid theorem.
We minimize $F_\lambda$ subject to three constraints: $p(x_i) \le 1$ at every data point, nonnegativity of $p$, and SOS-convexity of $p$. All three are linear or semidefinite constraints in $c$. The resulting program is convex and has a unique minimizer, including for non-homogeneous envelopes. Lasserre explicitly notes that this uniqueness is lost when the true volume is used for non-homogeneous polynomials.
One point needs to be stated plainly, because the research file lists it as an open gap. Restricting a strictly convex function to a convex cone such as the SOS-convex cone keeps it strictly convex, so that question is not deep. The real obstacles are two. Volume is not convex for off-center shapes. Volume and its gradient are expensive to evaluate. The log-partition objective handles the first. The log-concavity supplied by SOS-convexity handles the second.
Relation to Prior Work
The closest work is Geometry of 3D Environments and Sum of Squares Polynomials. It fits SOS-convex sublevel sets to Princeton Shape Benchmark point clouds by minimizing $-\log\det P$, where $P$ is a Gram matrix (the matrix of coefficients in a sum-of-squares representation). The authors call this a proxy, because they considered true volume intractable. That paper supplies our constraint set and our downstream queries. We change only the objective, and we use the same certificate to make a volume-grounded objective tractable. A further problem with the log-det objective is that one polynomial has many Gram matrices, so the objective depends on a choice of representation rather than on the shape. Lasserre makes a related point about Gram-matrix objectives in Unit balls of constant volume: which one has optimal representation?.
Two works motivate the problem and supply the theory for the homogeneous case. A generalization of Löwner-John's ellipsoid theorem and Nonnegative forms with sublevel sets of minimal volume prove strict convexity of the volume of homogeneous polynomials and its consequences. Neither paper imposes convexity of the container, and neither treats off-center shapes.
Two works supply our evaluation tools. Volume of Sublevel Sets of Homogeneous Polynomials gives deterministic upper bounds on the volume of homogeneous sublevel sets, computed as generalized eigenvalues of Hankel matrices. Exploiting Sparsity for Semi-Algebraic Set Volume Computation gives certified bounds in higher dimensions. We use both to audit final volumes, not inside the optimization loop.
The hardness results set the limits of the project. NP-hardness of deciding convexity of quartic polynomials and related problems and A Complete Characterization of the Gap between Convexity and SOS-Convexity show that exact convexity cannot be the constraint, and that SOS-convexity is strictly conservative in the regime that matters here. A non-homogeneous quartic in three variables behaves like a homogeneous quartic in four, where the cone of convex forms and the cone of SOS-convex forms differ. This differs from the ternary case settled in Convex Ternary Quartics Are SOS-Convex.
Research Program
The program has four parts.
The first part is theoretical. We will bound the ratio $e^{F_\lambda}/\mathrm{vol}$ for nonnegative SOS-convex $p$ as a function of $\lambda$, $n$, and $d$. The aim is to state when the surrogate is near-tight away from the homogeneous case. We expect the ratio to be controlled by how sharply $p$ grows past level 1, which is governed by its lowest-order growth. We will also characterize the dual optimality conditions. These are the analogue of Lasserre's contact points: a moment-matching condition between the Gibbs density and a measure supported on the data points that touch the boundary.
The second part is the algorithm, a sequential convex method. At each outer iteration we draw samples from $\exp(-\lambda p)$ with Metropolis-adjusted Langevin dynamics, which mixes in polynomial time because the target is log-concave. From the samples we estimate the mean and covariance of $m(x)$. We then solve one semidefinite program: the resulting quadratic model of $F_\lambda$, subject to the containment, nonnegativity, and SOS-convexity constraints, inside a trust region. The trust region absorbs the sampling noise. In 3D the final volume is evaluated by dense grid integration. For homogeneous runs in higher dimensions it is evaluated with the Hankel-eigenvalue bound.
The third part is schedules for the temperature $\lambda$. We will compare a fixed $\lambda$, chosen by validation, against a continuation schedule.
The fourth part tests what the convexity certificate contributes beyond convexity of the final shape. We will measure how mixing time and gradient variance degrade when the SOS-convexity constraint is removed.
Baselines
The naive reference point is the minimum-volume enclosing ellipsoid, computed exactly as a convex program. The fast method of John Ellipsoids via Lazy Updates can supply it. The bounding sphere is reported alongside. Every method must beat the ellipsoid. For calibration, Geometry of 3D Environments and Sum of Squares Polynomials reports a volume of 3.74 for a bounding sphere on the Human model.
The strongest existing method is the $-\log\det P$ program with SOS-convexity constraints from the same paper. It is the only published method that produces certified-convex polynomial envelopes of degree above 2 for these shapes. That paper reports a volume of 0.41 for a degree-6 SOS-convex body on the Princeton Human model. The file gives no normalization details, so we will re-run this baseline ourselves rather than compare against the quoted figure. For fairness, the re-run uses the same point clouds, the same degrees (4 and 6), the same containment and SOS-convexity constraints, the same semidefinite solver, and the same "controlled nonconvexity" setting. Wall-clock time is reported for both methods. Our method beats this baseline if it lowers the grid-measured true volume by a margin larger than the run-to-run variation from sampling seeds, on most models, at a comparable time cost.
The homogeneous reference is Lasserre's volume program from A generalization of Löwner-John's ellipsoid theorem, centered at the point-cloud centroid, both with and without SOS-convexity added. On the 2D box this program reduced the container volume from about 6.28 at degree 2 to 4.32 at degree 4. On that benchmark, our homogeneous special case must reproduce 4.32 when the convexity constraint is dropped. This check validates the sampling-based solver against a known optimum.
Two ablations isolate the key ingredients. The first keeps every constraint fixed and swaps only the objective: log-partition, log-det, and Gram trace. This isolates the contribution of the objective. The second removes SOS-convexity while keeping the log-partition objective. This tests the claim that the certificate makes the sampling tractable, and it also shows how much volume the convexity requirement costs.
Why not just…?
Why not just keep the log-det heuristic, since it already shrinks shapes well? This is the real threat. On these shapes, log-det may land close to the volume optimum. Our objective-swap ablation settles the question directly. If the volume gains are within noise, we will report that the heuristic is empirically adequate in 3D. The remaining contributions would then be uniqueness, independence from the choice of Gram matrix, and behavior in higher dimensions, where we expect the gap to grow because the Gram matrix's dimension grows much faster than the shape's degrees of freedom.
Why not just minimize the true volume directly with projected gradient descent and restarts? The feasible set is convex, so this is well-posed. But for non-homogeneous $p$ the volume is not a convex function of the coefficients, as noted in A generalization of Löwner-John's ellipsoid theorem. Its gradient is an integral over the boundary surface, which is noisier to estimate than moments of a log-concave density. We will run this method with ten restarts under a matched time budget. We will report both the best volume it finds and the spread across restarts. Our method should match its best restart without any restarts.
Why not just use homogeneous containers, where Lasserre's theory is already exact? Homogeneous even-degree sets are symmetric through their center. Asymmetric shapes such as the hand, the chair, or the octopus should therefore pay a large volume penalty. The homogeneous baseline measures that penalty, model by model.
Why not just estimate volume by Monte Carlo inside a nonconvex fit? Exploiting Sparsity for Semi-Algebraic Set Volume Computation estimates that Monte Carlo would need about $10^{12}$ samples for a small-volume 100-dimensional set. A nonconvex fit also loses the convex downstream queries. We do use sampling, but only for gradients of a convex objective, where noise is averaged out across iterations rather than trusted as a final answer.
Proposed Experiments
The 3D study uses the Princeton Shape Benchmark models used by Ahmadi et al.: human, chair, hand, vase, and octopus. It covers degrees 4 and 6. We report grid-integrated true volume, the surrogate gap $e^{F_\lambda}/\mathrm{vol}$, solve time, and coefficient count. We also report downstream distance-query time and whether the lowest level of the SOS hierarchy remains exact; Ahmadi et al. report 80 to 340 milliseconds and exactness in their tests.
The 2D box benchmark from Lasserre validates the solver against the known optimum of 4.32.
A synthetic study fits homogeneous and offset point clouds in dimensions 4 to 10. For homogeneous fits, volumes are audited with the Hankel-eigenvalue bound, which reaches 0.03% relative error at $n=4$ and 0.6% at $n=8$ on the unit ball. This study tests whether the advantage over log-det grows with dimension.
The decisive checks follow from the claims. Our method must reproduce the homogeneous optimum. It must beat log-det in measured true volume on asymmetric models. It must remain a single run with a unique answer while true-volume descent varies across restarts. Sampling must slow measurably once SOS-convexity is removed. If the third check fails, the uniqueness argument is moot in practice. If the last check fails, the claimed second role of the certificate does not hold.
References
- Level Sets and NonGaussian Integrals of Positively Homogeneous Functions
- A generalization of Löwner-John's ellipsoid theorem
- Geometry of 3D Environments and Sum of Squares Polynomials
- Unit balls of constant volume: which one has optimal representation?
- Nonnegative forms with sublevel sets of minimal volume
- Volume of Sublevel Sets of Homogeneous Polynomials
- Exploiting Sparsity for Semi-Algebraic Set Volume Computation
- NP-hardness of deciding convexity of quartic polynomials and related problems
- A Complete Characterization of the Gap between Convexity and SOS-Convexity
- Convex Ternary Quartics Are SOS-Convex
- John Ellipsoids via Lazy Updates