arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2311.16703cs.CVcs.GR
收藏

CADTalk:面向CAD程序语义注释的算法与基准

CADTalk: An Algorithm and Benchmark for Semantic Commenting of CAD Programs

University of Edinburgh(爱丁堡大学);Microsoft Research Asia(微软亚洲研究院);Inria, Université Côte d’Azur(法国国家信息与自动化研究所,蔚蓝海岸大学);Delft University of Technology(代尔夫特理工大学);University College London(伦敦大学学院);Adobe Research(奥多比研究院)

Haocheng Yuan, Jing Xu, Hao Pan, Adrien Bousseau, Niloy J. Mitra, Changjian Li

AI总结:

本文提出CAD程序语义注释问题,通过结合程序解析与视觉语义分析,将程序分割为语义代码块并分配标签,并构建了包含5,288个机器生成和45个人工制作程序的基准数据集,达到83.24%准确率。

摘要:

CAD程序是一种流行的紧凑编码形状的方式,将其表示为易于参数化修改的操作序列。然而,如果没有足够的语义注释和结构,这样的程序可能难以理解,更不用说修改了。我们引入了CAD程序语义注释问题,其目标是将输入程序分割为对应于有语义意义的形状部分的代码块,并为每个块分配语义标签。我们通过将程序解析与视觉语义分析相结合来解决该问题,后者得益于基础语言和视觉模型的最新进展。具体而言,通过执行输入程序,我们创建形状,并利用这些形状生成条件逼真图像,以使用此类图像的语义注释器。然后,我们跨图像提炼信息,并将其链接回原始程序以对其进行语义注释。此外,我们收集并标注了一个基准数据集CADTalk,包含5,288个机器生成的程序和45个人工制作的程序,均带有真实语义注释。我们广泛评估了我们的方法,将其与基于GPT的基线和开放集形状分割基线进行比较,并在新的CADTalk数据集上报告了83.24%的准确率。代码和数据:https://enigma-li.github.io/CADTalk/。

英文摘要:

CAD programs are a popular way to compactly encode shapes as a sequence of operations that are easy to parametrically modify. However, without sufficient semantic comments and structure, such programs can be challenging to understand, let alone modify. We introduce the problem of semantic commenting CAD programs, wherein the goal is to segment the input program into code blocks corresponding to semantically meaningful shape parts and assign a semantic label to each block. We solve the problem by combining program parsing with visual-semantic analysis afforded by recent advances in foundational language and vision models. Specifically, by executing the input programs, we create shapes, which we use to generate conditional photorealistic images to make use of semantic annotators for such images. We then distill the information across the images and link back to the original programs to semantically comment on them. Additionally, we collected and annotated a benchmark dataset, CADTalk, consisting of 5,288 machine-made programs and 45 human-made programs with ground truth semantic comments. We extensively evaluated our approach, compared it to a GPT-based baseline, and an open-set shape segmentation baseline, and reported an 83.24% accuracy on the new CADTalk dataset. Code and data: https://enigma-li.github.io/CADTalk/.

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

↑