← Latest papers
🤖 machine learning

AutoRegressive Generation with B-rep Holistic Token Sequence Representation

This paper introduces BrepARG, the first framework to encode Boundary Representation (B-rep) data into a holistic token sequence comprising geometric and topological tokens, enabling state-of-the-art autoregressive generation via a transformer-based decoder-only architecture.

Original authors: Jiahao Li, Yunpeng Bai, Yongkang Dai, Hao Guo, Hongping Gan, Yilei Shi

Published 2026-03-31
📖 5 min read🧠 Deep dive

Original authors: Jiahao Li, Yunpeng Bai, Yongkang Dai, Hao Guo, Hongping Gan, Yilei Shi

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a robot how to build a complex 3D object, like a chair or a car engine, using a computer. In the world of engineering, these objects are described using something called a B-rep (Boundary Representation).

Think of a B-rep as the "DNA" of a 3D shape. It doesn't just say "this is a cube." It says:

  1. Geometry: "This face is curved like a sphere, and that edge is a straight line."
  2. Topology: "This face is glued to that face, and they meet at this specific corner."

The Problem: The "Two-Headed" Monster

For a long time, AI models trying to design these shapes had a hard time because the "DNA" was messy.

  • The Old Way: Previous methods treated the shape (geometry) and the connections (topology) as two separate problems. It was like asking a chef to first cook the ingredients (shape) and then, in a completely different kitchen, figure out how to plate them (topology).
  • The Result: The AI got confused. It might make a beautiful curved surface but forget to connect it to the rest of the object, leaving a floating piece of geometry that doesn't belong to anything. It was fragmented and inefficient.

The Solution: BrepARG (The "Storyteller" Approach)

The authors of this paper, BrepARG, decided to change the game. Instead of splitting the shape and the connections, they decided to turn the entire 3D object into a single, continuous story.

Here is how they did it, using a simple analogy:

1. Turning Shapes into Words (Tokenization)

Imagine you want to describe a Lego castle to a friend over the phone. You can't send a picture; you have to use words.

  • Geometry Tokens: The authors took the curves and lines of the object and turned them into "words" (tokens). They used a special dictionary (a codebook) where every specific curve or line has a unique word.
  • Position Tokens: They also added "words" for where things are in 3D space (like "top-left" or "bottom-right").
  • Topology Tokens: This is the magic part. They added "words" that act like name tags. Every face gets a name tag (e.g., "Face A"). When they describe an edge, they say, "This edge connects Face A and Face B."

Now, instead of a messy 3D file, they have a list of words: "Face A (curved), Face B (flat), Edge (connects A & B)..."

2. Ordering the Story (Sequence Construction)

If you just list random words, the story makes no sense. You need an order.

  • The Old Way: Randomly listing parts.
  • The BrepARG Way: They created a smart "reading order."
    • They start with the most important "hub" faces (the ones with the most connections) and work their way out, like a spider spinning a web.
    • They make sure that when the AI reads about an edge, it has just read about the faces that edge connects.
    • This creates a causal chain: The AI learns that "Face A" must exist before it can learn about the "Edge connecting to Face A."

3. The Magic Writer (Autoregressive Model)

Now they use a Transformer (the same type of AI that powers chatbots like me) to learn this "language of shapes."

  • How it works: The AI reads the story word by word. It sees "Face A," then "Edge," then "Face B." It learns the pattern: "Oh, whenever I see a curved Face A, there's usually a straight Edge connecting it to a flat Face B."
  • Generation: To create a new object, the AI starts with a blank page. It guesses the first word ("Let's start with a big square face"), then guesses the next word based on the first, and so on. It builds the object one word at a time, ensuring that every new piece fits perfectly with the previous ones.

Why This is a Big Deal

  • No More "Floating Parts": Because the AI learns the connections (topology) and the shapes (geometry) at the same time, it never forgets to glue the pieces together.
  • Speed and Efficiency: It's like switching from building a house brick-by-brick with a manual, to having a smart assistant that knows the blueprint and builds the whole wall in one go. The paper shows their model trains much faster and creates higher-quality designs than previous methods.
  • Versatility: It can be taught to build specific types of objects (like "only chairs" or "only lamps") just by giving it a "topic word" at the start of the story.

The Bottom Line

BrepARG is like teaching a robot to speak the native language of 3D design. Instead of giving it a confusing list of instructions, they taught it to tell a coherent story where the shape and the structure are woven together. The result? A robot that can dream up new, complex, and valid 3D objects on its own, just by predicting the next word in the story.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →