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

CADmium:通过代码语言模型进行文本驱动的顺序CAD设计微调

CADmium: Fine-Tuning Code Language Models for Text-Driven Sequential CAD Design

Chandar Research Lab(昌德拉研究实验室);Mila – Quebec AI Institute(魁北克人工智能研究所);Polytechnique Montréal(蒙特利尔理工学院);Ansys(安世仿真);Canada CIFAR AI Chair(加拿大CIFAR人工智能主席)

Prashant Govindarajan, Davide Baldelli, Jay Pathak, Quentin Fournier, Sarath Chandar

AI总结:

CADmium通过微调代码语言模型,利用大规模标注数据集实现文本驱动的CAD设计自动化,提升设计效率。

摘要:

计算机辅助设计(CAD)是2D和3D对象的数字构建,是汽车和航空等广泛工程和制造应用的核心。尽管其重要性,CAD建模仍然主要是耗时且手动的任务。最近的工作尝试用小的Transformer模型和手工制作的CAD序列表示来自动化这一过程。然而,几乎没有努力利用大型语言模型(LLMs)在顺序CAD设计中的潜力。在本工作中,我们介绍了一个包含超过170,000个CAD模型的新大规模数据集,这些模型附有高质量、人样描述,这些描述是通过基于GPT-4.1的管道生成的。使用这个数据集,我们微调了强大的代码LLMs,从自然语言描述生成以JSON格式表示的CAD序列,证明了这种方法在文本条件CAD生成中的可行性和有效性。由于简单的度量标准往往无法反映生成对象的质量,我们引入了基于球度、平均曲率和欧拉特征的几何和拓扑度量,以提供更丰富的结构洞察。我们的实验和在合成和人工标注数据上的消融研究证明,CADmium能够自动化CAD设计,大大加快了新对象的设计速度。数据集、代码和微调模型已在线上提供。

英文摘要:

Computer-aided design (CAD) is the digital construction of 2D and 3D objects, and is central to a wide range of engineering and manufacturing applications like automobile and aviation. Despite its importance, CAD modeling remains largely a time-intensive, manual task. Recent works have attempted to automate this process with small transformer-based models and handcrafted CAD sequence representations. However, there has been little effort to leverage the potential of large language models (LLMs) for sequential CAD design. In this work, we introduce a new large-scale dataset of more than 170k CAD models annotated with high-quality, human-like descriptions generated with our pipeline based on GPT-4.1. Using this dataset, we fine-tune powerful code-LLMs to generate CAD sequences represented in a JSON-based format from natural language descriptions, demonstrating the viability and effectiveness of this approach for text-conditioned CAD generation. Because simple metrics often fail to reflect the quality of generated objects, we introduce geometric and topological metrics based on sphericity, mean curvature, and Euler characteristic to provide richer structural insights. Our experiments and ablation studies on both synthetic and human-annotated data demonstrate that CADmium is able to automate CAD design, drastically speeding up the design of new objects. The dataset, code, and fine-tuned models are available online.

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

↑