Manuscript Offprint

arXiv:2610.33484

Can One Hear Geometry? Gauge-Invariant Spectral Descriptors for Text-to-B-rep Retrieval

Hongzhu Yi, Hao Liu, Tao Yu, Tiankun Yang, Yujia Yang, Zhenghao Zhang, Tianyu Zong, Zhenyu Guan, Bingkang Shi, Haopeng Jin, Yuanxiang Wang, Zhongtian Luo, Jungang Xu

Abstract

Text-to-3D solid retrieval requires aligning natural language with precise geometry despite variations in pose, scale, and recording conventions. Existing methods discretize Boundary Representation (B-rep) models into point clouds or meshes, or learn features from faces, edges, and topology, risking information loss or lacking explicit invariance guarantees. We propose a text-to-B-rep retrieval framework based on group actions and spectral geometric invariants, making invariance an explicit constraint on descriptor construction. Specifically, we use group actions to characterize equivalence transformations induced by translation, rotation, reflection, uniform scaling, and contour recording conventions. For sketch–extrusion solids, we construct a fixed 280-dimensional spectral geometric descriptor by integrating geometric information from three complementary levels, including cross-sectional regions, contour boundaries, and extrusion structures. Furthermore, we use descriptor-consistent multi-positive sets and geometric attribute supervision to promote structural alignment between text and solids. On Text-to-3D solid retrieval, our method achieves 88.6% Recall@5, exceeding the previous state of the art by 13.6 percentage points and demonstrating the effectiveness of explicit geometric invariants for precise 3D solid retrieval.

1 Introduction 3
1.1 Contributions 3
2 Related Work 4
3 Method 5
3.1 Problem Formulation and Overall Framework 5
3.2 Geometry Preprocessing and Equivalent Representations 5
3.3 Geometrically Invariant Spectral Descriptor for B-rep 6
3.4 Cross-Modal Alignment Between Text and B-rep 8
3.4.1 Multi-Positive Learning Based on B-rep Geometric Equivalence 8
3.4.2 Constraining Text Representations with B-rep Geometric Attributes 9
4 Experiments 10

Text-to-B-rep Retrieval

4.1 Setup ..... 10
4.2 Descriptor Validation ..... 10
4.3 Main Retrieval Results ..... 11
4.4 Ablation Studies ..... 12
4.4.1 Effect of Language Model Size ..... 12
4.4.2 Effect of Unit Capacity ..... 12
4.4.3 Contributions of Descriptor Components ..... 12
4.4.4 Geometric Supervision and Positive Groups ..... 14

5 Limitations and Future Work ..... 15

6 Conclusion ..... 15

References ..... 15

Appendix ..... 21

A From Construction Records to B-rep Geometry ..... 21
A.1 Geometric Basis of the Sketch–Extrusion Representation ..... 21
A.1.1 Product Geometry and Boundary Decomposition ..... 21
A.1.2 Geometric Roles of the Descriptor Components ..... 21
A.2 Reconstruction of Explicit B-rep Geometry ..... 21
A.2.1 Planar Profiles ..... 22
A.2.2 Generation of Solids ..... 22
A.2.3 Boolean Composition ..... 22
A.3 Equivariance of Reconstruction ..... 23
A.3.1 Similarity Transformations and Discretization ..... 23
A.3.2 Operation-Level Equivariance and Recording Conventions ..... 23

B Invariance Properties of the Spectral Descriptor ..... 23
B.1 Similarity Invariance of the Dirichlet Spectrum ..... 23
B.1.1 Eigenfunction Transformation and Laplacian Scaling ..... 23
B.1.2 Scale Normalization and Contour Conventions ..... 24
B.2 Extrusion Spectrum by Separation of Variables ..... 24
B.2.1 Product Modes and Eigenvalues ..... 24
B.2.2 Scale Normalization ..... 24
B.2.3 Relative Extrusion Depth ..... 25
B.3 Invariance of the Boundary Turning Fourier Spectrum ..... 25
B.3.1 Continuous Turning Measure ..... 25
B.3.2 Discrete Coefficients and Sampling Conditions ..... 25
B.3.3 Change of Contour Origin ..... 25
B.3.4 Reversal of Traversal ..... 25
B.3.5 Spatial Transformations ..... 26
B.4 Rotational Symmetry Estimation from Harmonic Concentration ..... 26
B.4.1 Harmonic Structure of Rotational Symmetry ..... 26
B.4.2 Finite-Band Symmetry Estimation ..... 26
B.4.3 Degenerate Cases and Geometric Consistency ..... 26

