선정목록으로
TRIG: Transformer-Based Text Recognizer with Initial Embedding Guidance
필름·전자재료 · (13) 프리즘 필름
기본 정보
- 저자
- DOI
- 10.48550/arxiv.2111.08314
- 저널
- arXiv (Cornell University)
- 발행년도
- 2022
- 발행기관
- Cornell University
- 피인용수
- 0
- 라이선스
- 0
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.48550/arxiv.2111.08314
- 토픽
- Laser Material Processing Techniques
- OpenAlex ID
- W6929376341
평가 내용
- 관련도
- 사업분야
- 필름·전자재료 · (13) 프리즘 필름
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Scene text recognition (STR) is an important bridge between images and text, attracting abundant research attention. While convolutional neural networks (CNNS) have achieved remarkable progress in this task, most of the existing works need an extra module (context modeling module) to help CNN to capture global dependencies to solve the inductive bias and strengthen the relationship between text features. Recently, the transformer has been proposed as a promising network for global context modeling by self-attention mechanism, but one of the main shortcomings, when applied to recognition, is the efficiency. We propose a 1-D split to address the challenges of complexity and replace the CNN with the transformer encoder to reduce the need for a context modeling module. Furthermore, recent methods use a frozen initial embedding to guide the decoder to decode the features to text, leading to a loss of accuracy. We propose to use a learnable initial embedding learned from the transformer encoder to make it adaptive to different input images. Above all, we introduce a novel architecture for text recognition, named TRansformer-based text recognizer with Initial embedding Guidance (TRIG), composed of three stages (transformation, feature extraction, and prediction). Extensive experiments show that our approach can achieve state-of-the-art on text recognition benchmarks.
본문 62,687자
본문 펼치기
## TRIG: Transformer-Based Text Recognizer with Initial Embedding Guidance
Yue Tao, Zhiwei Jia, Runze Ma, and Shugong Xu <sup>(</sup> - <sup>)</sup>
School of Communication and Information Engineering, Shanghai University,
Shanghai, 200444, China
_{_ `yue` ~~`t`~~ `ao,` `zhiwei.jia,` `runzema,` `shugong` _}_ `@shu.edu.cn`
Abstract. Scene text recognition (STR) is an important bridge between
images and text, attracting abundant research attention. While convolutional neural networks (CNNS) have achieved remarkable progress in
this task, most of the existing works need an extra module (context
modeling module) to help CNN to capture global dependencies to solve
the inductive bias and strengthen the relationship between text features.
Recently, the transformer has been proposed as a promising network
for global context modeling by self-attention mechanism, but one of the
main short-comings, when applied to recognition, is the efficiency. We
propose a 1-D split to address the challenges of complexity and replace
the CNN with the transformer encoder to reduce the need for a context modeling module. Furthermore, recent methods use a frozen initial
embedding to guide the decoder to decode the features to text, leading
to a loss of accuracy. We propose to use a learnable initial embedding
learned from the transformer encoder to make it adaptive to different input images. Above all, we introduce a novel architecture for text recognition, named TR ansformer-based text recognizer with I nitial embedding
G uidance ( TRIG ), composed of three stages (transformation, feature
extraction, and prediction). Extensive experiments show that our approach can achieve state-of-the-art on text recognition benchmarks.
Keywords: Scene text recognition - Transformer - Self-attention - 1-D
split - Initial embedding.
1 Introduction
STR, aiming to read the text in natural scenes, is an important and active
research field in computer vision [26,53]. Text reading can obtain semantic information from images, playing a significant role in a variety of vision tasks, such
as image retrieval, key information extraction, and document visual question answering.
Among the feature extraction module of existing text recognizers, convolutional architectures remain dominant. For example, ASTER [39] uses ResNet [12]
and SRN [47] uses FPN [24] to aggregate hierarchical feature maps from ResNet50.
A ll k th t t h li i ti i f ti d l t h t
has a relationship with each other. So features with global contextual information can decode more accurate characters. Unfortunately, the convolutional
neural network (CNN) has an inductive bias on locality for the design of the
kernel. It lacks the ability to model long-range dependencies, hence text recognizers should use context modeling structures to gain better performance. It
is a common practice that Bi-directional LSTM (BiLSTM) [14] is effective to
enhance context modeling. Such context modeling modules introduce additional
complexity and operations. So a question comes: Why not replace CNN with another network which can model long-range dependencies in a feature extractor
without an additional context modeling module?
With the introduction of the transformer [42], the question has an answer.
Recently, it has been proposed to regard an image as a sequence of patches and
aggregate feature in global context by self-attention mechanisms [9]. Therefore,
we propose to use a pure transformer encoder as the feature extractor instead
of CNN. Due to the ability of dynamic attention, global context, and better
generalization of the transformer, the transformer encoder can provide global
and robust features without the extra context modeling module. By this way,
we can simplify the four-stage STR framework (transformation stage, feature
extraction stage, context modeling stage, and prediction stage) proposed in Baek
et al. [2] to three stages by removing the need for a context modeling module. Our
extensive experiments prove the effectiveness of the three-stage architecture. It
shows that the additional context modeling module degrades performance rather
than any gain and the feature extractor exactly models long-range dependencies
when using the transformer encoder.
Despite the strong ability of the transformer, the high demand for memory
and computation resources may cause difficulty in the training and inference
process. For example, the authors of Vision Transformer (ViT) [9] used extensive computing resources to train their model (about 230 TPUv3-core-days for
the ViT-L/16). It is hard for researchers to access such huge resources. The main
reason for the high complexity of the transformer is the self-attention mechanism inside. Complexity and sequence length are squared. Therefore, reducing
the sequence length can effectively reduce the complexity. With the consideration of efficiency, we do not simply use the square patch size proposed in the
ViT-like backbone used in image classification, segmentation, and object detection [40,3,52,41]. Instead, we propose the 1-D split to split the picture into
rectangle patches whose height is the same as the input image, shown in Figure 1c. In this way, the image can convert to a sequence of patches (1-D split)
whose length is shorter than the 2-D split (the height of patch size is smaller
than the input image). The design of patch size has the advantage of fewer Multiply Accumulate operations (MACs), which leads to faster training and inference
with fewer resources.
The prediction stage is another important part of the text recognizer, which
decodes the feature to text. An attention-based sequence decoder is commonly
used in previous works and has a hidden state embedding to guide the decoder.
R t th d [39 22 27] th f b ddi t i iti li th hidd
(a) (b) (c)
Fig. 1. Difference between 1 and D split and 2-D split. ( a ) A rectified text image.
( b ) 2-D split: The text image is split into square patches proposed in the ViT-like
backbone. ( c ) 1-D split: The text image is split into rectangle patches whose height is
the same as the height of the rectified image. Using the same patch dimension, the 1-D
split is more efficient than the 2-D split.
state, which remains the same when different images are inputted, influencing
the accuracy of the decoder. To make the hidden state of the decoder adaptive
to different inputs, we propose a learnable initial embedding learned from the
transformer encoder to dynamically learn information from images. The adaptive
initial embedding can guide the decoding process to reach better accuracy.
To sum up, this paper presents three main contributions:
1. We propose a novel three-stage architecture for text recognition, TRIG,
namely TR ansformer-based text recognizer with I nitial embedding G uidance.
TRIG leverages the transformer encoder to extract global context features
without an additional context modeling module used in CNN-based text
recognizers. Extensive experiments on several public scene text benchmarks
demonstrate the proposed framework can achieve state-of-the-art (SOTA)
performance.
2. A 1-D split is designed to divide the text image as a sequence of rectangle
patches with the consideration of efficiency.
3. We propose a learnable initial embedding to dynamically learn information
from the whole image, which can be adaptive to different input images and
precisely guide the decoding process.
2 Related Work
Most traditional scene text recognition methods [8,33,45,20,31] adopt a bottomup approach, which first detects individual characters with a sliding window
and classifies them by using hand-crafted features. With the development of deep
learning, top-down methods were proposed. These approaches can be roughly divided into two categories by applying a transformer or not, namely transformerfree methods and transformer-based methods.
2.1 Transformer-Free Methods
Before the proposal of the transformer, STR methods only use CNN and recurrent neural network (RNN) to read the text. CRNN [38] extracts feature
sequences using CNN, and then encodes the sequence by RNN. Finally, Con
ti i t T l Cl ifi ti (CTC) [10] d d th t th t t
results. By design, this method is hard to address curve or rotated text. To deal
with it, Aster proposes the method of spatial transformer networks (STN) [17]
with the 1-D attention decoder. Without spatial transformation [43,22], propose
methods to handle irregular text recognition by 2-D CTC decoder or 2-D attention decoder. Furthermore, segmentation-based methods [23] can also be used to
read text, which should be supervised by character-level annotations. SEED [34]
uses semantic information which is supervised by a pre-trained language model
to guide the attention decoder.
2.2 Transformer-Based Methods
The transformer, first applied to the field of machine translation and natural
language processing, is a type of neural network mainly based on the selfattention mechanism. Inspired by NLP success, ViT applies a pure transformer to
tackle the image classification tasks and attains comparable results. Then, Dataefficient Image Transformers (DeiT) [40] achieves competitive accuracy with no
external data. Unlike ViT and DeiT, the detection transformer (DETR) [5] uses
both the encoder and decoder parts of the transformer. DETR is a new framework of end-to-end detectors, which attains comparable accuracy and inference
speed with Faster R-CNN [35].
We summarize four ways to use a transformer in STR. (a) Master [27] uses the
decoder of the transformer to predict output sequence. It owns a better training
efficiency. In the training stage, a transformer decoder can predict out all-time
steps simultaneously by constructing a triangular mask matrix. (b) a transformer can be used to translate from one language to another. So SATRN [21]
and NRTR [37] adopt the encoder-decoder of the transformer to address the
cross-modality between the image input and text output. The image input represents features extracted by shallow CNN. In addition, SATRN proposes two
new changes in the transformer encoder. It uses an adaptive 2D position encoding and adds convolution in feedforward layer. (c) SRN [47] not only adopts the
transformer encoder to model context but also uses it to reason semantic. (d)
the transformer encoder works as a feature extractor including context modeling. Our work uses this method of using the transformer encoder. It is different
from recent methods.
3 Methodology
This section describes our three-stage text recognition model, TRIG, in full detail. As shown in Figure 2, our approach TRIG consists of three stages: Transformation (TRA), Transformer feature extractor (TFE), and attention decoder
(AD). TRA rectifies the input text by a thin-plate spline (TPS) [4]. TFE provides robust visual features. AD decodes the feature map to characters. First,
we describe the stage of TRA. Second, we show the details of the stage of TFE.
Then, the AD stage is presented. After that, we introduce the loss function.
Fi ll l th ffi i f th d ith diff t t h i
Fig. 2. The overview of three-stage text recognizer, TRIG. The first stage is transformation (TRA), which is used to rectify text images. The second stage is a Transformer
Feature Extractor (TFE), aiming to extract effective and robust features and implicitly
model context. The third stage is an attention decoder (AD), which is used to decode
the sequence of features into characters.
3.1 Transformation
Transformation is a stage to rectify the input text images by rectification module.
This module uses a shallow CNN to predict several control points, and then
TPS transformation is applied to diverse aspect ratios of text lines. In this way,
the perspective and curve text can be rectified. Note, the picture becomes the
size of 32 _×_ 100 here.
3.2 Transformer Feature Extractor
The TFE is illustrated in Figure 3. In this stage, the transformer encoder is
used to extract effective and robust features. First, the rectified image is split
into patches. Unlike the square size of patches in [9,40,3,52,41], the rectified
image is split into rectangle patches, whose size is _h_ _×_ _w_ ( _h_ is same as the
height of the rectified image). Then the rectified image _X_ _∈_ R <sup>_H×W ×C_</sup>, where
_H, W, C_ is the height, width, and channel of the rectified image, can be mapped
to a sequence _Xs_ _∈_ R <sup>(</sup> <sup>_H×W ÷_</sup> <sup>(</sup> <sup>_h×w_</sup> <sup>))</sup> <sup>_×_</sup> <sup>(3</sup> <sup>_×h×w_</sup> <sup>)</sup> . Then, a trainable linear projection
_WE_ _∈_ R <sup>(3</sup> <sup>_×h×w_</sup> <sup>)</sup> <sup>_×D_</sup> (embedding matrix) is used to obtain the patch embeddings _E_ _∈_ R <sup>(</sup> <sup>_H×W ÷_</sup> <sup>(</sup> <sup>_h×w_</sup> <sup>))</sup> <sup>_×D_</sup>, where D is the dimension of patch embeddings.
The transcription procedure is given by:
_E_ = _XsWE_ (1)
Initial embedding _Einit_ is a trainable vector, appended to the sequence of
patch embeddings, which goes through transformer encoder blocks, and is then
used to guide the attention decoder. Similar to the role of class token in ViT,
we introduce a trainable vector _Einit_ called Initial embedding. In order to encode the position information of each patch embeddings, we use the standard
learnable position embeddings. The position embedding can be parameterized
by a learnable positional embedding table. For example, position i has i-th po
iti b ddi i th b ddi t bl Th iti b ddi _E_ h
the same dimension _D_ as patch embeddings. At last, the input feature embeddings _F_ 0 _∈_ R <sup>(</sup> <sup>_H×W ÷_</sup> <sup>(</sup> <sup>_h×w_</sup> <sup>)+1)</sup> <sup>_×D_</sup> is the sum of position embeddings and patch
embeddings:
_F_ 0 = _concat_ ( _Einit, E_ ) + _Epos_ (2)
Transformer encoder blocks are applied to the obtained input feature embeddings _F_ 0. As we all know, the transformer encoder block consists of multi-head
self-attention (MSA) and multi-layer perceptron (MLP). Following the architecture from ViT, layer normalization (LN) is applied before MSA and MLP.
The MLP contains two linear transformations layers with a GELU non-linearity.
The dimension of input and output is the same, and the dimension of the innerlayer is four times the output dimension. The transformer encoder block can be
represented as following equations:
_′_
_Fl_ <sup>=</sup> <sup>_MSA_</sup> <sup>(</sup> <sup>_LN_</sup> <sup>(</sup> <sup>_Fl−_</sup> <sup>1)) +</sup> <sup>_Fl−_</sup> <sup>1</sup> <sup>_,_</sup> _l_ = 1 _,_ 2 _. . . L_ (3)
_′_
_l_ <sup>_,_</sup> _l_ = 1 _,_ 2 _. . . L_ (4)
_Fl_ = _MLP_ ( _LN_ ( _F_
_′_
_l_ <sup>)) +</sup> <sup>_F_</sup>
where _l_ denotes the index of blocks, and _L_ is the index of the last block. The
_′_
dimension of _Fl_ and _Fl_ <sup>is</sup> <sup>_D_</sup> <sup>and</sup> <sup>4</sup> <sup>_D_</sup> <sup>.</sup>
To obtain better performance, we add a Residual add module. The Residual
add module uses skip edge to connect MSA modules in adjacent blocks, following
Realformer [13]. The multi-head process can be unified as:
_MultiHead_ ( _Q, K, V, P_ ) = _Concat_ ( _head_ 1 _, . . . headh_ ) _W_ <sup>_O_</sup> (5)
_headi_ = _Attention_ ( _QWi_ <sup>_Q_</sup>
<sup>_K_</sup> _i_ <sup>_, V W V_</sup> _i_
<sup>_V_</sup> _i_ <sup>_, P_</sup> <sup>)</sup>
_i_ <sup>_Q, KW K_</sup> _i_
= _Softmax_ ( <sup>_<u>QW</u>_</sup> _<u>i</u>_ <sup>_Q_</sup>
_<u>i</u>_ <sup>_Q_</sup> <sup><u>(</u></sup> <sup>_<u>KW K</u>_</sup> _<u>i</u>_
+ _P_ ) _V Wi_ <sup>_V_</sup> <sup>_._</sup> (6)
<sup><u>(</u></sup> <sup>_<u>KW K</u>_</sup> _<u>i</u>_ <sup><u>)</u></sup> <sup>_T_</sup>
_~~√~~_ _dk_
where query matrix _Q_, key matrix _K_ and value matrix _V_ are linearly pro
jected by _Wi_ <sup>_Q_</sup>
<sup>_K_</sup> _i_ <sup>,</sup> <sup>_W V_</sup> _i_
_i_ <sup>_Q_</sup> <sup>,</sup> <sup>_W K_</sup> _i_
_<u>i</u>_ <sup><u>(</u></sup>
<sup>_V_</sup> _i_ <sup>.</sup> <sup>_P_</sup> <sup>is</sup> <sup>the</sup> <sup>previous</sup> <sup>attention</sup> <sup>score</sup> <sup>_<u>QW Q</u>_</sup>
<sup>_Q_</sup> _<u>i</u>_ <sup><u>(</u></sup> <sup>_<u>KW K</u>_</sup> _<u>i</u>_
<sup><u>(</u></sup> <sup>_<u>KW K</u>_</sup> _<u>i</u>_ <sup><u>)</u></sup> <sup>_T_</sup>
_~~√~~_ _dk_ + _P_
_′_
in the previous block.
After transformer feature extraction, the feature map _FL_ = [ _finit, f_ 1 _, f_ 2 _, . . . fN_ ]
can be obtained. Please note that _f_ means feature embedding. _N_ denotes the
index of feature embeddings without _finit_ .
3.3 Attention Decoder
The architecture is illustrated in Figure 3. We use an attention decoder to decode
the sequence of the feature map. _finit_ is used to initialize the RNN decoder and
[ _f_ 1 _, f_ 2 _, . . ., fN_ ] is used as the input of the decoder. First, we obtain an attention
map from the feature map and the internal state from RNN:
_et,i_ = _w_ <sup>_T_</sup> _tanh_ ( _Wdst−_ 1 + _Vdfi_ + _b_ ) (7)
_αt,i_ = <u>�</u> <sup>_<u>exp</u>_</sup> _<u>n′</u>_ <sup><u>(</u></sup> <sup>_<u>e</u>_</sup> _e_ <sup>_<u>t,i</u>_</sup> <sup><u>)</u></sup> _′_ (8)
Initial
Embedding
MLP
Feature
Embedding
GRU GRU GRU GRU GRU
ATT
ATT
AD
Add
Add
TFE
Layer Normalization
Multi-Head
Self-Attention
Layer Normalization
Transformer
Encoder
Block
Transformer Encoder Block
Transformer Encoder Block
Patch Embedding + Position Embedding
Fig. 3. The detailed architectures of the TFE and AD module. TFE consists of Patch
Embedding, Position Embedding, Transformer Encoder Blocks, and Residual add module. The skip edge in the Residual add module connects Multi-Head Self-Attention
modules in adjacent Transformer Encoder Blocks. Here, _⊗_ denotes matrix multiplication, _⊕_ denotes broadcast element-wise addition.
where _b, w, Wd, Vd_ are trainable parameters, _st−_ 1 is the hidden state of the recurrent cell within the decoder at time _t_ . Specifically, _s_ 0 is equivalent to _f_ init.
Then, we use attention map to element-wise product the feature map [ _f_ 1 _, f_ 2 _, . . ., fN_ ],
and combine all of them to obtain a vector _gt_ which called a glimpse:
_gt_ =
_n_
_i_ =1
_αt,ifi_ (9)
Next, RNN is used to produce an output vector and a new state vector.
The recurrent cell of the decoder is fed with:
( _xt, st_ ) = _RNN_ ( _st−_ 1 _,_ [ _gt, f_ ( _yt−_ 1)]) _,_ (10)
where [ _gt, f_ ( _yt−_ 1)] denotes the concatenation between _gt_ and the one-hot embedding of _yt−_ 1.
Here, we use GRU [7] as our recurrent unit. At last, the probability for a
given character can be expressed as:
_p_ ( _yt_ ) = _softmax_ ( _W_ 0 _xt_ + _b_ ) (11)
3.4 Training Loss
Here, we use the standard cross-entropy loss, which can be defined as:
_LCE_ = _−_
_T_
�( _logp_ ( _yt|I_ )) _,_ (12)
_t_ =1
where _y_ 1 _, y_ 2 _, . . ., yT_ is the groundtruth text represented by a character sequence.
3.5 Efficiency Analysis
For the TFE, we assume that the hidden dimension of the TFE is _D_ and that
the input sequence length is _T_ . The complexity of self-attention and MLP is
_O_ ( _T_ <sup>2</sup> _× D_ ) and _O_ ( _T_ _× D_ <sup>2</sup> ). Comparing the 1-D split (rectangle patch with the
size of 32 _×_ 4) with the 2-D split (square patch with the size of 4 _×_ 4), the sequence
lengths are, respectively, 26 and 201, when the input image is 32 _×_ 100. As 201 <sup>2</sup> _≫_
26 <sup>2</sup> and 201 _>_ 26, the complexity and MACs of the 2-D split are far more than
the 1-D split. The MACs of TFE are, respectively, 1.641G and 12.651G, when
using 1-D split and 2-D split.
For the decoder, the complexity gap between 1 and D split and 2-D split
comes from the process of obtaining an attention map and glimpse. We assume
that the sequence length is _T_ . The complexities are both _O_ ( _T_ ). Therefore, the
shorter sequence has lower complexity. The MACs of AD using the 1-D split is
0.925G when it is 5.521G using the 2-D split.
Based on the above analysis, we propose to use a 1-D split to increase efficiency.
4 Experiments
In this section, we demonstrate the effectiveness of our proposed method. First,
we give a brief introduction to the datasets and the implementation details.
Then, our method is compared with state-of-the-art methods on several public
benchmark datasets. Next, we make some discussions on our method. Finally,
we perform ablation studies to analyze the performance of different settings.
4.1 Dataset
In this paper, models are only trained on two public synthetic datasets MJSynth
(MJ) [16] and SynText (ST) [11] without any additional synthetic dataset, real
dataset or data augmentation. There are 7 scene text benchmarks chosen to
evaluate our models.
MJ contains 9 million word box images, which is generated from a lexicon of
90K English words.
ST is a synthetic text dataset generate by an engine proposed in [11]. We
bt i 7 illi t t li f thi d t t f t i i
IIIT5K (IIIT) [30] contains scene texts and born-digital images, which are
collected from the website. It consists of 3000 images for evaluation.
Street View Text (SVT) [44] is collected from the Google Street View. It
contains 647 images for evaluation, some of which are severely corrupted by
noise and blur or have low resolution.
ICDAR 2003 (IC03) [28] have two different versions of the dataset for evaluation: versions with 860 or 867 images. We use 867 images for evaluation.
ICDAR 2013 (IC13) [19] contains 1015 images for evaluation.
ICDAR 2015 (IC15) [18] contains 2077 images, captured by Google Glasses,
some of which are noisy, blurry, and rotated or have low resolution. Researchers
have used two different versions for evaluation: 1811 and 2077 images. We use
both of them.
SVT-Perspective (SVTP) [33] contains 645 cropped images for evaluation.
Many of the images contain perspective projections due to the prevalence of
non-frontal viewpoints.
CUTE80 (CUTE) [36] contains 288 cropped images for evaluation. Many of
these are curved text images.
4.2 Implementation Details
The proposed TRIG is implemented in the PyTorch framework and trained on
two RTX2080Ti GPUs with 11GB memory. As for the training details, we do not
perform any type of pre-training. The decoder recognizes 97 character classes,
including digits, upper-case and lower-case letters, 32 ASCII punctuation marks,
end-of-sequence (eos) symbol, padding symbol, and unknown symbol. We adopt
the AdaDelta optimizer and the decayed learning rate. Our model is trained
on ST and MJ for 24 epochs with a batch size of 640, the learning rate is set
to 1.0 initially and decayed to 0.1 and 0.01 at the 19th and the 23rd epoch.
The batch is sampled 50% from ST and 50% from MJ. All images are resized to
64 _×_ 256 during both training and testing. We use the IIIT dataset to select our
best model.
At inference, we resize the images to the same size as for training. Furthermore, we use beam search by maintaining five candidates with the top accumulative scores at every step to decode.
4.3 Comparison with State-of-the-Art
We compare our methods with previous state-of-the-art methods on several
benchmarks. The results are shown in Table 1. Even compared to reported results using additional real or private data and data augmentation, we achieve
satisfying performance. Compared with other methods trained only by MJ and
ST, our method achieves the best results on four datasets including SVT, IC13,
IC15, and SVTP. TRIG provides an accuracy of +1.5 percentage point (pp,
93.8% vs. 92.3%) on SVT, +0.2 pp (95.2% vs. 95.0%) on IC13, +1.6 pp (81.1%
79 5%) IC15 d 1 6 (88 1% 86 5%) SVTP
Table 1. Comparison with SOTA methods. SA, R indicates using SynthAdd dataset
or real datasets apart from MJ and ST. ’A’ means using data augmentation when training. For a fair comparison, reported results using additional data or data augmentation
are not taken into account. Top accuracy for each benchmark is shown in bold . The
average accuracy is calculated on seven datasets and IC15 using the version which
contains 2077 images.
Method Training data IIIT SVT IC03 IC13 IC15 IC15 SVTP CUTE Average
<u>3000</u> <u>647</u> <u>867</u> <u>1015</u> <u>1811</u> <u>2077</u> <u>645</u> <u>288</u>
CRNN [38] MJ 78.2 80.8 - 86.7 - - - - FAN [6] MJ+ST 87.4 85.9 94.2 93.3 - 70.6 - - ASTER [39] MJ+ST 93.4 89.5 94.5 91.8 76.1 - 78.5 79.5 SAR [22] MJ+ST 91.5 84.5 - 91.0 - 69.2 76.4 83.3 ESIR [49] MJ+ST 93.3 90.2 - 91.3 76.9 - 79.6 83.3 MORAN [29] MJ+ST 91.2 88.3 95.0 92.4 - 68.8 76.1 77.4 84.5
SATRN [21] MJ+ST 92.8 91.3 96.7 94.1 - 79 86.5 87.8 89.2
DAN [46] MJ+ST 94.3 89.2 95.0 93.9 - 74.5 80.0 84.4 87.7
RobustScanner [48] MJ+ST 95.3 88.1 - 94.8 - 77.1 79.2 90.3 PlugNet [32] MJ+ST 94.4 92.3 95.7 95.0 82.2 - 84.3 85.0 AutoSTR [51] MJ+ST 94.7 90.9 93.3 94.2 81.8 - 81.7 - <u>GA-SPIN</u> <u>[50]</u> <u>MJ+ST</u> <u>95.2</u> <u>90.9</u> <u>-</u> <u>94.8</u> <u>82.8</u> <u>79.5</u> <u>83.2</u> <u>87.5</u> <u>-</u>
MASTER [27] MJ+ST+R 95 90.6 96.4 95.3 - 79.4 84.5 87.5 90.0
GTC [15] MJ+ST+SA 95.5 92.9 - 94.3 82.5 - 86.2 92.3 SCATTER [25] MJ+ST+SA+A 93.9 90.1 96.6 94.7 - 82.8 87 87.5 90.5
RobustScanner [48] MJ+ST+R 95.4 89.3 - 94.1 - 79.2 82.9 92.4 <u>SRN</u> <u>[47]</u> <u>MJ+ST+A</u> <u>94.8</u> <u>91.5</u> <u>-</u> <u>95.5</u> <u>82.7</u> <u>-</u> <u>85.1</u> <u>87.8</u> <u>-</u>
<u>TRIG</u> <u>MJ+ST</u> <u>95.1</u> <u>93.8</u> <u>95.3</u> <u>95.2</u> <u>84.8</u> <u>81.1</u> <u>88.1</u> <u>85.1</u> <u>90.8</u>
Discussion on Training Procedures Our method TRIG needs long training
epochs. We train TRIG and ASTER with the same learning rate and optimizer
for 24 epochs. The whole training procedure takes a week. The learning rate,
which is 1.0, drops by a factor of 10 after 19 and 23 epochs. As shown in Figure 4,
the accuracy of TRIG on IIIT is lower than ASTER in the preceding epoch and
better than ASTER after 14 epochs. At last, the accuracy of TRIG on IIIT and
its average accuracy on all datasets is 0.8pp and 2pp higher than ASTER. We
can conclude that the transformer feature extractor needs longer epochs to train
to improve the accuracy. Because the transformer does not have properties such
as CNN (i.e., shift, scale, and distortion invariance).
Discussion on Long-Range Dependencies The decoder of the transformer
uses triangle masks to promise that the prediction of one-time step _t_ can only
access the output information of its previous steps. Taking inspiration from this,
we use the mask to let the transformer encoder only access the nearby feature
embeddings. By this, the transformer encoder will have a small reception. We
empirically analyze the performance of long-range dependencies by comparing
two kinds of methods with or without masks, demonstrated in Table 2. The detail
of the mask is shown in Figure 5. We observe the decrease of accuracy when using
k tt CTC d d d tt ti d d It i di t th t l
95
94
93
92
91
90
89
88
Aster
TRIG
5 10 15 20 25
epoch
Fig. 4. The accuracy on IIIT between TRIG (Ours) and ASTER during the training process.
dependencies are related to effectiveness and the feature extractor of our method
can capture long-range dependencies.
Table 2. Performance comparison with mask and context modeling module. There
are two kinds of decoder, CTC and attention decoder. All models are trained on two
synthetic datasets. The batch size is 896 and the training step is 300000. The number
of blocks in TFE is 6 and skip attention is not used.
Mask <sup>Context</sup> Decoder <sup>IIIT</sup> <sup>SVT</sup> <sup>IC03</sup> <sup>IC13</sup> <sup>IC15</sup> <sup>SVTP</sup> <sup>CUTE</sup>
<u>modeling</u> <u>3000</u> <u>647</u> <u>867</u> <u>1015</u> <u>2077</u> <u>645</u> <u>288</u>
_×_ ✓ CTC 85.0 80.4 91.7 89.6 65.8 70.5 69.4
✓ _×_ CTC 85.6 80.5 90.9 88.4 63.1 65.6 67.7
_<u>×</u>_ _<u>×</u>_ <u>CTC</u> <u>86.5</u> <u>82.1</u> <u>92.0</u> <u>89.6</u> <u>65.9</u> <u>71.9</u> <u>71.2</u>
_×_ ✓ Attn 87.9 86.7 92.3 90.8 71.9 79.4 72.9
✓ _×_ Attn 86.7 83.5 91.6 89.5 70.7 78.5 67.7
_<u>×</u>_ _<u>×</u>_ <u>Attn</u> <u>89.5</u> <u>88.6</u> <u>93.7</u> <u>92.5</u> <u>74.1</u> <u>79.2</u> <u>76.4</u>
Discussion on Extra Context Modeling Module As the effective module
of context modeling is used in STR networks, we consider whether we need an
extra context modeling module when using the transformer encoder to extract
features. After the transformer feature extractor, a context modeling module
(BiLSTM) is added. As shown in Table 2, the accuracy of almost all data sets is
lower than methods without BiLSTM (except +0.2pp on SVTP); therefore, we
l d th t it i t t dd BiLSTM ft th t f f t
Fig. 5. The detail of the mask used in the transformer encoder. The gray square denotes the mask. The first row means initial embedding which can see all embeddings.
The remaining features can only see other features of the window size.
extractor to the model context, because the transformer feature extractor has an
implicit ability to model context. An extra context modeling module may break
the context modeling that the model has implicitly learned.
Discussion on Patch Size Table 3 shows the average accuracy in seven scene
text benchmarks with different patch sizes when the models are trained with
the same settings. The number of blocks in TFE is 6 and the batch size is
192. The training step of all models is 300,000 and skip attention is not used.
The transformation stage is used for 1-D split because it loses the information
on height dimension. The rest of the methods do not use a transformation stage,
because the feature map is 2-D and a 2-D attention decoder can be used for it to
have a glimpse of the character feature. When using 1-D split, the method with
the patch size of 32 _×_ 4 is better than other patch sizes. Therefore, we set this
patch size as the patch size of TRIG. Furthermore, our method with 1-D split
(patch size of 32 _×_ 4) achieves better average accuracy than 2-D split (patch
size of 16 _×_ 4, 8 _×_ 4, and 4 _×_ 4). Therefore, the design of 1-D split of rectangle
patch with the transformation stage can work better than the other patch size
with the 2-D attention decoder.
Table 3. Performance comparison with different patch size. ’Average’ denotes the
average accuracy of seven standard benchmarks. - indicates that the model did not
converge, possibly because sequence length is too short to decode.
<u>Patch</u> <u>Size</u> <u>Sequence</u> <u>length</u> <u>Average</u>
<u>1-D</u> <u>split</u> <u>32</u> _<u>×</u>_ <u>2</u> <u>1</u> _<u>×</u>_ <u>50</u> <u>80.9</u>
<u>1-D</u> <u>split</u> <u>32</u> _<u>×</u>_ <u>4</u> <u>1</u> _<u>×</u>_ <u>25</u> <u>83.5</u>
<u>1-D</u> <u>split</u> <u>32</u> _<u>×</u>_ <u>5</u> <u>1</u> _<u>×</u>_ <u>20</u> <u>81.0</u>
<u>1-D</u> <u>split</u> <u>32</u> _<u>×</u>_ <u>10</u> <u>1</u> _<u>×</u>_ <u>10</u> <u>81.7</u>
<u>1-D</u> <u>split</u> <u>32</u> _<u>×</u>_ <u>20</u> <u>1</u> _<u>×</u>_ <u>5</u> <u>0</u> _<u>.</u>_ <u>1</u> <sup>_<u>∗</u>_</sup>
<u>2-D</u> <u>split</u> <u>16</u> _<u>×</u>_ <u>4</u> <u>2</u> _<u>×</u>_ <u>25</u> <u>81.9</u>
<u>2-D</u> <u>split</u> <u>8</u> _<u>×</u>_ <u>4</u> <u>4</u> _<u>×</u>_ <u>25</u> <u>73.5</u>
<u>2</u> <u>D</u> <u>split</u> <u>4</u> _<u>×</u>_ <u>4</u> <u>8</u> _<u>×</u>_ <u>25</u> <u>76 7</u>
Discussion on Initial Embedding To illustrate how the learnable initial embedding helps TRIG improve performance, we collect some individual cases from
the benchmark datasets to compare the predictions of TRIG with and without
the learnable initial embedding. As shown in Figure 6, the prediction without
initial embedding guided may lose the first character or mispredict the first character while TRIG with initial embedding predicts the right character. Furthermore, the initial embedding can also bring the benefit to decode all characters,
such as ’starducks’ to ’starbucks’.
Fig. 6. Right cases of TRIG with/without initial embedding guided. The predictions
are placed along the right side of the images. The top string is the prediction of TRIG
without the initial embedding guidance. The bottom string is the prediction of TRIG.
Discussion on Attention Visualization Figure 7 shows the attention map
from each embedding to the input images. We used Attention Rollout [1] following ViT. We averaged the attention weights of TRIG across all heads and
recursively compute the attention matrix. At last, we can get pixel attribution
for embeddings in (b). The first row shows what part of the rectified picture is
responsible for the initial embedding. Furthermore, the rest of the rows represent
the attention map of feature embeddings [ _f_ 1 _, f_ 2 _, . . ., fN_ ]. The initial embedding
is mainly relevant to the first character. For each feature embedding, some of the
features come from adjacent embeddings and others come from distant embeddings. According to Figure 7, we can roughly learn how the transformer feature
extractor extract features and model long-range dependencies.
Discussion on Efficiency To verify the efficiency of our model, we compare
the MACs, parameters, GPU memory, and inference speed of our model using
1-D split (square patch with the size of 4 _×_ 4) and 2-D split (rectangle patch
with the size of 32 _×_ 4) and ASTER. The result is shown in Table 4. The MACs
f TRIG ith 1 D lit d t i i GPU t (th b t h i i 32)
(a) (b)
Fig. 7. The attention visualization of TFE. ( a ) Examples of rectified images. ( b ) The
attention map of initial embedding and each embedding in feature map extracted with
the transformer encoder.
7 times and 3.4 times of the method with 2-D split. Furthermore, the speed of
TRIG is faster than ASTER. The speed performance is tested on GeForce GTX
1080 Ti GPU.
Table 4. Efficiency comparison between ASTER and TRIG. MACS, model parameters,
gpu memory cost, and speed are compared.
Method <sup>MACs</sup>
#param.
<u>M</u>
GPU memory
GPU memory
<u>(inference)</u> <u>m</u>
inference time
<u>G</u> <u>M</u> <u>(train)</u> <u>m</u> <u>(inference)</u> <u>m</u> <u>ms/image</u>
<u>ASTER</u> <u>1.6</u> <u>21.0</u> <u>1509</u> <u>3593</u> <u>19.5</u>
<u>TRIG</u> <u>2.6</u> <u>68.1</u> <u>2579</u> <u>1855</u> <u>16.2</u>
<u>2-D</u> <u>split</u> <u>18.2</u> <u>68.0</u> <u>8717</u> <u>1929</u> <u>37.6</u>
<u>G</u>
<u>(train)</u> <u>m</u>
4.4 Ablation Study
In this section, we perform a series of experiments to evaluate the impact of
blocks, heads, embedding dimension, initial embedding guide, and skip attention on recognition performance. All models are trained from scratch on two
synthetic datasets. The results are reported on seven standard benchmarks and
shown in Tabel 5. We can make the following observations: (1) The TRIG with
12 blocks is better than the model of six blocks. The performance can be imd b t ki t f d bl k H h t f
encoder goes deeper, the stacking blocks cannot increase the performance (the
average accuracy of 24 blocks decreases by 0.2pp). The accuracy may reach the
bottleneck. It is expected that stacking blocks lead to more challenging training
procedures. (2) Initial embedding can bring gains to the model on average accuracy no matter skip attention is applied or not. This shows the effectiveness of
initial embedding guidance. (3) Skip attention is important to accuracy. Regardless of the depth of the feature extractor, the addition of skip attention brings
gains to the performance. (4) When other conditions are guaranteed to be the
same, the average accuracy of 16 heads is better than the condition of 8 heads.
Besides, the average accuracy of 512 dimensions is better than 256 dimensions.
Table 5. Performance comparison with different settings. ’Initial guidance’ indicates
the initial embedding guidance. ’Skip attention’ denotes the skip attention in the TFE.
’Average’ means the average accuracy of seven standard benchmarks. - denotes the
setting of TRIG shown in Table 1.
Blocks Heads <sup>Embedding</sup> Initial Skip Average
<u>dimension</u> <u>guidance</u> <u>attention</u>
6 16 512 _×_ _×_ 89.2
6 16 512 _×_ ✓ 89.8(+0.6)
12 16 256 _×_ _×_ 89.4(+0.2)
12 8 256 _×_ ✓ 90.1(+0.9)
<u>12</u> <u>16</u> <u>256</u> _<u>×</u>_ ✓ <u>90.4(+1.2)</u>
12 16 512 _×_ _×_ 89.5(+0.3)
12 16 512 ✓ _×_ 89.6(+0.4)
12 16 512 _×_ ✓ 90.6(+1.4)
<u>12</u> <u>16</u> <u>512</u> ✓ ✓ <u>90.8</u> <u>(</u> <u>+1.6</u> <u>)*</u>
<u>24</u> <u>16</u> <u>512</u> ✓ ✓ <u>90.6(1.4)</u>
5 Conclusions
In this work, we propose a three-stage transformer-based text recognizer with
initial embedding guidance named TRIG. In contrast to the existing STR network, this method only uses transformer feature extractor to extract robust
features and does not need a context modeling module. A 1-D split is designed
to divide text images. Besides, we propose a learnable initial embedding learned
from transformer encoder to guide the attention decoder. Extensive experiments
demonstrate that our method sets the new state of the art on several benchmarks.
We also demonstrate that the longer training epochs and long-range dependencies are essential to TRIG.
We consider two promising directions for future work. First, a better transf hit t th t i it bl f S t t iti b d
signed to extract more robust features. For example, a transformer can be designed as a pyramid structure such as CNN or some other structure. Second, we
see potential in using a transformer in an end-to-end text spotting system.
References
1. Abnar, S., Zuidema, W.H.: Quantifying attention flow in transformers. In: Jurafsky, D., Chai, J., Schluter, N., Tetreault, J.R. (eds.) Proceedings of the 58th
Annual Meeting of the Association for Computational Linguistics, ACL 2020,
Online, July 5-10, 2020. pp. 4190–4197. Association for Computational Linguistics (2020). [https://doi.org/10.18653/v1/2020.acl-main.385,](https://doi.org/10.18653/v1/2020.acl-main.385) `[https://doi.org/](https://doi.org/10.18653/v1/2020.acl-main.385)`
```
10.18653/v1/2020.acl-main.385
```
2. Baek, J., Kim, G., Lee, J., Park, S., Han, D., Yun, S., Oh, S.J., Lee, H.: What
is wrong with scene text recognition model comparisons? dataset and model analysis. In: 2019 IEEE/CVF International Conference on Computer Vision, ICCV
2019, Seoul, Korea (South), October 27 - November 2, 2019. pp. 4714–4722.
IEEE (2019). [https://doi.org/10.1109/ICCV.2019.00481,](https://doi.org/10.1109/ICCV.2019.00481) `[https://doi.org/10.](https://doi.org/10.1109/ICCV.2019.00481)`
```
1109/ICCV.2019.00481
```
3. Beal, J., Kim, E., Tzeng, E., Park, D.H., Zhai, A., Kislyuk, D.: Toward transformerbased object detection. CoRR abs/2012.09958 (2020), `[https://arxiv.org/ab](https://arxiv.org/abs/2012.09958)`
```
s/2012.09958
```
4. Bookstein, F.L.: Principal warps: Thin-plate splines and the decomposition of
deformations. IEEE Trans. Pattern Anal. Mach. Intell. 11 (6), 567–585 (1989).
[https://doi.org/10.1109/34.24792,](https://doi.org/10.1109/34.24792) `[https://doi.org/10.1109/34.24792](https://doi.org/10.1109/34.24792)`
5. Carion, N., Massa, F., Synnaeve, G., Usunier, N., Kirillov, A., Zagoruyko, S.:
End-to-end object detection with transformers. In: Vedaldi, A., Bischof, H., Brox,
T., Frahm, J. (eds.) Computer Vision - ECCV 2020 - 16th European Conference,
Glasgow, UK, August 23-28, 2020, Proceedings, Part I. Lecture Notes in Computer
Science, vol. 12346, pp. 213–229. Springer (2020). [https://doi.org/10.1007/978-3-](https://doi.org/10.1007/978-3-030-58452-8_13)
[030-58452-8](https://doi.org/10.1007/978-3-030-58452-8_13) ~~1~~ 3, `[https://doi.org/10.1007/978-3-030-58452-8_13](https://doi.org/10.1007/978-3-030-58452-8_13)`
6. Cheng, Z., Bai, F., Xu, Y., Zheng, G., Pu, S., Zhou, S.: Focusing attention: Towards
accurate text recognition in natural images. In: IEEE International Conference
on Computer Vision, ICCV 2017, Venice, Italy, October 22-29, 2017. pp. 5086–
5094. IEEE Computer Society (2017). [https://doi.org/10.1109/ICCV.2017.543,](https://doi.org/10.1109/ICCV.2017.543)
```
https://doi.org/10.1109/ICCV.2017.543
```
7. Cho, K., van Merrienboer, B., G¨ul¸cehre, C¸., Bahdanau, D., Bougares, F., Schwenk,
H., Bengio, Y.: Learning phrase representations using RNN encoder-decoder for
statistical machine translation. In: Moschitti, A., Pang, B., Daelemans, W. (eds.)
Proceedings of the 2014 Conference on Empirical Methods in Natural Language
Processing, EMNLP 2014, October 25-29, 2014, Doha, Qatar, A meeting of
SIGDAT, a Special Interest Group of the ACL. pp. 1724–1734. ACL (2014).
[https://doi.org/10.3115/v1/d14-1179,](https://doi.org/10.3115/v1/d14-1179) `[https://doi.org/10.3115/v1/d14-1179](https://doi.org/10.3115/v1/d14-1179)`
8. Coates, A., Carpenter, B., Case, C., Satheesh, S., Suresh, B., Wang, T., Wu, D.J.,
Ng, A.Y.: Text detection and character recognition in scene images with unsupervised feature learning. In: 2011 International Conference on Document Analysis
and Recognition, ICDAR 2011, Beijing, China, September 18-21, 2011. pp. 440–
445. IEEE Computer Society (2011). [https://doi.org/10.1109/ICDAR.2011.95,](https://doi.org/10.1109/ICDAR.2011.95)
9. Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner,
T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit, J., Houlsby,
N.: An image is worth 16x16 words: Transformers for image recognition at scale.
In: 9th International Conference on Learning Representations, ICLR 2021, Virtual
Event, Austria, May 3-7, 2021. OpenReview.net (2021), `[https://openreview.n](https://openreview.net/forum?id=YicbFdNTTy)`
```
et/forum?id=YicbFdNTTy
```
10. Graves, A., Fern´andez, S., Gomez, F.J., Schmidhuber, J.: Connectionist temporal classification: labelling unsegmented sequence data with recurrent neural networks. In: Cohen, W.W., Moore, A.W. (eds.) Machine Learning, Proceedings of
the Twenty-Third International Conference (ICML 2006), Pittsburgh, Pennsylvania, USA, June 25-29, 2006. ACM International Conference Proceeding Series,
vol. 148, pp. 369–376. ACM (2006). [https://doi.org/10.1145/1143844.1143891,](https://doi.org/10.1145/1143844.1143891)
```
https://doi.org/10.1145/1143844.1143891
```
11. Gupta, A., Vedaldi, A., Zisserman, A.: Synthetic data for text localisation in
natural images. In: 2016 IEEE Conference on Computer Vision and Pattern
Recognition, CVPR 2016, Las Vegas, NV, USA, June 27-30, 2016. pp. 2315–
2324. IEEE Computer Society (2016). [https://doi.org/10.1109/CVPR.2016.254,](https://doi.org/10.1109/CVPR.2016.254)
```
https://doi.org/10.1109/CVPR.2016.254
```
12. He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition.
In: 2016 IEEE Conference on Computer Vision and Pattern Recognition, CVPR
2016, Las Vegas, NV, USA, June 27-30, 2016. pp. 770–778. IEEE Computer Society (2016). [https://doi.org/10.1109/CVPR.2016.90,](https://doi.org/10.1109/CVPR.2016.90) `[https://doi.org/10.1109/](https://doi.org/10.1109/CVPR.2016.90)`
```
CVPR.2016.90
```
13. He, R., Ravula, A., Kanagal, B., Ainslie, J.: Realformer: Transformer likes residual
attention. In: Zong, C., Xia, F., Li, W., Navigli, R. (eds.) Findings of the Association for Computational Linguistics: ACL/IJCNLP 2021, Online Event, August
1-6, 2021. Findings of ACL, vol. ACL/IJCNLP 2021, pp. 929–943. Association
for Computational Linguistics (2021). [https://doi.org/10.18653/v1/2021.findings-](https://doi.org/10.18653/v1/2021.findings-acl.81)
[acl.81,](https://doi.org/10.18653/v1/2021.findings-acl.81) `[https://doi.org/10.18653/v1/2021.findings-acl.81](https://doi.org/10.18653/v1/2021.findings-acl.81)`
14. Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9 (8),
1735–1780 (1997). [https://doi.org/10.1162/neco.1997.9.8.1735,](https://doi.org/10.1162/neco.1997.9.8.1735) `[https://doi.or](https://doi.org/10.1162/neco.1997.9.8.1735)`
```
g/10.1162/neco.1997.9.8.1735
```
15. Hu, W., Cai, X., Hou, J., Yi, S., Lin, Z.: GTC: guided training of CTC towards efficient and accurate scene text recognition. In: The Thirty-Fourth AAAI
Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative
Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI
Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New
York, NY, USA, February 7-12, 2020. pp. 11005–11012. AAAI Press (2020),
```
https://aaai.org/ojs/index.php/AAAI/article/view/6735
```
16. Jaderberg, M., Simonyan, K., Vedaldi, A., Zisserman, A.: Synthetic data and artificial neural networks for natural scene text recognition. CoRR abs/1406.2227
(2014), `[http://arxiv.org/abs/1406.2227](http://arxiv.org/abs/1406.2227)`
17. Jaderberg, M., Simonyan, K., Zisserman, A., Kavukcuoglu, K.: Spatial transformer
networks. In: Cortes, C., Lawrence, N.D., Lee, D.D., Sugiyama, M., Garnett, R.
(eds.) Advances in Neural Information Processing Systems 28: Annual Conference
on Neural Information Processing Systems 2015, December 7-12, 2015, Montreal,
Quebec, Canada. pp. 2017–2025 (2015), `[https://proceedings.neurips.cc/pap](https://proceedings.neurips.cc/paper/2015/hash/33ceb07bf4eeb3da587e268d663aba1a-Abstract.html)`
```
er/2015/hash/33ceb07bf4eeb3da587e268d663aba1a-Abstract.html
```
18. Karatzas, D., Gomez-Bigorda, L., Nicolaou, A., Ghosh, S.K., Bagdanov, A.D.,
I M M J N L Ch d kh V R L S Sh f i F
Uchida, S., Valveny, E.: ICDAR 2015 competition on robust reading. In: 13th
International Conference on Document Analysis and Recognition, ICDAR 2015,
Nancy, France, August 23-26, 2015. pp. 1156–1160. IEEE Computer Society (2015).
[https://doi.org/10.1109/ICDAR.2015.7333942,](https://doi.org/10.1109/ICDAR.2015.7333942) `[https://doi.org/10.1109/ICDA](https://doi.org/10.1109/ICDAR.2015.7333942)`
```
R.2015.7333942
```
19. Karatzas, D., Shafait, F., Uchida, S., Iwamura, M., i Bigorda, L.G., Mestre, S.R.,
Mas, J., Mota, D.F., Almaz´an, J., de las Heras, L.: ICDAR 2013 robust reading competition. In: 12th International Conference on Document Analysis and
Recognition, ICDAR 2013, Washington, DC, USA, August 25-28, 2013. pp. 1484–
1493. IEEE Computer Society (2013). [https://doi.org/10.1109/ICDAR.2013.221,](https://doi.org/10.1109/ICDAR.2013.221)
```
https://doi.org/10.1109/ICDAR.2013.221
```
20. Lee, C., Bhardwaj, A., Di, W., Jagadeesh, V., Piramuthu, R.: Region-based
discriminative feature pooling for scene text recognition. In: 2014 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2014, Columbus, OH, USA, June 23-28, 2014. pp. 4050–4057. IEEE Computer Society
(2014). [https://doi.org/10.1109/CVPR.2014.516,](https://doi.org/10.1109/CVPR.2014.516) `[https://doi.org/10.1109/CV](https://doi.org/10.1109/CVPR.2014.516)`
```
PR.2014.516
```
21. Lee, J., Park, S., Baek, J., Oh, S.J., Kim, S., Lee, H.: On recognizing texts
of arbitrary shapes with 2d self-attention. In: 2020 IEEE/CVF Conference on
Computer Vision and Pattern Recognition, CVPR Workshops 2020, Seattle, WA,
USA, June 14-19, 2020. pp. 2326–2335. Computer Vision Foundation / IEEE
(2020). [https://doi.org/10.1109/CVPRW50498.2020.00281,](https://doi.org/10.1109/CVPRW50498.2020.00281) `[https://openacce](https://openaccess.thecvf.com/content_CVPRW_2020/html/w34/Lee_On_Recognizing_Texts_of_Arbitrary_Shapes_With_2D_Self-Attention_CVPRW_2020_paper.html)`
```
ss.thecvf.com/content_CVPRW_2020/html/w34/Lee_On_Recognizing_Texts_o
f_Arbitrary_Shapes_With_2D_Self-Attention_CVPRW_2020_paper.html
```
22. Li, H., Wang, P., Shen, C., Zhang, G.: Show, attend and read: A simple and
strong baseline for irregular text recognition. In: The Thirty-Third AAAI Conference on Artificial Intelligence, AAAI 2019, The Thirty-First Innovative Applications of Artificial Intelligence Conference, IAAI 2019, The Ninth AAAI Symposium on Educational Advances in Artificial Intelligence, EAAI 2019, Honolulu, Hawaii, USA, January 27 - February 1, 2019. pp. 8610–8617. AAAI
Press (2019). [https://doi.org/10.1609/aaai.v33i01.33018610,](https://doi.org/10.1609/aaai.v33i01.33018610) `[https://doi.org/](https://doi.org/10.1609/aaai.v33i01.33018610)`
```
10.1609/aaai.v33i01.33018610
```
23. Liao, M., Lyu, P., He, M., Yao, C., Wu, W., Bai, X.: Mask textspotter: An end-to-end trainable neural network for spotting text with arbitrary shapes. IEEE Trans. Pattern Anal. Mach. Intell. 43 (2), 532–548 (2021).
[https://doi.org/10.1109/TPAMI.2019.2937086,](https://doi.org/10.1109/TPAMI.2019.2937086) `[https://doi.org/10.1109/TPAM](https://doi.org/10.1109/TPAMI.2019.2937086)`
```
I.2019.2937086
```
24. Lin, T., Doll´ar, P., Girshick, R.B., He, K., Hariharan, B., Belongie, S.J.:
Feature pyramid networks for object detection. In: 2017 IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2017, Honolulu, HI, USA, July 21-26, 2017. pp. 936–944. IEEE Computer Society
(2017). [https://doi.org/10.1109/CVPR.2017.106,](https://doi.org/10.1109/CVPR.2017.106) `[https://doi.org/10.1109/CV](https://doi.org/10.1109/CVPR.2017.106)`
```
PR.2017.106
```
25. Litman, R., Anschel, O., Tsiper, S., Litman, R., Mazor, S., Manmatha, R.: SCATTER: selective context attentional scene text recognizer. In: 2020 IEEE/CVF
Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle,
WA, USA, June 13-19, 2020. pp. 11959–11969. Computer Vision Foundation / IEEE (2020). [https://doi.org/10.1109/CVPR42600.2020.01198,](https://doi.org/10.1109/CVPR42600.2020.01198) `[https:](https://openaccess.thecvf.com/content_CVPR_2020/html/Litman_SCATTER_Selective_Context_Attentional_Scene_Text_Recognizer_CVPR_2020_paper.html)`
```
//openaccess.thecvf.com/content_CVPR_2020/html/Litman_SCATTER_Select
```
26. Long, S., He, X., Yao, C.: Scene text detection and recognition: The deep learning
era. Int. J. Comput. Vis. 129 (1), 161–184 (2021). [https://doi.org/10.1007/s11263-](https://doi.org/10.1007/s11263-020-01369-0)
[020-01369-0,](https://doi.org/10.1007/s11263-020-01369-0) `[https://doi.org/10.1007/s11263-020-01369-0](https://doi.org/10.1007/s11263-020-01369-0)`
27. Lu, N., Yu, W., Qi, X., Chen, Y., Gong, P., Xiao, R., Bai, X.: MASTER:
multi-aspect non-local network for scene text recognition. Pattern Recognit. 117,
[107980 (2021). https://doi.org/10.1016/j.patcog.2021.107980,](https://doi.org/10.1016/j.patcog.2021.107980) `[https://doi.org/](https://doi.org/10.1016/j.patcog.2021.107980)`
```
10.1016/j.patcog.2021.107980
```
28. Lucas, S.M., Panaretos, A., Sosa, L., Tang, A., Wong, S., Young, R., Ashida, K.,
Nagai, H., Okamoto, M., Yamamoto, H., Miyao, H., Zhu, J., Ou, W., Wolf, C.,
Jolion, J., Todoran, L., Worring, M., Lin, X.: ICDAR 2003 robust reading competitions: entries, results, and future directions. Int. J. Document Anal. Recognit. 7 (2-3), 105–122 (2005). [https://doi.org/10.1007/s10032-004-0134-3,](https://doi.org/10.1007/s10032-004-0134-3) `[https:](https://doi.org/10.1007/s10032-004-0134-3)`
```
//doi.org/10.1007/s10032-004-0134-3
```
29. Luo, C., Jin, L., Sun, Z.: MORAN: A multi-object rectified attention network for scene text recognition. Pattern Recognit. 90, 109–118 (2019).
[https://doi.org/10.1016/j.patcog.2019.01.020,](https://doi.org/10.1016/j.patcog.2019.01.020) `[https://doi.org/10.1016/j.pa](https://doi.org/10.1016/j.patcog.2019.01.020)`
```
tcog.2019.01.020
```
30. Mishra, A., Alahari, K., Jawahar, C.V.: Scene text recognition using higher order
language priors. In: Bowden, R., Collomosse, J.P., Mikolajczyk, K. (eds.) British
Machine Vision Conference, BMVC 2012, Surrey, UK, September 3-7, 2012. pp.
1–11. BMVA Press (2012). [https://doi.org/10.5244/C.26.127,](https://doi.org/10.5244/C.26.127) `[https://doi.org/](https://doi.org/10.5244/C.26.127)`
```
10.5244/C.26.127
```
31. Mishra, A., Alahari, K., Jawahar, C.V.: Top-down and bottom-up cues for scene
text recognition. In: 2012 IEEE Conference on Computer Vision and Pattern
Recognition, Providence, RI, USA, June 16-21, 2012. pp. 2687–2694. IEEE Computer Society (2012). [https://doi.org/10.1109/CVPR.2012.6247990,](https://doi.org/10.1109/CVPR.2012.6247990) `[https://do](https://doi.org/10.1109/CVPR.2012.6247990)`
```
i.org/10.1109/CVPR.2012.6247990
```
32. Mou, Y., Tan, L., Yang, H., Chen, J., Liu, L., Yan, R., Huang, Y.: Plugnet: Degradation aware scene text recognition supervised by a pluggable super-resolution
unit. In: Vedaldi, A., Bischof, H., Brox, T., Frahm, J. (eds.) Computer Vision - ECCV 2020 - 16th European Conference, Glasgow, UK, August 23-28,
2020, Proceedings, Part XV. Lecture Notes in Computer Science, vol. 12360, pp.
158–174. Springer (2020). [https://doi.org/10.1007/978-3-030-58555-6](https://doi.org/10.1007/978-3-030-58555-6_10) ~~1~~ 0, `[https:](https://doi.org/10.1007/978-3-030-58555-6_10)`
```
//doi.org/10.1007/978-3-030-58555-6_10
```
33. Phan, T.Q., Shivakumara, P., Tian, S., Tan, C.L.: Recognizing text with perspective distortion in natural scenes. In: IEEE International Conference on Computer Vision, ICCV 2013, Sydney, Australia, December 1-8, 2013. pp. 569–576.
IEEE Computer Society (2013). [https://doi.org/10.1109/ICCV.2013.76,](https://doi.org/10.1109/ICCV.2013.76) `[https:](https://doi.org/10.1109/ICCV.2013.76)`
```
//doi.org/10.1109/ICCV.2013.76
```
34. Qiao, Z., Zhou, Y., Yang, D., Zhou, Y., Wang, W.: SEED: semantics enhanced
encoder-decoder framework for scene text recognition. In: 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle, WA,
USA, June 13-19, 2020. pp. 13525–13534. Computer Vision Foundation / IEEE
(2020). [https://doi.org/10.1109/CVPR42600.2020.01354,](https://doi.org/10.1109/CVPR42600.2020.01354) `[https://openaccess](https://openaccess.thecvf.com/content_CVPR_2020/html/Qiao_SEED_Semantics_Enhanced_Encoder-Decoder_Framework_for_Scene_Text_Recognition_CVPR_2020_paper.html)`
```
.thecvf.com/content_CVPR_2020/html/Qiao_SEED_Semantics_Enhanced_Enco
der-Decoder_Framework_for_Scene_Text_Recognition_CVPR_2020_paper.html
```
35. Ren, S., He, K., Girshick, R.B., Sun, J.: Faster R-CNN: towards real-time object
detection with region proposal networks. IEEE Trans. Pattern Anal. Mach. Intell.
39 (6), 1137–1149 (2017). [https://doi.org/10.1109/TPAMI.2016.2577031,](https://doi.org/10.1109/TPAMI.2016.2577031) `[https:](https://doi.org/10.1109/TPAMI.2016.2577031)`
36. Risnumawan, A., Shivakumara, P., Chan, C.S., Tan, C.L.: A robust arbitrary text
detection system for natural scene images. Expert Syst. Appl. 41 (18), 8027–8048
(2014). [https://doi.org/10.1016/j.eswa.2014.07.008,](https://doi.org/10.1016/j.eswa.2014.07.008) `[https://doi.org/10.1016/](https://doi.org/10.1016/j.eswa.2014.07.008)`
```
j.eswa.2014.07.008
```
37. Sheng, F., Chen, Z., Xu, B.: NRTR: A no-recurrence sequence-to-sequence model
for scene text recognition. In: 2019 International Conference on Document Analysis
and Recognition, ICDAR 2019, Sydney, Australia, September 20-25, 2019. pp. 781–
786. IEEE (2019). [https://doi.org/10.1109/ICDAR.2019.00130,](https://doi.org/10.1109/ICDAR.2019.00130) `[https://doi.or](https://doi.org/10.1109/ICDAR.2019.00130)`
```
g/10.1109/ICDAR.2019.00130
```
38. Shi, B., Bai, X., Yao, C.: An end-to-end trainable neural network for
image-based sequence recognition and its application to scene text recognition. IEEE Trans. Pattern Anal. Mach. Intell. 39 (11), 2298–2304 (2017).
[https://doi.org/10.1109/TPAMI.2016.2646371,](https://doi.org/10.1109/TPAMI.2016.2646371) `[https://doi.org/10.1109/TPAM](https://doi.org/10.1109/TPAMI.2016.2646371)`
```
I.2016.2646371
```
39. Shi, B., Yang, M., Wang, X., Lyu, P., Yao, C., Bai, X.: ASTER: an attentional
scene text recognizer with flexible rectification. IEEE Trans. Pattern Anal. Mach.
Intell. 41 (9), 2035–2048 (2019). [https://doi.org/10.1109/TPAMI.2018.2848939,](https://doi.org/10.1109/TPAMI.2018.2848939)
```
https://doi.org/10.1109/TPAMI.2018.2848939
```
40. Touvron, H., Cord, M., Douze, M., Massa, F., Sablayrolles, A., J´egou, H.: Training
data-efficient image transformers & distillation through attention. In: Meila, M.,
Zhang, T. (eds.) Proceedings of the 38th International Conference on Machine
Learning, ICML 2021, 18-24 July 2021, Virtual Event. Proceedings of Machine
Learning Research, vol. 139, pp. 10347–10357. PMLR (2021), `[http://proceedi](http://proceedings.mlr.press/v139/touvron21a.html)`
```
ngs.mlr.press/v139/touvron21a.html
```
41. Valanarasu, J.M.J., Oza, P., Hacihaliloglu, I., Patel, V.M.: Medical transformer:
Gated axial-attention for medical image segmentation. In: de Bruijne, M., Cattin, P.C., Cotin, S., Padoy, N., Speidel, S., Zheng, Y., Essert, C. (eds.) Medical
Image Computing and Computer Assisted Intervention - MICCAI 2021 - 24th
International Conference, Strasbourg, France, September 27 - October 1, 2021,
Proceedings, Part I. Lecture Notes in Computer Science, vol. 12901, pp. 36–46.
Springer (2021). [https://doi.org/10.1007/978-3-030-87193-2](https://doi.org/10.1007/978-3-030-87193-2_4) ~~4~~, `[https://doi.or](https://doi.org/10.1007/978-3-030-87193-2_4)`
```
g/10.1007/978-3-030-87193-2_4
```
42. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A.N., Kaiser,
L., Polosukhin, I.: Attention is all you need. In: Guyon, I., von Luxburg, U., Bengio,
S., Wallach, H.M., Fergus, R., Vishwanathan, S.V.N., Garnett, R. (eds.) Advances
in Neural Information Processing Systems 30: Annual Conference on Neural Information Processing Systems 2017, December 4-9, 2017, Long Beach, CA, USA.
pp. 5998–6008 (2017), `[https://proceedings.neurips.cc/paper/2017/hash/3f](https://proceedings.neurips.cc/paper/2017/hash/3f5ee243547dee91fbd053c1c4a845aa-Abstract.html)`
```
5ee243547dee91fbd053c1c4a845aa-Abstract.html
```
43. Wan, Z., Xie, F., Liu, Y., Bai, X., Yao, C.: 2d-ctc for scene text recognition. CoRR
abs/1907.09705 (2019), `[http://arxiv.org/abs/1907.09705](http://arxiv.org/abs/1907.09705)`
44. Wang, K., Babenko, B., Belongie, S.J.: End-to-end scene text recognition.
In: Metaxas, D.N., Quan, L., Sanfeliu, A., Gool, L.V. (eds.) IEEE International Conference on Computer Vision, ICCV 2011, Barcelona, Spain,
November 6-13, 2011. pp. 1457–1464. IEEE Computer Society (2011).
[https://doi.org/10.1109/ICCV.2011.6126402,](https://doi.org/10.1109/ICCV.2011.6126402) `[https://doi.org/10.1109/IC](https://doi.org/10.1109/ICCV.2011.6126402)`
```
CV.2011.6126402
```
45. Wang, K., Belongie, S.J.: Word spotting in the wild. In: Daniilidis, K., Maragos,
P., Paragios, N. (eds.) Computer Vision - ECCV 2010, 11th European Confer
C Vi i H kli C G S b P
ceedings, Part I. Lecture Notes in Computer Science, vol. 6311, pp. 591–604.
Springer (2010). [https://doi.org/10.1007/978-3-642-15549-9](https://doi.org/10.1007/978-3-642-15549-9_43) ~~4~~ 3, `[https://doi.or](https://doi.org/10.1007/978-3-642-15549-9_43)`
```
g/10.1007/978-3-642-15549-9_43
```
46. Wang, T., Zhu, Y., Jin, L., Luo, C., Chen, X., Wu, Y., Wang, Q., Cai, M.:
Decoupled attention network for text recognition. In: The Thirty-Fourth AAAI
Conference on Artificial Intelligence, AAAI 2020, The Thirty-Second Innovative
Applications of Artificial Intelligence Conference, IAAI 2020, The Tenth AAAI
Symposium on Educational Advances in Artificial Intelligence, EAAI 2020, New
York, NY, USA, February 7-12, 2020. pp. 12216–12224. AAAI Press (2020),
```
https://aaai.org/ojs/index.php/AAAI/article/view/6903
```
47. Yu, D., Li, X., Zhang, C., Liu, T., Han, J., Liu, J., Ding, E.: Towards accurate
scene text recognition with semantic reasoning networks. In: 2020 IEEE/CVF
Conference on Computer Vision and Pattern Recognition, CVPR 2020, Seattle,
WA, USA, June 13-19, 2020. pp. 12110–12119. Computer Vision Foundation /
IEEE (2020). [https://doi.org/10.1109/CVPR42600.2020.01213,](https://doi.org/10.1109/CVPR42600.2020.01213) `[https://openac](https://openaccess.thecvf.com/content_CVPR_2020/html/Yu_Towards_Accurate_Scene_Text_Recognition_With_Semantic_Reasoning_Networks_CVPR_2020_paper.html)`
```
cess.thecvf.com/content_CVPR_2020/html/Yu_Towards_Accurate_Scene_Tex
t_Recognition_With_Semantic_Reasoning_Networks_CVPR_2020_paper.html
```
48. Yue, X., Kuang, Z., Lin, C., Sun, H., Zhang, W.: Robustscanner: Dynamically enhancing positional clues for robust text recognition. In: Vedaldi, A.,
Bischof, H., Brox, T., Frahm, J. (eds.) Computer Vision - ECCV 2020 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings,
Part XIX. Lecture Notes in Computer Science, vol. 12364, pp. 135–151.
Springer (2020). [https://doi.org/10.1007/978-3-030-58529-7](https://doi.org/10.1007/978-3-030-58529-7_9) ~~9~~, `[https://doi.or](https://doi.org/10.1007/978-3-030-58529-7_9)`
```
g/10.1007/978-3-030-58529-7_9
```
49. Zhan, F., Lu, S.: ESIR: end-to-end scene text recognition via iterative image
rectification. In: IEEE Conference on Computer Vision and Pattern Recognition,
CVPR 2019, Long Beach, CA, USA, June 16-20, 2019. pp. 2059–2068. Computer
Vision Foundation / IEEE (2019). [https://doi.org/10.1109/CVPR.2019.00216,](https://doi.org/10.1109/CVPR.2019.00216)
```
http://openaccess.thecvf.com/content_CVPR_2019/html/Zhan_ESIR_End-T
o-End_Scene_Text_Recognition_via_Iterative_Image_Rectification_CVPR
_2019_paper.html
```
50. Zhang, C., Xu, Y., Cheng, Z., Pu, S., Niu, Y., Wu, F., Zou, F.: SPIN: structurepreserving inner offset network for scene text recognition. In: Thirty-Fifth AAAI
Conference on Artificial Intelligence, AAAI 2021, Thirty-Third Conference on Innovative Applications of Artificial Intelligence, IAAI 2021, The Eleventh Symposium on Educational Advances in Artificial Intelligence, EAAI 2021, Virtual Event,
February 2-9, 2021. pp. 3305–3314. AAAI Press (2021), `[https://ojs.aaai.org](https://ojs.aaai.org/index.php/AAAI/article/view/16442)`
```
/index.php/AAAI/article/view/16442
```
51. Zhang, H., Yao, Q., Yang, M., Xu, Y., Bai, X.: Autostr: Efficient backbone search
for scene text recognition. In: Vedaldi, A., Bischof, H., Brox, T., Frahm, J. (eds.)
Computer Vision - ECCV 2020 - 16th European Conference, Glasgow, UK, August 23-28, 2020, Proceedings, Part XXIV. Lecture Notes in Computer Science,
[vol. 12369, pp. 751–767. Springer (2020). https://doi.org/10.1007/978-3-030-58586-](https://doi.org/10.1007/978-3-030-58586-0_44)
0 ~~[4](https://doi.org/10.1007/978-3-030-58586-0_44)~~ 4, `[https://doi.org/10.1007/978-3-030-58586-0_44](https://doi.org/10.1007/978-3-030-58586-0_44)`
52. Zhao, H., Jiang, L., Jia, J., Torr, P.H.S., Koltun, V.: Point transformer. CoRR
abs/2012.09164 (2020), `[https://arxiv.org/abs/2012.09164](https://arxiv.org/abs/2012.09164)`
53. Zhu, Y., Yao, C., Bai, X.: Scene text detection and recognition: recent advances and future trends. Frontiers Comput. Sci. 10 (1), 19–36
(2016). [https://doi.org/10.1007/s11704-015-4488-0,](https://doi.org/10.1007/s11704-015-4488-0) `[https://doi.org/10.1007/](https://doi.org/10.1007/s11704-015-4488-0)`
```
s11704-015-4488-0
```
섹션 본문
섹션 본문이 없습니다.
참고문헌
참고문헌 정보가 없습니다.