arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.01028cs.CVcs.CLcs.IR
收藏

提升基于深度学习的Token分类模型在训练期间的适用性

Improving Applicability of Deep Learning based Token Classification models during Training

University of Applied Sciences Kiel(基应用科学大学);Technical University of Applied Sciences Lübeck(吕贝克应用技术大学)

Anket Mehra, Malte Prieß, Marian Himstedt

AI总结:

本文提出了一种新的评估指标DIP(文档完整性精确率),用于弥补传统分类指标在评估基于LayoutLM的Token分类模型实际适用性方面的不足,帮助开发者判断模型是否适合部署。

摘要:

本文表明,在模型训练期间需要进一步的评估指标来决定其在推理时的适用性。作为一个例子,我们训练了一个基于LayoutLM的模型,用于文档中的Token分类。这些文档是德国收据。我们表明,以我们实验中的F1-Score为代表的传统分类指标不足以评估机器学习模型在实际中的适用性。为了解决这个问题,我们引入了一种新的指标——文档完整性精确率(Document Integrity Precision, DIP),作为视觉文档理解和Token分类任务的解决方案。据我们所知,在此背景下尚未引入类似指标。DIP是一个严格的指标,描述了测试数据集中有多少文档需要人工干预。它使AI研究人员和软件开发人员能够深入调查商业软件中流程自动化的水平。为了验证DIP,我们用创建的模型进行了实验,以突出和分析DIP的影响和相关性,从而评估在不同训练设置下是否应部署该模型。结果表明,对于孤立的模型损伤,现有指标几乎没有变化,而DIP表明模型在部署时需要大量人工干预。预测的实体集越大,传统指标的敏感度越低,导致自动化质量差。相比之下,DIP仍然是可对整个实体集进行解释的单一值。这突出了在生产中拥有专注于业务任务的模型训练指标的重要性。由于DIP是为Token分类任务创建的,因此需要更多研究来为其他训练任务寻找合适的指标。

英文摘要:

This paper shows that further evaluation metrics during model training are needed to decide about its applicability in inference. As an example, a LayoutLM-based model is trained for token classification in documents. The documents are German receipts. We show that conventional classification metrics, represented by the F1-Score in our experiments, are insufficient for evaluating the applicability of machine learning models in practice. To address this problem, we introduce a novel metric, Document Integrity Precision (DIP), as a solution for visual document understanding and the token classification task. To the best of our knowledge, nothing comparable has been introduced in this context. DIP is a rigorous metric, describing how many documents of the test dataset require manual interventions. It enables AI researchers and software developers to conduct an in-depth investigation of the level of process automation in business software. In order to validate DIP, we conduct experiments with our created models to highlight and analyze the impact and relevance of DIP to evaluate if the model should be deployed or not in different training settings. Our results demonstrate that existing metrics barely change for isolated model impairments, whereas DIP indicates that the model requires substantial human interventions in deployment. The larger the set of entities being predicted, the less sensitive conventional metrics are, entailing poor automation quality. DIP, in contrast, remains a single value to be interpreted for entire entity sets. This highlights the importance of having metrics that focus on the business task for model training in production. Since DIP is created for the token classification task, more research is needed to find suitable metrics for other training tasks.

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

↑