Matching two 3D surfaces point-by-point, for example two scans of a person in different poses, is a search over an enormous space of possible correspondences. Methods that search this space exhaustively and return a provably best answer avoid the failures of fast local methods, such as mapping a left hand onto a right hand. They also stop working once meshes reach realistic sizes. The clearest current example is SpiderMatch. It turns the source surface into a single closed curve that visits every vertex, then frames dense matching as a shortest path through a "product graph": every pairing of a curve element with a target-mesh element becomes a node. A commercial integer-programming solver finds the provably optimal path under constraints that rule out geometrically impossible maps. The method reaches about 1,000 triangles in roughly 100 seconds and cannot go further, while real scans such as those in FAUST are far denser.
The bottleneck is the same one that dynamic programming meets on graphical models. The exact problem is small in principle, but the table or program the solver must hold is too large to build. On graphical models it has been broken by a specific move: compute a cheap relaxed bound everywhere, then throw away every state that provably cannot be part of an optimal solution before the expensive exact step ever sees it. We propose bringing that move, safe pruning with lower bounds, into dense shape matching. The aim is globally optimal matches, with optimality certificates, on meshes ten or more times larger than SpiderMatch handles today.
Core Claim
Most of the SpiderMatch product graph is irrelevant, and this can be proven cheaply. If we drop the hard geometric-consistency constraints, the problem becomes a plain shortest-path problem. That relaxed problem can be solved forward and backward over the product graph in near-linear time, with edges generated on the fly rather than stored. For each product node $v$, let $d_f(v)$ be the relaxed shortest-path cost from the start to $v$, and let $d_b(v)$ be the relaxed cost from $v$ back to the start, closing the cycle. Let $U$ be the cost of any feasible matching we already have. Then $v$ can be deleted whenever
$$ d_f(v) + d_b(v) \geq U, $$
because no consistent matching through $v$ can cost less than its relaxed counterpart. This is exactly the "nogood" test $f(t) \oplus h(t) \geq k$ used by function filtering in tree decompositions, which cut stored message memory by about 98% on the spot54 scheduling instance (754k down to 16k memory units). Here the "tuples" are product-graph nodes and edges.
The integer program is then built only on the surviving nodes, so its optimum is the optimum of the full problem. The claim to be tested is that on real human and animal meshes the surviving fraction is small enough for the exact solve to fit in memory at 10,000 or more triangles. We also test that the bound can be tightened iteratively, by pricing violated consistency constraints back into the relaxation, when the plain relaxation is too loose.
The cross-domain precedent comes from BBMarkov. It used a relaxed dynamic program, Bayesian network scores, to bound an exact search over chordal Markov networks, and cut memory from 25–30 GB to about 1 GB at 19 variables. Section 2 of the research file reports that no such bound-and-filter technique has yet been applied to geometric matching. This proposal is the first test of whether it transfers.
Research Program
The work has four parts.
Relaxed bounding pass. We define the relaxed problem by keeping SpiderMatch's path-continuity structure and dropping its constraints that preserve existing self-intersections and forbid new ones. We implement forward and backward relaxed shortest paths over an implicit product graph. Only two floating-point arrays indexed by product node are stored, never the constraint matrix. The cyclic constraint is handled by fixing the start correspondence and branching over a small set of start candidates, each of which is itself pruned by the same bound.
Cheap incumbents. The incumbent $U$ comes from feasible matchings that are cheap to obtain. Two sources are used: SpiderMatch solved on a decimated mesh and lifted back to full resolution with a consistency repair, and the output of a learned matcher projected onto a feasible path. This is where the weakness noted for function filtering applies: filtering works only if the upper bound is tight. We therefore treat incumbent quality as a measured variable, not an assumption.
Bound tightening. When pruning leaves too much, we iterate in the spirit of iterative mini-cluster-tree elimination (function filtering), which raised the lower bound on wp2300 from 76 to 132 under fixed memory. We solve the reduced program, identify which consistency constraints the relaxed paths violate, add penalty weights for them to the relaxation (a Lagrangian adjustment, which keeps the bound valid), and re-filter.
Exact solve. The reduced integer program is solved with the same Gurobi formulation SpiderMatch uses. Every result is reported with its certified optimality gap.
Baselines
The naive reference point is SpiderMatch as published, applied by decimating each high-resolution mesh to about 1,000 triangles, solving exactly, and transferring the map back to full resolution by nearest-vertex lifting. This is what a practitioner would do today. The file reports its scale and runtime (about 100 seconds at 1,000 triangles) and states that its FAUST and SMAL geodesic errors beat deep learning methods by Cao et al. However, no reported numerical geodesic error for SpiderMatch was found on Lacuna. We therefore rerun it ourselves on identical splits.
The strongest existing exact competitor is SpiderMatch run directly at full resolution with Gurobi, using the same machine, the same RAM cap, and the same wall-clock limit as our method. Because it is expected to run out of memory beyond some size, we report the largest mesh size it completes and its best gap at timeout. We beat it if, at matched memory and time, we certify optimality, or a strictly smaller gap, on meshes where it fails. At sizes where both finish, we must match its objective exactly; any difference would mean an implementation bug.
As a non-exact reference we include the Blended Intrinsic Maps result reported by FAUST, an average error of 120 mm (FAUST). We also include a learned matcher of the kind SpiderMatch compares against, trained with its standard published recipe.
The key ablation replaces certified pruning with heuristic pruning. It keeps only product nodes within a fixed window of the coarse solution, in the style of the local search windows in VoxelOpt. The window size is tuned so that it keeps the same number of nodes as our filter. This ablation isolates whether the guarantee itself matters, or whether any pruning that is equally aggressive does as well.
Why not just…?
Why not just decimate, solve, and upsample? This is the honest default, and on smooth body regions it may be nearly as accurate. Its failure modes are specific: fine structures such as fingers and ears collapse under decimation, and lifting the map back can reintroduce the very inconsistencies the global solve removed. Our experiments measure geodesic error and symmetry-flip rate separately on thin parts. If decimation matches us everywhere, the conclusion is that resolution does not matter for this objective, and we will report that.
Why not just restrict the search to a window around a coarse solution? This is the real threat. If the coarse solution is right, a window loses nothing and is simpler. The ablation in the Baselines section settles it. On shapes where the coarse solve flips symmetry or misplaces a limb, a window cannot recover. The certified filter keeps any node that could lie on a better path, so it can. If certified and heuristic pruning agree on nearly every FAUST, SMAL, and DT4D-H pair, the guarantee buys little in practice, and the contribution shrinks to a correctness certificate.
Why not rely on Gurobi's own presolve and reduced-cost fixing? These do something similar using the bound from the linear-programming relaxation, and that bound may be tighter than ours. The catch is that they first require building and solving the root linear program over the full product graph, which is exactly the object that does not fit in memory. We test this directly by logging the peak memory at which Gurobi fails relative to the size of our relaxed pass. Where both fit, we compare how much the linear-programming bound and our filter each prune.
Why not just learn the matching or a neural value function? End-to-end matchers have no consistency guarantee and are prone to left-right flips, as SpiderMatch shows. Neural dynamic programming (NNDP) compresses tables well, reaching a ratio of 1.0068 to the optimum on HK48, but the file notes it gives up exact bounds. In our design learned models are used only to supply incumbents, which is safe because a poor incumbent costs speed, never correctness.
Proposed Experiments
The experiments use FAUST, SMAL, and DT4D-H with SpiderMatch's pairings. Each pair is evaluated at resolutions of roughly 1k, 2k, 5k, 10k, and 20k triangles.
The decisive measurements are as follows. The first is the fraction of product nodes surviving the filter as a function of resolution. If the absolute count of survivors grows roughly linearly with mesh size, the approach scales; if a constant fraction survives, it does not. The second is peak RAM and wall-clock time against full-resolution SpiderMatch. The third is the certified optimality gap. The fourth is mean geodesic error together with symmetry-flip rate against all baselines.
Two diagnostics explain failures. One plots survivor fraction against the incumbent's excess cost, to test the sensitivity to the upper bound flagged for function filtering. The other measures how far the relaxed lower bound sits below the constrained optimum before and after Lagrangian tightening, to check whether dropping the self-intersection constraints makes the bound too loose to be useful.
Finally, the FAUST contact scans, where body parts touch and the mesh becomes non-manifold, are reported separately. These cases break the manifold assumptions of SpiderMatch's constraints. Neither method is expected to handle them cleanly, but they show whether certified pruning degrades gracefully or prunes away the true match because the constraints themselves are wrong.
The project succeeds if certified-optimal matches are obtained at 10,000 or more triangles within the memory budget at which full SpiderMatch fails. It fails informatively if the survivor fraction stays high even with a near-optimal incumbent. That outcome would show that the consistency constraints, not the size of the product graph, are what make the problem hard.
References
- SpiderMatch: 3D Shape Matching with Global Optimality and Geometric Consistency
- FAUST: Dataset and Evaluation for 3D Mesh Registration
- Improving Tree Decomposition Methods With Function Filtering
- Learning Chordal Markov Networks via Branch and Bound
- VoxelOpt: Voxel-Adaptive Message Passing for Discrete Optimization in Deformable Abdominal CT Registration
- Boosting Dynamic Programming with Neural Networks for Solving NP-hard Problems