TL;DR
CReFT-CAD introduces a novel two-stage fine-tuning paradigm that combines curriculum-driven reinforcement learning with supervised post-tuning to help vision-language models accurately reason over 2D engineering drawings. Alongside this framework, the authors release TriView2CAD, the first large-scale, multi-modal benchmark containing 203,000 annotated orthographic projections. This approach significantly boosts the parametric accuracy and out-of-distribution generalization of models translating 2D designs into editable 3D CAD structures.
What Problem Does This Paper Address?
In industrial manufacturing, engineers rely heavily on 2D orthographic projections (front, top, and side views) because they offer exact dimensions and are easy to edit. To automate the pipeline from design to simulation, AI models must accurately parse these 2D drawings into 3D models.
Traditional deep learning approaches treat this as a standard 3D reconstruction task (generating point clouds or meshes directly from pixels). However, pixel-level errors easily propagate into the 3D model, causing downstream simulation failures. Furthermore, these raw 3D shapes lack the parametric editability (like adjusting a specific cylinder's radius via a parameter table) required in real-world engineering workflows.
While Vision-Language Models (VLMs) trained via Supervised Fine-Tuning (SFT) show promise in extracting these parameters, they often suffer from "pattern memorization." When faced with complex, out-of-distribution (OOD) real-world drawings, their performance plummets because they haven't learned true geometric and logical reasoning.
Methods
To overcome the limitations of standard SFT, the authors propose CReFT-CAD (Curriculum-driven Reinforcement Fine-tuning for CAD), a two-stage training paradigm built on top of a VLM base:
- Stage 1: Curriculum-driven Reinforcement Fine-tuning: Utilizing Group Relative Policy Optimization (GRPO), the model is exposed to three progressively difficult tasks to steadily build inferential capabilities:
- Task 1: Dichotomous Choice: A strict binary verification task where the model must answer "yes" or "no" to whether a given parameter list perfectly matches the drawing.
- Task 2: Multiple Choice: The model selects the correct parameter list from options containing masked and intentionally erroneous entries, forcing it to look closely at geometric relationships.
- Task 3: Chain-of-Thought (CoT) Parameterization: The model outputs step-by-step mathematical reasoning to calculate composite parameters. A difficulty-aware reward function scales the reinforcement learning rewards based on whether the attribute is categorized as Easy (1.0), Medium (1.5), or Hard (2.0).
- Stage 2: Supervised Post-tuning: After the model develops strong reasoning capabilities, it undergoes multi-task SFT to refine its instruction-following abilities for interactive, user-centric tasks like full parameter list generation, parameter validation, view matching, and component counting.
Datasets
The authors introduce TriView2CAD, a benchmark focused on prefabricated bridge piers due to their modular yet expressive parameter space. It consists of:
- 200,000 Synthetic Samples: Generated via a constraint-driven synthesis pipeline using the
ezdxfand FreeCAD libraries to ensure geometric coherence. Split 80/20 for training and testing. - 3,000 Real-World Samples: Sourced from authentic engineering archives, featuring complex occlusions, redundant lines, and non-numeric annotations, reserved exclusively for OOD testing.
Each sample provides six interconnected data modalities: structured parameter tables (JSON), vector drawings (DXF), raster images (PNG), executable modeling scripts, and standard 3D formats (STEP and B-Rep).
Key Insights and Ideas
- RL Prevents Rote Memorization: While SFT models excel at matching familiar visual patterns, reinforcement learning with difficulty-aware rewards forces the model to learn generalized strategies for verifying and calculating dimensions.
- The Necessity of Chain-of-Thought (CoT): Breaking down complex engineering calculations (e.g., deriving total spacing from individual component widths across multiple views) into explicit text steps dramatically boosts accuracy. Without CoT, even the best task combinations maxed out at 46.24% accuracy on individual parameterization tasks.
- The Real-World Complexity Gap: Real engineering drawings are messy. Redundant annotation lines and overlapping text cause massive performance drops for standard pretrained models, highlighting the need for specialized benchmarks like TriView2CAD.
Key Results
CReFT-CAD was evaluated against seven leading VLMs (including GPT-4o, Claude 4 Vision, and Qwen2.5-VL):
- In-Domain Performance: On the synthetic test set, CReFT-CAD achieved a top accuracy of 84.03% when provided with reasoning guidance and attribute explanations. In comparison, the training-free Qwen2.5-VL baseline scored just 38.88% under the same conditions.
- Out-of-Distribution (OOD) Performance: On the 3,000 real-world samples, the vanilla Qwen2.5-VL baseline struggled significantly, scoring 13.47% accuracy. Standard SFT improved this to 36.15%, but CReFT-CAD achieved 46.67% accuracy, demonstrating superior real-world generalization.
Limitations and Future Work
Despite outperforming existing models, CReFT-CAD's accuracy on complex, real-world scenarios still sits below 50%. This indicates that fully automated, zero-tolerance industrial deployment is not yet viable. The authors note that enhancing the model's robustness against severe visual occlusions and improving its generalization to entirely different categories of industrial components remain key areas for future development.
Summary updated