Language models can now write code that builds 3D parts in CAD (computer-aided design) libraries such as CadQuery and OpenSCAD. The current benchmarks show that this skill breaks down when several parts must fit together. On CAD-bench, the best standalone models score 58.5% on hard single parts but 3.7% on functional assemblies. These numbers are hard to interpret for two reasons. The tasks are phrased in standard engineering vocabulary ("M3 screw", "spur gear", "gearbox") whose code templates are all over public repositories, and the suites are either tiny and static (17 tasks) or built from familiar prompts. We cannot tell whether a success means the model reasoned through the geometric constraints or recalled a GitHub snippet that happens to match the name.
We propose a generator of CAD assembly tasks with three properties. Every task is new. Every task has a known ground truth. Every task can be rendered in three matched versions: with its familiar engineering name, with neutral names, or with misleading names that point to a different familiar part. The generator builds each assembly coarse-to-fine, borrowing the logic of hierarchical 3D generative models. It first lays out a coarse skeleton (part bounding boxes and which parts mate with which), then applies local refinement rules (holes, bosses, fillets, thread pitches) whose parameters are tied to the skeleton. Because the answer comes from the construction itself, the benchmark avoids the ceiling that appears when a language model has to author 3D tasks. Because the hierarchy is explicit, we can say at which scale a model fails, and whether familiar names help it at the coarse layout level, the fine detail level, or both.
Core Claim
We claim two things. First, a large share of what looks like CAD assembly competence in current models is recall of named templates. Second, that recall acts mainly on coarse layout: which parts exist and roughly where they sit. The fine, dimension-dependent details that make parts actually mate depend much less on the name. A generator that separates the two levels is required to show this. If it holds, it changes how CAD benchmarks should be built and scored.
We also make a sharper prediction. External verifier feedback, as in the test-driven repair loop of SPADA, should recover much of the performance lost to neutral names, because the verifier's messages do not depend on names. It should recover far less of the performance lost to misleading names. This follows from the result in LLMs Lean on Priors, Not Programming Language Semantics: models found it harder to override a familiar keyword given a new meaning (their KeywordSwap condition) than to learn an unfamiliar one (KeywordObf). It also fits the finding of Stechly et al. that self-correction degrades once semantic cues are removed.
Relation to Prior Work
Three lines of work motivate the design by showing that renaming exposes recall. LINGOLY-TOO permutes the spelling of linguistics puzzles while keeping their rules. Reasoning models drop from 0.59 to 0.48, while humans drop 5.7%. The same kind of gap appears in keyword-mutated code execution in PLSemanticsBench and in planning with nonsense labels in PlanBench. All of these work on text or one-dimensional program traces. None touches spatial construction, and LINGOLY-TOO explicitly names geometric domains as open.
Dynamic benchmark generators supply the contamination strategy. DyVal builds reasoning problems from random dependency graphs. A²RBench has a language model write forward and inverse programs, checks that they undo each other, and includes a symbol-remapping split that costs models 17.7%. A²RBench also constrains our design. Its authors report that the task-writing model simplified its 3D rules until 3D tasks became easier than 2D ones. We therefore do not use a language model as the task author. Tasks come from a deterministic generator whose difficulty knobs we control.
Hierarchical geometric generation supplies the construction principle. ARMesh generates meshes by reversing simplification, and PointNSP generates point clouds scale by scale. Both show that fixing global structure before local detail avoids the failures of single-stage generation that are catalogued in the point-cloud completion review. We use this idea as a way to structure test items, not as a trained model.
The closest CAD benchmarks are CAD-bench and SPADA-Bench-Verified. We reuse their verifiers: dimension and pose checks, boolean differences against a reference, manifold validity, non-interference between parts, and rigid-body simulation. Neither benchmark generates fresh items, controls for naming, or scores coarse and fine correctness separately.
Research Program
The generator samples an assembly in two stages.
The coarse stage draws a mating graph over two to eight parts. Each edge carries a mating type: peg in hole, stacked with a fastener, axle through a bore, or two gears meshing on fixed centers. The stage then solves for bounding boxes and poses that satisfy the graph with no overlap between parts.
The fine stage walks the graph and applies local refinement rules whose parameters come from the coarse stage. A bore's diameter equals its axle's diameter plus a sampled clearance. A thread pitch must match across a fastener pair. Gear tooth counts must be consistent with the center distance. Fillet radii are capped by the adjacent wall thickness. Refinement depth, meaning how many rule applications feed into each other, is a controllable difficulty axis, much like DyVal's graph depth. The output is a reference solid built by a trusted CadQuery program, together with a natural-language specification written from templates.
Each item is rendered three ways.
In the named version, parts and features get the engineering terms they would carry in real practice: bracket, bushing, spur gear, M4 bolt.
In the neutral version, those terms are replaced by common words with no engineering meaning ("part kestrel", "feature lantern"). The replacements are matched in token count to the originals, which addresses the tokenizer confound noted for LINGOLY-TOO. All numeric constraints are stated explicitly.
In the swapped version, each part gets the name of a different familiar part whose typical geometry conflicts with the specification, for example a "washer" that is specified as a long threaded rod.
We add an optional fourth axis that aliases the CAD library itself. The library's functions are given new names and documented in the prompt, and in a harder variant two functions swap meanings. This mirrors KeywordObf and KeywordSwap at the level of the API.
Scoring is split by scale. The coarse score checks the number of parts, bounding-box pose within tolerance, and mating-graph adjacency recovered from the generated geometry. The fine score checks each refinement feature's presence and dimensions, and only on parts whose coarse placement is already correct, so the two scores are not confounded. We also report the overall all-pass rate from the SPADA and CAD-bench verifiers and the volumetric IoU (intersection over union) against the reference solid.
The headline quantities are the naming gap (named minus neutral) and the conflict gap (named minus swapped), each reported at both scales and across refinement depth.
Baselines
The naive reference point is a zero-shot frontier model, run with no tools, on the named version of our generated items. This measures raw ability when the familiar-vocabulary shortcut is fully available. To connect with published results, we also run the same models on CAD-bench's original tasks. There, the best standalone model is reported at 59.9% overall and 3.7% on functional assemblies (CAD-bench). Reproducing numbers near these confirms that our harness matches theirs.
The strongest existing method is the SPADA test-driven agent. It extracts a parameter contract, writes code, runs deterministic verifiers, and repairs the code until the tests pass. SPADA reports an assembly all-pass rate of 41.9%, against 20.4% for the best zero-shot baseline, and 78.9% IoU. It is the strongest competitor because its verifiers ignore names, so it is the method most likely to close the naming gap without any change in how the model reasons. It runs on exactly the same items, with the same base model, the same cap on repair iterations and tokens, and the same verifier set in all three naming versions.
"Beating" SPADA here does not mean a higher score. The proposal is a measurement instrument, not a solver. The instrument succeeds if it reveals structure that SPADA's own benchmark cannot. The concrete test is whether SPADA's gain from repair differs significantly between the neutral and swapped versions. If repair recovers equally in both, our prediction fails.
The key ablation isolates the hierarchy. We build a flat generator that samples the same primitives and constraint types, matched on part count and total constraint count, but does not derive fine parameters from the coarse layout. If the scale-resolved pattern (large naming gap at the coarse level, small at the fine level) also shows up on flat items, where no coarse/fine split exists by construction, then the hierarchy is not what reveals it. The claim that hierarchical generation is needed for attribution would be wrong.
A second ablation renames CAD-bench's own 17 tasks by hand. This separates "fresh items" from "renamed old items," as discussed below.
Why not just…?
Why not just rename the existing CAD-bench and SPADA tasks instead of building a generator? This is the cheapest serious alternative, and it will probably reproduce a naming gap. We run it as an ablation. It falls short in three ways. With 17 CAD-bench items, a gap of a few points cannot be resolved statistically. Renamed items remain in public corpora, so their geometry and code can still be recalled even without the names. And there is no refinement structure, so the gap cannot be broken down by scale. If renamed CAD-bench and our generator give the same gap and the same scale pattern, the generator's contribution shrinks to scale and freshness. We would report that plainly.
Why not just have a language model author 3D tasks with cycle-consistency checks, as A²RBench does? A²RBench documents that its task-writing model simplified 3D rules to keep the code valid, which produced 3D tasks easier than 2D ones. A deterministic generator whose difficulty is set by refinement depth avoids that ceiling by construction. We verify this by checking that accuracy falls steadily as depth increases.
Why not just detect contamination with overlap statistics or paraphrased prompts? Overlap and perplexity detectors are reported to be fragile on reasoning models (On The Fragility of Benchmark Contamination Detection in Reasoning Models). Paraphrases keep the lexical anchors that shortcuts rely on (Rethinking Benchmark and Contamination with Rephrased Samples). In CAD, the anchor is the part name itself, and a paraphrase keeps it. We include a paraphrase-only condition. The prediction is that it shows a much smaller gap than the neutral version.
Why not just give the model more reasoning at test time? In PLSemanticsBench, chain-of-thought led models to rationalize the familiar meaning under keyword swaps. In LINGOLY-TOO, models with extended thinking still dropped substantially. We evaluate reasoning models at two thinking budgets. If more budget closes the swapped-version gap, the claim that name priors are sticky is weakened for CAD.
Proposed Experiments
We generate 3,000 fresh items stratified by part count and refinement depth, each rendered in all three naming versions. The seeds for a rotating release are held back, following the logic of DyVal. As a scale-grounding set, we separately convert a sample of ABC parts into single-part refinement tasks. We evaluate several frontier and open models zero-shot, with a SPADA-style repair loop, and at two reasoning budgets. We report coarse score, fine score, all-pass rate, and IoU. Naming and conflict gaps come with bootstrap confidence intervals over items, and pairing each item with its own renamed versions controls for item difficulty.
There are four decisive checks.
The first check establishes that the gap is real and has the predicted shape. We need a naming gap clearly above zero, larger at the coarse level than at the fine level, and a conflict gap larger than the naming gap. The last comparison is the CAD analogue of PLSemanticsBench's swap-versus-obfuscation asymmetry.
The second check asks whether repair closes the neutral gap but not the swapped gap. If external verification fixes both equally, name priors are less sticky than the text-domain evidence suggests.
The third check is the flat-generator ablation. It must fail to reproduce the scale-resolved pattern. If it reproduces the pattern, the attribution argument collapses.
The fourth check compares fresh generated items with renamed CAD-bench items at matched difficulty. A larger naming gap on the old items than on fresh ones would be direct evidence of memorized content beyond vocabulary.
An optional fifth arm asks whether training can remove the reliance. We fine-tune an open model on neutral-named generated items in the spirit of CAPT, which reached 83.75% versus 61.5% for standard fine-tuning on PrOntoQA's anti-sense split using placeholder substitution. We then test whether the conflict gap shrinks on held-out seeds.
References
- CAD-bench: Benchmarking Language Models on Functional CAD Generation
- SPADA: A Verifiable Test-Driven Agent for Controllable Parametric CAD Assembly Generation
- LLMs Lean on Priors, Not Programming Language Semantics
- On the self-verification limitations of large language models on reasoning and planning tasks
- LINGOLY-TOO: Disentangling Reasoning from Knowledge with Templatised Orthographic Obfuscation
- Large Language Models Still Can't Plan (A Benchmark for LLMs on Planning and Reasoning about Change)
- DyVal: Dynamic Evaluation of Large Language Models for Reasoning Tasks
- A²RBench: An Automatic Paradigm for Formally Verifiable Abstract Reasoning Benchmark Generation
- ARMesh: Autoregressive Mesh Generation via Next-Level-of-Detail Prediction
- PointNSP: Autoregressive 3D Point Cloud Generation with Next-Scale Level-of-Detail Prediction
- Comprehensive Review of Deep Learning-Based 3D Point Cloud Completion Processing and Analysis
- On The Fragility of Benchmark Contamination Detection in Reasoning Models
- Rethinking Benchmark and Contamination for Language Models with Rephrased Samples
- ABC: A Big CAD Model Dataset For Geometric Deep Learning
- Mitigating Spurious Correlations in LLMs via Causality-Aware Post-Training