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

Sampling

Paul Breiding, Kathlén Kohn, Bernd SturmfelsOberwolfach 2024 · OpenAlex

Abstract

This paper explores the intersection of metric geometry and probability theory within the context of real algebraic varieties. We address the fundamental problem of sampling from a variety $X$ defined by polynomial equations. By introducing the Chow Markov Chain Monte Carlo (CMCMC) algorithm, which utilizes random linear slices for exploration, we provide a robust framework for capturing the geometry and topology of complex shapes. We further establish theoretical bounds for topological fidelity, ensuring that finite samples can accurately reconstruct the homology of the variety.

Introduction

In modern computational fields such as robotics, computer vision, and data science, researchers frequently encounter data constrained to "shapes" defined by polynomial equations—mathematically known as real algebraic varieties. These varieties are often continuous and exhibit significant complexity, including multiple connected components, regions of high curvature, and narrow bottlenecks. The central challenge in working with these structures is the generation of a finite set of points—a sample—that faithfully represents the variety's global and local properties. Standard sampling techniques often fail to account for the non-linear constraints of these spaces, leading to incomplete or biased representations. This paper bridges the gap between abstract algebraic geometry and practical probability by providing a rigorous toolkit for sampling from real algebraic varieties.

Methodology: From Topology to Markov Chains

The paper details several sophisticated approaches to sampling, ranging from deterministic guarantees to probabilistic walks.

Topological and Deterministic Sampling

A key concept utilized is the reach $\tau(X)$, defined as the largest radius at which every point in the ambient space has a unique closest point on the variety. By sampling at a scale smaller than the reach, the authors prove that the union of balls around the sample points is homotopy equivalent to the variety itself, preserving its topological "holes."

The authors highlight that using local reach $\tau(x)$—which varies across the shape—is significantly more efficient than using a single global minimum reach. This allows for sparser sampling in "flat" areas and denser sampling only where the geometry is complex. Deterministic algorithms presented include:

  • Subdivision Methods: These recursively divide a bounding box into smaller sub-boxes, using Euclidean Distance (ED) optimization to find critical points and ensure no region is left uncovered.
  • Grid-based Slicing: This method uses a grid of linear slices to "catch" every part of the variety, specifically accounting for bottlenecks to ensure the sample is $\epsilon$-dense.

Chow Markov Chain Monte Carlo (CMCMC)

The standout contribution of this work is the Chow Markov Chain Monte Carlo (CMCMC) algorithm. Inspired by "Chow forms" in classical geometry, these algorithms create a Markov chain that "walks" along the variety. Instead of moving in arbitrary directions, the algorithm intersects the variety with random linear subspaces. This allows the sampler to jump between different parts of the variety while maintaining a desired probability distribution, such as a uniform distribution.

A Markov chain walk (CMCMC) on a variety illustrating the sequence of sampled points and the transitions between them.

Key Results and Insights

The difficulty of sampling is fundamentally tied to the Euclidean Distance (ED) degree of the variety—a measure of how many "closest point" problems one must solve to understand the shape's boundary and complexity.

Topological Fidelity

The paper provides concrete bounds (e.g., $\epsilon < \sqrt{3/20} \tau(X)$) under which a finite sample is guaranteed to recover the correct homology (topological structure) of the variety. This ensures that even complex varieties with multiple nested loops, such as the Trott Curve, can be represented accurately.

Sampling points on a variety with multiple connected components to ensure topological fidelity and capture all features.

Algorithm Convergence and Density

The authors prove that their CMCMC algorithms are reversible and irreducible. This means that if the "walk" runs for a sufficient duration, the points will eventually cover the entire variety according to the intended probability density without becoming trapped in local regions. Furthermore, the deterministic algorithms are proven to terminate with an $\epsilon$-sample, providing a reliable membership test for every part of the variety within a specified bounding box.

Limitations and Future Work

Despite the rigorous guarantees, several challenges remain. The computational cost of many guaranteed methods relies on finding all real ED critical points, which becomes a massive bottleneck for high-degree polynomials or high-dimensional spaces. Additionally, choosing the sampling scale $\epsilon$ reliably often requires prior knowledge of the reach or "weak feature size," invariants that are often as difficult to compute as the sampling problem itself. Future research will focus on developing better "global" proposals to bridge distant connected components more effectively in the CMCMC framework.

Summary updated

BibTeX
@inproceedings{breiding2024sampling,
  author = {Paul Breiding and Kathlén Kohn and Bernd Sturmfels},
  title = {{Sampling}},
  booktitle = {Oberwolfach},
  year = {2024},
  doi = {10.1007/978-3-031-51462-3\_15},
}
Figure