ICML 2026 · Seoul, South Korea

Rethinking Human Intent-to-CAD:
Parametric CAD Model Generation via
Cooperative Multi-Task Alignment and
Spatial-Aware Reinforcement Learning

* Equal Contribution 📧 Corresponding Author
1 College of Computer Science and Artificial Intelligence, Fudan University, Shanghai, China
Four Human Intent-to-CAD Tasks From low-fidelity human intent → High-fidelity parametric CAD models

Figure 1. HiCAD addresses four human intent-to-CAD tasks spanning from unimodal to multimodal inputs, covering the full spectrum of design intent expression — from early ideation sketches to precise textual specifications.

0 Training Samples
0 Best IoU (HDS+CTD)
0 Intent-to-CAD Tasks
0 Input Modalities

Abstract

Parametric CAD modeling from human intent remains challenging, particularly during the conceptual design stage, where design goals are expressed through incomplete and unstructured modalities (e.g., hand-drawn sketches and textual descriptions). In this work, we rethink the human intent-to-CAD pipeline and propose a unified method that directly maps multi-level human intents to executable codes, without assuming the prior existence of target CAD models.


To support our study, we construct HiCAD, the first large-scale dataset aligning hand-drawn sketches, textual descriptions, and parametric CAD codes. Based on this, we introduce HiCAD, a two-stage framework comprising Cooperative Multi-Task Alignment (CMTA) to bridge the representational gap between heterogeneous inputs, and Spatial-Aware Reinforcement Learning (SARL) to enforce geometric and topological consistency.


Extensive experiments demonstrate that our method significantly outperforms existing baselines across multiple tasks, validating its effectiveness and robustness in transforming heterogeneous human intents into high-fidelity parametric CAD models.

Core Challenges

Asymmetric Alignment
A substantial representational gap exists between the sparse ambiguity of hand-drawn sketches and the abstract nature of textual descriptions.
Logical Consistency
CAD codes are highly sensitive to syntax and geometric topology — minor sequence deviations cause compilation failures or geometric distortions.
Sparse Feedback
In complex parametric modeling spaces, traditional cross-entropy loss struggles to capture geometric fidelity in 3D space.

Method

HiCAD: A Two-Stage Framework for Human Intent-to-CAD Generation

HiCAD framework overview

Figure 2. Overview of the HiCAD framework. Stage I (CMTA) fine-tunes a VLM across four tasks simultaneously. Stage II (SARL) applies spatial-aware reinforcement learning with topological and geometric consistency rewards.

Stage I
Cooperative Multi-Task Alignment

CMTA initializes from a pre-trained VLM (Qwen3-VL-4B-Instruct) and fine-tunes it across all four tasks simultaneously. By interleaving data from diverse tasks, it maps heterogeneous human intents into a unified modeling space, enabling positive transfer across modalities.

Objective: Minimize cross-entropy between ground truth and predicted CadQuery tokens.

HDS → CAD CTD → CAD HDS+PTD → CAD HDS+CTD → CAD
Stage II
Spatial-Aware Reinforcement Learning

SARL leverages Group Sequence Policy Optimization (GSPO) for stable training. The spatial-aware reward jointly evaluates topological consistency (via graph edit distance on B-Rep face adjacency graphs) and geometric consistency (via volumetric IoU).

Key advantage: Sequence-level importance ratios reduce gradient variance vs. token-level GRPO.

r = λ₁·rtopo + λ₂·rIoU rtopo = 1 / (1 + GED(Ggt, Gpred))

HiCAD Dataset

The first large-scale benchmark aligning hand-drawn sketches, textual descriptions, and parametric CAD codes

0 Training Samples
0 Validation Samples
0 Test Samples
0 Aligned Modalities
✏️
Hand-Drawn Sketches
Synthetic sketches generated via a differentiable pipeline using OpenCascade edge extraction + jitter augmentation (512×512 px). 100 real human-drawn sketches for generalization evaluation.
Synthetic Human-Drawn
📝
Textual Descriptions
Generated by Qwen3-VL-32B using CadQuery code + rendered image + geometric attributes. Both Complete (CTD) and Partial (PTD) descriptions — the latter simulates incomplete user intent.
Complete (CTD) Partial (PTD)
⚙️
CadQuery Code
Executable Python scripts based on CadQuery, derived from the DeepCAD dataset via CAD-Recode. Supports B-Rep and mesh outputs, compatible with industrial STEP standard.
B-Rep / Mesh STEP Export

