BRepA: Graph-Based B-Rep Pretraining for Unified CAD Understanding and Generation
Dekai Zhu, Zhaiyu Chen, Stefan Gavranovic, Slobodan Ilic
Abstract
Boundary representation (B-Rep) of CAD models encodes geometric primitives and their relations as a graph structure, enabling efficient shape modeling within CAD software. Learning on B-Reps for downstream tasks, such as segmentation and novel shape generation, requires specialized neural network designs. Moreover, performance improvements and accelerated training can be achieved with effective pretraining strategies, which is particularly important for tasks with limited labeled B-Rep data. In this paper, we introduce BRepA, a unified self-supervised pretraining framework that explicitly reconstructs both the geometry and topology of B-Rep objects via graph-based modeling. By learning from large-scale unlabeled CAD data only once, BRepA produces representations that generalize across tasks and significantly enhance both discriminative and generative learning. On segmentation tasks, BRepA demonstrates remarkable data efficiency. For instance, with only 1% labeled samples, BRepA pretraining improves mIoU by 32.52% compared to models trained from scratch. On generative tasks, aligning diffusion model representations with pretrained BRepA features substantially accelerates convergence, achieving nearly 2 times faster training while improving generation quality under the same computational budget, despite the diffusion model being roughly 20 times larger than BRepA. Overall, our results show that geometry- and topology-aware B-Rep pretraining provides a powerful foundation for both understanding and generating CAD structures, serving as a versatile representation backbone for diverse downstream applications. We will release the code to facilitate future research.
Create a lesson
Related papers
Fix Where It Fails: Root-Cause-Guided Agentic Harness Optimization for Scene Graph Generation
Shared title terminology · Jee Eun Kim, Donghyeon Choi, Sangjune An et al.
MI-Hyper: Generating Multiple Instance Models for Weight Space Transfer Learning in Histopathology via Mixed Tasks Pretrained HyperNetwork
Shared title terminology · Xitong Ling, Yousef Kotp, Weiming Chen et al.
When Visually Rich Documents Meet Multi-Vector Retrieval for Region-level Retrieval-Augmented Generation
Shared title terminology · Xu Yuan, Liangbo Ning, Yujuan Ding et al.
Ego2Ego: Generative Visual Perspective Taking Across Collaborators
Shared title terminology · Chuhan Jiao, John Gideon, Anshul Gupta et al.
VMSA: Video Memory Skill Agent for Long Video Understanding
Shared title terminology · Changin Choi, Jungwon Park, Jungmin Ko et al.
Can Reasoning and Image Description Enhance Yes/No Visual Mathematical Understanding?
Shared title terminology · Guangcheng Song, Weichuan Wang, Linqi Song