Manuscript Offprint
arXiv:2610.33484Can One Hear Geometry? Gauge-Invariant Spectral Descriptors for Text-to-B-rep Retrieval
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.
• Cross-modal learning. We further incorporate geometric equivalence into cross-modal learning through multi-positive contrastive learning and geometric attribute supervision, establishing correspondence between textual semantics and B-rep geometry.
Text-to-B-rep Retrieval
2 Related Work
Text-to-3D retrieval. Cross-modal retrieval between text and 3D shapes has been explored through point clouds [17–19], meshes, and rendered images [20, 21]. ShapeGlot [22] learns joint embeddings between language and 3D shapes via contrastive objectives. Text2Shape [19] aligns text with colored point clouds. More recent methods leverage pretrained vision-language models [18, 21, 23–25]: ULIP [17] and OpenShape [26] align point-cloud encoders with CLIP embeddings. However, these methods target mesh or point-cloud representations and do not address parametric CAD models with their construction-sequence structure.
CAD representation learning. DeepCAD [27] pioneered autoregressive generation of CAD construction sequences. SkexGen [28] disentangles sketch and extrusion generation. CAD-SIGNet [29] learns signatures over construction graphs. Text2CAD [16] provides multi-level text descriptions for DeepCAD and generates parametric CAD construction sequences from text. CADIR [30] introduces an executable CAD intermediate representation and supports text- and image-based retrieval of construction graphs.
Representation learning and multimodal applications. The broader representation-learning literature studies contrastive sentence and multimodal embeddings [31–34], incomplete multi-view graph clustering [35], spectral distribution matching for dataset distillation [36], and supervision under class imbalance [37, 38]. Complementary retrieval and evidence-gathering settings include open-domain video search [39, 40], audio-driven multimodal search [41], and search-grounded video misinformation detection [42]. Multimodal applications extend to long-video understanding and video world models [43–45], video emotion recognition [46–48], video question answering and model collaboration [49, 50], and image editing [51–53]. At the system level, foundation-model research examines scientific and web agents [54–56], multi-agent workflows and academic presentation generation [57, 58], reasoning-model alignment and policy optimization [59–61], vision-language model routing [62], and social-bias evaluation of game agents [63].
Text-to-B-rep Retrieval
3 Method
Text-to-B-rep retrieval through invariant spectral geometry

Figure 1. Overview of the text-to-B-rep retrieval framework. Reconstructed B-reps are decomposed into extrusion units. Regional, extrusion, and boundary spectra are combined with geometric attributes into a 280-dimensional descriptor. Geometry and text encoders map the two modalities into a shared 512-dimensional space. Multi-positive contrastive learning aligns the encoders, while geometric-attribute supervision trains the text branch. Retrieval uses cosine similarity.
3.1 Problem Formulation and Overall Framework
Given a natural-language query, we retrieve B-reps that match its geometric description. Each training sample consists of a text description and a construction record specifying the geometric operations used to generate the corresponding entity. Our goal is to learn a shared embedding space for text and B-rep geometry, where matching pairs exhibit high similarity.
The same geometric entity may exhibit substantially different B-rep representations due to variations in spatial pose, uniform scaling, or boundary recording conventions. Such representation differences, which do not alter the underlying shape, should not affect retrieval results. The key challenge is therefore to construct geometry-invariant shape representations while preserving the geometric information necessary to distinguish different shapes. Figure 1 illustrates our overall framework. We start from the reconstructed B-rep geometry and extract the cross section and depth of each extrusion unit. We then construct regional Dirichlet, extrusion, and boundary turning-angle Fourier spectra, aggregate the unit features according to a fixed rule, and combine them with global geometric attributes to form a fixed 280-dimensional invariant descriptor . The geometry encoder and text encoder map and , respectively, into a shared 512-dimensional space, where the normalized embeddings are matched using cosine similarity.
3.2 Geometry Preprocessing and Equivalent Representations
Geometry preprocessing. The geometric descriptor is constructed from the exact geometry of each entity, whereas the dataset provides construction records describing the modeling operations. We therefore first reconstruct the explicit B-rep geometry by sequentially executing the sketch, extrusion, and Boolean
Text-to-B-rep Retrieval
operations in [4, 27]:
where is the geometry reconstruction operator and denotes the -th recorded operation. In sketch-aligned local coordinates, each straight-extrusion unit satisfies
Here, is the sketch-enclosed cross section, possibly with holes, and is the extrusion depth. The two end faces are generated from , and the lateral surface is generated by extending along the depth direction. This structure supports the subsequent construction of geometric features from the region, boundary, and depth. Geometric relationships and reconstruction details are provided in Sections A.1–A.2 of Appendix A.
Equivalent representations. The reconstructed geometry admits different spatial configurations, contour recording conventions, and unit indices. The retrieval descriptor should remain consistent across these equivalent representations [64]. We use these equivalences to specify its invariance requirements.
B-reps that differ only by translation, rotation, reflection, or uniform scaling are regarded as sharing the same intrinsic geometry. These spatial transformations are written as
where denotes uniform scaling, represents rotation or reflection, and denotes translation. Transforming the geometric data in a construction record should produce the correspondingly transformed entity. With denoting the transformed record, reconstruction is required to satisfy
The conditions and derivation are provided with Eq. (24) in the appendix.
A closed contour has no intrinsic recording origin and can be traversed in either direction. For recorded positions, changing the origin induces a cyclic shift in the cyclic group . Together with traversal reversal, these recording changes form the dihedral group .
Extrusion-unit indices are likewise not intrinsic to the geometry. Reindexing units while preserving their geometry and Boolean composition relations corresponds to the permutation group .
Representations related by these transformations share the same intrinsic geometry. Writing , the descriptor should remain identical within each equivalence class:
Figure 2 illustrates spatial and contour-recording equivalences alongside changes in relative extrusion depth and hole structure.
We construct under this requirement to convert the reconstructed geometry into a fixed retrieval descriptor. The geometric branch follows
Here, supplies explicit geometry, and extracts invariant features from it. The resulting descriptor serves as input to the geometric encoder introduced above.
3.3 Geometrically Invariant Spectral Descriptor for B-rep
The equivalence relation established in this work guides the construction of geometric descriptors that preserve structural distinctions while remaining invariant to position, orientation, absolute scale, and recording conventions. For the sketch–extrusion B-reps considered here, Eq. (2) provides a geometric foundation for descriptor construction, as each extrusion unit is characterized by a planar cross section and an extrusion depth . We therefore construct invariant spectral features of three complementary aspects of B-rep geometry: global cross-sectional shape, extrusion structure, and local contour structure.
Text-to-B-rep Retrieval
Equivalent Representations and Geometric Changes
EQUIVALENT REPRESENTATIONS

GEOMETRIC CHANGES
Change relative depth

h / ∫ |Ω| changes
Change the hole structure

