Memory-Augmented Reinforcement Learning Agent for CAD Generation

arXiv cs.AI Papers

Summary

This paper proposes a memory-augmented reinforcement learning framework for CAD generation agents that integrates geometric kernel toolchains, dual-track memory, and dynamic utility retrieval to handle complex CAD models with long operation sequences and geometric constraints, achieving improved success rate and geometric consistency.

arXiv:2605.19748v1 Announce Type: new 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.
Original Article

Similar Articles

Self-Improving CAD Generation Agents with Finite Element Analysis as Feedback

Hugging Face Daily Papers

This paper introduces a new task formulation for CAD generation that incorporates finite element analysis as feedback, along with improved supervision signals like a text-only blueprint schema and multi-view image renderer, leading to better geometric reconstruction on benchmarks.

RA-CAD: Learning Post-Execution Critique for State-Aware Text-to-CAD Generation

arXiv cs.AI

RA-CAD presents a state-aware agent for text-to-CAD generation that uses a Generate–Execute–Critique–Rewrite loop, with feedback-driven agent optimization via Group Relative Policy Optimization. It achieves state-of-the-art execution validity and geometric quality on CADFusion and Text2CAD benchmarks.

CAMeR: Keyword-Gated Hybrid Activation for Adaptive Memory Retention in LLM Agents

arXiv cs.CL

This paper introduces CAMeR, a memory retention framework for LLM agents that combines keyword-gated hybrid activation with adaptive weight dynamics, and presents CAMeR-Bench, a benchmark for evaluating adaptive memory retention. Experiments show that hybrid symbolic-neural gating improves retention gaps and retrieval efficiency compared to embedding-only or time-driven baselines.