From Intent to Execution: Multimodal Chain-of-Thought Reinforcement Learning for Precise CAD Code Generation
On the map: LLM reasoning → Spatial and embodied reasoning
Abstract (arXiv)
Computer-Aided Design (CAD) plays a vital role in engineering and manufacturing, yet current CAD workflows require extensive domain expertise and manual modeling effort. Recent advances in large language models (LLMs) have made it possible to generate code from natural language, opening new opportunities for automating parametric 3D modeling. However, directly translating human design intent into executable CAD code remains highly challenging, due to the need for logical reasoning, syntactic correctness, and numerical precision. In this work, we propose CAD-RL, a multimodal Chain-of-Thought (CoT) guided reinforcement learning post training framework for CAD modeling code generation. Our method combines CoT-based Cold Start with goal-driven reinforcement learning post training using three task-specific rewards: executability reward, geometric accuracy reward, and external evaluation reward. To ensure stable policy learning under sparse and high-variance reward conditions, we introduce three targeted optimization strategies: Trust Region Stretch for improved exploration, Precision Token Loss for enhanced dimensions parameter accuracy, and Overlong Filtering to reduce noisy supervision. To support training and benchmarking, we release ExeCAD, a noval dataset comprising 16,540 real-world CAD examples with paired natural language and structured design language descriptions, executable CADQuery scripts, and rendered 3D models. Experiments demonstrate that CAD-RL achieves significant improvements in reasoning quality, output precision, and code executability over existing VLMs.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Placed in Spatial and embodied reasoning, one of 17 directions in LLM reasoning. Builds on 18 of its 31 references that are in the map. First posted on arXiv 13 Aug 2025.
Builds on
18 of 31 references.
Closest ancestors · 1
Same direction, newest first
- 2025CReFT-CAD: Boosting Orthographic Projection Reasoning for CAD via Reinforcement Fine-Tuning31 May
Other references · 17
- 2023GPT-4 Technical Reportcited by 18,396
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,917
- 2025InternVL3: Exploring Advanced Training and Test-Time Recipes for Open-Source Multimodal Modelscited by 1,834
- 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
- 2024A Survey on Large Language Models for Code Generationcited by 658
- 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 263
- 2024CAD-MLLM: Unifying Multimodality-Conditioned CAD Generation With MLLMcited by 81
- 2022SolidGen: An Autoregressive Model for Direct B-rep Synthesiscited by 80
- 2024StepCoder: Improve Code Generation with Reinforcement Learning from Compiler Feedbackcited by 77
- 2025CAD-Coder: Text-to-CAD Generation with Chain-of-Thought and Geometric Rewardcited by 56
5 more
- 2025CAD-Coder: An Open-Source Vision-Language Model for Computer-Aided Design Code Generationcited by 43
- 2024GenCAD: Image-Conditioned Computer-Aided Design Generation with Transformer-Based Contrastive Representation and Diffusion Priorscited by 38
- 2024Img2CAD: Reverse Engineering 3D CAD Models from Images through VLM-Assisted Conditional Factorizationcited by 35
- 2025CAD-Coder:Text-Guided CAD Files Code Generationcited by 9
- 2025PHT-CAD: Efficient CAD Parametric Primitive Analysis with Progressive Hierarchical Tuningcited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 11.
12 papers.
- 2025CME-CAD: Heterogeneous Collaborative Multi-Expert Reinforcement Learning for CAD Code Generationcited by 19
- 2026IterCAD: An Iterative Multimodal Agent for Visually-Grounded CAD Generation and Editingcited by 10
- 2026Clarify Before You Draw: Proactive Agents for Robust Text-to-CAD Generationcited by 7
- 2026Beyond NL2Code: A Structured Survey of Multimodal Code Intelligencecited by 6
- 2026GIFT: Bootstrapping Image-to-CAD Program Synthesis via Geometric Feedbackcited by 3
- 2026Pointer-CAD v2: Plan-Then-Construct CAD Generation with Dimension-Aware Parametric Precisioncited by 1
- 2026Design-Specification Tiling for ICL-based CAD Code Generationcited by 0
- 2026Arko-T: A Foundation Model for Text-to-Structured 3D Generationcited by 0
- 2026PCBWorld: A Benchmark Environment for Engine-Grounded PCB Design Automationcited by 0
- 2026IterCAD: Iterative Program Repair for CAD Code Generation from Orthographic Viewscited by 0
- 2026CIT-CAD: Constraint Intent Tree-based CAD Code Generation and Verificationcited by 0
- 2026Rethinking Human Intent-to-CAD: Parametric CAD Model Generation via Cooperative Multi-Task Alignment and Spatial-Aware Reinforcement Learningcited by 0
- 2026Rethinking Human Intent-to-CAD: Parametric CAD Model Generation via Cooperative Multi-Task Alignment and Spatial-Aware Reinforcement Learning11 Oct 2026
- 2026CIT-CAD: Constraint Intent Tree-based CAD Code Generation and Verification7 Sep 2026
- 2026IterCAD: Iterative Program Repair for CAD Code Generation from Orthographic Views25 Aug 2026
- 2026PCBWorld: A Benchmark Environment for Engine-Grounded PCB Design Automation7 Jul 2026
- 2026Arko-T: A Foundation Model for Text-to-Structured 3D Generation29 Jun 2026
- 2026Pointer-CAD v2: Plan-Then-Construct CAD Generation with Dimension-Aware Parametric Precision28 Jun 2026
- 2026Beyond NL2Code: A Structured Survey of Multimodal Code Intelligence14 Jun 2026
- 2026IterCAD: An Iterative Multimodal Agent for Visually-Grounded CAD Generation and Editing11 Jun 2026
- 2026GIFT: Bootstrapping Image-to-CAD Program Synthesis via Geometric Feedback28 Mar 2026
- 2026Design-Specification Tiling for ICL-based CAD Code Generation13 Mar 2026
- 2026Clarify Before You Draw: Proactive Agents for Robust Text-to-CAD Generation3 Feb 2026
- 2025CME-CAD: Heterogeneous Collaborative Multi-Expert Reinforcement Learning for CAD Code Generation29 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2025cadrille: Multi-modal CAD Reconstruction with Reinforcement Learning
- 2025ReCAD: Reinforcement Learning Enhanced Parametric CAD Model Generation with Vision-Language Models
- 2025RLCAD: Reinforcement Learning Training Gym for Revolution Involved CAD Command Sequence Generation
- 2026Memory-Augmented Reinforcement Learning Agent for CAD Generation
- 2026PR-CAD: Progressive Refinement for Unified Controllable and Faithful Text-to-CAD Generation with Large Language Models
- 2026TOOLCAD: Exploring Tool-Using Large Language Models in Text-to-CAD Generation with Reinforcement Learning
- 2026Tool-Augmented Agent for Closed-loop Optimization,Simulation,and Modeling Orchestration
- 2026COSMO-Agent: Tool-Augmented Agent for Closed-loop Optimization,Simulation,and Modeling Orchestration