CAD-HLLM: Generating Executable CAD from Text with Hierarchical LLM Planning

Abstract

Translating natural language into precise and executable Computer-Aided Design (CAD) programs remains a challenging task, requiring both semantic understanding and geometric fidelity. In this paper, we present CAD-HLLM, a hierarchical LLM framework for structured CAD command generation. Our approach decomposes the task into two stages: a Plan Generator that infers high-level symbolic plans from text, and a Parameter Completor that generates detailed parametric commands conditioned on both the original description and the inferred plan. To enhance robustness, we introduce a lightweight ensemble selection mechanism that ranks and selects among multiple candidates based on model log-likelihoods. Experiments on benchmark datasets show that our method outperforms existing baselines in both parametric precision and 3D shape similarity, demonstrating the effectiveness of hierarchical reasoning and LLM-based planning in bridging the gap between human design intent and executable CAD sequences.

Cite

Text

Zuo et al. "CAD-HLLM: Generating Executable CAD from Text with Hierarchical LLM Planning." Proceedings of the 17th Asian Conference on Machine Learning, 2025.

Markdown

[Zuo et al. "CAD-HLLM: Generating Executable CAD from Text with Hierarchical LLM Planning." Proceedings of the 17th Asian Conference on Machine Learning, 2025.](https://mlanthology.org/acml/2025/zuo2025acml-cadhllm/)

BibTeX

@inproceedings{zuo2025acml-cadhllm,
  title     = {{CAD-HLLM: Generating Executable CAD from Text with Hierarchical LLM Planning}},
  author    = {Zuo, Zhuo and Gan, Yantao and Long, Junfeng and Liu, Xianggen},
  booktitle = {Proceedings of the 17th Asian Conference on Machine Learning},
  year      = {2025},
  pages     = {958-973},
  volume    = {304},
  url       = {https://mlanthology.org/acml/2025/zuo2025acml-cadhllm/}
}