paper-with-me

홈 › Papers

Clarify Before You Draw: Proactive Agents for Robust Text-to-CAD Generation

2026-02-03 · Bo Yuan, Zelin Zhao, Petr Molodyk, Bin Hu, Yongxin Chen arxiv

Large language models have recently enabled text-to-CAD systems that synthesize parametric CAD programs (e.g., CadQuery) from natural-language prompts. In practice, however, geometric descriptions can be under-specified or internally inconsistent: critical dimensions may be missing and constraints may conflict. However, existing fine-tuned models tend to reactively follow the user instructions and hallucinate dimensions when the text is ambiguous. To address this, we propose a proactive agentic framework for text-to-CadQuery generation, named as ProCAD, that resolves specification issues before code synthesis. Our framework pairs a proactive clarifying agent, which audits the prompt and asks targeted clarification questions only when necessary to produce a self-consistent specification, with a CAD coding agent that translates the specification into an executable CadQuery program. We fine-tune the coding agent based on a curated high-quality text-to-CadQuery dataset and train the clarifying agent via agentic SFT on clarification trajectories. Experiments show that proactive clarification significantly improves robustness to ambiguous prompts while keeping interaction overhead low. ProCAD outperforms frontier closed-source models, including Claude Sonnet 4.5, reducing the mean Chamfer distance by 79.9% and lowering the invalidity ratio from 4.8% to 0.9%. Our code and datasets are made publicly available on https://github.com/BoYuanVisionary/Pro-CAD.

📄 PDF Abstract BibTeX arXiv:2602.03045

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Clarify User Expertise: Towards Proactive Conversational Agents Tailoring Responses to User Proficiency

2026-08-23 · Zhihong Cao, Chen Huang arxiv

In the context of information seeking, conversational agents are undergoing an evolution from reactive tools to proactive, personalized assistants. A critical aspect of this evolution is the ability to tailor strategic i…

IntentRL: Training Proactive User-intent Agents for Open-ended Deep Research via Reinforcement Learning

2026-02-03 · Haohao Luo, Zexi Li, Yuexiang Xie, Wenhao Zhang 외 arxiv

Deep Research (DR) agents extend Large Language Models (LLMs) beyond parametric knowledge by autonomously retrieving and synthesizing evidence from large web corpora into long-form reports, enabling a long-horizon agenti…

Reinforcement Learning

Perceive Before Reasoning: A Pre-Reasoning Perception Framework for Efficient and Reliable Proactive Mobile Agents

2026-06-02 · Zhijie Ding, Weinan Hong, Zicheng Zhu, Lei Li 외 arxiv

Multimodal large language models (MLLMs) have substantially advanced mobile agents, yet proactive mobile assistance remains challenging because agents must decide when to intervene before determining how to assist. Exist…

Ask-before-Plan: Proactive Language Agents for Real-World Planning

2024-06-18 · Xuan Zhang, Yang Deng, Zifeng Ren, See-Kiong Ng 외

The evolution of large language models (LLMs) has enhanced the planning capabilities of language agents in diverse real-world scenarios. Despite these advancements, the potential of LLM-powered agents to comprehend ambig…

Decision Makingvalid

Ask or Assume? Uncertainty-Aware Clarification-Seeking in Coding Agents

2026-03-27 · Nicholas Edwards, Sebastian Schuster arxiv

As Large Language Model (LLM) agents are increasingly deployed in open-ended domains like software engineering, they frequently encounter underspecified instructions that lack crucial context. While human developers natu…