Skip to main content
QUICK REVIEW

[Paper Review] SolidGen: An Autoregressive Model for Direct B-rep Synthesis

Pradeep Kumar Jayaraman, Joseph G. Lambourne|arXiv (Cornell University)|Mar 26, 2022
Manufacturing Process and OptimizationEngineering20 citations
TL;DR

SolidGen directly generates Boundary Representation (B-rep) CAD data using a Transformer-based autoregressive model with a novel indexed B-rep representation, enabling unconditional and conditional generation without using CAD modeling operation sequences.

ABSTRACT

The Boundary representation (B-rep) format is the de-facto shape representation in computer-aided design (CAD) to model solid and sheet objects. Recent approaches to generating CAD models have focused on learning sketch-and-extrude modeling sequences that are executed by a solid modeling kernel in postprocess to recover a B-rep. In this paper we present a new approach that enables learning from and synthesizing B-reps without the need for supervision through CAD modeling sequence data. Our method SolidGen, is an autoregressive neural network that models the B-rep directly by predicting the vertices, edges, and faces using Transformer-based and pointer neural networks. Key to achieving this is our Indexed Boundary Representation that references B-rep vertices, edges and faces in a well-defined hierarchy to capture the geometric and topological relations suitable for use with machine learning. SolidGen can be easily conditioned on contexts e.g., class labels, images, and voxels thanks to its probabilistic modeling of the B-rep distribution. We demonstrate qualitatively, quantitatively, and through perceptual evaluation by human subjects that SolidGen can produce high quality, realistic CAD models.

Motivation & Objective

  • Propose a method to directly synthesize B-rep data without supervision from CAD operation sequences.
  • Introduce an indexed boundary representation suitable for machine learning.
  • Demonstrate unconditional and conditional generation of B-reps and evaluate realism via human perceptual studies.

Proposed method

  • Model the joint distribution p(B) of B-rep components (V, E, F) as p(F|E,V)p(E|V)p(V) and factorize using autoregressive Transformer-based networks.
  • Represent B-reps with an Indexed Boundary Representation that stores V, E, F as numeric arrays for machine learning compatibility.
  • Use separate vertex, edge, and face models implemented with Transformer decoders and pointer mechanisms to predict tokens in sequence form.
  • Condition generation on context z (e.g., class labels, images, voxels) by conditioning the distributions p(B|z).
  • Recover full B-reps from the indexed representation using rule-based postprocessing tied to a solid modeling kernel (OpenCascade).
  • Train with teacher-forcing and cross-entropy losses, employing nucleus sampling for inference.

Experimental results

Research questions

  • RQ1Can Direct B-rep synthesis via autoregressive models produce high-quality, realistic CAD models without relying on CAD modeling operation sequences?
  • RQ2How effective is the Indexed Boundary Representation for representing B-reps in a learnable, generative framework?
  • RQ3To what extent can SolidGen be conditioned on auxiliary context (class labels, images, voxels) to enable controllable B-rep generation?
  • RQ4How does SolidGen compare to sequence-based baselines in terms of validity, novelty, and perceptual realism?

Key findings

  • SolidGen achieves high-quality B-rep generation with strong token-level performance: Vertex, Edge, and Face models demonstrate low NLL and high Top-1 accuracy on test data.
  • Unconditional SolidGen samples outperform a uniform baseline by large margins in NLL and accuracy (e.g., Total NLL 4.54 bits and 97.05% mean accuracy on DeepCAD test set).
  • Conditional generation with class labels, images, or voxels yields substantial improvements over baselines, enabling controllable B-rep synthesis.
  • In unconditional generation, SolidGen's samples show competitive realism in human perceptual studies, with SolidGen being judged more realistic than training data about half the time (52.67% in one setup).
  • Table-based quantitative results show strong performance across datasets (e.g., DeepCAD: SolidGen NLL 4.54 bits, accuracy 97.05%).
  • Nucleus sampling provides a trade-off between validity and novelty/uniqueness, with higher p values increasing novelty but reducing validity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.