Memory-Augmented Reinforcement Learning Agent for CAD Generation

Yin Xiaolong, Liu Yu, Shen Jiahang, Lu Xingyu, Ni Jingzhe +2 more
5/19/2026
cs.AIcs.MA
rl

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{xiaolong2026memoryaugmented,
  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},
  year   = {2026},
  eprint = {2605.19748},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.19748v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.19748.svg)](https://codeofpaper.com/paper/2605.19748)

Discussion