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

文本就是文本:使用知识蒸馏统一文本识别

Text is Text, No Matter What: Unifying Text Recognition using Knowledge Distillation

University of Surrey(萨里大学);iFlyTek-Surrey Joint Research Centre on Artificial Intelligence(讯飞-萨里人工智能联合研究中心)

Ayan Kumar Bhunia, Aneeshan Sain, Pinaki Nath Chowdhury, Yi-Zhe Song

摘要:

文本识别仍然是计算机视觉中一个基本的和广泛的研究课题,这主要是由于其广泛的商业应用。然而,这个问题的挑战性决定了研究工作的碎片化:场景文本识别(STR)处理日常场景中的文本,手写文本识别(HTR)处理手写文本。在本文中,我们首次主张它们的统一--我们的目标是建立一个能够与两个独立的最先进的STR和HTR模型竞争的单一模型。我们首先表明,STR和HTR模型的交叉利用会引发显着的性能下降,由于其固有的挑战的差异。然后,我们通过引入一个基于知识蒸馏(KD)的框架来处理它们的联合。然而,这是不平凡的,主要是由于文本序列的可变长度和顺序性质,这使得主要与全局固定长度数据一起工作的现成KD技术不足。为此,我们提出了三种蒸馏损失,所有这些损失都是专门设计来应对上述文本识别的独特特征的。经验证据表明,我们提出的统一模型与单独的模型表现相当,甚至在某些情况下超过它们。消融研究表明,天真的基线,如两阶段的框架,和域适应/泛化的替代方案不工作,以及进一步验证我们的设计的适当性。

英文摘要:

Text recognition remains a fundamental and extensively researched topic in computer vision, largely owing to its wide array of commercial applications. The challenging nature of the very problem however dictated a fragmentation of research efforts: Scene Text Recognition (STR) that deals with text in everyday scenes, and Handwriting Text Recognition (HTR) that tackles hand-written text. In this paper, for the first time, we argue for their unification -- we aim for a single model that can compete favourably with two separate state-of-the-art STR and HTR models. We first show that cross-utilisation of STR and HTR models trigger significant performance drops due to differences in their inherent challenges. We then tackle their union by introducing a knowledge distillation (KD) based framework. This is however non-trivial, largely due to the variable-length and sequential nature of text sequences, which renders off-the-shelf KD techniques that mostly works with global fixed-length data inadequate. For that, we propose three distillation losses all of which are specifically designed to cope with the aforementioned unique characteristics of text recognition. Empirical evidence suggests that our proposed unified model performs on par with individual models, even surpassing them in certain cases. Ablative studies demonstrate that naive baselines such as a two-stage framework, and domain adaption/generalisation alternatives do not work as well, further verifying the appropriateness of our design.

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

↑