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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Govindarajan, Prashant, Baldelli, Davide, Pathak, Jay, Fournier, Quentin, Chandar, Sarath
Formato: Preprint
Publicado: 2025
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866917188761288704
author Govindarajan, Prashant
Baldelli, Davide
Pathak, Jay
Fournier, Quentin
Chandar, Sarath
author_facet Govindarajan, Prashant
Baldelli, Davide
Pathak, Jay
Fournier, Quentin
Chandar, Sarath
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2507_09792
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CADmium: Fine-Tuning Code Language Models for Text-Driven Sequential CAD Design
Govindarajan, Prashant
Baldelli, Davide
Pathak, Jay
Fournier, Quentin
Chandar, Sarath
Graphics
Artificial Intelligence
Computer Vision and Pattern Recognition
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.
title CADmium: Fine-Tuning Code Language Models for Text-Driven Sequential CAD Design
topic Graphics
Artificial Intelligence
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2507.09792