English

Memory-Augmented Reinforcement Learning Agent for CAD Generation

Artificial Intelligence 2026-05-20 v1 Multiagent Systems

Abstract

Automatic generation of computer-aided design (CAD) models is a core technology for enabling intelligence in advanced manufacturing. Existing generation methods based on large language models (LLMs) often fall short when handling complex CAD models characterized by long operation sequences, diverse operation types, and strong geometric constraints, primarily because reasoning chains break and effective error-correction mechanisms are lacking. To address this problem, this paper proposes a memory-augmented reinforcement learning framework for CAD generation agents. The framework encapsulates the underlying geometric kernel into a structured toolchain callable by the agent and builds a closed-loop mechanism of design intent understanding, global planning, execution, and multi-dimensional verification. It also designs a dual-track memory module consisting of a case library and a skill library, and proposes a dynamic utility retrieval algorithm. By introducing reinforcement learning into retrieval and policy optimization, the agent can effectively avoid retrieval traps in which examples are semantically similar but geometrically infeasible, enabling online self-correction and continual evolution without additional large-scale annotated data. Experiments show that the proposed method significantly improves both the success rate and geometric consistency on complex CAD model generation tasks.

Keywords

Cite

@article{arxiv.2605.19748,
  title  = {Memory-Augmented Reinforcement Learning Agent for CAD Generation},
  author = {Yin Xiaolong and Liu Yu and Shen Jiahang and Lu Xingyu and Ni Jingzhe and Fan Fengxiao and Sang Fan},
  journal= {arXiv preprint arXiv:2605.19748},
  year   = {2026}
}

Comments

26 pages; multilingual submission: English version first, followed by Chinese version