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

通过3D注意力与多尺度训练改进手写文本识别

Improving Handwritten Text Recognition via 3D Attention and Multi-Scale Training

institutetext(机构)

Zi-Rui Wang

AI总结:

提出一种结合3D注意力模块和全局-局部上下文信息的新网络,通过多尺度训练和CTC与交叉熵联合损失,在手写文本识别数据集上达到最先进水平。

摘要:

针对手写文本识别的无分割研究方法可分为三类:连接主义时间分类(CTC)、隐马尔可夫模型和编码器-解码器方法。受上述三种建模方法的启发,本文提出了一种新的识别网络,该网络采用新颖的三维(3D)注意力模块和全局-局部上下文信息。基于最后一个卷积层的特征图,分割出一系列不同分辨率的3D块。然后,将这些3D块输入3D注意力模块以生成序列视觉特征。最后,通过融合视觉特征和相应的全局-局部上下文特征,可以获得设计良好的表示。包括注意力机制、全连接层、循环单元和卷积层在内的主要规范神经单元被高效地组织成一个网络,并可通过CTC损失和交叉熵损失进行联合训练。在最新的中文手写文本数据集(SCUT-HCCDoc和SCUT-EPT)和一个英文手写文本数据集(IAM)上的实验表明,所提出的方法能够取得与最先进方法相当的结果。代码可在https://github.com/Wukong90/3DAttention-MultiScaleTraining-for-HTR获取。

英文摘要:

The segmentation-free research efforts for addressing handwritten text recognition can be divided into three categories: connectionist temporal classification (CTC), hidden Markov model and encoder-decoder methods. In this paper, inspired by the above three modeling methods, we propose a new recognition network by using a novel three-dimensional (3D) attention module and global-local context information. Based on the feature maps of the last convolutional layer, a series of 3D blocks with different resolutions are split. Then, these 3D blocks are fed into the 3D attention module to generate sequential visual features. Finally, by fusing the visual features and the corresponding global-local context features, a well-designed representation can be obtained. Main canonical neural units including attention mechanisms, fully-connected layers, recurrent units and convolutional layers are efficiently organized into a network and can be jointly trained by the CTC loss and the cross-entropy loss. Experiments on the latest Chinese handwritten text datasets (the SCUT-HCCDoc and the SCUT-EPT) and one English handwritten text dataset (the IAM) show that the proposed method can achieve comparable results with the state-of-the-art methods. The code is available at https://github.com/Wukong90/3DAttention-MultiScaleTraining-for-HTR.

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

↑