通过在大语言模型中注入视觉反馈实现文本到CAD生成
Text-to-CAD Generation Through Infusing Visual Feedback in Large Language Models
AI总结:
本文提出CADFusion框架,通过在大语言模型训练中交替融合序列学习与视觉反馈信号,解决文本到CAD生成中参数序列与渲染视觉对象的多模态对齐问题,显著提升生成性能。
摘要:
创建计算机辅助设计(CAD)模型需要大量的专业知识和努力。文本到CAD(Text-to-CAD)将文本描述转换为CAD参数序列,对于简化这一过程至关重要。最近的研究利用真实参数序列(称为序列信号)作为监督来实现这一目标。然而,CAD模型本质上是多模态的,包含参数序列和相应的渲染视觉对象。此外,从参数序列到视觉对象的渲染过程是多对一的。因此,序列信号和视觉信号对于有效训练都至关重要。在这项工作中,我们提出了CADFusion,这是一个以大语言模型(LLMs)为骨干的框架,并在两个训练阶段之间交替进行:序列学习(SL)阶段和视觉反馈(VF)阶段。在SL阶段,我们使用真实参数序列训练大语言模型,使其能够生成逻辑连贯的参数序列。在VF阶段,我们奖励那些渲染出视觉上更受欢迎对象的参数序列,并惩罚那些渲染效果不佳的序列,从而使大语言模型学习渲染视觉对象如何被感知和评估。这两个阶段在整个训练过程中交替进行,确保平衡学习并保留两种信号的优势。实验表明,CADFusion在定性和定量方面都显著提升了性能。
英文摘要:
Creating Computer-Aided Design (CAD) models requires significant expertise and effort. Text-to-CAD, which converts textual descriptions into CAD parametric sequences, is crucial in streamlining this process. Recent studies have utilized ground-truth parametric sequences, known as sequential signals, as supervision to achieve this goal. However, CAD models are inherently multimodal, comprising parametric sequences and corresponding rendered visual objects. Besides,the rendering process from parametric sequences to visual objects is many-to-one. Therefore, both sequential and visual signals are critical for effective training. In this work, we introduce CADFusion, a framework that uses Large Language Models (LLMs) as the backbone and alternates between two training stages: the sequential learning (SL) stage and the visual feedback (VF) stage. In the SL stage, we train LLMs using ground-truth parametric sequences, enabling the generation of logically coherent parametric sequences. In the VF stage, we reward parametric sequences that render into visually preferred objects and penalize those that do not, allowing LLMs to learn how rendered visual objects are perceived and evaluated. These two stages alternate throughout the training, ensuring balanced learning and preserving benefits of both signals. Experiments demonstrate that CADFusion significantly improves performance, both qualitatively and quantitatively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。