Through openings: 2 → 3
Retain structural differences
Figure 2. Equivalent representations and geometric changes. Left: translation, rotation, reflection, uniform scaling, and contour-recording changes preserve geometry under our equivalence relation. Orange dots mark the starting vertices of the outer contour; CW and CCW indicate traversal direction. Right: changing relative extrusion depth or the number of through-openings (2 to 3) changes geometric structure.
Global shape of B-rep cross sections. We begin with the overall shape of and seek a representation determined by the region as a whole, rather than by the coordinates or recording order of individual boundary points [65]. The Dirichlet spectrum naturally satisfies this requirement. Its associated spatial modes can be interpreted as vibrations of a membrane fixed along the boundary [66] and satisfy
The low-order eigenvalues summarize large-scale cross-sectional geometry and are invariant to translation, rotation, and reflection [13]. Uniform scaling by a multiplies the eigenvalues by and the area by , so the normalized spectrum
also removes dependence on absolute size.
B-rep extrusion structure. The same rectangular cross section can form either a thin plate or a long prism, so cross-sectional shape alone does not describe how far a solid extends in the third dimension. To encode this distinction, we use the product structure . With Dirichlet conditions on , separation of variables gives the spectrum of this extrusion unit directly from the cross-sectional eigenvalues and depth:
This avoids a separate three-dimensional eigenvalue computation. Since scales as and the volume as , we define
The normalized spectrum captures the relative proportion between the cross section and extrusion depth while remaining independent of the solid’s absolute size.
Local B-rep contour structure. The low-order regional and extrusion spectra emphasize global structure. To better characterize boundary details such as corners, circular arcs, and local turns, we describe how the contour changes direction as it is traversed [67, 68]. For a closed contour of perimeter L, let denote the signed turning angle at arc-length coordinate . Its turning-angle Fourier coefficients are
Text-to-B-rep Retrieval
These coefficients summarize the distribution of turns along the contour [68, 69]. We retain their magnitudes : changing the starting point introduces only a phase factor, while reversing traversal or reflecting the contour changes only the sign, phase, or complex conjugation. None affects the magnitude. Turning angles are also unchanged by translation and rotation, and the normalized arc length removes scale dependence [69, 70]. The treatment of curved contours and derivations of the spectral invariance properties are given in Sections B.1–B.3 of Appendix B.
Geometric attributes and model-level representation. We retain the lowest 12 normalized regional eigenvalues, the lowest 12 normalized extrusion eigenvalues, and the first 16 boundary Fourier magnitudes, giving 40 spectral features per unit. We add 24 dimensions of contour topology, rotational symmetry, face-level attributes, and geometric statistics to explicitly encode holes, boundary composition, and face structure, forming a 64-dimensional local descriptor.
Rotational symmetry is estimated from the same boundary spectrum, as a -fold symmetric contour repeats its turning pattern times, concentrating spectral energy at harmonics divisible by . The resulting estimate serves both as a descriptor attribute and as auxiliary supervision for the text branch during cross-modal training; the estimation rule and its conditions are given in Section B.4 of Appendix B.
The same distinction between geometry and recording conventions guides the organization of multiple units. We order their descriptors by normalized cross-sectional area, using isoperimetric ratio and aspect ratio as secondary keys, so that feature positions are assigned using geometric properties. The first four units retain their full local descriptors; the remaining units are summarized statistically [71]. These summaries are combined with model-level attributes, including unit counts, global topology, symmetry, and Boolean composition relations, in a 24-dimensional global block. The resulting descriptor is
The feature layout, unit organization, and their invariance conditions are specified in Appendix C.
3.4 Cross-Modal Alignment Between Text and B-rep
After organizing the B-rep information on regional shape, boundary structure, extrusion relations, and multi-unit composition into the fixed 280-dimensional geometric descriptor , we further learn a shared embedding space between text and B-rep geometry, enabling natural-language descriptions to be matched directly against geometric representations.
We adopt a dual-encoder architecture to encode text and B-rep geometry separately [17, 24]. The geometric branch maps through a residual MLP. The text branch uses Qwen3-Embedding-4B [72] and is fine-tuned with LoRA [73]. The outputs of the two branches are then projected into a shared 512-dimensional space and -normalized [74, 75]:
Accordingly, the matching score between text and B-rep entity is given directly by the inner product between the two normalized embeddings:
3.4.1 Multi-Positive Learning Based on B-rep Geometric Equivalence
Single-positive contrastive learning uses only the originally paired CAD as the positive, causing other descriptor-consistent CADs in the batch to become false negatives. We use descriptor-derived geometric groups to extend positive supervision to these candidates [76].
Text-to-B-rep Retrieval
For a batch of paired text-B-rep samples, we quantize each CAD descriptor and define the group identifiers, in-batch positive sets, and normalized targets as
where is the group identifier of the CAD paired with . The in-batch positive set contains all CADs with the same quantized descriptor, including the original pair; assigns equal weight to these positives and zero to other candidates.
Figure 3 illustrates how three descriptor-consistent CADs change the supervision targets for one query.
Descriptor-Consistent Multi-Positive Supervision

