arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.05340cs.LG
收藏

生成CAD代码的视觉语言模型用于三维设计

Generating CAD Code with Vision-Language Models for 3D Designs

Georgia Institute of Technology(佐治亚理工学院)

Kamel Alrashedy, Pradyumna Tambwekar, Zulfiqar Zaidi, Megan Langwasser, Wei Xu, Matthew Gombolay

AI总结:

本文提出CADCodeVerify方法,利用视觉语言模型迭代验证和修正CAD代码生成的三维对象,并引入首个基准CADPrompt,实验表明该方法显著提升对象结构和编译成功率。

摘要:

生成式人工智能通过提供高效且自动化的方法来生成和修改三维对象,已经改变了设计与制造领域。一种方法涉及使用大型语言模型(LLMs)生成计算机辅助设计(CAD)脚本代码,然后执行这些代码以渲染三维对象;然而,生成的三维对象可能不符合指定的要求。由于三维对象的复杂性和结构(例如形状、表面和尺寸)在代码中不可行,测试CAD生成代码的正确性具有挑战性。在本文中,我们介绍了CADCodeVerify,一种新颖的方法,用于迭代验证和改进从CAD代码生成的三维对象。我们的方法通过提示视觉语言模型(VLM)生成并回答一组验证问题来验证生成的对象,并提示VLM纠正偏差,从而产生改进性反馈。为了评估CADCodeVerify,我们引入了CADPrompt,这是第一个用于CAD代码生成的基准测试,包含200个自然语言提示,并配有专家注释的三维对象脚本代码,以基准测试进展。我们的研究结果表明,CADCodeVerify通过提供视觉反馈、增强三维对象的结构以及提高编译程序的成功率来改进VLM的性能。当应用于GPT-4时,与先前工作相比,CADCodeVerify实现了点云距离减少7.30%,成功率提高5.0%。

英文摘要:

Generative AI has transformed the fields of Design and Manufacturing by providing efficient and automated methods for generating and modifying 3D objects. One approach involves using Large Language Models (LLMs) to generate Computer- Aided Design (CAD) scripting code, which can then be executed to render a 3D object; however, the resulting 3D object may not meet the specified requirements. Testing the correctness of CAD generated code is challenging due to the complexity and structure of 3D objects (e.g., shapes, surfaces, and dimensions) that are not feasible in code. In this paper, we introduce CADCodeVerify, a novel approach to iteratively verify and improve 3D objects generated from CAD code. Our approach works by producing ameliorative feedback by prompting a Vision-Language Model (VLM) to generate and answer a set of validation questions to verify the generated object and prompt the VLM to correct deviations. To evaluate CADCodeVerify, we introduce, CADPrompt, the first benchmark for CAD code generation, consisting of 200 natural language prompts paired with expert-annotated scripting code for 3D objects to benchmark progress. Our findings show that CADCodeVerify improves VLM performance by providing visual feedback, enhancing the structure of the 3D objects, and increasing the success rate of the compiled program. When applied to GPT-4, CADCodeVerify achieved a 7.30% reduction in Point Cloud distance and a 5.0% improvement in success rate compared to prior work

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

↑