TRANSMISSION // 2608.05714v5
Teaching a CAD agent to critique its own designs
Source published
RA-CAD generates, executes, critiques and revises CAD code in a loop. Its tests on two datasets report better execution validity and geometric similarity on most metrics, with important limits to the comparison and scope.

Text-to-CAD promises to turn written design descriptions into editable 3D models. But a script that runs can still make the wrong shape. RA-CAD, a research system, gives an AI agent a chance to inspect each executed model, explain what should change, and try again.
Why make CAD generation a loop?
Computer-aided design (CAD) models describe objects through structured, editable operations—not just pictures of their surfaces. Turning a written description into such a model is difficult: code may fail to run, or it may run while leaving out a hole, placing a feature incorrectly, or otherwise missing the intended shape.
RA-CAD, short for ReAct Agent for CAD, asks whether an AI system can use feedback more effectively by learning not only to write CAD code, but also to critique the result after it runs. The authors argue that feedback alone is not enough: a system must interpret what happened and decide whether to accept the model or revise it.
Generate, execute, critique, rewrite
RA-CAD follows a repeating cycle. It generates a CAD code sequence from a natural-language description. A CAD environment attempts to execute that code and returns success or diagnostic information. The agent then produces an explicit critique, considering the description, code and execution result. It can accept the current model or offer guidance for a rewrite. The process ends when the agent accepts a result or reaches its iteration limit.
The system is trained in two stages. First, CAD Code Bootstrapping uses supervised fine-tuning on paired descriptions and CAD code, teaching the model the required code format and basic structure. Next, Feedback-Driven Agent Optimization trains the system on complete interaction trajectories: sequences of generation, execution, critique and possible rewriting. Using Group Relative Policy Optimization, the researchers apply rewards to the trajectory’s final result, rather than separately rewarding each intermediate step.
Those rewards combine an F1 score for basic sketch elements—lines, arcs and circles—with Chamfer Distance, a measure of how closely sampled points on the generated shape match points on a reference shape. The execution environment also checks whether a sequence can be parsed and rendered. The paper’s evaluation includes execution validity, geometric similarity and sequence-level scores.
What the tests report
The researchers evaluated RA-CAD on CADFusion and Text2CAD, using a fine-tuned Llama 3 8B Instruct model as the base. They compared it with selected text-to-CAD systems and proprietary language models under specified evaluation protocols. On CADFusion, RA-CAD had the best results among the listed methods on the table’s reported metrics. On Text2CAD, it led on some measures, including average Chamfer Distance and invalidity ratio, but not every score: for example, a baseline had a higher average F1 score.
The paper also reports that RA-CAD’s invalidity ratio was 1.05% on CADFusion and 0.89% on Text2CAD, where lower is better. These figures apply to the study’s processed test sets and evaluation setup; they are not general estimates of how often AI-generated CAD will fail in practice. In an ablation study on CADFusion, removing the critique component worsened the reported metrics, supporting the authors’ case that critique contributes within this system. It does not by itself establish that the same design will help across other CAD tools, tasks or datasets.
What remains uncertain
The comparisons have limits. The authors note that some relevant methods could not be reproduced under the same conditions because code, checkpoints or evaluation pipelines were unavailable, or because those systems use different representations and inputs. Comparisons with available methods were standardized, but did not make their inference budgets or input information identical. Proprietary models were tested with a fixed eight-example prompt and single-sample generation; the authors caution that repeated sampling could change their results.
RA-CAD is also restricted to a particular sketch-and-extrude code format, with line, arc and circle primitives, a limited set of operations and quantized parameters. It accepts text rather than images, sketches or point clouds. The authors identify broader CAD operations, higher parameter precision, visual inputs and generalization to wider code spaces as open directions.
The supplied paper text identifies this work as an arXiv preprint; the evidence here does not establish peer-review status. Its findings should therefore be read as reported experimental results, not settled evidence of broad real-world performance. The study offers a specific lesson: for this tested setup, learning how to assess and revise executed designs appears useful, but whether that approach transfers to more varied engineering work remains an open question.
- text-to-CAD
- artificial intelligence
- parametric CAD
- CAD agents
- reinforcement learning
- geometry generation
Reviewed cross-references
These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.
PhyCAD trains AI-generated CAD designs against geometry and physics checks
Shared method: Both papers use GRPO for CAD generation, but in different ways: RA-CAD optimizes code and critique sequences over complete interaction trajectories, while PhyCAD groups candidates by verification status and ranks objectives within each level. PhyCAD reports direct program generation rather than iterative simulation-guided refinement at inference; the shared optimizer does not make their tasks or results directly comparable.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2608.05714v5 — Original paper
Excerpt reference:
static/papers/2608.05714v5.md:349-451
Basis: Paper text
Source file SHA-256:18525ef9d3c0ffc688947f47faf7f7fbb17d4e70c37880e428896d7070c941312611.09401v1 — Original paper
Excerpt reference:
static/papers/2611.09401v1.md:181-227
Basis: Paper text
Source file SHA-256:78bdf3c083717de5a492050e9b4c2d3058f198c04b9aa2f2c31ed809587889d3
Testing Whether AI-Designed CAD Models Follow the Prompt
Supporting evidence: In separate reported evaluations, RA-CAD’s critique ablation worsened its CADFusion metrics, and CADTests-guided generation improved reported metrics over other baselines. These results support only the bounded observation that feedback helped in those evaluations; their methods, datasets, and measures differ, so they do not establish comparative performance or a general benefit.
Model review: · openai-codex/gpt-6-luna
Evidence and provenance
Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.
2608.05714v5 — Original paper
Excerpt reference:
static/papers/2608.05714v5.md:958-995
Basis: Paper text
Source file SHA-256:18525ef9d3c0ffc688947f47faf7f7fbb17d4e70c37880e428896d7070c941312605.07807v2 — Original paper
Excerpt reference:
static/papers/2605.07807v2.md:782-875
Basis: Paper text
Source file SHA-256:c23e299326be2bb81cd2bb297ef3efa0f1620e14c42e544070150164d424e9a2
Related reading
Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.
PhyCAD trains AI-generated CAD designs against geometry and physics checks
Source published
Shared keywords: reinforcement learning, text to cad
CADFather gives AI several ways to rebuild a 3D design
Source published
Shared keywords: artificial intelligence
Testing Whether AI-Designed CAD Models Follow the Prompt
Source published
Shared keywords: artificial intelligence, text to cad
An AI CAD system plans mechanical operations instead of writing long programs
Source published
Shared keywords: artificial intelligence, text to cad
A model of situation-dependent planning in human decisions
Source published
Shared keywords: artificial intelligence