arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.03707cs.CVcs.AI
收藏

微调视觉-语言模型用于自动化工程图纸信息提取

Fine-Tuning Vision-Language Model for Automated Engineering Drawing Information Extraction

Singapore Institute of Manufacturing Technology (SIMTech), Agency for Science, Technology and Research (A*STAR)(新加坡科技研究局(A*STAR)新加坡制造技术研究院(SIMTech));Advanced Remanufacturing and Technology Centre (ARTC), Agency for Science, Technology and Research (A*STAR)(新加坡科技研究局(A*STAR)先进再制造与技术中心(ARTC));Nanyang Technological University(南洋理工大学)

Muhammad Tayyab Khan, Lequn Chen, Ye Han Ng, Wenhe Feng, Nicholas Yew Jin Tan, Seung Ki Moon

AI总结:

本研究通过微调开源视觉-语言模型Florence-2,实现自动化GD&T信息提取,在精确率、召回率、F1分数和幻觉率上均显著优于闭源模型GPT-4o和Claude-3.5-Sonnet,为制造领域提供了高效实用的解决方案。

摘要:

几何尺寸与公差(Geometric Dimensioning and Tolerancing,GD&T)在制造业中发挥着关键作用,通过定义零件特征的可接受变化范围来确保部件质量和功能。然而,从二维工程图纸中提取GD&T信息是一项耗时且劳动密集的任务,通常依赖人工操作或半自动化工具。为解决这些挑战,本研究提出了一种自动化且计算高效的GD&T提取方法,通过微调Florence-2(一种开源视觉-语言模型,VLM)来实现。该模型在一个包含400张图纸的数据集上训练,并配有领域专家提供的地面真值标注。为了进行比较,两个最先进的闭源VLM——GPT-4o和Claude-3.5-Sonnet——在同一数据集上进行了评估。所有模型均使用精确率、召回率、F1分数和幻觉指标进行评估。由于对大型闭源VLM进行微调用于特定领域任务的计算成本高昂且不切实际,GPT-4o和Claude-3.5-Sonnet在零样本设置下进行评估。相比之下,Florence-2是一个较小的模型,拥有0.23亿参数,通过全参数微调在三个不同的实验中进行优化,每个实验使用不同增强级别的数据集。结果表明,与表现最佳的闭源模型相比,Florence-2的精确率提高了29.95%,召回率提高了37.75%,F1分数提升了52.40%,幻觉率降低了43.15%。这些发现凸显了微调较小的开源VLM(如Florence-2)的有效性,为自动化GD&T提取提供了一种实用且高效的解决方案,以支持下游制造任务。

英文摘要:

Geometric Dimensioning and Tolerancing (GD&T) plays a critical role in manufacturing by defining acceptable variations in part features to ensure component quality and functionality. However, extracting GD&T information from 2D engineering drawings is a time-consuming and labor-intensive task, often relying on manual efforts or semi-automated tools. To address these challenges, this study proposes an automated and computationally efficient GD&T extraction method by fine-tuning Florence-2, an open-source vision-language model (VLM). The model is trained on a dataset of 400 drawings with ground truth annotations provided by domain experts. For comparison, two state-of-the-art closed-source VLMs, GPT-4o and Claude-3.5-Sonnet, are evaluated on the same dataset. All models are assessed using precision, recall, F1-score, and hallucination metrics. Due to the computational cost and impracticality of fine-tuning large closed-source VLMs for domain-specific tasks, GPT-4o and Claude-3.5-Sonnet are evaluated in a zero-shot setting. In contrast, Florence-2, a smaller model with 0.23 billion parameters, is optimized through full-parameter fine-tuning across three distinct experiments, each utilizing datasets augmented to different levels. The results show that Florence-2 achieves a 29.95% increase in precision, a 37.75% increase in recall, a 52.40% improvement in F1-score, and a 43.15% reduction in hallucination rate compared to the best-performing closed-source model. These findings highlight the effectiveness of fine-tuning smaller, open-source VLMs like Florence-2, offering a practical and efficient solution for automated GD&T extraction to support downstream manufacturing tasks.

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

↑