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

CDistNet: 感知多域字符距离以实现鲁棒的文本识别

CDistNet: Perceiving Multi-Domain Character Distance for Robust Text Recognition

University of Science and Technology of China(中国科学技术大学)

Tianlun Zheng, Zhineng Chen, Shancheng Fang, Hongtao Xie, Yu-Gang Jiang

AI总结:

针对场景文本识别中视觉与语义线索松散关联易导致特征字符错位的问题,提出多域字符距离感知模块构建CDistNet,通过交叉注意力融合两类线索实现精准对齐,在多数据集上性能达顶尖水平。

摘要:

基于Transformer的编解码框架在场景文本识别中日益流行,主要原因在于它能自然整合视觉与语义两个域的识别线索。但近期研究表明,这两类线索并非总能良好对齐,因此在高难度文本(例如形状罕见的文本)中,特征与字符可能出现错位。为此,研究者引入了字符位置等约束来缓解这一问题。尽管取得了一定成效,但视觉与语义信息仍被分开建模,二者仅存在松散关联。\n本文提出了一种名为多域字符距离感知(MDCDP)的新型模块,用于构建兼具视觉与语义关联性的位置嵌入。MDCDP遵循交叉注意力机制,使用位置嵌入同时查询视觉特征与语义特征,将两类线索融合到位置分支中,生成内容感知的嵌入,能够很好地感知字符间距与方向变化、字符语义亲和性,以及关联两类信息的线索,这些内容被统称为多域字符距离。我们构建了堆叠多个MDCDP的CDistNet,以引导逐步精确的距离建模,从而即使存在多种识别难点,也能良好建立特征与字符的对齐关系。\n我们在10个具有挑战性的公开数据集以及自行构建的两个增强数据集系列上验证了CDistNet的性能。实验表明,CDistNet的表现极具竞争力:它不仅在标准基准上处于第一梯队,而且在存在严重文本形变、语言支持不足及罕见字符布局的真实与增强数据集上,性能明显优于近期流行的方法。代码可在https://github.com/simplify23/CDistNet获取。

英文摘要:

The Transformer-based encoder-decoder framework is becoming popular in scene text recognition, largely because it naturally integrates recognition clues from both visual and semantic domains. However, recent studies show that the two kinds of clues are not always well registered and therefore, feature and character might be misaligned in difficult text (e.g., with a rare shape). As a result, constraints such as character position are introduced to alleviate this problem. Despite certain success, visual and semantic are still separately modeled and they are merely loosely associated. In this paper, we propose a novel module called Multi-Domain Character Distance Perception (MDCDP) to establish a visually and semantically related position embedding. MDCDP uses the position embedding to query both visual and semantic features following the cross-attention mechanism. The two kinds of clues are fused into the position branch, generating a content-aware embedding that well perceives character spacing and orientation variants, character semantic affinities, and clues tying the two kinds of information. They are summarized as the multi-domain character distance. We develop CDistNet that stacks multiple MDCDPs to guide a gradually precise distance modeling. Thus, the feature-character alignment is well built even various recognition difficulties are presented. We verify CDistNet on ten challenging public datasets and two series of augmented datasets created by ourselves. The experiments demonstrate that CDistNet performs highly competitively. It not only ranks top-tier in standard benchmarks, but also outperforms recent popular methods by obvious margins on real and augmented datasets presenting severe text deformation, poor linguistic support, and rare character layouts. Code is available at https://github.com/simplify23/CDistNet.

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

↑