arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1712.04046cs.CVcs.CLstat.ML
收藏

基于注意力网络的手写体文本转录

Character-Based Handwritten Text Transcription with Attention Networks

Duke University(杜克大学);The Statistical and Applied Mathematical Sciences Institute(统计与应用数学科学研究所);NVIDIA Corporation(英伟达公司)

Jason Poulos, Rafael Valle

摘要:

本文采用基于字符序列而不是单词训练的注意编码器-解码器网络来处理手写文本识别(HTR)任务。我们对流行的手写数据集的文本行进行了实验,并比较了用于对齐图像像素和目标字符的注意力机制的不同激活函数。我们发现softmax的注意力集中在单个字符上,而sigmoid的注意力集中在解码的每个步骤中的多个字符上。当序列比对是一对一时,softmax attention能够在解码的每一步学习更精确的比对,而sigmoid attention生成的比对则精确得多。当使用线性函数来获得注意力权重时,该模型通过查看整个字符序列来预测字符,并且表现不佳,因为它缺乏源和目标之间的精确对齐。未来的研究可能会探索自然场景图像中的HTR,因为该模型能够转录手写文本,而不需要在图像中生成文本的分割或边界框。

英文摘要:

The paper approaches the task of handwritten text recognition (HTR) with attentional encoder-decoder networks trained on sequences of characters, rather than words. We experiment on lines of text from popular handwriting datasets and compare different activation functions for the attention mechanism used for aligning image pixels and target characters. We find that softmax attention focuses heavily on individual characters, while sigmoid attention focuses on multiple characters at each step of the decoding. When the sequence alignment is one-to-one, softmax attention is able to learn a more precise alignment at each step of the decoding, whereas the alignment generated by sigmoid attention is much less precise. When a linear function is used to obtain attention weights, the model predicts a character by looking at the entire sequence of characters and performs poorly because it lacks a precise alignment between the source and target. Future research may explore HTR in natural scene images, since the model is capable of transcribing handwritten text without the need for producing segmentations or bounding boxes of text in images.

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

↑