Target denotes supervision weight: . Four paired samples are illustrated; for multi-positive supervision.
Figure 3. Descriptor-consistent multi-positive supervision. For query , is the original pair, and share its descriptor group, and belongs to another group. Single-positive targets treat and as false negatives (orange). Multi-positive targets give equal weight to all three same-group CADs (green). Card labels report supervision weights .
Using these targets, we optimize the bidirectional multi-positive contrastive loss [24, 77, 78]:
where is the temperature parameter.
3.4.2 Constraining Text Representations with B-rep Geometric Attributes
Natural-language descriptions often contain information with explicit geometric meaning, such as the number of holes, rotational symmetry, cross-sectional proportions, and extrusion structure. These geometric attributes can be obtained directly from the B-rep reconstruction and descriptor-construction processes described above. Therefore, in addition to cross-modal matching supervision, we introduce these attributes as auxiliary signals for text encoding, so that the text representation is not only aligned with the corresponding B-rep geometry in the embedding space but also retains semantic information associated with specific structural properties.
Specifically, we attach several geometric-attribute prediction heads to the shared textual features [79]. The five classification targets are rotational symmetry order, the first Betti number (hole topology), circular-contour count, extrusion-unit count, and face count, corresponding to the columns in Table 6. The regression targets include slenderness ratio, isoperimetric ratio, fill ratio, aspect ratio, and depth dispersion. All these attributes are computed automatically from the B-rep geometry and require no additional manual annotation. Let denote the joint loss over all auxiliary tasks. The overall training objective is then
Text-to-B-rep Retrieval
where balances the two objectives, establishes cross-modal correspondence between text and B-rep geometry, while further encodes explicit geometric information—including holes, symmetry, proportions, and extrusion structure—into the text representation.
The auxiliary prediction heads are used only to provide geometric supervision during training and do not participate in retrieval at inference time. The geometric embeddings of candidate B-reps can be precomputed offline; for a new text query, retrieval requires only computing its text embedding and ranking the candidate geometric embeddings by cosine similarity.
Geometric equivalence and explicit geometric attributes jointly contribute to cross-modal representation learning through multi-positive contrastive learning and attribute-based supervision, respectively, ultimately yielding a shared embedding space for B-rep geometry retrieval.
4 Experiments
4.1 Setup
Dataset. We use Text2CAD v1.0, which contains 159,049 training models and 8,046 test models with four description levels: Abstract, Beginner, Intermediate, and Expert. The corresponding text splits contain 622,066 training descriptions and 31,412 test descriptions.
Evaluation protocol. Following Liu et al. [30], each query is evaluated against its target model and 999 randomly sampled distractors. We report Recall at ranks 1, 5, and 10 (R@1, R@5, R@10) and median rank (MedR) over 1,000 trials per description level. Descriptor self-retrieval uses 2,000 trials under the same pool size.
Baselines. Table 1 compares our method with TriCoLo, RoMa, Parts2Words, SCA3D, IMMA, and coordinate-aware CADIR [30]. It also includes zero-shot CLIP [24] and BLIP-2 [80] on rendered views. CADIR reports R@5=0.750 and R@10=0.805 and serves as the main retrieval reference.
Training details. The main retrieval model uses Qwen3-Embedding-4B with LoRA adaptation. We train for 30 epochs (18,210 steps) on 8 GPUs with a batch size of 128 per GPU (global batch size 1,024). We use OneCycleLR with a backbone learning rate of and a prediction-head learning rate of , gradient checkpointing, and mixed bf16/fp32 precision. The model has 77.4M trainable parameters: 70.3M in text LoRA and 7.1M in the CAD tower.
4.2 Descriptor Validation
A useful invariant descriptor must suppress equivalent encoding choices while preserving differences between shapes. We examine numerical consistency, model discrimination, and self-retrieval before assessing text alignment.
Numerical consistency and invariance. Table 8 in Appendix D reports finite-resolution eigenvalue errors of on the square and on the disk. Cyclic shifts and orientation reversal give zero error, turning-spectrum errors remain below , and the planar rotation-and-scaling check has a maximum relative error of 0.015.
Text-to-B-rep Retrieval
Discriminativeness. Among 4,000 randomly sampled test models, the descriptor distinguishes 3,315 models, versus 3,601 distinct raw sequences, retaining 92% of the raw sequence's distinguishing capacity without coordinates. Within-duplicate distances have mean 0.004 and 95th percentile 0.000; between-model distances have mean 20.18 and 5th percentile 6.24. The separation of these typical distances supports using shared descriptors as positive groups while preserving most model distinctions.
Self-retrieval reference. Querying with the target model's own descriptor gives R@1=0.913, R@5=0.951, and R@10=0.989. The non-unit R@1 reveals ambiguity in identifying an individual model even when its geometric descriptor is given. These scores provide an empirical reference for distinguishing representation ambiguity from the additional errors introduced by text alignment.
4.3 Main Retrieval Results
Text-to-CAD retrieval tests how accurately descriptions at different levels of detail can recover the target model using the validated descriptor.
| Retrieval method | Parameters | Recall@1↑ | Recall@5↑ | Recall@10↑ | Median rank↓ |
|---|---|---|---|---|---|
| TriCoLo | 20.4M | 0.0212 | 0.0853 | 0.1360 | 144 |
| RoMa | 12.9M | 0.0380 | 0.1223 | 0.1860 | 99 |
| Parts2Words | 16.0M | 0.0481 | 0.1573 | 0.2360 | 61 |
| SCA3D | 16.0M | 0.0633 | 0.1927 | 0.2750 | 45 |
| IMMA | 561.4M | 0.0971 | 0.2554 | 0.3605 | 25 |
| CLIP (zero-shot) | 151.28M | 0.011 | 0.049 | 0.091 | 188 |
| BLIP-2 (zero-shot) | 3.1B | 0.015 | 0.065 | 0.112 | 152 |
| CADIR [30] | 4.0B | 0.537 | 0.750 | 0.805 | 3 |
| Expert | 4.1B | 0.609 | 0.886 | 0.939 | 1 |
| Intermediate | 4.1B | 0.244 | 0.502 | 0.637 | 5 |
| Beginner | 4.1B | 0.079 | 0.200 | 0.293 | 37 |
| Abstract | 4.1B | 0.047 | 0.151 | 0.259 | 37 |
Table 1: Text-to-CAD retrieval on Text2CAD. This table compares retrieval methods and parameter counts using Recall@1, Recall@5, Recall@10, and median rank on a candidate pool of 1,000 models. Higher recall and lower median rank indicate better retrieval performance. Color scale: lighter to darker blue denotes worse to better performance (higher recall or lower median rank), with a separate scale for each metric.
Our method achieves Expert R@5=0.886, exceeding coordinate-aware CADIR's 0.750 by 13.6 percentage points (Table 1). R@10=0.939 is 5.0 points below the descriptor self-retrieval reference, whereas R@1=0.609 is 30.4 points below it; MedR is 1. Strong top-ten retrieval with a larger first-rank gap identifies precise text-to-shape ranking as a major remaining source of error.
R@5 decreases to 0.502 for Intermediate, 0.200 for Beginner, and 0.151 for Abstract descriptions, showing a strong dependence on explicit geometric detail. Repeated Abstract descriptions further limit individual-model identification (Section 5).
Text-to-B-rep Retrieval
4.4 Ablation Studies
4.4.1 Effect of Language Model Size
To assess how much retrieval performance depends on language-model capacity, we replace the 4B text backbone with Qwen3-Embedding-0.6B while keeping the Full CAD descriptor unchanged. Table 2 reports the smaller model's results with and without LoRA adaptation.
| Level | Frozen 0.6B | LoRA 0.6B | ||||||
|---|---|---|---|---|---|---|---|---|
| R@1↑ | R@5↑ | R@10↑ | MedR↓ | R@1↑ | R@5↑ | R@10↑ | MedR↓ | |
| Abstract | 0.044 | 0.156 | 0.233 | 44 | 0.052 | 0.154 | 0.247 | 39 |
| Beginner | 0.041 | 0.153 | 0.241 | 56 | 0.077 | 0.181 | 0.268 | 39 |
| Intermediate | 0.182 | 0.406 | 0.531 | 9 | 0.224 | 0.490 | 0.616 | 6 |
| Expert | 0.310 | 0.596 | 0.713 | 4 | 0.589 | 0.859 | 0.927 | 1 |
Table 2: Frozen versus LoRA text encoding at 0.6B. Recall is a proportion over 1,000 trials per description level (pool=1,000). Bold marks the better score within each level. Both strategies use the Full descriptor. Color scale: darker blue denotes higher recall or lower MedR; each metric shares one scale across both encoders and all description levels.
With LoRA, the 0.6B model achieves Expert R@5=0.859, only 2.7 percentage points below the 4B model's 0.886. Freezing the 0.6B encoder reduces R@5 to 0.596. These results support the descriptor's effectiveness with reduced language-model capacity, while showing that text adaptation remains important for aligning language with geometry.
4.4.2 Effect of Unit Capacity
We vary the retained unit capacity with the 4B text encoder frozen and evaluate Expert retrieval (Table 3).
| Units | Dim. | Recall@1↑ | Recall@5↑ | Recall@10↑ | Median rank↓ |
|---|---|---|---|---|---|
| 1 | 88 | 0.178 | 0.467 | 0.620 | 6 |
| 2 | 152 | 0.252 | 0.541 | 0.682 | 5 |
| 4 | 280 | 0.423 | 0.721 | 0.803 | 2 |
| 8 | 536 | 0.421 | 0.710 | 0.805 | 2 |
Table 3: Effect of retained unit capacity. Frozen 4B, Expert descriptions (1,000 trials; pool=1,000). ; bold marks the best retrieval scores. Color scale: lighter to darker blue denotes worse to better performance (higher recall or lower median rank), with a separate scale for each metric.
R@5 improves from 0.467 at to 0.541 at and 0.721 at . Increasing to 8 gives slightly lower R@5 (0.710 versus 0.721) and similar R@10 (0.805 versus 0.803), but expands the descriptor from 280 to 536 dimensions, supporting as a compact default.
4.4.3 Contributions of Descriptor Components
With the unit capacity fixed at , we ablate five blocks of the 280-dimensional descriptor to identify which geometric information supports retrieval: global and aggregate features (24D), regional spectra (4 × 12D), extrusion spectra (4 × 12D), boundary turning spectra (4 × 16D), and local topology and face statistics (4 × 24D, labeled Local stats in the figure and table). We recompute positive groups from the retained features for each removal and evaluate the resulting retrieval pipeline with frozen 4B and 0.6B text backbones. Figure 4 directly compares Full and ablated R@5; Table 4 reports all metrics, dimensions, and group counts.
Text-to-B-rep Retrieval

