English

Brep2Shape: Boundary and Shape Representation Alignment via Self-Supervised Transformers

Machine Learning 2026-02-10 v1 Artificial Intelligence

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 method designed to align abstract boundary representations with intuitive shape representations. Our method employs a geometry-aware task where the model learns to predict dense spatial points from parametric B\'ezier 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. Moreover, the topology attention is integrated to model the 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.

Keywords

Cite

@article{arxiv.2602.07429,
  title  = {Brep2Shape: Boundary and Shape Representation Alignment via Self-Supervised Transformers},
  author = {Yuanxu Sun and Yuezhou Ma and Haixu Wu and Guanyang Zeng and Muye Chen and Jianmin Wang and Mingsheng Long},
  journal= {arXiv preprint arXiv:2602.07429},
  year   = {2026}
}
R2 v1 2026-07-01T10:25:46.828Z