HiFi-BRep: High-Fidelity Latent Representation for Robust B-Rep Generation
Organizations: State Key Lab of CAD&CG, Zhejiang University · Hangzhou Dianzi University · Guangzhou University
Abstract
Boundary representation (B-Rep) generation is a fundamental task in computer-aided design, yet the direct synthesis of high-fidelity and structurally valid B-Reps remains a major challenge. Existing deep generative methods suffer from two forms of brittleness: representation brittleness, caused by padding noise and feature contamination in the latent space, and generation brittleness, stemming from sequential error propagation and a train-inference mismatch due to non-differentiable validity enforcement. We propose HiFi-BRep, a novel framework that addresses these limitations through two synergistic contributions. First, a topology-aware encoder constructs a high-fidelity latent representation by eliminating padding via learnable queries and preventing feature contamination with topology-guided attention. Second, a single-stage decoder jointly predicts geometry and topology in parallel, embedding core manifold constraints as a differentiable learning objective. This design ensures mutual guidance between geometry and topology while avoiding cascaded errors. Extensive experiments show that HiFi-BRep significantly outperforms state-of-the-art methods in both structural validity and geometric fidelity, providing a robust solution for high-quality B-Rep synthesis. Code and models are publicly available at https://github.com/1nnoh/HiFi-BRep.
Figures & tables
| Dataset | Method | COV ( ) | MMD-CD ( ) | JSD ( ) | Novel ( ) | Unique ( ) | Compilability (%, ) | Valid (%, ) |
|---|---|---|---|---|---|---|---|---|
| DeepCAD | DeepCAD | 76.67 | 1.09 | 0.77 | 93.80 | 89.79 | 88.46 | 68.20 |
| BRepGen | 47.03 | 1.51 | 3.12 | 99.72 | 99.18 | 20.91 | 20.76 | |
| BrepDiff | 45.03 | 1.32 | 2.39 | 99.27 | 99.10 | 63.69 | 63.69 | |
| DTGBrepGen | 73.50 | 1.06 | 0.98 | 99.79 | 99.33 | 92.48 | 43.20 | |
| HiFi-BRep (ours) | 70.40 | 1.05 | 1.72 | 99.81 | 99.15 | 90.38 | 72.20 | |
| ABC | BRepGen | 34.73 | 2.08 | 5.72 | 99.68 | 99.05 | 20.77 | 20.19 |
| Variant | Face Acc. (%, ) | Edge Acc. (%, ) | Adj Acc. (%, ) | Valid (%, ) |
|---|---|---|---|---|
| HiFi-BRep (full) | 100.0 | 99.5 | 97.5 | 95.2 |
| w/o Topo-Mask (encoder) | 99.3 | 98.7 | 92.7 | 89.5 |
| w/o two-peak | 99.3 | 98.5 | 90.4 | 87.2 |
| w/o one-stage decoding (geom adj) | 98.6 | 98.2 | 73.2 | 69.3 |
| Method | BRepGen | BrepDiff | DTGBrepGen | HiFi-BRep |
|---|---|---|---|---|
| Total / Post (s) | 8.09 / 0.32 | 26.28 / 23.07 | 23.55 / 12.83 | 3.83 / 0.53 |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| max shared | count |
|---|---|
| 0 | 847 |
| 1 | 142020 |
| 2 | 40735 |
| 3 | 1830 |
| 4 | 509 |
| 5 | 110 |
3D Shape Generation
3D shape generation creates and edits 3D objects from learned geometric priors and text, images, sketches, or structural constraints.
See all 104 papers