Abstract
Neural Shape Mating (NSM) is a self-supervised framework designed to assemble two 3D parts into a coherent whole based on geometric compatibility rather than semantic labels. Unlike traditional point cloud registration, which aligns overlapping surfaces, NSM addresses the "geometric mating" problem—finding the fit between disjoint surfaces. By integrating a Transformer-based cross-shape reasoning module with adversarial shape priors and implicit reconstruction, NSM achieves significant improvements over existing baselines. The model demonstrates robust generalization to unseen object categories and novel cut types, marking a significant step forward in autonomous geometric assembly.
Introduction
In the fields of robotic assembly and computer vision, the dominant paradigm for object reconstruction has long been semantic assembly. This approach relies on the recognition of known parts—for instance, identifying a chair leg and a seat and placing them together based on a learned template of what a "chair" should look like. However, many real-world tasks involve geometric mating, where semantic labels are either unavailable or unhelpful. Examples include reassembling shattered archaeological artifacts, protein docking in biology, or connecting custom-engineered components.
Geometric mating is fundamentally different from point cloud registration. Traditional methods like Iterative Closest Point (ICP) are designed to align surfaces that represent the same geometry from different viewpoints (overlapping surfaces). In contrast, mating requires finding how two distinct, disjoint surfaces fit together like a lock and key. This paper introduces Neural Shape Mating (NSM), a framework that learns to predict the relative pose of two parts by reasoning about their complementary geometric features.
Methodology
NSM treats the assembly task as a pose prediction problem, utilizing a pipeline composed of four integrated components:
1. Point Cloud Encoder
The system begins by processing two input point clouds, $P_A$ and $P_B$, using a Dynamic Graph CNN (DGCNN). This encoder extracts high-dimensional local geometric features, capturing the nuances of the surface topology for each part.
2. Transformer-based Correlation
The core of the NSM architecture is a Transformer-based reasoning module. Unlike standard encoders that process parts in isolation, this module uses cross-attention to model the asymmetric relationship between the two parts. It identifies how specific geometric cues on Part A (the "key") correspond to the negative space or "voids" on Part B (the "lock"). This cross-shape reasoning is essential for determining the precise alignment of disjoint surfaces.
3. Adversarial Shape Prior
To ensure that the predicted assembly is physically and visually plausible, the authors incorporate an adversarial training regime. A discriminator is trained to distinguish between ground-truth assembled objects and the model's predicted configurations. This forces the generator to avoid common errors such as interpenetration (parts overlapping) or unrealistic gaps, guiding the pose prediction toward a globally consistent shape.
4. Implicit Shape Reconstruction
As an auxiliary task, the model is trained to predict the Signed Distance Function (SDF) of the parts. This implicit reconstruction acts as a regularizer, ensuring that the learned features are robust to the noise and missing data typically found in raw point cloud scans.
Data Generation and Self-Supervision
Because no large-scale dataset for geometric mating existed, the researchers developed a self-supervised procedural pipeline to generate training data. Starting with 1,246 source meshes from datasets like Thingi10K and ShapeNet, they applied five distinct mathematical "cuts" (planar, sine, parabolic, square, and pulse) to divide objects into two pieces. This resulted in a massive dataset of 200,000 shape pairs, encompassing both solid and shell-like geometries.
Experimental Results
NSM was evaluated against several baselines, including ICP and Deep Closest Point (DCP). The results demonstrated the superiority of the NSM approach in several key areas:
- Accuracy: NSM achieved a significant reduction in rotation error, outperforming the best existing baselines by up to 4x in Mean Absolute Error (MAE).
- Generalization: One of the most striking findings was the model's ability to generalize. NSM successfully mated parts from object categories it had never seen during training. Furthermore, it showed "zero-shot" capabilities regarding cut types—for example, a model trained only on planar cuts could still accurately assemble parts separated by parabolic surfaces.
- Robustness: While correspondence-based methods like ICP and DCP saw performance degrade rapidly when Gaussian noise was added to the point clouds, NSM remained remarkably stable, proving its utility for real-world sensor data.
Conclusion and Future Work
Neural Shape Mating represents a shift from semantic-dependent assembly to a purely geometric approach. By leveraging Transformer-based attention and adversarial priors, the model learns the fundamental principles of how shapes fit together.
Despite its success, the authors identify several avenues for future research. Currently, the model is limited to pairwise assembly (two parts), whereas many real-world problems involve multi-part assembly. Additionally, the model assumes full visibility of the parts, which is rarely the case in robotics due to occlusions. Finally, moving from a unimodal prediction to a distribution of possible fits could help the model handle symmetric objects where multiple valid mating configurations exist.
Summary updated