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

离线文本识别的书写者自适应:基于神经网络方法的探索

Writer adaptation for offline text recognition: An exploration of neural network-based methods

University of Groningen(格罗宁根大学)

Tobias van der Werff, Maruf A. Dhali, Lambert Schomaker

AI总结:

本文探索使用少量样本实现手写文本识别模型的书写者自适应,比较了MAML和书写者编码方法,发现HTR特定版本MetaHTR显著降低词错误率,但计算成本较高且书写者编码未提升性能。

摘要:

借助深度学习,手写识别取得了显著成功。然而,神经网络的一个持续缺陷是难以应对数据分布的偏移。在手写文本识别(HTR)领域,这表现为对与训练时见过的书写者不相似的新书写者识别准确率低下。理想的HTR模型应能适应新的书写风格,以应对大量可能的书写风格。本文探索如何仅使用新书写者的少量样本(例如16个样本)进行自适应,从而使HTR模型具备书写者自适应能力。两种HTR架构被用作基础模型,采用ResNet骨干网络,并搭配LSTM或Transformer序列解码器。基于这些基础模型,考虑了两种方法使其具备书写者自适应能力:1)与模型无关的元学习(MAML),这是一种常用于少样本分类等任务的算法;2)书写者编码,这一理念源自自动语音识别。结果表明,被称为MetaHTR的HTR特定版本MAML提升了性能,与基线相比,词错误率(WER)降低了1.4至2.0。书写者自适应带来的提升在0.2至0.7 WER之间,其中较深的模型比较浅的模型似乎更适合使用MetaHTR进行自适应。然而,由于计算和内存需求极高,将MetaHTR应用于更大的HTR模型或句子级HTR可能会变得不可行。最后,基于学习特征或Hinge统计特征的书写者编码未能带来识别性能的提升。

英文摘要:

Handwriting recognition has seen significant success with the use of deep learning. However, a persistent shortcoming of neural networks is that they are not well-equipped to deal with shifting data distributions. In the field of handwritten text recognition (HTR), this shows itself in poor recognition accuracy for writers that are not similar to those seen during training. An ideal HTR model should be adaptive to new writing styles in order to handle the vast amount of possible writing styles. In this paper, we explore how HTR models can be made writer adaptive by using only a handful of examples from a new writer (e.g., 16 examples) for adaptation. Two HTR architectures are used as base models, using a ResNet backbone along with either an LSTM or Transformer sequence decoder. Using these base models, two methods are considered to make them writer adaptive: 1) model-agnostic meta-learning (MAML), an algorithm commonly used for tasks such as few-shot classification, and 2) writer codes, an idea originating from automatic speech recognition. Results show that an HTR-specific version of MAML known as MetaHTR improves performance compared to the baseline with a 1.4 to 2.0 improvement in word error rate (WER). The improvement due to writer adaptation is between 0.2 and 0.7 WER, where a deeper model seems to lend itself better to adaptation using MetaHTR than a shallower model. However, applying MetaHTR to larger HTR models or sentence-level HTR may become prohibitive due to its high computational and memory requirements. Lastly, writer codes based on learned features or Hinge statistical features did not lead to improved recognition performance.

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

↑