atlas

Research map / Large language models / Language, safety and interpretability

CAD-Llama: Leveraging Large Language Models for Computer-Aided Design Parametric 3D Model Generation

CVPR 2025 · Large language models › Language, safety and interpretability · approach: LLM unlearning and benchmarks · 29 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Adapts LLaMA3-8B to generate parametric CAD command sequences by converting DeepCAD data into hierarchically annotated Python-like code (SPCC), followed by adaptive pretraining and LoRA instruction tuning.

Problem

Generating parametric CAD construction sequences with LLMs is hard because LLMs see little parametric CAD data in pretraining and CAD sequences lack semantic descriptions, limiting prior methods to simple models and weak generalization.

Approach

Convert CAD command sequences into a Python-like code format (SPCC) enriched with hierarchical VLM-generated descriptions (component and global), then pretrain an LLM on similarity-grouped SPCC contexts and instruction-tune it with LoRA on CAD-centric tasks.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use CAD-Llama instead of HNC-CADUnconditional CAD generation · Unconditional generationSR: 79.11 -> 99.90Helped
Use CAD-Llama instead of HNC-CADUnconditional CAD generation · Unconditional generationCOV: 80.46 -> 79.93Hurt
Use CAD-Llama-INS instead of CAD-TranslatorText-to-CAD generation · Text-to-CADACCT: 70.36 -> 84.72Helped
Use CAD-Llama-INS instead of GPT-4CAD captioning · CAD captioningBLEU@1: 27.34 -> 43.44Helped
Use CAD-Llama-INS instead of GPT-4CAD model deletion · DeletionEM: 66.20 -> 81.93Helped
Use SPCC rather than single-description CAD code (ablation)Text-to-CAD generation · Text-to-CADACCcmd: 42.62 -> 80.41Helped
Use SPCC rather than single-description CAD code (ablation)Text-to-CAD generation · Text-to-CADSR: 21.46 -> 99.30Helped
Use hierarchical descriptions with CAD command sequences rather than single descriptions (ablation)Text-to-CAD generation · Text-to-CADACCparam: 25.56 -> 47.32Helped
Use CAD code rather than CAD command sequences with hierarchical descriptions (ablation)Text-to-CAD generation · Text-to-CADACCparam: 47.32 -> 59.09Helped
Use CAD code rather than CAD command sequences with hierarchical descriptions (ablation)Text-to-CAD generation · Text-to-CADSR: 98.71 -> 99.30Helped
Use SPCC input and output for deletion instead of CAD code (ablation)GPT-4 CAD editing · Deletion*EM: 66.20 -> 90.41Helped
Use SPCC input and output for deletion instead of CAD code (ablation)CAD-Llama-INS CAD editing · Deletion*EM: 81.93 -> 89.55Helped

Surprising findings

Limitations

Experimental setup

Datasets: DeepCAD

Benchmarks: DeepCAD test set

Metrics: COV MMD JSD SR Novel ACCT MCD BLEU Rouge ACCcmd

Baselines: DeepCAD SkexGen HNC-CAD Text2CAD CAD-Translator GPT-4 GPT-3.5 LLaMA3-8B Mistral-7B

Builds on: LLaMA3 DeepCAD LoRA CLIP

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy