← Latest papers
🤖 AI

Text-to-CAD Evaluation with CADTests

This paper introduces CADTestBench, the first test-based benchmark for Text-to-CAD that utilizes executable software tests to rigorously evaluate and guide the generation of CAD models, demonstrating that this approach can surpass the performance of existing methods.

Original authors: Dimitrios Mallis, Marco Wang, Ahmet Serdar Karadeniz, Elisa Ricci, Anis Kacem, Djamila Aouada

Published 2026-05-11
📖 4 min read☕ Coffee break read

Original authors: Dimitrios Mallis, Marco Wang, Ahmet Serdar Karadeniz, Elisa Ricci, Anis Kacem, Djamila Aouada

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 a boss giving a very specific instruction to a robot carpenter. You say, "Build me a wooden block with a hole in the middle and a slit cut all the way through it."

In the past, if the robot built a block that looked mostly like your description, but the slit stopped halfway or the hole was slightly off-center, it was hard to tell if the robot actually failed or just made a slight variation. Traditional ways of checking the work were like comparing two photos: "Does this picture look like that picture?" If the robot built a slightly different shape that still fit your description, the photo comparison might say "It's wrong" just because it didn't match the exact reference photo, even though it was a perfectly good block.

This paper introduces a new way to check the robot's work, called CADTESTS, and a new testing ground called CADTESTBENCH.

The Old Way: The "Photo Match"

Think of the old evaluation method as a teacher grading a student's drawing by comparing it to a single "perfect" drawing in a textbook.

  • The Problem: If you ask for "a red car," there are a million ways to draw a red car. If the student draws a red sports car and the textbook shows a red sedan, the teacher might mark it wrong just because they don't look identical, even though the student followed your instructions perfectly.
  • The Flaw: This method is too strict about the look and not strict enough about the rules.

The New Way: The "Code Test"

The authors realized that building a CAD model is actually like writing a computer program. Instead of comparing the final picture, they decided to check if the robot followed the rules by running a test suite.

Imagine giving the robot a checklist instead of a photo:

  1. Does the object have exactly 16 corners?
  2. Is the hole a perfect circle?
  3. Does the slit go all the way through, or is there a thin wall left behind?

If the robot's creation passes every single item on the checklist, it gets an "A." If it fails one item (like leaving a thin wall), the test immediately says, "Fail! Here is exactly what went wrong."

How They Built the Test (The "Mutation" Trick)

The authors didn't just guess what tests to write. They used a clever trick called Mutation Analysis.

  • Imagine the robot's perfect blueprint is a cake.
  • The authors created "mutant" cakes: one where the hole is too small, one where the slit is missing, and one where the shape is a cube instead of a block.
  • They asked an AI to write tests that could spot these specific mistakes.
  • They kept refining the tests until they were so sharp that they could catch every mutant cake (the bad versions) while still letting the perfect cake pass.

This ensures the tests are checking the rules you gave, not just copying a specific picture.

What They Found

They tested this new system on several existing AI models that try to turn text into 3D designs.

  • The Results: The new "checklist" method (CADTESTS) was much better at spotting real errors than the old "photo matching" method. It also aligned much better with what human experts thought was a "good" design.
  • The Surprise: They found that if you let the AI run these tests while it was building the model (like a self-correcting mechanic checking the engine as it builds it), the AI got much better at following instructions. Even simple methods using this self-checking loop beat the most complex, expensive models that didn't use it.

The Bottom Line

This paper says: "Stop judging 3D designs by how closely they look like a reference photo. Start judging them by whether they pass a strict set of logical rules."

They built a new playground (CADTESTBENCH) where anyone can test their 3D-building AI using these logical rule-checks, and they showed that this method is fairer, more accurate, and helps AI models learn to build better designs.

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 →