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

RobustScanner:动态增强位置线索的鲁棒文本识别

RobustScanner: Dynamically Enhancing Positional Clues for Robust Text Recognition

SenseTime Research(商汤科技研究院)

Xiaoyu Yue, Zhanghui Kuang, Chenhao Lin, Hongbin Sun, Wayne Zhang

摘要:

基于注意力的编码器-解码器框架最近在场景文本识别方面取得了令人印象深刻的结果,并且出现了许多变体,识别质量有所提高。然而,它在无上下文的文本上表现不佳(例如,随机字符序列),这在大多数实际应用场景中是不可接受的。在本文中,我们首先深入研究了解码器的解码过程。我们的经验发现,一个代表性的字符级序列解码器不仅利用上下文信息,但也位置信息。现有的注意力转移方法严重依赖于上下文信息,这就导致了注意力转移的问题。为了抑制这种副作用,我们提出了一种新的位置增强分支,并动态融合其输出与解码器的注意力模块的场景文本识别。具体地,它包含位置感知模块,以使编码器能够输出对它们自己的空间位置进行编码的特征向量,以及注意力模块,以使用位置线索来估计瞥见(即,仅当前解码时间步长)。通过逐元素门机制进行动态融合,以获得更鲁棒的特征。从理论上讲,我们提出的方法(\emph{RobustScanner})利用上下文和位置线索之间的动态比值对单个字符进行解码,并且在解码序列中上下文较少时,利用更多的位置线索,因此具有鲁棒性和实用性。从经验上讲,它在流行的规则和不规则文本识别基准测试中取得了新的最先进的结果,而在无上下文基准测试中没有太大的性能下降,验证了它在上下文和无上下文应用场景中的鲁棒性。

英文摘要:

The attention-based encoder-decoder framework has recently achieved impressive results for scene text recognition, and many variants have emerged with improvements in recognition quality. However, it performs poorly on contextless texts (e.g., random character sequences) which is unacceptable in most of real application scenarios. In this paper, we first deeply investigate the decoding process of the decoder. We empirically find that a representative character-level sequence decoder utilizes not only context information but also positional information. Contextual information, which the existing approaches heavily rely on, causes the problem of attention drift. To suppress such side-effect, we propose a novel position enhancement branch, and dynamically fuse its outputs with those of the decoder attention module for scene text recognition. Specifically, it contains a position aware module to enable the encoder to output feature vectors encoding their own spatial positions, and an attention module to estimate glimpses using the positional clue (i.e., the current decoding time step) only. The dynamic fusion is conducted for more robust feature via an element-wise gate mechanism. Theoretically, our proposed method, dubbed \emph{RobustScanner}, decodes individual characters with dynamic ratio between context and positional clues, and utilizes more positional ones when the decoding sequences with scarce context, and thus is robust and practical. Empirically, it has achieved new state-of-the-art results on popular regular and irregular text recognition benchmarks while without much performance drop on contextless benchmarks, validating its robustness in both contextual and contextless application scenarios.

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

↑