MLLMs recognize CAD parts but can't write parametric programs: the BenchCAD 17,900-part benchmark

BenchCAD: A Comprehensive, Industry-Standard Benchmark for Programmatic CAD

Haozhe Zhang, Kaichen Liu, Miaomiao Chen, Lei Li, Shaojie Yang, Cheng Peng, Hanjie Chen

cs.AI, cs.CV, cs.SE

2026-05-12

BenchCAD evaluates MLLMs on 17,900 execution-verified CadQuery programs across 106 industrial part families; frontier models stay under 0.4 on image-to-code.

What problem this solves

Industrial CAD output is not a render. It is an executable parametric program: change one variable and the whole construction chain regenerates. Existing benchmarks score generated CAD almost entirely by shape similarity between render and target (IoU or Chamfer distance). The trouble is that two programs with nearly identical outer envelopes can differ completely in editability and engineering detail: one uses a variable-pitch helical sweep with ground end coils, the other approximates the shape with stacked cylinders. Similar scores, but only one is a usable design. The specialist lineage (DeepCAD, cadrille, CADEvolve) has pushed DeepCAD IoU to roughly 92%, yet its training corpora are almost entirely sketch-plus-extrude; helical sweeps and parametric involute-gear construction are absent from every released corpus. BenchCAD, from UVA, UC San Diego and Rice, moves evaluation from "looks similar" to "is correct".

Method

Four choices define the dataset. Domain experts hand-model each part family directly from industrial standards, solving the equations the standard mandates; 52 of 106 families are anchored to published ISO/DIN/EN/ASME/IEC tables (47 distinct codes), so dimensions sample real engineering ranges, and a DIN 2095 compression spring genuinely carries its closed, ground end coils rather than a bare helix silhouette. Every program runs in a sandbox; parse failures, 30-second timeouts and degenerate volumes are quarantined, survivors get expert visual sign-off, leaving 17,900 programs covering 46 CadQuery operations, including makeHelix, twistExtrude and polarArray, which prior corpora lack.

Evaluation splits along a four-level capability hierarchy (visual recognition, operation understanding, parametric abstraction, program synthesis) into four tasks: image-to-code, image QA, code QA, and instruction-guided editing. The paired design is the diagnostic core: the same 2,400 numeric questions are asked with renders and with source code, and the score gap localizes failure to visual recognition or parametric abstraction. Editing uses normalized accuracy, the fraction of the original-to-target gap a model actually crosses, which controls for per-pair difficulty.

Results

SettingMetricScore
Gemini 3.1 ProImage QA total0.587 (blank-image baseline 0.375)
Gemini 3.1 Pro thinkingCode QA total0.838
GPT-5.3 thinkingEdit accuracy0.865 (do-nothing baseline 0.000)
Gemini 3.1 Pro thinkingImage-to-code total0.397
Qwen3-VL-2B trained on BenchCAD (RL)Image-to-code total0.768

Frontier models cap around 0.4 on image-to-code. o3 posts the best IoU among closed models (0.500) but only 5.6% of its outputs execute, for a total of 0.108. On QA, models score 0.587 from images, barely 21 points above a black image; the same questions with code access reach 0.838. Vision is the bottleneck, not reasoning.

Operation-level recall makes the failure concrete: GPT-5.3 recalls fillet at 0%, loft at 5.9%, chamfer at 8.6%, with 25.2% macro recall over 19 advanced operations, and models routinely replace sweeps, lofts and twist-extrudes with simpler sketch-and-extrude patterns. Scoring IoU as the maximum over 24 cube rotations lifts it by 0.068 overall, and by 0.21 to 0.23 on parts grounded in XZ/YZ planes: right geometry, wrong workplane.

Training Qwen3-VL-2B on BenchCAD takes twistExtrude and helical-sweep recall from 0% to 100%, fillet to 87.5%, and the total to 0.768; retraining with 10 families held out drops unseen-family score from about 0.75 to 0.46. The generalization gap is real.

Why it matters

This is the first public CAD benchmark to combine execution verification, standard anchoring and capability decomposition, with data under CC-BY-4.0 and the harness under MIT, ready to serve as a training and evaluation base. Its central result is uncomfortable and useful: cadrille reports 92% IoU on DeepCAD but scores 0.338 total here, because its training distribution never contained these operations; legacy shape scores overstate capability. Two experimental designs are directly reusable: paired image/code QA to localize the modality bottleneck, and the editing ablation where replacing the text instruction with a target render collapses all four tested models to 0.04-0.34, because a picture shows there is a hole but never says the radius is 5.85.

Limitations

The authors list three: parts are procedurally generated from standard-parametric families rather than drawn from real engineering repositories, so hand-drawn tolerances, assembly information and undocumented design intent are absent; "standard-anchored" means parameters sample within standard ranges, not full manufacturing-tolerance compliance; the non-target preservation metric relies on voxel IoU and can miss small parametric drift. Two more caveats from a close read: several statistics disagree between sections (Gemini-thinking image-to-code total appears as both 0.318 and 0.397; the standards count appears as both 43 and 47), so cite the appendix tables, and all closed models were queried via API, making the frontier conclusions a May 2026 snapshot.

Terms

Source

What people are saying

Related papers

All paper explainers