CAD-Editor:面向基于文本的CAD编辑的定位-再填充框架与自动化训练数据合成
CAD-Editor: A Locate-then-Infill Framework with Automated Training Data Synthesis for Text-Based CAD Editing
AI总结:
本文提出首个基于文本的CAD编辑框架CAD-Editor,通过自动化数据合成流程和定位-再填充框架,将编辑任务分解为区域定位与内容再填充两个子任务,并由LLM驱动,实验证明其性能优越。
摘要:
计算机辅助设计(CAD)在各个行业中不可或缺。基于文本的CAD编辑能够根据文本指令自动修改CAD模型,具有巨大潜力,但仍未得到充分探索。现有方法主要聚焦于设计变体生成或基于文本的CAD生成,要么缺乏对基于文本控制的支持,要么忽略了现有CAD模型作为约束条件。我们提出了CAD-Editor,这是首个面向基于文本的CAD编辑的框架。为了解决训练中对具有准确对应关系的三元组数据的苛刻需求,我们提出了一种自动化数据合成流程。该流程利用设计变体模型生成原始CAD模型与编辑后CAD模型的配对,并采用大型视觉语言模型(LVLMs)将二者之间的差异总结为编辑指令。为了应对基于文本的CAD编辑的复合特性,我们提出了一种定位-再填充框架,将该任务分解为两个聚焦的子任务:定位需要修改的区域,以及用适当的编辑内容对这些区域进行再填充。大型语言模型(LLMs)作为两个子任务的骨干,利用其在自然语言理解和CAD知识方面的能力。实验表明,CAD-Editor在定量和定性方面均取得了优越的性能。代码可在https://github.com/microsoft/CAD-Editor获取。
英文摘要:
Computer Aided Design (CAD) is indispensable across various industries. \emph{Text-based CAD editing}, which automates the modification of CAD models based on textual instructions, holds great potential but remains underexplored. Existing methods primarily focus on design variation generation or text-based CAD generation, either lacking support for text-based control or neglecting existing CAD models as constraints. We introduce \emph{CAD-Editor}, the first framework for text-based CAD editing. To address the challenge of demanding triplet data with accurate correspondence for training, we propose an automated data synthesis pipeline. This pipeline utilizes design variation models to generate pairs of original and edited CAD models and employs Large Vision-Language Models (LVLMs) to summarize their differences into editing instructions. To tackle the composite nature of text-based CAD editing, we propose a locate-then-infill framework that decomposes the task into two focused sub-tasks: locating regions requiring modification and infilling these regions with appropriate edits. Large Language Models (LLMs) serve as the backbone for both sub-tasks, leveraging their capabilities in natural language understanding and CAD knowledge. Experiments show that CAD-Editor achieves superior performance both quantitatively and qualitatively. The code is available at \url {https://github.com/microsoft/CAD-Editor}.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。