Keeping Semantic Evidence Alive Inside Spectral Shape Matching

Finding which point on one 3D body corresponds to which point on another is usually done in a compact "spectral" coordinate system. The standard tools here are functional maps: instead of matching tens of thousands of vertices one by one, they match the low-frequency vibration patterns of each surface, which reduces the problem to a small matrix. This works well until the geometry lies. The left and right sides of a body vibrate identically, so solvers flip limbs. A hand resting on a thigh fuses two body parts into one surface and changes the vibration patterns completely. Features distilled from 2D image models carry the opposite profile. They are blind to fine geometry but tell a left hand from a right one regardless of how the mesh is glued.

This note proposes treating every candidate vertex match as a small verification problem judged by two experts. One is the geometric spectral matcher and the other is a compact projection of image-model features. Their scores are combined at every step of spectral refinement, rather than merged once at the input. The key enabling piece is how the image features are compressed. We use a nearest-neighbor discriminant projection whose "hardest negatives" are by construction a point's symmetric twin and its contact neighbors. That compresses thousands of semantic dimensions into a few dozen that are spent where geometry fails.

Core Claim

Functional-map refinement fails in a structured way, through symmetry flips and topological contact. A second channel can repair this only if two conditions hold. First, the channel must be compressed with a criterion aimed at those specific confusions, which global-centroid projections and variance-preserving projections are not. Second, its evidence must be fused with geometric evidence through a calibrated, resolution-dependent score combination. Adding it as extra input features or as a one-off initialization is not enough. Our claim is that this combination reduces symmetry-flip rates and improves accuracy at tight error tolerance on SHREC'19 and on real FAUST scans with self-contact. We claim it does so beyond what sequential initialization or feature concatenation achieves.

Background and Positioning

Three lines of work supply the pieces, and none puts them together.

On the spectral side, ZoomOut refines a correspondence by alternating two steps. It recovers point matches by nearest-neighbor search in a $k$-dimensional spectral embedding, then re-projects those matches into a functional map one frequency larger. Memory-Scalable and Simplified Functional Map Learning makes this differentiable (DiffZo) inside a DiffusionNet backbone and uses KeOps to keep dense pointwise operations at linear memory. That memory saving is what makes dense, full-resolution pairwise score fusion affordable here, so this paper supplies our machinery. Deep Functional Maps and FAUST document the failure modes that motivate us: topological bridges and symmetry. Both pipelines train descriptors only with geometric consistency losses, and nothing in them targets the left/right confusion.

On the semantic side, Diff3F renders untextured meshes from many views, generates images with a depth- and normal-conditioned diffusion model, and lifts Stable Diffusion and DINOv2 features back onto the surface. It reports 26.41% correspondence accuracy at 1% error tolerance on SHREC'19 and 72.60% on SHREC'20 animals. These results show that semantic features carry identity information geometry lacks, while their tight-tolerance precision stays low. Diff3F matches by nearest neighbor in raw feature space, and we use its features as our second expert. Functional Faces is the closest precedent for mixing heterogeneous descriptors in a functional map. It concatenates hand-chosen geometric and texture descriptors heuristically, which is exactly the early-fusion design we test against.

On the dimensionality-reduction side, Nearest neighbor discriminant analysis for robust speaker recognition builds between-class scatter from local means of nearest neighbors in other classes. It weights pairs near the decision boundary most heavily, yielding full-rank scatter and as many useful directions as needed. In its RATS speaker experiments it beat LDA in miss rate at 2.5% false alarm (3.49% vs 3.91% at 250 dimensions). Neighborhood MinMax Projections and Localized Sliced Inverse Regression make the same move of local statistics instead of global centroids. We reuse the NDA construction, but change what counts as a boundary neighbor. In shape matching the near-misses are not random. They are the mirror point and the points a contact glues together, so we seed the between-class neighbor sets with them explicitly.

