arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.00144cs.LGcs.AIcs.CE
收藏

Query2CAD:使用自然语言查询生成CAD模型

Query2CAD: Generating CAD models using natural language queries

Carnegie Mellon University(卡内基梅隆大学)

Akshay Badagabettu, Sai Sravan Yarlagadda, Amir Barati Farimani

AI总结:

Query2CAD提出了一种无需监督数据或额外训练的CAD设计生成框架,利用大型语言模型生成可执行CAD宏并通过自完善循环和BLIP2模型反馈优化设计,在GPT-4 Turbo上首次尝试成功率达53.6%,后续完善提升23.1%。

摘要:

计算机辅助设计(CAD)工程师通常无法在单次尝试中实现最佳原型。相反,他们通过多次修订来迭代和完善设计,以达到最优解。这种传统方法虽然有效,但耗时较长,且严重依赖熟练工程师的专业知识。为了应对这些挑战,我们引入了Query2CAD,一种用于生成CAD设计的新框架。该框架使用大型语言模型生成可执行的CAD宏。此外,Query2CAD通过其自完善循环来优化CAD模型的生成。Query2CAD无需监督数据或额外训练,将LLM同时用作生成器和精炼器。精炼器利用BLIP2模型生成的反馈,为了解决假阴性问题,我们在系统中引入了人在环反馈。此外,我们开发了一个涵盖CAD模型设计中大多数操作的数据集,并使用该数据集评估了我们的框架。研究结果显示,当我们使用GPT-4 Turbo作为语言模型时,该架构首次尝试的成功率为53.6%。通过后续完善,成功率提高了23.1%。特别是,在第一次完善迭代中观察到成功率最显著的提升。在后续完善中,正确设计的准确性没有显著提高。我们已开源数据、模型和代码(github.com/akshay140601/Query2CAD)。

英文摘要:

Computer Aided Design (CAD) engineers typically do not achieve their best prototypes in a single attempt. Instead, they iterate and refine their designs to achieve an optimal solution through multiple revisions. This traditional approach, though effective, is time-consuming and relies heavily on the expertise of skilled engineers. To address these challenges, we introduce Query2CAD, a novel framework to generate CAD designs. The framework uses a large language model to generate executable CAD macros. Additionally, Query2CAD refines the generation of the CAD model with the help of its self-refinement loops. Query2CAD operates without supervised data or additional training, using the LLM as both a generator and a refiner. The refiner leverages feedback generated by the BLIP2 model, and to address false negatives, we have incorporated human-in-the-loop feedback into our system. Additionally, we have developed a dataset that encompasses most operations used in CAD model designing and have evaluated our framework using this dataset. Our findings reveal that when we used GPT-4 Turbo as our language model, the architecture achieved a success rate of 53.6\% on the first attempt. With subsequent refinements, the success rate increased by 23.1\%. In particular, the most significant improvement in the success rate was observed with the first iteration of the refinement. With subsequent refinements, the accuracy of the correct designs did not improve significantly. We have open-sourced our data, model, and code (github.com/akshay140601/Query2CAD).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