Abstract
This paper introduces a novel self-supervised framework for learning geometric representations of Computer-Aided Design (CAD) models in their native Boundary Representation (B-Rep) format. By training an encoder-decoder architecture to perform "neural rasterization"—predicting both 3D surface coordinates and 2D clipping boundaries—the authors enable the extraction of rich geometric features from massive unlabeled datasets. This approach achieves state-of-the-art performance on downstream engineering tasks, such as part segmentation and classification, and demonstrates remarkable robustness in few-shot learning scenarios where labeled data is extremely scarce.
Introduction
While deep learning has seen significant success in 3D computer vision using meshes and point clouds, engineering and manufacturing workflows primarily rely on Computer-Aided Design (CAD). CAD models are defined by Boundary Representations (B-Reps), which are mathematically precise graphs of surfaces, curves, and points. Processing B-Reps directly is challenging for standard neural networks due to their complex topological structure. Furthermore, while unlabeled CAD data is abundant, high-quality labeled datasets for specific engineering tasks are expensive and require domain expertise. This research addresses these challenges by leveraging self-supervision to learn the fundamental "language" of CAD geometry.
Methodology
The proposed framework centers on a self-supervised task called Neural Rasterization. The goal is to learn a latent embedding for every face in a CAD model that contains sufficient information to reconstruct that face's geometry and boundaries.
The Encoder-Decoder Architecture
- Hierarchical GCN Encoder: The model uses a Graph Convolutional Network (GCN) to process the B-Rep's topological graph. Message passing occurs from vertices to edges and finally to faces, allowing face embeddings to capture the context of surrounding boundaries.
- Neural Field Decoder: A conditional Multi-Layer Perceptron (MLP) acts as the decoder. Given a face embedding and a 2D coordinate $(u, v)$ in the face's parameter space, it predicts:
- Explicit Geometry: The 3D position $(x, y, z)$ of the point.
- Implicit Boundary: A Signed Distance Field (SDF) value indicating if the point is "inside" or "outside" the trimmed boundary.
Self-Supervised Training
Because ground truth geometry is inherent in the CAD file, the model can be trained on thousands of unlabeled models (such as the Fusion 360 Gallery) to minimize the reconstruction error. This process forces the model to recognize geometric primitives (e.g., planes, cylinders) and understand how they are clipped by neighboring surfaces.
Key Results and Insights
The researchers evaluated the learned representations on several benchmarks, including Fusion 360 Gallery for modeling segmentation, MFCAD for machining feature detection, and FabWave for part classification.
- Few-Shot Excellence: The method's most significant advantage is its performance with minimal data. On the Fusion 360 segmentation task, it achieved 65% accuracy with only 10 training examples, significantly outperforming baselines like BRepNet and UV-Net which failed to generalize at such small scales.
- State-of-the-Art Performance: With full training sets, the model reached 96% accuracy, matching or exceeding the performance of specialized supervised architectures.
- Efficiency and Differentiability: The pipeline is an order of magnitude faster to train than previous methods. Additionally, because the decoder is a neural network, the entire process is differentiable, enabling applications like reverse engineering through gradient-based optimization.
Conclusion
By framing geometry reconstruction as a self-supervised task, this work provides a powerful tool for CAD-based machine learning. The ability to learn from unlabeled data and generalize from few examples addresses a major bottleneck in the field. Future work aims to extend the encoder to handle complex NURBS surfaces and incorporate global assembly-level context into the self-supervised objective.
Summary updated