Two further papers constrain the design. Deep Discriminant Analysis shows that a nonlinear center-loss projection can beat LDA on its own, at 4.51% vs 5.22% EER. It also shows that the projection interacts badly with a downstream model whose assumptions it violates. Our downstream step, spectral projection of descriptors, is linear least squares that favors smooth functions. So we test whether a nonlinear projection produces descriptors that the spectral basis represents poorly. Norm-constrained Score-level Ensemble shows that fusing independently trained subsystems succeeds only once their score distributions are aligned, reaching 0.37% SASV-EER on SASVC 2022. We take this lesson directly: uncalibrated summation of a spectral distance and a semantic distance should be dominated by whichever has the larger spread.

Research Program

The first component is a confusion-targeted projection of semantic features. We train it on the training shapes of FAUST, using ground-truth correspondence to a template. Classes are geodesic patches obtained by farthest-point sampling on the template, and the within-class scatter is computed from nearest neighbors inside a patch. For between-class scatter we use NDA's boundary-weighted local means. We force each patch's between-class neighbor set to include its mirror patch under the template's intrinsic symmetry and any patch within a small Euclidean but large geodesic distance across training poses, which captures contact. The output dimension is chosen on validation, expected at 32–64 dimensions to match DiffZo's descriptor size.

This also exposes a rank issue that matters in practice. If only coarse part labels are available, as in segmentation-only supervision, classical LDA gives at most one fewer direction than there are parts. That is far too few descriptors for a well-posed functional map. The local formulation has no such ceiling, and we test this regime explicitly.

The second component is resolution-scheduled score fusion inside refinement. At ZoomOut step with spectral size $k$, each source vertex $i$ and target vertex $j$ receive a fused score

$$s_k(i,j) = a_k\, g_k(i,j) + b_k\, h(i,j) + c_k,$$

where $g_k$ is the negative distance between the two vertices in the current $k$-dimensional spectral embedding, $h$ is the negative distance in the projected semantic space, and $(a_k, b_k, c_k)$ are logistic-regression weights. These weights are fitted on training pairs labeled positive when the match lies within a geodesic tolerance, so that $s_k$ is a calibrated log-odds. A softmax over $j$ gives a soft pointwise map, computed lazily with KeOps, and the next functional map is its spectral projection.

The schedule over $k$ is the substantive part. We expect semantic weight to dominate at small $k$, where symmetry is decided. Geometric weight should take over at large $k$, where precision is decided. A per-vertex variant lets semantic weight rise again where local spectral distances are unreliable, detected by low confidence in the soft map near contact regions. The whole pipeline can also be trained end to end through DiffZo, with the projection fine-tuned under the geodesic loss.

The third component is diagnosis. For every method we record a per-shape symmetry-flip rate: the fraction of vertices matched closer to the mirror of their true correspondence than to the correspondence itself. We also record error restricted to contact regions on real FAUST scans. These isolate the two failure modes the method targets from aggregate accuracy.

Baselines

The do-nothing reference is geometric refinement alone: DiffZo with its DiffusionNet descriptors, run from the authors' code release RobinMagnet/SimplifiedFmapsLearning with their default spectral schedule and training recipe. It is the strongest purely geometric learned pipeline in the file. No reported result found on Lacuna for DiffZo on FAUST, SCAPE or SHREC'19, so we rerun it ourselves on identical splits and remeshing.

The strongest existing method on our target benchmark with a reported number is Diff3F. It is reported at 26.41% accuracy at 1% tolerance on SHREC'19 and 72.60% on SHREC'20 (Diff3F). We reproduce it with the same feature extraction we use for our semantic channel, so that any gain cannot come from better features. Beating it means a higher 1%-tolerance accuracy on SHREC'19 using those same features.

