← Latest papers
💻 computer science

PLLM: Pseudo-Labeling Large Language Models for CAD Program Synthesis

The paper introduces PLLM, a self-training framework that leverages pseudo-labeling to fine-tune large language models for synthesizing CAD programs from unlabeled 3D geometries, thereby overcoming the scarcity of paired shape-program data and improving both geometric fidelity and program diversity.

Original authors: Yuanbo Li, Dule Shu, Yanying Chen, Matt Klenk, Daniel Ritchie

Published 2026-02-16
📖 4 min read☕ Coffee break read

Original authors: Yuanbo Li, Dule Shu, Yanying Chen, Matt Klenk, Daniel Ritchie

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 have a massive library of 3D objects—chairs, cars, buildings—but you only have the finished products (the shapes). You don't have the blueprints (the computer code) that engineers used to build them.

In the world of Computer-Aided Design (CAD), having the blueprint is a superpower. It means you can easily resize a chair, change its material, or tweak a curve. Without the blueprint, you only have a static statue; you can't really "edit" it easily.

The problem? Blueprints are hard to find. Most 3D models in the wild don't come with their original code.

This paper introduces a clever solution called PLLM (Pseudo-Labeling Large Language Models). Think of it as a "Self-Taught Architect" that learns to reverse-engineer blueprints just by looking at the finished buildings.

Here is how it works, broken down into simple steps with some analogies:

1. The Starting Point: A Smart but Unpracticed Intern

Imagine you hire a very smart architecture intern (a pre-trained AI model). This intern has read millions of blueprints from a specific style of building (let's call it "DeepCAD"). They know the rules of construction well.

However, you now show them a pile of buildings from a completely different city ("ABC dataset") that they've never seen before. They try to guess the blueprints, but because the style is different, their first guesses are messy, inefficient, or slightly wrong.

2. The "Try, Test, and Keep" Loop

Instead of giving up, the intern starts a self-improvement cycle. Here is the process:

  • Step A: The Guessing Game (Sampling)
    The intern looks at one 3D shape and tries to write ten different blueprints for it. Some are terrible, some are okay, and one might be close.

    • Analogy: It's like a chef trying to guess a secret recipe by tasting the dish and writing down ten different ingredient lists.
  • Step B: The Reality Check (Execution)
    The system takes those ten blueprints and actually tries to "build" them in the computer. It compares the new 3D model built from the blueprint against the original shape.

    • Analogy: The chef cooks the dish based on their guessed recipe and compares it to the original. If the taste is off, the recipe is wrong.
  • Step C: Keeping the Best (Selection)
    The system picks the blueprint that built the closest match. It throws away the bad ones. This "best guess" becomes a fake blueprint (a "pseudo-label") that is now treated as a correct answer for training.

3. The Secret Sauce: "Editing the Drafts" (Data Augmentation)

This is where the paper gets really creative. Just picking the best blueprint isn't enough; the AI might get lazy and only write short, simple blueprints.

So, the system takes the "winning" blueprint and manually edits it:

  • Expansion: It adds extra steps to make the blueprint more complex (e.g., "Add a second window here").

  • Shortening: It removes unnecessary steps to make it concise (e.g., "Combine these two cuts into one").

  • Analogy: Imagine the intern writes a draft story. A senior editor then takes that draft, writes a longer, more detailed version, and also writes a shorter, punchier version. Now, the intern has three different versions of the story to learn from, all based on the same original plot.

This creates a huge library of "fake but accurate" blueprints paired with the shapes they build.

4. The Final Result: A Master Architect

The AI is then retrained (fine-tuned) on this new, massive library of self-made blueprints.

  • Iteration 1: It's okay.
  • Iteration 2: It gets better because it learned from its own "best guesses."
  • Iteration 5: It becomes a master, capable of writing high-quality blueprints for shapes it has never seen before, even though it was never taught by a human with the correct answers.

Why is this a big deal?

Usually, to teach an AI to do this, you need a human to sit down and write the code for thousands of 3D shapes. That is expensive and slow.

PLLM says: "We don't need humans to write the code. We can use the AI to write its own homework, check its own work, and then learn from the results."

The Catch

The only downside is time and computing power. It takes a lot of computer energy to "build" these 3D models over and over again to check if the blueprints are right. But the authors argue that this cost is worth it to unlock the ability to learn from the millions of 3D shapes that currently have no blueprints.

In a nutshell: The paper teaches an AI to teach itself how to reverse-engineer 3D designs by generating its own practice problems, grading them, and then studying the "correct" answers it created for itself.

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 →