Figure 4. Full versus ablated descriptors. Arrows show the change in Expert R@5 from Full (blue) to each component removal (orange) with frozen text encoders. Orange point labels report R@5 (%); negative labels report changes in percentage points. Both panels use the same scale. Positive groups are recomputed for each variant.
| Descriptor variant | D | Groups | R@1↑ | R@5↑ | R@10↑ | MedR↓ | ΔR@5 (pp) |
|---|---|---|---|---|---|---|---|
| Frozen Qwen3-Embedding-4B | |||||||
| Full descriptor | 280 | 72,638 | 0.423 | 0.721 | 0.803 | 2 | +0.0 |
| w/o global block | 256 | 70,609 | 0.380 | 0.652 | 0.759 | 3 | -6.9 |
| w/o 2D spectrum | 232 | 71,617 | 0.389 | 0.664 | 0.770 | 3 | -5.7 |
| w/o 3D spectrum | 232 | 70,837 | 0.396 | 0.680 | 0.781 | 2 | -4.1 |
| w/o turning spectrum | 216 | 66,384 | 0.378 | 0.658 | 0.763 | 3 | -6.3 |
| w/o Local stats | 184 | 71,933 | 0.337 | 0.628 | 0.733 | 3 | -9.3 |
| Frozen Qwen3-Embedding-0.6B | |||||||
| Full descriptor | 280 | 72,638 | 0.310 | 0.596 | 0.713 | 4 | +0.0 |
| w/o global block | 256 | 70,609 | 0.282 | 0.544 | 0.665 | 5 | -5.2 |
| w/o 2D spectrum | 232 | 71,617 | 0.285 | 0.556 | 0.674 | 5 | -4.0 |
| w/o 3D spectrum | 232 | 70,837 | 0.292 | 0.564 | 0.686 | 4 | -3.2 |
| w/o turning spectrum | 216 | 66,384 | 0.276 | 0.548 | 0.667 | 5 | -4.8 |
| w/o Local stats | 184 | 71,933 | 0.248 | 0.522 | 0.642 | 5 | -7.4 |
Table 4: Descriptor-component ablation on Expert descriptions. D is the retained dimension; Groups counts equivalence classes recomputed for each variant. Recall is a proportion over 1,000 trials (pool=1,000). ΔR@5 is the change from Full within each backbone, in percentage points. Bold marks the best retrieval scores within each backbone. Color scale: darker blue means higher recall, lower MedR, or less negative ΔR@5; scales are separate for each metric and backbone.
All five removals lower R@5 for both backbones, with the same ordering of decreases. Local topology and face statistics cause the largest drops (9.3 points at 4B and 7.4 at 0.6B), followed by the global block (6.9 and 5.2 points). Local structural attributes and model-level summaries therefore contribute to retrieval alongside the spectra.
The three spectral components also improve retrieval. Removing turning spectra reduces R@5 by 6.3 points at 4B and 4.8 points at 0.6B; removing regional spectra reduces it by 5.7 and 4.0 points, and removing extrusion spectra by 4.1 and 3.2 points. The different effects of the equally sized regional and extrusion blocks (48D each) show that retained dimensionality alone does not describe a component's contribution. The Full descriptor achieves the highest R@1, R@5, and R@10 in both settings.
Text-to-B-rep Retrieval
Group count does not track retrieval performance: removing turning spectra yields the fewest groups (66,384), while removing local topology and face statistics causes the largest drop. The geometric distinctions encoded by each block matter beyond the number of equivalence classes.
4.4.4 Geometric Supervision and Positive Groups
The descriptor ablations identify useful geometric information. We now examine how the alignment objective makes use of that information through auxiliary geometric supervision and descriptor-derived positive groups.
Alignment components. Using the 4B text backbone, Table 5 removes either the auxiliary heads or spectral equivalence classes from the full configuration.
| Configuration | Recall@1↑ | Recall@5↑ | Recall@10↑ |
|---|---|---|---|
| Full model (LoRA + aux + eq-classes) | |||
| Frozen text encoder | |||
| w/o auxiliary heads | loss remains near | ||
| w/o spectral eq-classes (single positive) | loss remains near | ||
Table 5: Alignment-component ablation. Expert retrieval with the 4B backbone and Full descriptor (pool=1,000). The full configuration combines LoRA text adaptation, auxiliary geometric heads, and spectral equivalence classes; unsuccessful ablations retain a loss near . Color scale: darker blue means higher recall within each column.
Removing either component leaves the contrastive loss near the random-matching baseline , where is the number of paired samples in the contrastive objective. With both components present, the model converges and reaches Expert R@5=0.886. The two components address different aspects of alignment: auxiliary heads supply per-sample geometric targets, and positive groups avoid treating models with equivalent descriptors as negatives. Their joint use is important for successful alignment in the evaluated configuration.
Geometry recovered from text. The auxiliary-head ablation establishes the importance of geometric supervision to alignment. We next inspect the attributes predicted by the text branch to determine whether these targets carry learnable geometric information.
| Metric | Symmetry order () | Holes () | Circular profiles | Part count | Face count |
|---|---|---|---|---|---|
| Accuracy | |||||
| Majority baseline |
Table 6: Geometric attribute prediction from text. Accuracy versus majority-class baselines on the test set. Columns report rotational symmetry order (), the first Betti number (Holes), circular-contour count (Circular profiles), extrusion-unit count (Part count), and face count. Bold values mark the higher accuracy for each attribute. Color scale: lighter to darker blue denotes lower to higher accuracy, using a shared scale across all attributes.
All five classification heads exceed their majority-class baselines (Table 6). The largest gains are 31.3 percentage points for symmetry order (0.730 versus 0.417) and 23.0 points for circular-contour count (0.819 versus 0.589). Phrases describing four equally spaced holes or a square cross-section provide information about rotational symmetry. The above-baseline predictions show that the text representation captures geometric attributes beyond class frequencies. Together with the removal experiment, these results link the auxiliary objective's role in alignment to geometric information that can be recovered from the descriptions.
Text-to-B-rep Retrieval
5 Limitations and Future Work
Abstract/beginner levels remain weak. R@5 of 0.151/0.200 at abstract/beginner levels reflects a fundamental measurement problem: 57% of abstract descriptions are byte-identical (one sentence covers up to 144 models). A shape-class metric that credits retrieval of any spectrally equivalent model would be more appropriate for these levels.
Descriptor ceiling. The 280-d descriptor achieves 82.9% distinctness. 14.4% of evaluation pools contain exact spectral ties (two models with identical descriptors but different constructions), bounding R@10 at 0.989. Increasing rasterization resolution or adding curvature-distribution features could improve this.
Beyond extruded solids. Our separation-of-variables formula (Eq. 30) requires the part to be a single extrusion. Multi-step CSG or freeform surfaces would need a volumetric eigensolver. However, all Text2CAD models are sketch-extrude, so this is not a limitation within this benchmark.
6 Conclusion
We presented a text-to-CAD retrieval method grounded in spectral geometry and group theory that provably eliminates the coordinate leakage present in prior work. Our gauge-invariant descriptor combines Dirichlet spectra, turning-function Fourier analysis, and harmonic symmetry detection into a 280-d vector that is rigorously invariant under the full similarity and construction-gauge groups. Paired with auxiliary geometric supervision and spectral equivalence classes that resolve the multi-positive problem in contrastive learning, our method surpasses the coordinate-aware state of the art by a substantial margin (R@5: 0.886 vs 0.750) while using strictly less information. This demonstrates that geometric understanding—not coordinate reconciliation—is sufficient and indeed superior for text-to-CAD retrieval.
References
[1] Ari Seff, Yaniv Ovadia, Wenda Zhou, and Ryan P. Adams. SketchGraphs: A Large-Scale Dataset for Modeling Relational Geometry in Computer-Aided Design. arXiv preprint arXiv:2007.08506, 2020.
[2] Angel X. Chang, Thomas Funkhouser, Leonidas Guibas, Pat Hanrahan, Qixing Huang, Zimo Li, Silvio Savarese, Manolis Savva, Shuran Song, Hao Su, Jianxiong Xiao, Li Yi, and Fisher Yu. ShapeNet: An Information-Rich 3D Model Repository. arXiv preprint arXiv:1512.03012, 2015.
[3] Sebastian Koch, Albert Matveev, Zhongshi Jiang, Francis Williams, Alexey Artemov, Evgeny Burnaev, Marc Alexa, Denis Zorin, and Daniele Panozzo. ABC: A Big CAD Model Dataset for Geometric Deep Learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 9601–9611, 2019.
[4] Karl D. D. Willis, Yewen Pu, Jieliang Luo, Hang Chu, Tao Du, Joseph G. Lambourne, Armando Solar-Lezama, and Wojciech Matusik. Fusion 360 Gallery: A Dataset and Environment for Programmatic CAD Construction from Human Design Sequences. ACM Transactions on Graphics, 40(4):54:1–54:24, 2021.
[5] Aristides A. G. Requicha. Representations for Rigid Solids: Theory, Methods, and Systems. ACM Computing Surveys, 12(4):437–464, 1980.
[6] Pradeep Kumar Jayaraman, Aditya Sanghi, Joseph G. Lambourne, Karl D. D. Willis, Thomas Davies, Hooman Shayani, and Nigel Morris. UV-Net: Learning From Boundary Representations. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 11703–11712, 2021.
Text-to-B-rep Retrieval
[7] Joseph G. Lambourne, Karl D. D. Willis, Pradeep Kumar Jayaraman, Aditya Sanghi, Peter Meltzer, and Hooman Shayani. BRepNet: A Topological Message Passing System for Solid Models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 12773–12782, 2021.
[8] Charles R. Qi, Hao Su, Kaichun Mo, and Leonidas J. Guibas. PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 652–660, 2017.
[9] Charles R. Qi, Li Yi, Hao Su, and Leonidas J. Guibas. PointNet++: Deep Hierarchical Feature Learning on Point Sets in a Metric Space. In Advances in Neural Information Processing Systems, volume 30, 2017.
[10] Yue Wang, Yongbin Sun, Ziwei Liu, Sanjay E. Sarma, Michael M. Bronstein, and Justin M. Solomon. Dynamic Graph CNN for Learning on Point Clouds. ACM Transactions on Graphics, 38(5):146:1–146:12, 2019.
[11] Rana Hanocka, Amir Hertz, Noa Fish, Raja Giryes, Shachar Fleishman, and Daniel Cohen-Or. MeshCNN: A Network with an Edge. ACM Transactions on Graphics, 38(4):90:1–90:12, 2019.
[12] Zhirong Wu, Shuran Song, Aditya Khosla, Fisher Yu, Linguang Zhang, Xiaoou Tang, and Jianxiong Xiao. 3D ShapeNets: A Deep Representation for Volumetric Shapes. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1912–1920, 2015.
[13] Martin Reuter, Franz-Erich Wolter, and Niklas Peinecke. Laplace–Beltrami Spectra as 'Shape-DNA' of Surfaces and Solids. Computer-Aided Design, 38(4):342–366, 2006.
[14] Jian Sun, Maks Ovsjanikov, and Leonidas Guibas. A Concise and Provably Informative Multi-Scale Signature Based on Heat Diffusion. Computer Graphics Forum, 28(5):1383–1392, 2009.
[15] Mathieu Aubry, Ulrich Schlickewei, and Daniel Cremers. The Wave Kernel Signature: A Quantum Mechanical Approach to Shape Analysis. In IEEE International Conference on Computer Vision Workshops, pages 1626–1633, 2011.
[16] Mohammad Sadil Khan, Sankalp Sinha, Talha Uddin Sheikh, Didier Stricker, Sk Aziz Ali, and Muhammad Zeshan Afzal. Text2CAD: Generating Sequential CAD Designs from Beginner-to-Expert Level Text Prompts. In Advances in Neural Information Processing Systems, volume 37, pages 7552–7579, 2024.
[17] Le Xue, Mingfei Gao, Chen Xing, Roberto Martín-Martín, Jiajun Wu, Caiming Xiong, Ran Xu, Juan Carlos Niebles, and Silvio Savarese. ULIP: Learning a Unified Representation of Language, Images, and Point Clouds for 3D Understanding. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 1179–1189, 2023.
[18] Junsheng Zhou, Jinsheng Wang, Baorui Ma, Yu-Shen Liu, Tiejun Huang, and Xinlong Wang. Uni3D: Exploring Unified 3D Representation at Scale. In International Conference on Learning Representations, 2024.
[19] Kevin Chen, Christopher B. Choy, Manolis Savva, Angel X. Chang, Thomas Funkhouser, and Silvio Savarese. Text2Shape: Generating Shapes from Natural Language by Learning Joint Embeddings. In Computer Vision – ACCV 2018, volume 11363 of Lecture Notes in Computer Science, pages 100–116, 2019.
[20] Hang Su, Subhransu Maji, Evangelos Kalogerakis, and Erik Learned-Miller. Multi-View Convolutional Neural Networks for 3D Shape Recognition. In Proceedings of the IEEE International Conference on Computer Vision, pages 945–953, 2015.
[21] Renrui Zhang, Ziyu Guo, Wei Zhang, Kunchang Li, Xupeng Miao, Bin Cui, Yu Qiao, Peng Gao, and Hongsheng Li. PointCLIP: Point Cloud Understanding by CLIP. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 8552–8562, 2022.
[22] Panos Achlioptas, Judy Fan, Robert Hawkins, Noah Goodman, and Leonidas J. Guibas. Shapeglot: Learning Language for Shape Differentiation. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 8938–8947, 2019.
Text-to-B-rep Retrieval
[23] Xiangyang Zhu, Renrui Zhang, Bowei He, Ziyu Guo, Ziyao Zeng, Zipeng Qin, Shanghang Zhang, and Peng Gao. PointCLIP V2: Prompting CLIP and GPT for Powerful 3D Open-world Learning. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 2639–2650, 2023.
[24] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning Transferable Visual Models From Natural Language Supervision. In International Conference on Machine Learning, volume 139 of Proceedings of Machine Learning Research, pages 8748–8763, 2021.
[25] Le Xue, Ning Yu, Shu Zhang, Artemis Panagopoulou, Junnan Li, Roberto Martín-Martín, Jiajun Wu, Caiming Xiong, Ran Xu, Juan Carlos Niebles, and Silvio Savarese. ULIP-2: Towards Scalable Multimodal Pre-training for 3D Understanding. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 27091–27101, 2024.
[26] Minghua Liu, Ruoxi Shi, Kaiming Kuang, Yinhao Zhu, Xuanlin Li, Shizhong Han, Hong Cai, Fatih Porikli, and Hao Su. OpenShape: Scaling Up 3D Shape Representation Towards Open-World Understanding. In Advances in Neural Information Processing Systems, volume 36, 2023.
[27] Rundi Wu, Chang Xiao, and Changxi Zheng. DeepCAD: A Deep Generative Network for Computer-Aided Design Models. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 6772–6782, 2021.
[28] Xiang Xu, Karl D. D. Willis, Joseph G. Lambourne, Chin-Yi Cheng, Pradeep Kumar Jayaraman, and Yasutaka Furukawa. SkexGen: Autoregressive Generation of CAD Construction Sequences with Disentangled Codebooks. In International Conference on Machine Learning, volume 162 of Proceedings of Machine Learning Research, pages 24698–24724, 2022.
[29] Mohammad Sadil Khan, Elona Dupont, Sk Aziz Ali, Kseniya Cherenkova, Anis Kacem, and Djamila Aouada. CAD-SIGNet: CAD Language Inference from Point Clouds using Layer-wise Sketch Instance Guided Attention. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4713–4722, 2024.
[30] Yu Liu, Jingzhe Ni, Yiming Chen, Junqi Huang, Ruofeng Tong, Min Tang, and Peng Du. CADIR: A Cross-Backend Editable Intermediate Representation for Agentic CAD Generation. arXiv preprint arXiv:2608.00891, 2026.
[31] T Zong, B Shi, H Yi, Y Wang, Z Zhang, and J Xu. Jtcse: Joint tensor-modulus constraints and cross-attention for unsupervised contrastive learning of sentence embeddings. Neural Networks, 109724, 2026.
[32] T Zong, H Yi, B Shi, and J Xu. TNCSE: Tensor norm constraints for unsupervised contrastive learning of sentence embeddings. Proceedings of the AAAI Conference on Artificial Intelligence 39 (24), 26192 ..., 2025.
[33] T Zong, H Yi, Y Wang, Z Zhang, Y Yang, Z Guan, and J Xu. TNCME: Tensor's Norm Constraints for Unsupervised Contrastive Learning of Multimodal Embeddings. Preprint, 2025.
[34] T Zong, H Yi, R Dai, Y Wang, Z Zhang, Z Guan, Y Yang, B Shi, Y Ding, et al. L2Dir: Integrating L2-Norm and Directional Alignment for Unsupervised Contrastive Representation Learning in Multimodal Retrieval. ACL 26, 2026.
[35] Z Zhang, J Xie, X Chen, T Yu, H Yi, K Xu, Y Wang, T Zong, X Wang, et al. Dynamic deep graph learning for incomplete multi-view clustering with masked graph reconstruction loss. Proceedings of the AAAI Conference on Artificial Intelligence 40 (34), 28600 ..., 2026.
[36] R Wu, S Wang, J Chen, Z Liu, Y Yang, Z Chen, Z Li, K Li, X Wang, H Yi, et al. Towards Principled Dataset Distillation: A Spectral Distribution Perspective. arXiv preprint arXiv:2603.01698, 2026.
[37] H Yi, W Xing, Y Cheng, X Gao, X Wei, X Guo, Y Zhang, and X Pang. Lcgc: Learning from consistency gradient conflicting for class-imbalanced semi-supervised debiasing. Proceedings of the AAAI Conference on Artificial Intelligence 39 (20), 21697 ..., 2025.
Text-to-B-rep Retrieval
[38] H Yi, Y Cheng, W Xing, and X Wei. ABM: Adaptive bias mitigation for class-imbalanced semi-supervised learning. Neurocomputing, 131617, 2025.
[39] T Yu, H Jin, H Wang, S Chai, Y Yang, J Gong, J Guo, M Zhang, X Chen, et al. Shotfinder: Imagination-driven open-domain video shot retrieval via web search. EMNLP 2026, 2026.
[40] T Yu, Y Yang, H Jin, J Gong, X Chen, Y Zhou, S Zhang, J Yang, X Wang, et al. Beyond Closed-Pool Video Retrieval: A Benchmark and Agent Framework for Real-World Video Search and Moment Localization. arXiv preprint arXiv:2602.10159, 2026.
[41] T Yu, H Yi, S Chai, M Zhang, Z Luo, X Wang, X Chen, Z Kang, J Gong, et al. Omni-DeepSearch: A Benchmark for Audio-Driven Omni-Modal Deep Search. arXiv preprint arXiv:2605.08762, 2026.
[42] T Yu, H Yi, Y Yang, S Chai, Z Jinshuai, H Jin, H Wang, M Zhang, Z Luo, et al. When Seeing Is Not Believing—A Benchmark for Search-Grounded Video Misinformation Detection. EMNLP 2026, 2026.
[43] H Jin, H Yi, W Zhao, J Luo, S Ye, Z Guan, S Dong, and T Yang. HY-Himmel Technical Report: Hierarchical Interleaved Multi-stream Motion Encoding for Long Video Understanding. NIPS 2026, 2026.
[44] Z Zhang, Y Wang, Z Guan, Y Yang, B Shi, T Zong, H Yi, G Chao, X Chen, et al. Delta-JEPA: Learning Action-Sensitive World Models via Latent Difference Decoding. arXiv preprint arXiv:2606.31232, 2026.
[45] H Wang, T Yu, L Zhang, HX Wang, H Jin, Y Zhou, X Wang, H Yi, X Li, et al. OPIS: An Input-Grounded Benchmark for Multi-Object Memory in Video World Models. arXiv preprint arXiv:2609.35052, 2026.
[46] J Xie, Y Zhu, F Chen, Z Zhang, X Fan, H Yi, X Wang, C Yu, Y Bi, Z Zhao, et al. More is better: A moe-based emotion recognition framework with human preference alignment. Proceedings of the 3rd International Workshop on Multimodal and Responsible ..., 2025.
[47] Z Wang, J Xie, and H Yi. Multimodal Video Emotion Recognition with Reliable Reasoning Priors. ACMMM 25, 2025.
[48] J Xie, X Fan, Z Zhang, F Chen, H Yi, Y Zhu, X Guan, X Wang, Y Bi, et al. Zeroes: Zero-shot ensemble for open-vocabulary video emotion recognition with large multimodal models. Proceedings of the 3rd International Workshop on Multimodal and Responsible ..., 2025.
[49] J Xie, Z Zhao, X Guan, Y Zhu, H Yi, X Wang, F Chen, and Z Wang. Team of One: Cracking Complex Video QA with Model Synergy. ACMMM 25, 2025.
[50] H Yi, J Xie, X Guan, Y Zhu, Z Zhao, X Wang, F Chen, and Z Wang. Four Eyes Are Better Than Two: Harnessing the Collaborative Potential of Large Models via Differentiated Thinking and Complementary Ensembles. CVPR 25 workshop, 2025.
[51] H Yi, Z Luo, T Li, Y Fan, and J Xu. Bridging the Manifold Gap: Riemannian Residual Line Search for One-Step Image Editing. arXiv preprint arXiv:2606.24844, 2026.
[52] H Yi, Y Yang, Y Wang, T Li, Z Guan, T Zong, J Chen, C Bao, T Yang, H Jin, et al. VDE Bench: Evaluating The Capability of Image Editing Models to Modify Visual Documents. arXiv preprint arXiv:2602.00122, 2026.
[53] Y Yang, Y Wang, Z Guan, T Yang, C Bao, H Jin, J Luo, X Zuo, L Duan, et al. Omni IIE Bench: Benchmarking the Practical Capabilities of Image Editing Models. CVPR 26, 2026.
[54] X Wang, J Xu, AH Feng, Y Chen, H Guo, F Zhu, Y Shao, M Ren, H Yi, et al. The hitchhiker’s guide to autonomous research: A survey of scientific agents. TPAMI 2026, 2025.
[55] T Yu, H Yi, Z Zhang, Z Lyu, J Gong, X Wang, Y Zhou, J Yang, P Nie, et al. BrowserAgent: Building Web Agents with Human-Inspired Web Browsing Actions. TMLR, 2025.
Text-to-B-rep Retrieval
[56] T Yu, Z Zhang, Z Lyu, J Gong, H Yi, X Wang, Y Zhou, J Yang, P Nie, et al. BrowserAgent: Building Web Agents with Human-Inspired Web Browsing Actions, October 2025d. arXiv preprint arXiv:2510.10666, 2025.
[57] T Yu, H Wang, C Li, S Chai, M Zhang, Z Luo, Y Zhou, H Jin, Z Kang, et al. Beyond the All-in-One Agent: Benchmarking Role-Specialized Multi-Agent Collaboration in Enterprise Workflows. arXiv preprint arXiv:2605.08761, 2026.
[58] T Yu, H Yi, M Zhang, Z Cui, H Wang, Z Luo, S Chai, J Gong, Y Peng, et al. PaperX: A Unified Framework for Multimodal Academic Presentation Generation with Scholar DAG. arXiv preprint arXiv:2602.03866, 2026.
[59] X Wang, J Xu, B Yu, S Lian, H Yi, Y Chen, Y Zhu, B Wang, H Yang, H Hu, et al. MR-Align: Meta-Reasoning Informed Factuality Alignment for Large Reasoning Models. ACL 26, 2025.
[60] H Yi, X Wang, T Zong, Y Wang, J Xie, T Yu, H Jin, K Xu, F Chen, J Chen, et al. Rpo: Reinforcement fine-tuning with partial reasoning optimization. arXiv preprint arXiv:2601.19404, 2026.
[61] H Yi, X Wang, Z Zhang, T Zong, Y Wang, J Xie, T Yu, Z Wang, K Xu, et al. Policy Optimization with Experience Replay: Guiding Reasoning Models to Complete the Reasoning Path. ACL 26, 2026.
[62] T Yu, Y Qu, Z Cui, P Zhou, Z Luo, Y Yang, S Chai, H Jin, Z Zhang, X Wang, et al. SCOPE-Router: Cost-Aware Open-Set VLM Routing for Execution-Oriented Tasks. arXiv preprint arXiv:2608.12127, 2026.
[63] B Shi, J Huang, L Long, T Zong, H Yi, Y Wang, S Hu, X Zhang, and Z Yao. FAIRGAMER: Evaluating Social Biases in LLM-Based Video Game NPCs. Proceedings of the 64th Annual Meeting of the Association for Computational ... , 2026.
[64] Taco Cohen and Max Welling. Group Equivariant Convolutional Networks. In International Conference on Machine Learning, volume 48 of Proceedings of Machine Learning Research, pages 2990–2999, 2016.
[65] Niklas Peinecke, Franz-Erich Wolter, and Martin Reuter. Laplace Spectra as Fingerprints for Image Recognition. Computer-Aided Design, 39(6):460–476, 2007.
[66] Mark Kac. Can One Hear the Shape of a Drum? The American Mathematical Monthly, 73(4P2):1–23, 1966.
[67] Esther M. Arkin, L. Paul Chew, Daniel P. Huttenlocher, Klara Kedem, and Joseph S. B. Mitchell. An Efficiently Computable Metric for Comparing Polygonal Shapes. IEEE Transactions on Pattern Analysis and Machine Intelligence, 13(3):209–216, 1991.
[68] Charles T. Zahn and Ralph Z. Roskies. Fourier Descriptors for Plane Closed Curves. IEEE Transactions on Computers, C-21(3):269–281, 1972.
[69] Eric Persoon and King-Sun Fu. Shape Discrimination Using Fourier Descriptors. IEEE Transactions on Systems, Man, and Cybernetics, SMC-7(3):170–179, 1977.
[70] Frank P. Kuhl and Charles R. Giardina. Elliptic Fourier Features of a Closed Contour. Computer Graphics and Image Processing, 18(3):236–258, 1982.
[71] Manzil Zaheer, Satwik Kottur, Siamak Ravanbakhsh, Barnabás Póczos, Ruslan Salakhutdinov, and Alexander J. Smola. Deep Sets. In Advances in Neural Information Processing Systems, volume 30, 2017.
[72] Yanzhao Zhang, Mingxin Li, Dingkun Long, Xin Zhang, Huan Lin, Baosong Yang, Pengjun Xie, An Yang, Dayiheng Liu, Junyang Lin, Fei Huang, and Jingren Zhou. Qwen3 Embedding: Advancing Text Embedding and Reranking Through Foundation Models. arXiv preprint arXiv:2506.05176, 2025.
[73] Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-Rank Adaptation of Large Language Models. In International Conference on Learning Representations, 2022.
Text-to-B-rep Retrieval
[74] Ting Chen, Simon Kornblith, Mohammad Norouzi, and Geoffrey Hinton. A Simple Framework for Contrastive Learning of Visual Representations. In International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 1597–1607, 2020.
[75] Tongzhou Wang and Phillip Isola. Understanding Contrastive Representation Learning through Alignment and Uniformity on the Hypersphere. In International Conference on Machine Learning, volume 119 of Proceedings of Machine Learning Research, pages 9929–9939, 2020.
[76] Ching-Yao Chuang, Joshua W. Robinson, Yen-Chen Lin, Antonio Torralba, and Stefanie Jegelka. Debiased Contrastive Learning. In Advances in Neural Information Processing Systems, volume 33, 2020.
[77] Aaron van den Oord, Yazhe Li, and Oriol Vinyals. Representation Learning with Contrastive Predictive Coding. arXiv preprint arXiv:1807.03748, 2018.
[78] Prannay Khosla, Piotr Teterwak, Chen Wang, Aaron Sarna, Yonglong Tian, Phillip Isola, Aaron Maschinot, Ce Liu, and Dilip Krishnan. Supervised Contrastive Learning. In Advances in Neural Information Processing Systems, volume 33, 2020.
[79] Rich Caruana. Multitask Learning. Machine Learning, 28(1):41–75, 1997.
[80] Junnan Li, Dongxu Li, Silvio Savarese, and Steven Hoi. BLIP-2: Bootstrapping Language-Image Pretraining with Frozen Image Encoders and Large Language Models. In International Conference on Machine Learning, volume 202 of Proceedings of Machine Learning Research, pages 19730–19742, 2023.
[81] Carolyn Gordon, David L. Webb, and Scott Wolpert. One Cannot Hear the Shape of a Drum. Bulletin of the American Mathematical Society, 27(1):134–138, 1992.
[82] Alec Jacobson, Ladislav Kavan, and Olga Sorkine-Hornung. Robust Inside-Outside Segmentation using Generalized Winding Numbers. ACM Transactions on Graphics, 32(4), 2013.
Text-to-B-rep Retrieval
Appendix
A From Construction Records to B-rep Geometry
A.1 Geometric Basis of the Sketch–Extrusion Representation
A.1.1 Product Geometry and Boundary Decomposition
The B-rep models considered in this work are constructed from planar sketches, straight extrusion operations, and their Boolean combinations. This class admits a particularly explicit geometric structure that separates the cross-sectional shape from its extension along the third dimension.
Let denote the planar region enclosed by the sketch contours, including possible inner contours corresponding to holes, and let be the extrusion depth. In a local coordinate system aligned with the sketch plane, a straight extrusion preserves the same cross-section along the extrusion direction. Following the notation of the main text, its interior can therefore be written as
For the closure of the solid, the boundary decomposes as
Thus, determines the extrusion geometry, while explicitly exposes the contour from which the lateral B-rep faces are generated.
A.1.2 Geometric Roles of the Descriptor Components
This provides the geometric motivation for the three components used in the descriptor. The region represents the global structure of the cross-section, exposes local contour information such as corners, arcs, holes, and turning patterns, and controls the extension along the third dimension. The regional Dirichlet spectrum, boundary turning spectrum, and extrusion spectrum are constructed from these three complementary views.
The representation's discriminative capacity is evaluated through descriptor distinctness and self-retrieval in Section 4.2. These empirical checks assess retrieval utility but do not establish geometric uniqueness [81].
A.2 Reconstruction of Explicit B-rep Geometry
A parametric construction record
specifies a sequence of geometric operations rather than a directly usable geometric representation. We therefore introduce a reconstruction operator whose execution produces the explicit B-rep geometry,
where denotes the operation associated with construction step .
For the models used in this work, this process is naturally organized into planar-profile reconstruction, solid generation, and Boolean composition.
Text-to-B-rep Retrieval
A.2.1 Planar Profiles
A sketch is embedded into three-dimensional space through a local origin , an orthonormal frame , and a scale :
Within the sketch plane, line and arc segments are connected through shared endpoints. A closed contour satisfies
so the geometric loop is determined by connectivity rather than by the arbitrary starting position of its discrete record.
For the line and circular-arc primitives used in the construction records, both cases can be represented uniformly by a generalized circle,
For non-collinear samples this represents a circle, while the degenerate case gives a line. This provides a uniform geometric representation of the planar boundary primitives without requiring separate downstream treatments.
Once the closed loops are reconstructed, their orientation and containment determine the outer boundary and possible holes. A winding-number representation provides a convenient way to characterize the resulting region [82]:
This construction naturally handles multiple and nested boundary loops and yields the planar region together with its complete boundary .
A.2.2 Generation of Solids
For the retrieval representation studied in the main text, the relevant generation operation is straight extrusion. Once and the extrusion depth have been recovered, the corresponding unit is given by
For completeness, the reconstruction formalism can also express other common CAD generators. For example, a surface of revolution transports a planar profile around a fixed axis, while a general sweep transports the profile along a spatial curve using a moving local frame. These operators are part of the general reconstruction machinery, although the spectral representation developed in this work is restricted to the sketch–extrusion subset described above.
A.2.3 Boolean Composition
The individual geometric units are combined according to the Boolean operations recorded in the construction sequence. Using scalar fields and for the existing solid and the new feature, respectively, the recursion can be written compactly as
The scalar-field formulation is used only as a convenient realization of Boolean geometry during reconstruction. The subsequent retrieval representation is still constructed from the recovered B-rep regions, boundaries, extrusion units, and their relations rather than from sampled distance fields.
Text-to-B-rep Retrieval
Fillets, chamfers, analytic primitives, and other geometric operators can be incorporated into the same reconstruction hierarchy. They are not required by the derivation of the sketch–extrusion spectral descriptor and are therefore not expanded further here.
A.3 Equivariance of Reconstruction
A.3.1 Similarity Transformations and Discretization
Let
be a similarity transformation. Translation, rotation, and reflection preserve segment connectivity, loop topology, extrusion relations, and Boolean composition. The only additional care required for uniform scaling is that geometric thresholds and discretization rules must not depend on an absolute unit of length. For example, if is curvature and is a corresponding chord length, then under a scale factor ,
Likewise, boundary sampling is controlled by dimensionless angular increments rather than fixed absolute arc-length steps.
Under these conditions, reconstruction commutes with the similarity action:
Consequently, whenever the descriptor satisfies , the complete mapping is similarity invariant.
A.3.2 Operation-Level Equivariance and Recording Conventions
The action on a construction record transforms sketch positions, local frames, and extrusion directions, scales all lengths by a, and preserves operation types and incidence relations. For each geometric operation, equivariance requires
Sketch embedding and straight extrusion satisfy this relation under the corresponding parameter transformations. For Boolean operations, the bijectivity of gives for . Starting from , induction over the construction steps yields Eq. (24). Dimensionless thresholds and equivariant discretization are the conditions under which a numerical implementation preserves this geometric relation.
Cyclic shifts and reversal of a contour preserve its curve connectivity and enclosed region. Unit reindexing relabels the same geometric units and Boolean relations while preserving the operation dependencies. These recording conventions can therefore change without changing the reconstructed geometry.
B Invariance Properties of the Spectral Descriptor
B.1 Similarity Invariance of the Dirichlet Spectrum
B.1.1 Eigenfunction Transformation and Laplacian Scaling
Let be a bounded Lipschitz domain with area , and order its Dirichlet eigenvalues increasingly with multiplicity. For the similarity transformation , where and , transfer an eigenfunction to the transformed domain by
Text-to-B-rep Retrieval
Since is orthogonal, the chain rule gives the following identity, which also holds in the weak formulation. The similarity maps the boundaries onto one another, preserving the zero boundary condition:
B.1.2 Scale Normalization and Contour Conventions
The transformation is invertible, so eigenspaces correspond with their multiplicities preserved. Together with the area scaling law, this yields
Thus, is invariant to translation, rotation, reflection, and uniform scaling. Changing the starting point or traversal direction of a closed contour leaves unchanged and therefore leaves the eigenvalue problem unchanged. The result also applies to cross sections with holes, with Dirichlet conditions imposed on every boundary component.
B.2 Extrusion Spectrum by Separation of Variables
B.2.1 Product Modes and Eigenvalues
For a single straight-extrusion unit , impose Dirichlet conditions on both end faces and all lateral faces. The three-dimensional Laplacian decomposes as . Given a cross-sectional eigenfunction , define the product mode
The boundary condition on makes this mode vanish on the lateral faces, while the sine factor makes it vanish on both end faces. Differentiating in the two directions gives
The products of the eigenfunction bases on the two factor domains form a complete basis on the product domain. Its eigenvalues are therefore
Sorting these eigenvalues with multiplicity gives the lowest 12 extrusion eigenvalues used in the main text. More generally, the candidates with suffice to obtain the lowest values: any candidate outside this range has at least values no larger than itself. This result concerns the product geometry of individual extrusion units; the model-level descriptor organizes their features together with composition attributes.
B.2.2 Scale Normalization
Uniform scaling by gives and , while the volume becomes . Consequently,
Text-to-B-rep Retrieval
B.2.3 Relative Extrusion Depth
To make the retained geometric information explicit, let denote the dimensionless relative extrusion depth. Substituting and gives
This expression shows that the normalized extrusion spectrum combines cross-sectional shape with relative extrusion depth, with absolute size eliminated.
B.3 Invariance of the Boundary Turning Fourier Spectrum
B.3.1 Continuous Turning Measure
Consider a piecewise smooth closed contour of perimeter , parameterized by arc length , with signed turning measured along the chosen traversal direction. Its turning measure contains both curvature along smooth segments and direction jumps at corners:
Here, is signed curvature, is the signed turn at corner , and is a unit point measure. Straight segments have zero curvature, circular arcs accumulate turning along their length, and corners contribute discrete turns. The representation therefore accounts for corners, arcs, and local changes in direction.
B.3.2 Discrete Coefficients and Sampling Conditions
The main text uses a discrete turning representation, in which is the signed turning increment assigned to arc-length position :
For polygonal contours, the corner turns give an exact discrete form of the continuous turning measure. Curved segments can be discretized through accumulated turning over sampled intervals or a geometrically equivariant polygonal approximation. The identities below require sampling locations and turning increments to correspond under the transformation; dimensionless sampling rules make this requirement compatible with uniform scaling.
B.3.3 Change of Contour Origin
If the contour origin is shifted by arc length , then . For integer frequencies ,
The factor has unit modulus, so changing the origin affects only the phase.
B.3.4 Reversal of Traversal
With the same starting point, reversal gives and . Since the turning increments are real,
An additional change of origin introduces only the unit-modulus phase factor in Eq. (36).
Text-to-B-rep Retrieval
B.3.5 Spatial Transformations
Translation and rotation preserve arc length and signed turning, giving . Reflection reverses signed turns when the mapped traversal order is retained, giving . Under uniform scaling, , , and , so and again .
Combining these relations, every transformation above and their compositions satisfy
The continuous coefficients obey the same transformation laws. For cross sections with multiple closed boundary components, these results apply to each contour separately; model-level organization must also respect the geometric relationships among components.
B.4 Rotational Symmetry Estimation from Harmonic Concentration
B.4.1 Harmonic Structure of Rotational Symmetry
If a closed contour has -fold rotational symmetry, its turning pattern repeats every along arc length. Decomposing a Fourier coefficient into the contributions of the repeated segments gives
Here, is the contribution of one repeated segment. An ideally symmetric contour therefore has whenever . The statement is exact for the continuous turning measure; for discrete coefficients, the sampling must also preserve the repeated structure.
B.4.2 Finite-Band Symmetry Estimation
Symmetry estimation uses a finite set of positive frequencies . When the energy in this band is positive, define
Within a finite candidate set , select the largest candidate satisfying the threshold . Including ensures that a candidate exists when the energy is positive:
The DC term is excluded from this concentration measure because it gives only the total turn of a simple closed contour, and every integer divides zero. The finite band and threshold make an estimate of symmetry order rather than a certificate of exact symmetry.
B.4.3 Degenerate Cases and Geometric Consistency
When positive-frequency energy is zero or numerically unresolved, the ratio cannot determine a finite symmetry order. For example, an ideal circle has zero continuous turning coefficients at every nonzero frequency, and symmetry above the evaluated frequency band can also yield zero energy. Such cases require analytic contour geometry or a wider frequency band. Symmetry of a cross section with holes additionally requires all boundary components and their relative positions to be preserved by the same rotation.
The contour-symmetry attribute obtained from this procedure is included in the geometric descriptor and provides auxiliary supervision for the text branch during cross-modal training.
Text-to-B-rep Retrieval
C B-rep Descriptor Layout
C.1 Per-Unit Feature Composition
C.1.1 Spectral Features
For each extrusion unit, we retain 12 normalized Dirichlet eigenvalues, 12 normalized extrusion eigenvalues, and 16 boundary turning Fourier magnitudes, giving a 40-dimensional spectral representation.
C.1.2 Local Topology and Geometric Statistics
The spectral block is augmented with 24 dimensions of contour-topology, rotational-symmetry, face-level, and geometric statistics. Each extrusion unit is therefore represented by
C.2 Model-Level Aggregation and Layout
C.2.1 Geometric Ordering of Extrusion Units
A complete B-rep may contain a variable number of extrusion units. Since their original construction indices are not intrinsic geometric quantities, the units are organized by normalized cross-sectional area, with isoperimetric ratio and aspect ratio used as secondary ordering keys.
C.2.2 Global Aggregation and Descriptor Dimension
The first four units retain their complete local descriptors. Additional units are summarized using permutation-insensitive aggregate statistics, which are combined with model-level quantities such as the number of extrusion units, global topology counts, rotational symmetry, and Boolean-operation statistics.
| Per-unit features | Descriptor assembly | ||
|---|---|---|---|
| Block | Dimensions | Block | Dimensions |
| Normalized Dirichlet spectrum | 12 | Single extrusion unit | 64 |
| Normalized extrusion spectrum | 12 | Four retained extrusion units | |
| Boundary Fourier magnitudes | 16 | Global and aggregate block | 24 |
| Local topology and geometric statistics | 24 | Complete B-rep descriptor | 280 |
Table 7: Layout of the fixed-dimensional B-rep descriptor. Each extrusion unit contributes 64 dimensions; four retained units and a 24-dimensional global block form the complete 280-dimensional descriptor.
The final model representation is therefore
C.3 Unit Organization and Invariance Conditions
C.3.1 Retained Units, Padding, and Overflow
Let be the spectral vector of unit and its additional attributes, giving . With geometric ordering and global and aggregate block , the model vector has the layout
Text-to-B-rep Retrieval
When the number of units , a fixed-dimensional layout requires a fixed padding convention independent of the input record. When , statistics of the remaining units must be insensitive to their order.
C.3.2 Invariant Attributes and Deterministic Ordering
Invariance of the complete model representation additionally requires the attributes, sorting keys, and global block to obey the same invariances. Topological counts are unchanged by similarities; length-, area-, and volume-dependent attributes require dimensionless forms, and aspect ratio requires a rotation-invariant definition. When sorting keys coincide, exact reindexing invariance requires either identical local descriptors or an index-independent tie-breaking rule. Appending the full invariant local descriptor as a final lexicographic key is one sufficient construction.
Under these conditions, an admissible geometric transformation changes neither the local vectors, their ordering, nor the aggregate block, and unit reindexing changes only the input labels. Their concatenation is therefore unchanged. This argument separates the established spectral invariances from the conditions required by the complete descriptor assembly.
D Descriptor Validation Details
Table 8 provides the numerical checks against analytic solutions and invariance requirements.
| Validation check | Observed result | Expected outcome |
|---|---|---|
| Unit square eigenvalues vs | exact at | |
| Unit disk vs | converges | |
| Sim(2) invariance (rot + scale ) | max rel err | |
| Gauge: cyclic shift / orientation reversal | ||
| Turning spectrum under all transforms | ||
| Symmetry order, regular -gons, | all |
Table 8: Correctness validation of the spectral descriptor. Comparison with analytic solutions and invariance requirements. Checks cover eigenvalues, geometric invariance, and rotational symmetry.
E Gauge Group Structure
The full gauge group of a Text2CAD construction sequence is:
where is the hyperoctahedral group of order 48 (signed permutations of 3 axes) and is the trace monoid over commuting boolean operations (with Foata normal form providing canonical representatives).