C B-rep Descriptor Layout ..... 27
C.1 Per-Unit Feature Composition ..... 27
C.1.1 Spectral Features ..... 27
C.1.2 Local Topology and Geometric Statistics ..... 27
C.2 Model-Level Aggregation and Layout ..... 27
C.2.1 Geometric Ordering of Extrusion Units ..... 27
C.2.2 Global Aggregation and Descriptor Dimension ..... 27
C.3 Unit Organization and Invariance Conditions ..... 27
C.3.1 Retained Units, Padding, and Overflow ..... 27
C.3.2 Invariant Attributes and Deterministic Ordering ..... 28

D Descriptor Validation Details ..... 28

E Gauge Group Structure ..... 28

Text-to-B-rep Retrieval

1 Introduction

Text-to-3D retrieval aims to identify three-dimensional objects whose semantics and geometric structures match a natural-language description. As collections of 3D design assets continue to grow, this task is gradually extending from generic object retrieval to engineering model retrieval [1–4]. In engineering design, Boundary Representation (B-rep) is a common representation for solid geometry. B-rep describes object boundaries through parametric curves, parametric surfaces, and their topological relations, preserving analytic geometric information that is difficult to represent explicitly with discrete representations such as point clouds, voxels, and meshes [5–7]. Text-based retrieval of engineering models therefore requires establishing a correspondence between natural language and such precise geometric representations.

This retrieval task is challenged by the inherent complexity of B-rep representations. Geometric information in B-rep is distributed across continuous surfaces, boundary curves, and discrete topological relationships, lacking a unified numerical representation comparable to image pixels or point cloud coordinates. Moreover, the same geometric entity may exhibit substantially different representations due to variations in spatial pose, scale, geometric parameterization, and boundary encoding. Existing methods typically convert B-rep models into point clouds [8–10], meshes, or voxels [11, 12] and employ established 3D encoders, or organize faces, edges, and their adjacency relationships into graphs and learn representations using graph neural networks [6, 7]. The former approaches discretize exact geometry, making the resulting features potentially sensitive to sampling strategies. The latter preserve B-rep topology, but the stability of geometric features under rotation, scaling, and parameterization changes largely relies on data-driven learning rather than explicit guarantees. Therefore, a central challenge in this retrieval task is to derive stable and discriminative representations directly from the underlying B-rep geometry.

We propose a B-rep retrieval representation based on geometric equivalence classes. The core idea is to use group actions to formalize representation transformations that do not alter the underlying geometry, assign representations connected by these transformations to the same equivalence class, and construct geometric descriptors directly over these classes. Translation, rotation, reflection, uniform scaling, and changes in contour starting points should therefore lead to consistent representations. We use spectral geometry as the mathematical tool for this construction [13–15]. Specifically, the Dirichlet spectrum is used to characterize the global shape of a two-dimensional region, the Fourier magnitudes of boundary turning angles describe local boundary variations, and separation of variables combines the planar spectrum with extrusion depth to obtain a three-dimensional spectral representation. The resulting descriptor jointly represents regional, boundary, and extrusion structures while explicitly satisfying the required geometric invariances.

In cross-modal learning, we further incorporate the equivalence relations in the geometric representation into the alignment between text and B-rep. Specifically, we construct multi-positive sets based on geometric descriptor consistency, allowing models with the same geometric structure to share textual supervision and ensuring that the shared embedding space preserves both semantic correspondence and geometric consistency.

Text2CAD provides large-scale paired data of natural-language descriptions and parametric CAD models [16], whose construction records can be used to recover the corresponding B-rep solids. We therefore use parametric CAD models as the data carrier for B-rep geometry in training and retrieval evaluation.

References (79)