The most dangerous baseline is sequential use: initialize ZoomOut or DiffZo from Diff3F nearest-neighbor matches, then refine geometrically. It uses the same two ingredients without fusion, so it directly tests whether keeping semantic evidence alive during refinement matters. A second competitor is early fusion: concatenate PCA-reduced Diff3F features with DiffusionNet descriptors and train DiffZo on the concatenation, in the spirit of Functional Faces.

All methods share the same training shapes, the same feature extraction, the same spectral sizes, and a matched hyperparameter search budget. Each gets equal grid points over projection dimension, neighbor count and schedule length; NDA's neighbor count is known to be sensitive, with optimal values of 7 or 9 depending on condition in Nearest neighbor discriminant analysis.

Ablations isolate the key ingredients. We swap the confusion-targeted NDA projection for PCA, classical LDA on patches, untargeted NDA, and a center-loss network as in Deep Discriminant Analysis, holding fusion fixed. We also swap calibrated scheduled fusion for uncalibrated summation and for constant weights, holding the projection fixed. Our method counts as successful only if it beats sequential initialization on symmetry-flip rate and contact-region error without losing mean geodesic error. If it matches sequential initialization, fusion is unnecessary and the contribution reduces to the projection.

Why not just…?

Why not just initialize spectral refinement from Diff3F matches? This is a real threat. ZoomOut is reported to tolerate substantial initialization noise, up to 40% of shape radius (ZoomOut), so a semantically correct initialization may be all it needs on clean near-isometric pairs. Our hypothesis is that it is insufficient where the spectrum itself is corrupted, namely real scans with contact, because there refinement can drift away from a correct initialization as $k$ grows. The per-iteration flip rate and contact-region error, compared between sequential and fused runs, settle this directly. If the gap is negligible on SHREC'19 and FAUST contact scans, we will report that fusion is unnecessary and keep only the projection result.

Why not just concatenate the semantic and geometric descriptors? Concatenation puts both into one least-squares system with a single implicit weighting. That weighting cannot shift toward semantics at low frequency and toward geometry at high frequency. It also inherits whichever channel has the larger scale, the failure that motivated norm constraints in Norm-constrained Score-level Ensemble. The early-fusion baseline, trained with the same budget, tests this. The learned schedule $(a_k, b_k)$ also shows whether the optimal weighting really varies with resolution. If it is flat, concatenation is roughly equivalent and we will say so.

Why not just reduce Diff3F features with PCA, or use the raw features? PCA keeps directions of large variance across the whole body, and these mostly separate head from foot, which geometry already handles. The left/right distinction is a small-variance direction that PCA tends to discard. This is the same argument for which NDA's boundary weighting was designed, and it was shown to help over global projections in Nearest neighbor discriminant analysis. Raw features are too high-dimensional for the descriptor term and the dense score computation. The projection ablation, comparing PCA, LDA, untargeted NDA and targeted NDA at equal dimension, measured by flip rate, is the decisive check.

Proposed Experiments

We train on FAUST using the train/test split of Deep Functional Maps. We evaluate in-distribution on FAUST, and out-of-distribution on SCAPE and SHREC'19 humans, reporting mean geodesic error, accuracy at 1% geodesic tolerance, symmetry-flip rate, and contact-region error. Contact-region error is measured on the real FAUST scans with self-contact identified by FAUST. SHREC'20 animals and SMAL test whether the targeted projection transfers to non-human symmetry when the projection is retrained on animal templates. DT4D-H tests non-isometric humans.

The decisive results are three. First, on SHREC'19 the fused method should exceed the reproduced Diff3F 1%-tolerance accuracy and the sequential baseline's flip rate, using identical features. Second, on FAUST contact scans, contact-region error should fall relative to both DiffZo and sequential initialization. Third, the projection ablation should show targeted NDA reducing flips relative to PCA at equal dimension, with the coarse-label experiment showing LDA's direction ceiling producing measurably worse functional maps. A clean negative on the first two, with a positive on the third, would still yield a useful finding: the right compression of semantic features matters more than how it is combined.