TextFormer: A Query-based End-to-End Text Spotter with Mixed Supervision
Yukun Zhai, Xiaoqiang Zhang, Xiameng Qin, Sanyuan Zhao, Xingping Dong, Jianbing Shen
TL;DR
This work tackles end-to-end scene text spotting by introducing TextFormer, a Transformer-based, query-driven framework that unifies detection, segmentation, and recognition without RoI operations. It advances the field with an Adaptive Global aGgregation (AGG) module for reading arbitrarily-shaped text and a mixed-supervision strategy that leverages weak annotations to boost performance while reducing labeling costs. TextFormer achieves state-of-the-art results on English and Chinese benchmarks, notably delivering a $1 ext{-}NED$ improvement of $13.2\%$ on the challenging TDA-ReCTS dataset, driven by deep multi-task feature sharing. The combination of multi-task learning, global feature aggregation, and mixed supervision has practical significance for robust, multilingual text understanding in real-world applications.
Abstract
End-to-end text spotting is a vital computer vision task that aims to integrate scene text detection and recognition into a unified framework. Typical methods heavily rely on Region-of-Interest (RoI) operations to extract local features and complex post-processing steps to produce final predictions. To address these limitations, we propose TextFormer, a query-based end-to-end text spotter with Transformer architecture. Specifically, using query embedding per text instance, TextFormer builds upon an image encoder and a text decoder to learn a joint semantic understanding for multi-task modeling. It allows for mutual training and optimization of classification, segmentation, and recognition branches, resulting in deeper feature sharing without sacrificing flexibility or simplicity. Additionally, we design an Adaptive Global aGgregation (AGG) module to transfer global features into sequential features for reading arbitrarily-shaped texts, which overcomes the sub-optimization problem of RoI operations. Furthermore, potential corpus information is utilized from weak annotations to full labels through mixed supervision, further improving text detection and end-to-end text spotting results. Extensive experiments on various bilingual (i.e., English and Chinese) benchmarks demonstrate the superiority of our method. Especially on TDA-ReCTS dataset, TextFormer surpasses the state-of-the-art method in terms of 1-NED by 13.2%.
