RA-CAD Improves Text-to-CAD with Learnable Post-Execution Critique.

Shuhao Yan, Changhao He, Xi Peng, Peng Hu· August 7, 2026 View original

Key takeaways

  • RA-CAD uses a Generate-Execute-Critique-Rewrite loop for text-to-CAD generation.
  • Post-execution critique is a learnable policy decision, not just an auxiliary output.
  • The system achieves state-of-the-art results in CAD code validity and geometric quality.
  • Feedback-driven optimization is crucial for effective AI-powered design tools.

Who benefits

ManufacturingAutomotiveAerospaceArchitectureProduct Design

Summary

RA-CAD is a new state-aware agent that enhances text-to-CAD generation by incorporating a learnable post-execution critique within a Generate-Execute-Critique-Rewrite loop. This method optimizes how feedback is interpreted and translated into corrective actions, achieving state-of-the-art results in CAD code validity and geometric quality.

Generating Computer-Aided Design (CAD) models from natural language descriptions can significantly lower the barrier to entry for design, but current text-to-CAD methods often struggle with effectively utilizing feedback for correction. Existing systems typically rely on fixed or externally supplied critique mechanisms, which don't always optimize the translation of feedback into actionable revisions during the generation process. Researchers have introduced RA-CAD (ReAct Agent for CAD), a state-aware agent designed to bridge this feedback-utilization gap. RA-CAD operates within a Generate-Execute-Critique-Rewrite loop, where it executes the generated CAD code, observes the outcome, and then generates an explicit post-execution critique. This critique, conditioned on the design instruction, current code, and execution feedback, either validates the result for termination or provides specific guidance for the next rewrite. The system employs two key training phases: CAD Code Bootstrapping (CCB) for foundational parametric CAD coding, and Feedback-Driven Agent Optimization (FAO). FAO uses trajectory-level Group Relative Policy Optimization to train both code and critique sequences, making the critique an outcome-aligned, learnable policy decision rather Pre-execution critique is an outcome-aligned, learnable policy decision rather than a separate output. This approach has led to state-of-the-art execution validity and geometric quality on benchmarks like CADFusion and Text2CAD, outperforming existing methods and even strong proprietary language models.

Why it matters

This advancement makes CAD design more accessible and efficient by allowing natural language input to generate highly accurate and editable models, significantly impacting product development workflows.

How to implement this in your domain

  1. 1Explore integrating state-aware agents with iterative critique-and-rewrite loops into your design automation tools.
  2. 2Investigate applying similar feedback-driven optimization techniques to other code generation or design tasks.
  3. 3Benchmark RA-CAD's performance against existing text-to-CAD solutions for specific design requirements.
  4. 4Consider developing internal tools that leverage post-execution critique for improving AI-generated content in engineering.

Original post by Shuhao Yan, Changhao He, Xi Peng, Peng Hu

"arXiv:2608.05714v1 Announce Type: new Abstract: Text-to-CAD generation translates natural-language design intent into editable and executable parametric computer-aided design (CAD) codes, reducing the expertise and effort required for manual modeling. Existing methods incorporate…"

View on X

Originally posted by Shuhao Yan, Changhao He, Xi Peng, Peng Hu on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses