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

MASTER:一种用于场景文本识别的多方面非局部网络

MASTER: Multi-Aspect Non-local Network for Scene Text Recognition

Ping An Property and Casualty Insurance Company(平安财产保险股份有限公司);Xuzhou Medical University(徐州医科大学);Huazhong University of Science and Technology(华中科技大学)

Ning Lu, Wenwen Yu, Xianbiao Qi, Yihao Chen, Ping Gong, Rong Xiao, Xiang Bai

摘要:

基于注意力的场景文本识别器已经取得了巨大的成功,它利用更紧凑的中间表示来通过基于RNN的编码器-解码器架构学习1d或2d注意力。然而,这样的方法遭受注意力漂移问题,因为在基于RNN的局部注意力机制下,编码特征之间的高相似性导致注意力混淆。此外,基于RNN的方法由于并行性差而效率低下。为了克服这些问题,我们提出了MASTER,一个基于自注意的场景文本识别器,它(1)不仅编码输入-输出注意,而且还学习编码编码器和解码器内部的特征-特征和目标-目标关系的自注意,(2)学习一个更强大和鲁棒的空间失真中间表示,以及(3)由于高训练并行化而具有高训练效率,并且由于高效的存储器缓存机制而具有高速推理。在各种基准测试上进行的大量实验证明了我们的MASTER在规则和不规则场景文本上的优越性能。Pytorch代码可以在https://github.com/wenwenyu/MASTER-pytorch找到,Tensorflow代码可以在https://github.com/jiangxiluning/MASTER-TF找到。

英文摘要:

Attention-based scene text recognizers have gained huge success, which leverages a more compact intermediate representation to learn 1d- or 2d- attention by a RNN-based encoder-decoder architecture. However, such methods suffer from attention-drift problem because high similarity among encoded features leads to attention confusion under the RNN-based local attention mechanism. Moreover, RNN-based methods have low efficiency due to poor parallelization. To overcome these problems, we propose the MASTER, a self-attention based scene text recognizer that (1) not only encodes the input-output attention but also learns self-attention which encodes feature-feature and target-target relationships inside the encoder and decoder and (2) learns a more powerful and robust intermediate representation to spatial distortion, and (3) owns a great training efficiency because of high training parallelization and a high-speed inference because of an efficient memory-cache mechanism. Extensive experiments on various benchmarks demonstrate the superior performance of our MASTER on both regular and irregular scene text. Pytorch code can be found at https://github.com/wenwenyu/MASTER-pytorch, and Tensorflow code can be found at https://github.com/jiangxiluning/MASTER-TF.

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

↑