DrawScore:以工程图纸为基准评估生成的CAD模型
DrawScore: Evaluating Generated CAD Models against Engineering Drawings
针对体积IoU、Chamfer Distance和表面F-score难以惩罚错位孔、错面槽等局部制造关键错误的问题,DrawScore将模型投影为含可见线与隐藏线的三视图,沿投影曲线施加饱和惩罚,使局部误差权重仅线性衰减。在现有CAD生成智能体输出上,DrawScore能检出IoU判定近乎完美的输出中的错误,并可作为强化学习奖励及无需3D真值的测试时验证器。
arXiv:2611.24681v1 Announce Type: new Abstract: Automatic CAD generation is commonly evaluated with volumetric IoU, Chamfer Distance, and surface F-score, which barely penalize local errors that occupy only a small fraction of a part's volume or surface area, such as a misplaced hole or a slot on the wrong face, even though such errors are critical to manufacturing. We formalize these metrics in a unified integral form and show that the weight of a local error decays as the $(k+q)$-th power of its size, where $k$ is the dimension of the integration domain and $q$ is determined by the penalty function. Guided by this analysis, we propose DrawScore, which projects both models into three orthographic views with visible and hidden lines, as in engineering drawings, and applies a saturating penalty along the projected curves, so that the weight of a local error decays only linearly. Controlled experiments confirm the predicted decay orders, and on outputs of existing CAD generation agents, DrawScore exposes errors in outputs that IoU rates as nearly perfect. DrawScore further improves generation as a reinforcement learning reward and, for CAD generation from engineering drawings, serves as a test-time verifier without 3D ground truth or an additional reward model. Our code is available at https://github.com/UESTC-Simon/DrawScore.
来源:arXiv (AI + Vision + Imaging) · arxiv.org