SYNTHESIS NOTE
Topics›RLVR›this note

Can CAD code be syntactically correct yet geometrically wrong?

This explores whether training for executable code and training for accurate geometry require different approaches, and what each training stage contributes to closing that gap.

Synthesis note · 2026-11-18 · sourced from RLVR

CAD-RL's ablation study separates two capabilities that are often conflated: whether generated CAD code runs, and whether it describes the right geometry. With only "cold-start supervised fine-tuning (SFT) without any reasoning or visual guidance, the model already achieves high code executability—90.64% and 91.86% under natural and structured text, respectively. However, the IOU remains low (around 50%)." The authors read this as the model learning "to produce syntactically valid CADQuery code" while failing "to accurately capture geometric dimensions and constraints."

Each later stage pulls IoU up by a different amount, reported for natural-language input. Adding chain-of-thought reasoning raises IoU "from 49.5% to 60.8%," which the authors attribute to CoT enabling the model to "reason through construction logic more effectively." Reference images on top of CoT add a further, smaller gain, to 63.9% IoU, a combination the authors say helps "especially when the model already possesses strong planning capabilities via CoT." RL post-training then produces the largest single jump, "from 63.9% to 72.3%" IoU — the point at which the paper describes the model as moving "beyond imitation learning" to optimize the reward directly.

This is the sibling finding to Can task-specific rewards outperform general pretraining for CAD code?, which reports CAD-RL's final, combined numbers; this note isolates which training stage is doing the work behind them. It also bears on Do base models already contain hidden reasoning ability?: CoT's outsized IoU gain over an already syntax-competent SFT baseline is consistent with reasoning being elicited from a capable base model rather than taught from scratch, though CAD-RL's excerpt frames this only as an empirical ablation result, not as evidence about pretraining-time latent capacity.

The excerpt reports this stage-by-stage breakdown only for the natural-language input condition; it does not give the equivalent walkthrough under structured design language, so whether RL contributes the same proportional gain there is unstated. It also does not explain why executability saturates early (already ~91% at the SFT stage) while geometric precision keeps improving through every later stage — only that the two metrics move independently once syntax is learned.

Inquiring lines that read this note 37

This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.

How should design principles adapt for AI-generated interfaces? Does chain-of-thought reveal genuine reasoning or merely imitate learned behavior? Can visual rendering-based rewards effectively improve code and layout quality? Does alignment training genuinely modify model behavior or only outputs? Do AI coding tools meaningfully improve developer productivity and quality? What makes AI failures visible and contestable to users? How important is reward engineering relative to pretraining for reasoning? How reliably do benchmark metrics reflect actual model capability? Do language models learn true linguistic principles or just surface patterns? What limits AI's ability to verify its own generation?

Related concepts in this collection 3

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
12 direct connections · 96 in 2-hop network ·medium cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

cold-start SFT alone yields high CAD code executability but low geometric IoU — CoT and RL post-training close the precision gap