Dataset Construction Pipeline

🏗️
DeepCAD
Source Models
⚙️
CadQuery Code
via CAD-Recode
✏️
HDS Generation
HLR + Jitter
🤖
CTD Generation
Qwen3-VL-32B
🎯
HiCAD Dataset
90K+ Samples

Experimental Results

HiCAD consistently outperforms all baselines across all tasks and metrics

Method HDS-to-CAD CTD-to-CAD HDS & PTD-to-CAD HDS & CTD-to-CAD
IoU↑IR↓M.CD↓Med.CD↓ IoU↑IR↓M.CD↓Med.CD↓ IoU↑IR↓M.CD↓Med.CD↓ IoU↑IR↓M.CD↓Med.CD↓
GPT-4o general 20.497.0053.5235.31 47.6420.8025.865.93 37.4116.6038.4116.93 51.5217.2022.574.50
GPT-5-mini general 9.5116.0067.5353.23 53.6123.6021.873.98 38.209.8033.3913.08 52.9614.4019.583.42
Gemini-2.5 general 23.7219.6044.7023.51 52.9435.8028.224.95 40.8728.2034.8511.48 54.0123.2026.093.27
Claude-3.7 general 19.4815.8049.5131.70 44.2128.6030.116.74 34.1122.2038.8618.68 46.8126.2028.996.91
Qwen-VL-Max general 22.2114.2044.5823.17 46.4654.2028.836.21 36.8647.2035.0616.59 52.7353.2023.774.48
CAD-Coder† specialized 48.893.9610.562.09 60.083.4610.900.70 56.384.119.471.32 64.613.267.600.42
Cadrille† specialized 66.549.417.030.57 67.196.8212.270.43 66.868.129.410.58 72.567.577.750.30
🏆 HiCAD (Ours)† 69.490.374.400.46 74.270.176.910.29 76.030.423.910.30 80.900.423.040.22

† Trained on HiCAD dataset. CD values multiplied by 10³. Green = best, underline = second best.

Method HDS-to-CAD HDS & CTD-to-CAD
IoU↑IR↓ IoU↑IR↓
GPT-4o 7.9320.0018.7810.00
Gemini-2.5 9.5236.0020.2842.00
Claude-3.7 8.1066.0023.7156.00
CAD-Coder† 35.728.0054.573.00
Cadrille† 17.7487.0059.209.00
🏆 HiCAD (Ours)† 43.273.0073.370.00

Evaluated on 100 real sketches drawn by human volunteers. HiCAD achieves 0% invalid rate on HDS+CTD task.

Configuration HDS-to-CAD CTD-to-CAD HDS+PTD-to-CAD HDS+CTD-to-CAD
IoU↑IR↓ IoU↑IR↓ IoU↑IR↓ IoU↑IR↓
ST-SFT (Vanilla) 63.841.27 71.011.49 66.611.44 74.351.97
+ CMTA 66.871.20 71.900.95 72.391.07 79.281.10
+ CMTA + SARL (Full) 69.090.22 73.790.30 76.030.42 80.900.42
↑ CMTA Effect
Multi-task alignment improves IoU by up to +5.78% (HDS+PTD task) over single-task SFT baseline.
↑ SARL Effect
SARL reduces invalid rate to 0.22–0.42% and further boosts IoU by eliminating geometric inconsistencies.
25×
Lower Invalid Rate
IR reduced from 9.41% to 0.37% vs. Cadrille on HDS-to-CAD task
+14.4%
IoU vs. Cadrille
Absolute improvement on HDS+CTD task (72.56% → 80.90%)
+25.5%
IoU on Real Sketches
HiCAD 43.27% vs. CAD-Coder 35.72% on real human-drawn inputs

BibTeX

If you find our work useful, please consider citing:

@inproceedings{zhang2026hicad,
  title     = {Rethinking Human Intent-to-CAD: Parametric CAD Model Generation via Cooperative Multi-Task Alignment and Spatial-Aware Reinforcement Learning},
  author    = {Zhang, Qingwang and Li, Jiahao and Zhou, Xiangdong},
  booktitle = {Proceedings of the 43rd International Conference on Machine Learning},
  series    = {PMLR 306},
  year      = {2026},
  address   = {Seoul, South Korea},
}