Brep2Shape: Boundary and Shape Representation Alignment via Self-supervised Transformers
Yuanxu Sun, Yuezhou Ma, Haixu Wu, Guanyang Zeng, Muye Chen, Jianmin Wang, Mingsheng Long
Abstract
Boundary representation (B-rep) is the industry standard for computer-aided design (CAD). While deep learning shows promise in processing B-rep models, existing methods suffer from a representation gap: continuous approaches offer analytical precision but are visually abstract, whereas discrete methods provide intuitive clarity at the expense of geometric precision. To bridge this gap, we introduce Brep2Shape, a novel self-supervised pre-training framework designed to align abstract boundary representations with intuitive shape representations. Our framework employs a geometry-aware task where the model learns to predict dense spatial points from parametric Bézier control points, enabling the network to better understand physical manifolds derived from abstract coefficients. To enhance this alignment, we propose a dual transformer backbone with parallel streams that independently encode surface and curve tokens to capture their distinct geometric properties. Additionally, the topology attention is integrated to model the inherent interdependencies between surfaces and curves, thereby maintaining topological consistency. Experimental results demonstrate that Brep2Shape offers significant scalability, achieving state-of-the-art accuracy and faster convergence across various downstream tasks. Code is available at this repository: https://github.com/thuml/Brep2Shape.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 68182f52-b77e-4b13-a050-e225f4b209d7Builds on14
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah et al.NeurIPS 2020 · 64,255 citations
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
- Segment AnythingAlexander Kirillov, Eric Mintun, Nikhila Ravi, Hanzi Mao et al.ICCV 2023 · 13,211 citations
Related papers
- Stitch-A-Shape: Bottom-up Learning for B-Rep GenerationPu Li, Wenhao Zhang, Jinglu Chen, Dongming YanSIGGRAPH 2025 · 3 citations
- DualBrep: A Dual-Field Continuous Representation for B-rep ModellingYilin Liu, Pradeep Kumar Jayaraman, Chinthala Reddy, Xiang Xu et al.SIGGRAPH 2026
- SpelsNet: Surface Primitive Elements Segmentation by B-Rep Graph Structure SupervisionKseniya Cherenkova, Elona Dupont, Anis Kacem, Gleb Gusev et al.NeurIPS 2024 · 8 citations
- BrepForge: Factorized B-rep Synthesis via Wireframe Composition and Boundary-Conditioned Surface InstantiationJing Li, Yihang Fu, Falai ChenSIGGRAPH 2026
- DTGBrepGen: A Novel B-rep Generative Model through Decoupling Topology and GeometryJing Li, Yihang Fu, Falai ChenCVPR 2025
