arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.04481cs.CV
收藏

CAD-Llama:利用大语言模型进行计算机辅助设计参数化3D模型生成

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

School of Computer Science and Technology, Fudan University(复旦大学计算机科学与技术学院)

Jiahao Li, Weijian Ma, Xueyang Li, Yunzhong Lou, Guichun Zhou, Xiangdong Zhou

AI总结:

本文提出CAD-Llama框架,通过SPCC表示、自适应预训练与CAD指令微调,使LLM获得参数化3D建模的空间知识,并显著优于现有自回归方法与LLM基线。

摘要:

近来,大语言模型(LLM)取得了显著成功,促使人们越来越关注将其生成能力从通用文本扩展到特定领域。本研究考察利用LLM生成计算机辅助设计(CAD)模型的参数化序列。由于CAD模型参数与三维空间中的形状直接相关,这项工作代表了利用LLM创建参数化3D形状的初步一步。尽管LLM具有强大的生成能力,该任务仍具挑战性,因为这些模型在预训练阶段既未接触参数化序列,也不具备对3D结构的直接感知。为解决这一问题,我们提出CAD-Llama,这是一个旨在增强预训练LLM以生成参数化3D CAD模型的框架。具体而言,我们开发了分层标注流程和类代码格式,将参数化3D CAD命令序列转换为结构化参数化CAD代码(SPCC),其中纳入分层语义描述。此外,我们提出利用SPCC的自适应预训练方法,随后进行符合CAD特定准则的指令微调。该方法旨在使LLM掌握参数化序列中固有的空间知识。实验结果表明,我们的框架显著优于以往的自回归方法和现有LLM基线。

英文摘要:

Recently, Large Language Models (LLMs) have achieved significant success, prompting increased interest in expanding their generative capabilities beyond general text into domain-specific areas. This study investigates the generation of parametric sequences for computer-aided design (CAD) models using LLMs. This endeavor represents an initial step towards creating parametric 3D shapes with LLMs, as CAD model parameters directly correlate with shapes in three-dimensional space. Despite the formidable generative capacities of LLMs, this task remains challenging, as these models neither encounter parametric sequences during their pretraining phase nor possess direct awareness of 3D structures. To address this, we present CAD-Llama, a framework designed to enhance pretrained LLMs for generating parametric 3D CAD models. Specifically, we develop a hierarchical annotation pipeline and a code-like format to translate parametric 3D CAD command sequences into Structured Parametric CAD Code (SPCC), incorporating hierarchical semantic descriptions. Furthermore, we propose an adaptive pretraining approach utilizing SPCC, followed by an instruction tuning process aligned with CAD-specific guidelines. This methodology aims to equip LLMs with the spatial knowledge inherent in parametric sequences. Experimental results demonstrate that our framework significantly outperforms prior autoregressive methods and existing LLM baselines.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