What Is Wrong With Scene Text Recognition Model Comparisons? Dataset and Model Analysis
Paper · 2019 · Jeonghun Baek, Geewook Kim, Junyeop Lee et al.
Summary
A system that reads a shop sign can appear to improve even when the only change is which photographs it has to read. Scene text recognition turns a cropped image of a word into a character sequence. The task is difficult when letters curve around a logo, recede into the distance, or blend into a busy background. Baek and colleagues identify a second difficulty in evaluation and benchmarks. Studies used different synthetic training collections and sometimes tested on different images under the same benchmark name. A score could therefore reflect the recognizer, its training material, or the selection of test images.
The authors trace these differences to particular word crops and filtering rules. They find, for instance, 7 word boxes present in one version of the ICDAR2003 test set and absent from another. They also identify scene photographs shared between the ICDAR2003 training set and the ICDAR2013 test set. To compare recognizers directly, they fix the data and organize existing methods around four jobs. The recognizer can straighten the image, extract visual features, add context along the resulting sequence, and predict the word. The authors evaluate all 24 combinations of their chosen components on a common suite, measuring word accuracy, recognition time per image, and trainable parameter count.
The data alone make a substantial difference. In the training-source experiment, the same recognizer reaches 80.0% overall word accuracy with MJSynth, 75.6% with SynthText, and 84.1% with both. Using 20% of each collection together yields 81.3%, above the result from either full collection alone. In the component comparison, the most accurate combination in the five-trial results achieves 84.0% on the pooled benchmark. Reaching that point carries different costs at different stages. Attention-based prediction is the clearest source of added recognition time, while the choice of visual feature extractor has the largest effect on parameter count. The average accuracy gains from the stronger component choices are larger on irregular text.
The common experiment also shows where the available components fall short. Of the 8,539 benchmark images, 644 defeat every tested combination. The authors find highly stylized lettering, vertical text, occlusion, low resolution, special characters, and incorrect labels among the recurring problems. The study makes a practical case for reporting the exact training sources and test subsets alongside a recognition score. It also shows how a controlled comparison can tell a reader which stage buys an accuracy gain and which resource pays for it.
Deep dive: What Is Wrong With Scene Text Recognition Model Comparisons? Dataset and Model Analysis
Baek and colleagues test how training data, benchmark subsets, and recognition stages affect scene text accuracy, speed, and parameter count. · about 37 minutes to read
The problem and its context
Reading a word from a photograph
Optical character recognition, or OCR, converts visible writing into text. The paper distinguishes the conditions of cleaned documents, where traditional OCR had enjoyed success, from those of photographs taken in ordinary surroundings. A photograph can contain writing on an angled storefront, lettering arranged in a ring, or a word whose strokes are interrupted by glare or an obstruction. The appearance also depends on how the photograph was taken. A street image may have motion blur or offer very few pixels for each character. The recognition task in this paper begins with the word crop. The output is the transcription of that crop.
A cropped word still poses a sequence problem. The image supplies pixels arranged across space, while the answer contains an unknown number of characters arranged in reading order. A wide visual region may contain a single letter. A narrower region may contain parts of adjacent letters. A design that reads the image across its width therefore needs some way to turn a sequence of visual observations into a word of the appropriate length. Context can help when an individual observation is ambiguous, and a geometric correction can help when the horizontal arrangement itself breaks down. These are different problems, even though their consequences all appear in the final transcription.
The paper describes the Convolutional-Recurrent Neural Network, or CRNN, as an early combination of convolution and recurrence for this task. A convolutional neural network learns visual features by applying filters across an image. A recurrent neural network processes a sequence while carrying information between positions. CRNN uses convolution to obtain image features and recurrence to give those features sequence context. Connectionist temporal classification, or CTC, then supplies a way to produce a variable-length transcription from a fixed sequence of positions. This design already contains a division of labor that the authors can use to compare later systems.
Subsequent work modified different parts of that design. The authors describe recognizers that straighten a word crop before extracting features, use more elaborate convolutional structures to represent unusual letter shapes, or decode a word with attention. Attention gives a decoder a way to change which image features it emphasizes as it writes each character. The paper also describes Rosetta as omitting the recurrent sequence stage to save computation and parameters. A published recognizer could thus represent a change in input geometry, visual representation, context, decoding, or several of these at once.
How datasets became part of the comparison
Obtaining labeled photographs of words is expensive. A supervised recognizer needs both the image and the correct text, and the paper explains that much of the field trained on synthetic data to obtain enough examples. MJSynth generates word images specifically for recognition. SynthText was originally created for detecting text in wider scenes and can supply recognition examples after the rendered words are cropped. Prior studies used these sources in different combinations. Some also drew on private data or examples with character-level labels. A score from such a study reflects the examples available to the recognizer during learning as well as the design of the recognizer itself.
The two synthetic sources also differ in how they make an example. MJSynth builds up a word image from rendered characters, styling such as borders or shadows, and a background. Its process includes projective distortion, blending with real images, and noise. SynthText renders words into scene images, which can subsequently be cropped into word boxes. These procedures illustrate why the source of synthetic imagery can matter even if every example ultimately has the same form of supervision, an image paired with a word. The sources offer different visual evidence about what text can look like.
The authors organize the real benchmarks by the geometry typical of their images. Regular benchmarks generally show text arranged horizontally, with relatively even spacing. Irregular benchmarks include shapes and viewpoints that make that arrangement less reliable. This is a description of the collections. A regular street photograph can still be blurry enough to make a word hard to read. A sharply captured word can pose a different problem if its letters are curved. In the experiments, the distinction gives the authors a way to see whether component changes benefit the more geometrically challenging collections.
The benchmark name introduced another source of ambiguity. Earlier studies sometimes pruned short words or words containing special characters, and some left out especially distorted images. Those decisions alter the range of images a reader must recognize and the set of answers a benchmark can reward. They also affect the interpretation of an overall score. An omission of short strings and an omission of strongly warped words each change the test, but they remove different kinds of difficulty. Naming the collection without specifying the subset leaves the reader unable to reconstruct the test.
The overlap between ICDAR2003 and ICDAR2013 raises a related issue. A validation split is used to choose a trained checkpoint. If a separate benchmark contains photographs used for that choice, the separation between selection and testing weakens. The relevant unit can be the original scene as well as the individual word crop, since a scene may contribute several labeled word boxes. The paper treats a dataset’s origin, filtering, and use in the experiment as part of the evidence needed to interpret a recognition score.
The method, step by step
The paper combines a data audit with a common recognition pipeline. The audit identifies the training sources and the contents of the test subsets. The pipeline gives each alternative component a defined place to operate. The authors can then hold the data and training procedure fixed while changing the way a recognizer processes a cropped word. They also run a separate experiment that holds the recognizer fixed and changes its training data.
From a cropped word image to a transcription
The steps in order.
Straighten the image when useful
The transformation stage has two options. A recognizer can pass the crop directly to the feature extractor, or it can first use a thin-plate spline, abbreviated TPS, to reshape the text region. The motivation is easiest to see with a word on a slanted sign. The upper and lower edges of the word need not sit at constant heights across the crop. If the first stage maps those edges to the boundaries of a rectangle, the following stage receives a more uniform geometry. The paper draws this mechanism from earlier scene text recognizers and treats it as a form of the spatial transformer. Spatial Transformer Networks
TPS starts by locating fiducial points, which are landmarks used to anchor the warp. A localization network predicts points along the upper and lower edges of the text in the input image. The normalized rectangle has its own pre-defined landmarks along the corresponding edges. A grid generator uses the two sets to work out where each output pixel should obtain its visual information. This mapping runs from locations in the output rectangle back to locations in the input crop. Since a mapped location can lie between input pixels, an image sampler interpolates the input values to fill the normalized image.
In the appendix, the authors use a grayscale input for the localization network. Its convolutional stack includes batch normalization and max pooling, and adaptive average pooling reduces the final spatial representation before the fully connected layers. The last of those layers produces the landmark coordinates. With a fixed count of landmarks, the network supplies a horizontal and a vertical coordinate for each one. The resulting geometry is estimated from the image. The recognizer then uses the estimated geometry in the same forward pass that produces the transcription.
The landmark locations enter the grid calculation as follows.
T = (Δ(C̃)⁻¹ [Cᵀ; 0₃×₂])ᵀ
Here T is the transformation matrix, with shape 2×(F+3), and F is the fixed number of fiducial points. C contains the input landmarks as columns, each holding a horizontal and vertical coordinate. C̃ contains the pre-defined landmarks in the normalized image. The superscript ᵀ means transpose, so Cᵀ places the input landmarks in rows. The semicolon inside the brackets denotes vertical stacking with the zero matrix 0₃×₂. Δ(C̃) is the matrix determined by the pre-defined landmarks, and the superscript ⁻¹ denotes its inverse. The transpose outside the parentheses arranges the fitted coefficients so that multiplying by an output pixel’s coordinate terms returns an input position.
Δ(C̃) = [1_F×1 C̃ᵀ R; 0₁×₁ 0₁×₂ 1₁×F; 0₂×₁ 0₂×₂ C̃]
The bracketed expression is a block matrix. Spaces separate blocks placed side by side, and semicolons separate groups of rows. F again denotes the landmark count. The subscripts give the dimensions of the blocks made of ones or zeros, with × separating their row and column counts. C̃ and its transpose supply the pre-defined coordinate pairs. R is the square block that describes how each pre-defined landmark relates to every other one through their distance. Its entries use the following expression.
Rᵢⱼ = dᵢⱼ² ln dᵢⱼ
Rᵢⱼ is the entry in row i and column j of R. The indices i and j identify pre-defined landmarks, dᵢⱼ is the Euclidean distance between them, the superscript ² squares the distance, and ln is the natural logarithm. The locations used here belong to the normalized frame. As a result, Δ(C̃) depends on the chosen output layout and is constant across crops, while C changes with the image.
The fitted transformation can then be applied throughout the output grid.
pᵢ = T [1, x̃ᵢ, ỹᵢ, rᵢ₁, …, rᵢF]ᵀ
The index i now identifies a pixel in the normalized image. Its coordinates are x̃ᵢ and ỹᵢ. The vector pᵢ contains the corresponding coordinates in the input image. T is the fitted transformation, and the transpose turns the bracketed list into a column. The leading 1 supplies the constant term. The next terms identify the position in the normalized grid. The ellipsis covers the distance-based terms rᵢf for the landmarks through F.
rᵢf = dᵢf² ln dᵢf
Here f identifies a pre-defined landmark, and dᵢf is the Euclidean distance from normalized pixel i to that landmark. The squared distance and natural logarithm use the same distance function as the entries of R. Applying the mapping across the normalized grid gives the sampler the input positions it needs. The distinction between fitting and sampling matters. The landmark coordinates define the warp, while the resulting image still gets its content from the original crop.
Turn the crop into visual features
The next stage receives the original crop or the normalized one and produces a feature map with a convolutional network. Its purpose is to represent visual evidence relevant to letters and digits while reducing the influence of properties such as font, color, or background. A feature column corresponds to a receptive field, the region of the input that can affect its values. Successive columns summarize regions at different horizontal positions. This provides an ordered representation that the later stages can work with, even though the original image was a two-dimensional grid.
V = {vᵢ}ᵢ₌₁,…,I
V is the ordered collection of features. Each vᵢ is the feature at column i, and I is the number of columns. The braces and index range collect all columns from the first to the last. Here a column is a vector of visual features, and the representation preserves the columns’ order for processing as a sequence. The index refers to an image region at this point. The decoder is responsible for deciding what characters the complete sequence supports.
The authors implement VGG, a recurrently applied convolutional network called RCNN, and a residual network called ResNet. Their VGG implementation follows the feature extraction used in CRNN and RARE. It produces 512 channels across 24 columns. A channel is one feature dimension repeated across spatial positions. In the RCNN implementation, gated recurrent convolution repeatedly applies a smaller set of learned convolutional operations. Its output has 512 channels across 26 columns. The gates are part of the visual extractor. The separate choice about sequence context still comes after this stage.
The ResNet implementation follows the backbone used in FAN and has 29 trainable layers. It also produces 512 channels across 26 columns. Residual connections let layers pass an earlier representation forward while learning a change to it, which the paper describes as easing the training of deeper convolutional networks. VGG, RCNN, and ResNet all give the next stage a sequence of visual columns. They differ in how much processing builds each column, how their weights are organized, and, in these implementations, how many columns result. Deep Residual Learning for Image Recognition
Add context along the feature sequence
The feature sequence can go directly to the prediction stage. The other option is to pass it through a bidirectional long short-term memory network, or BiLSTM. An LSTM carries a hidden state along a sequence. Bidirectionality gives each position access to states computed in both reading directions. This can help when a local crop straddles characters, when part of a neighboring word has been included, or when a visually weak character is easier to interpret given the surrounding image features.
H = Seq.(V)
H is the feature sequence passed to the prediction stage, V is the visual feature sequence, and Seq. denotes the chosen sequence operation. In the version with recurrence, the operation is a stack of BiLSTM layers. When recurrence is omitted, the assignment is direct.
H = V
H and V therefore name the same sequence when the optional stage is bypassed. This gives the authors a way to assess the effect of adding explicit contextual processing between the visual extractor and the decoder. A comparison should still account for the decoder choice, since attention and CTC use the incoming sequence in different ways.
The implemented BiLSTM has 2 layers. Each layer computes hidden states in the forward and reverse directions. A fully connected projection combines the directional information into a single representation, and the paper gives 256 as the hidden-state dimension, including the projection. The resulting sequence retains the visual order but can represent information from beyond a single column. It is still an intermediate representation. The next stage assigns characters and determines the final word length.
Produce a word with CTC or attention
The decoder receives the sequence H and produces an output sequence Y of characters. The paper’s main setup starts from 36 alphanumeric characters. CTC adds a blank symbol, while the attention decoder adds an end-of-sentence symbol to mark the end of its prediction. The appendix gives a label-set size of 37 for each of these descriptions. The extra symbols serve different purposes. A CTC blank belongs to an intermediate alignment and is removed in the final word. The attention decoder uses its end symbol to stop generating characters.
CTC assigns probabilities to labels at every position in the input sequence. A path is one choice of label at each position, including positions where the label is blank. The decoder can therefore represent a single printed character across several neighboring positions. Multiple paths may yield the same word after the collapse rule is applied. This matters during training, when the annotation supplies the word without specifying which feature columns correspond to each letter.
p(π | H) = ∏ₜ₌₁ᵀ yₜ(πₜ)
In this expression, p is a conditional probability, and the vertical bar means that the probability is evaluated given H, the input feature sequence. π is a full path through the column labels. The index t denotes a position and T is the sequence length in this expression. The symbol ∏ multiplies the per-position terms from the first position through T. The quantity yₜ(πₜ) is the probability assigned at position t to the path label πₜ. The reuse of T is local to the decoder. In the spline equations it denoted a matrix.
p(Y | H) = ∑[π : M(π) = Y] p(π | H)
Y is the candidate output word, and M is the operation that turns a path into a word by collapsing consecutive repeats and removing blanks. The colon restricts the sum to paths π for which the collapsed result equals Y. The repeated-character rule works on runs in the path. A blank can separate occurrences of the same letter so that both survive as letters in the predicted word. The summation sign adds the probabilities of all eligible paths, giving the probability of the word conditional on H.
Y* ≈ M(arg max_π p(π | H))
Y* is the predicted word. The expression arg max selects the path π with the largest conditional probability given H. The paper’s testing procedure gets this path by taking the highest-probability label at each position, then applies M. The approximation symbol distinguishes collapsing the best path from searching for the word with the greatest total probability across all its paths. A word can receive support from several individually less probable paths, which is why those objectives can differ.
The attention decoder takes a different route through H. It builds the output character by character. At each step it can emphasize a different set of visual columns. Its state also depends on earlier outputs, which lets it learn dependencies among characters. This is the paper’s sense in which the decoder can learn a character-level language pattern. The attention mechanism is related to a method the paper cites from machine translation, where a decoder similarly needs to locate relevant input evidence while producing an output sequence. Neural Machine Translation by Jointly Learning to Align and Translate
yₜ = softmax(Wₒ sₜ + bₒ)
Here t identifies an output step. The vector yₜ gives the decoder’s probabilities for the possible output labels at that step. The function softmax turns the scores into a normalized probability distribution. The vector sₜ is the decoder’s hidden state. Wₒ is a learned output weight matrix and bₒ a learned bias. Their subscript o identifies the output layer. In the decoder equations, a step counts positions in the generated sequence, while visual columns have their own index.
sₜ = LSTM(yₜ₋₁, cₜ, sₜ₋₁)
LSTM denotes the recurrent update. It uses the previous output yₜ₋₁, the current context vector cₜ, and the preceding hidden state sₜ₋₁ to produce the current hidden state sₜ. The subscript t−1 indicates the previous output step. The authors implement a single attention decoder layer and set its hidden-state dimension to 256. The context can change at each output step, giving the decoder a fresh image-weighted input as it reads onward.
cₜ = ∑ᵢ₌₁ᴵ αₜᵢ hᵢ
The context vector cₜ is a weighted sum of the visual sequence H at output step t. The index i runs over its positions, I gives the total number of positions, and hᵢ is the feature at position i. The coefficient αₜᵢ is the attention weight that this output step places on that feature. The sum combines the features in proportion to their weights.
αₜᵢ = exp(eₜᵢ) / (∑ₖ₌₁ᴵ exp(eₜₖ))
The quantity eₜᵢ is the score for visual position i at output step t. The function exp exponentiates each score. The denominator sums the exponentiated scores over all I positions, using k as the summation index. The division makes the weights across positions add to one for the current output step. The scores themselves depend on the visual feature and the decoder’s previous state.
eₜᵢ = vᵀ tanh(W sₜ₋₁ + V hᵢ + b)
The score eₜᵢ uses the previous decoder state sₜ₋₁ and the input feature hᵢ. The matrices W and V project these vectors, b is a learned bias, and tanh is the hyperbolic tangent applied to the resulting vector. The learned vector v, transposed by ᵀ, converts that vector into a scalar score. In this expression V is the decoder’s learned matrix. The earlier V used in feature extraction denoted the sequence of visual columns. Together, the score and normalization tell the decoder how much to draw on each part of the image for the current character.
Keep fitting and selection comparable
The authors train each combination end to end on image and word pairs. The training objective rewards assigning probability to the full labeled transcription. The stages that are present contribute to that objective through the final prediction, including the rectifier when the pipeline uses one.
O = −∑[(Xᵢ, Yᵢ) ∈ TD] log p(Yᵢ | Xᵢ)
O is the objective to minimize. TD is the training collection, i indexes its examples, Xᵢ is the image for example i, and Yᵢ is its word label. The membership symbol ∈ restricts the sum to training pairs. The term p(Yᵢ | Xᵢ) is the conditional probability assigned to that label given the image. The logarithm converts the probability into a log-likelihood, and the preceding minus sign makes a higher probability correspond to a smaller cost.
For the common comparison, the training pool combines 8.9 M MJSynth examples with 5.5 M SynthText examples, for a reported total of 14.4 M. The SynthText count refers to word crops after filtering for non-alphanumeric characters. The authors use the AdaDelta optimizer with decay rate ρ set to 0.95. A batch contains 192 examples, and training runs for 300 K iterations. Gradient clipping limits the gradient at magnitude 5. The paper uses He initialization for the trainable parameters, so a shared initialization procedure applies across the different architectures.
Checkpoint selection uses the combined training splits of SVT, IC15, IIIT, and IC13 as validation data. The authors check validation accuracy every 2000 training steps and select the checkpoint with the highest accuracy there. They leave out the IC03 training split because its overlap with the IC13 evaluation material includes 34 scene images and 215 word boxes. In the main comparison, the validation examples provide a selection signal, while parameter fitting uses the synthetic pool. The paper makes the implementation and recovered evaluation subset information available with its deep-text-recognition-benchmark code.
The options yield 24 combinations. The design includes the two optional stages, the three visual extractors, and the two decoders. Comparing complete pipelines is important because a recurring module can have a different effect depending on its neighbors. The same experiment also supports a stage-level view, obtained by averaging the runs that contain each option. Those summaries and the results for individual combinations answer complementary questions.
Experiments and results
What the benchmark contains
The unified evaluation uses 8,539 real word images. Its regular group includes IIIT5K-Words, abbreviated IIIT, which contributes 3,000 test images found through image searches related to signs and other text-bearing scenes. Street View Text, or SVT, contributes 647 test images from street imagery. The other regular collections are ICDAR2003, abbreviated IC03, with 867 images in the pooled evaluation, and ICDAR2013, abbreviated IC13, with 1,015. Some photographs appear in both ICDAR collections, which is why the source of the validation images matters as well as the test counts.
The irregular group includes 2,077 test images from ICDAR2015, or IC15. Its photographs come from a wearable camera used in motion, and the paper describes blur, noise, rotations, and low resolution among its challenges. SVT Perspective, or SP, contributes 645 images whose viewpoints frequently produce perspective distortion. CUTE80, or CT, supplies 288 natural-scene word crops, many with curved text. These datasets give the study several kinds of visual irregularity. Their different numbers of images also mean that their influence on pooled word accuracy varies.
Along with pooled results, the authors evaluate the historical variants of the individual test collections. For IC03, the original evaluation set had 1,110 images. The familiar filtered version removes words with fewer than 3 characters and words containing non-alphanumeric characters, leaving 867 images. Another version used in earlier studies has 860. The authors identify the 7 word boxes missing from that smaller version. In the paper’s examples, the omitted items are identifiable regions in scene photographs, so the discrepancy can be traced to the actual crops.
IC13 began with 1,095 evaluation images. Filtering out words containing non-alphanumeric characters leaves 1,015. The 857-image variant also excludes words shorter than 3 characters. With IC15, earlier publications used both 2,077 and 1,811 evaluation images. The smaller choice omits crops with non-alphanumeric characters and some with extreme geometric distortion. The papers’ descriptions left ambiguity about exactly which images they removed. The authors obtained the evaluation selection from an earlier contributor and released the information needed to identify it.
These variants explain the difference between the paper’s seven dataset sources and its 9 real-world evaluation sets when alternate subsets are counted. The pooled benchmark uses the larger filtered IC03 and IC13 variants and the larger IC15 variant. A result for the pooled benchmark therefore refers to a particular assembly of images. The separate subset results let the reader see what happens when a study uses a different assembly under a familiar dataset name.
What the measurements mean
Accuracy is the success rate of whole-word predictions per image. The main benchmark evaluates letters and digits. A partial transcription can be informative when inspecting errors, but a prediction that misses one character loses credit for that example under the whole-word metric. The paper averages accuracy over five trials with different random initializations for each combination in the main comparison. This reduces the dependence of a reported accuracy on a single fitted run. The training-size appendix uses its own trial procedure, which matters when comparing totals across tables.
Speed is the average clock time in milliseconds to recognize one image in the common computing environment. The evaluations use an Intel Xeon E5-2630 v4 CPU at 2. 20 GHz, 252 GB of RAM, and a Tesla P40 GPU from NVIDIA. Timing every pipeline on the same setup gives the comparisons a consistent basis. The reported time covers recognition of the given crops, so it measures the task the paper studies. It does not have to account for the work of finding the word boxes in a full photograph.
The paper measures the memory aspect by counting trainable floating-point parameters across the recognition pipeline. This is a measure of how much learned state each combination contains. A network whose operations repeatedly use the same weights can be small by this measure while still taking time to execute those operations. The authors also give approximate operation counts in the appendix. The main resource comparisons use measured recognition time and parameter count, which can favor different component choices.
Checking the earlier baselines
Before interpreting the full grid, the authors check that the common implementations can reproduce a range of earlier systems. They rebuild CRNN, RARE, GRCNN, and FAN without its Focus Net. For this check they follow the earlier training and evaluation setups. The goal is to see whether the implementations deliver plausible performance under conditions close to the original ones. In the main comparison, earlier systems are then evaluated under shared conditions to address a separate question about their relative performance.
The reproduction test shows generally similar accuracies, alongside variation between original and rebuilt systems. On SVT, the reported CRNN accuracy is 80.8%, and the reproduction reaches 81.8% with MJSynth training. For RARE trained on the same source, the original IIIT accuracy is 81.9%, and the reproduction reaches 83.1%. On SVT, the corresponding GRCNN figures are 81.5% and 81.1%. On the 1,811-image IC15 subset, the reproduction of FAN without Focus Net reaches 73.3%, while the earlier result reported in that comparison is 63.3%. The individual checks give evidence that the rebuilt systems are credible comparators while showing how closely each particular result was reproduced.
The common-setting baseline comparison includes Rosetta and STAR-Net as well as earlier designs such as CRNN and RARE. The value of evaluating them in the same grid is visible on a single test set. On IIIT, the rebuilt CRNN reaches 82.9% word accuracy after training on the joint synthetic pool, RARE reaches 86.2%, and STAR-Net reaches 87.0%. The best combination found by the paper reaches 87.9% in that setting. Those numbers answer a question about the implementations under one policy for data and training. The historical numbers document what earlier experiments reported under their own policies.
How much the test selection changes the score
The smaller IC15 test set gives each of the following recognizers a higher measured accuracy. In each pair, the system name and fitted configuration stay the same. Image selection supplies the difference within the pair. The larger subset keeps difficult cases that the narrower evaluation excludes, so the paired columns help explain why a published IC15 accuracy needs the test count or an equivalent subset identifier.
Whole-word accuracy on the two ICDAR2015 test subsets
Each recognizer scores higher on the smaller selection of test crops.
The numbers
| System or setting | word accuracy % |
|---|---|
| CRNN, 1811 images | 69.4 |
| CRNN, 2077 images | 64.2 |
| STAR-Net, 1811 images | 76.1 |
| STAR-Net, 2077 images | 70.3 |
| TPS + ResNet + BiLSTM + attention, 1811 images (this paper) | 77.6 |
| TPS + ResNet + BiLSTM + attention, 2077 images | 71.8 |
The corresponding IC13 figures for the best configuration are 93.6% on the 857-image subset and 92.3% on the 1,015-image subset. For IC03, it scores 94.9% on 860 images and 94.4% on 867 images. These values describe the effect of the actual subsets the authors studied. The paper reports that the 7 missing IC03 examples can produce a gap of 0.8% under its comparisons. The size of the observed effect depends on which recognizer is being measured and on its performance on the omitted crops.
Subset choice affects the meaning of a result even when comparisons retain a similar ordering. The smaller sets document accuracy on a narrower selection of material. A reader who compares a number from the smaller set with a number from the larger one mixes any recognition improvement with a change in what was tested. The appendix supplies results on both versions so that the reader can make comparisons within either test definition.
How much the training source changes the score
The authors also change the training source while keeping their strongest architecture fixed. The setting with both full sources achieves the highest pooled accuracy in this experiment. The smaller mixed training set contains 1.8M MJSynth examples and 1.1M SynthText examples, for the reported total of 2.9M. This is a separate intervention from the test-subset comparison. Here the evaluation stays fixed while the fitted recognizer receives different training examples.
Training-source comparison on pooled real-scene word accuracy
The full mixture scores highest and the smaller mixture outperforms either source alone.
The numbers
| System or setting | word accuracy % |
|---|---|
| SynthText only | 75.6 |
| MJSynth only | 80.0 |
| Partial MJSynth and SynthText mixture | 81.3 |
| Full MJSynth and SynthText mixture (this paper) | 84.1 |
The smaller mixture’s result makes the training finding more informative than a comparison of full collections alone. An experiment that only added one whole collection to another would change both the number and the origin of the examples. In the partial-mixture comparison, the combined set has fewer examples than either full single source, yet achieves higher word accuracy. The authors point to differences in generation properties such as blur and distortion as a reason to consider diversity. They measure the effect of changing the collection, while the individual contributions of those generation properties remain unisolated.
The strongest combination and its costs
In the full, five-trial component comparison, the top pooled score is 84.0% for TPS followed by ResNet, BiLSTM, and attention. The same combination reaches 87.5% word accuracy on SVT, 79.2% on SP, and 74.0% on CT. Within the shared setup it is strong across standard street imagery as well as imagery with perspective and curvature. Its timing is 27.6 ms per image and its parameter count is 49.6 million. The paper gives 84.1% in the training-source experiment and in the original condition of the fine-tuning experiment. The 84.0% value refers specifically to the averaged full comparison.
The best accuracy is only one point in the set of measured configurations. The speed analysis looks for the frontier of combinations for which the study finds no alternative that is both at least as accurate and no slower, with an improvement on one measure. The minimum-time point uses VGG followed by CTC, bypassing the optional stages, and takes 1.3 ms per image. Along the reported speed frontier, changing the extractor to ResNet, then adding BiLSTM and TPS, leads to 82.9% pooled accuracy at 10.9 ms per image. The final switch to attention raises accuracy to the top result and takes the system to 27.6 ms per image.
The memory frontier answers the same kind of question with learned parameters as the cost. It starts at the lightweight RCNN configuration and prioritizes changes in the decoder, transformation, and contextual stages before adopting ResNet. The authors report 75.4% pooled accuracy at the start and 82.3% before the final extractor change. The appendix lists 1.9 million parameters for the first point and 7.1 million for the 82.3% configuration, while the main frontier discussion gives 7.2M for the latter stage of the progression. Both sections give 49.6 million at the strongest final combination. The resource conclusion rests on the much heavier feature extractor in that final configuration.
Of the prior designs in the shared comparison, Rosetta and STAR-Net appear on the accuracy–time frontier. R2AM appears on the accuracy–parameter frontier. Other tested combinations can improve on some of the earlier systems for a given resource budget. This is the practical consequence of putting previously separate proposals into one comparable grid. A familiar decoder can be combined with a different visual extractor, and the resulting pipeline can be judged using the same images, training policy, and measurements as the baselines.
What the ablations show
What averaging across combinations can tell us
The study varies components at every stage and looks at their results in two ways. A frontier path shows a sequence of particular configurations, with a single module changed at each step of the reported progression. A module average pools the configurations that contain a choice, such as TPS or CTC, across the other stages. The frontier gives a concrete before-and-after comparison at a particular configuration. The average describes how a choice performs across the grid of available partners. Together they help distinguish a gain observed at one point from a tendency visible across several combinations.
The paper averages recognition accuracy separately for regular and irregular benchmarks. For every stage, stronger choices bring larger average gains in the irregular group. The groups include more than geometry alone. Blur, visual clutter, and occlusion occur alongside perspective and curvature. The regular–irregular breakdown thus shows where the modules have more room to help across the benchmark collections. The qualitative examples then let the authors identify particular failures consistent with each stage’s intended role.
Rectification and sequence context
Adding TPS raises average regular-benchmark accuracy from 85.6% to 86.7%. The irregular-benchmark average moves from 65.7% to 69.1%. The rectifier’s measured time is 3.6 ms per image, and its parameter count is 1.7 million. The appendix notes that the sets of individual configurations with and without TPS can overlap substantially in performance. The average gives a clearer view of its overall effect within the grid than the mere presence of a rectifier in any one system.
The image examples give the geometric comparison a concrete interpretation. A circular logo bearing the word POLICE challenges a recognizer that reads across uncorrected feature columns. The paper also shows AIRWAYS on a storefront viewed at an angle. With TPS, the visual evidence can be reorganized before the feature extractor forms its horizontal sequence. The selected examples show that a change targeting geometry can be decisive in crops where the printed word is sufficiently visible but poorly aligned with the recognizer’s usual reading direction.
The BiLSTM comparison changes the context available after feature extraction. Adding it raises average regular accuracy from 85.1% to 87.6% and irregular accuracy from 65.2% to 69.7%. The recurrent stage’s reported time is 3.1 ms per image, and it adds 2.7 million trainable parameters as an individual module measurement. In this comparison it delivers a larger average accuracy gain than TPS, with resource costs in a similar range. The two modules act on different representations, so this relationship does not require them to solve the same problem.
One of the paper’s examples contains a neighboring character after EXIT, and another contains extraneous visual evidence after G20. A sequence processor can use the surrounding feature pattern to reduce the effect of such evidence on the predicted word. In these examples, the contextual module changes the transcription even though the input crop still contains the unwanted material. This is a different intervention from straightening the image to make its visual columns easier to read.
Feature extraction drives parameter count
The feature extractors show a pronounced difference in average accuracy on irregular images. VGG averages 63.9%, RCNN averages 67.3%, and ResNet averages 71.0%. The corresponding regular averages are 84.5%, 86.2%, and 88.3%. ResNet has the highest average in both groups. The examples the authors associate with an extractor upgrade include the words YMCA and CITYARTS amid visual clutter, and NEUMOS in a font described as unfamiliar. These images put pressure on the representation of the characters before the sequence and decoding stages get a chance to interpret them.
Feature extractors compared on mean irregular-benchmark word accuracy
ResNet has the highest mean across the combinations using each extractor.
The numbers
| System or setting | word accuracy % |
|---|---|
| VGG | 63.9 |
| RCNN | 67.3 |
| ResNet (this paper) | 71.0 |
The extractor measurements explain why a higher-scoring backbone can be expensive under a parameter budget. VGG contains 5.6 million trainable parameters, RCNN 1.8 million, and ResNet 44.3 million in the module analysis. RCNN reuses a smaller set of learned layers through recurrent application. Its measured module time is 6.9 ms per image, alongside 1.0 for VGG and 4.1 for ResNet. Parameter reuse helps explain how the lightest extractor can take the longest to execute in this experiment. It also explains why a ranking by size gives a different starting point from a ranking by speed.
The paper sees this difference in the full configurations as well as the standalone module measurements. When its accuracy–parameter plot is grouped by extractor, the choices form visible clusters. Changing the extractor can therefore move a recognizer into a different region of the resource plot even when the other choices remain the same. Smaller changes to the bounding geometry, context, or decoder can be attractive along the memory frontier precisely because the current extractor continues to account for much of the parameter budget.
Prediction drives elapsed time
Across the combinations, CTC averages 85.5% accuracy on the regular group and 66.1% on the irregular group. Attention averages 87.2% and 68.7% on the same groups. The prediction stage alone takes 0.1 ms per image with CTC and 17.1 ms with attention in the module measurements. The corresponding parameter counts are reported as 0.0 and 0.9 million at the table’s precision. Attention can improve accuracy with a modest change in the learned state while adding substantial running time.
This cost is consistent with what the two procedures do. The CTC test procedure selects a label at each position and collapses the resulting path. The attention decoder computes a new visual context and updates its recurrent state as it produces the word. The paper’s accuracy–time plot separates into clear groups by decoder choice. On the speed frontier, attention is the last upgrade. On the memory frontier, it is the first upgrade from the smallest configuration. The change has the same purpose in both paths, but the applications implied by the two budgets value its costs differently.
The attention examples include cases where a character is missing from clear view or partly occluded. The paper identifies the a in Hard, the t in to, and the S in HOUSE as examples of characters recovered by configurations using attention. An earlier output can constrain what comes next, and the decoder can also draw evidence from a wider part of the visual sequence. The selected examples show a plausible benefit of using both sources of context. Their role in the paper is explanatory, while the averaged accuracies quantify the broader performance pattern.
Data amount and closeness to the target distribution
The training-size experiment repeats the component grid at several fractions of the combined synthetic collection. The paper reports an overall tendency toward higher accuracy with more training examples and gives individual results for each fraction. For the strongest configuration, the pooled trial rises from 81.3% at 20% of the training data to 84.1% at 100%. Each configuration at a given size uses only one trial in this appendix analysis. The authors therefore distinguish these figures from the five-trial averages in the main comparison.
Different options show different tendencies near the upper end of the tested data range. The authors describe the VGG and RCNN averages as leveling out around 60% and 80%, respectively, while the ResNet curves still show room at 100%. The averages for BiLSTM and attention also continue to improve through the tested range, while the corresponding alternatives level earlier in the plots. An additional pattern appears for geometry. The curves for TPS flatten around 80%, while those without TPS show further potential at the full training size. The authors conjecture that increased capacity explains some of these patterns and that rectification makes part of the extra variation less informative in the TPS condition. The curves are observations within the experiment. The capacity and normalization accounts are explanations the authors propose.
In the separate real-data experiment, the authors carry out fine-tuning for 10 epochs. This means updating the already trained recognizer on a new collection, here the real training splits from SVT, IIIT, IC15, and IC13. These sources have corresponding evaluation material, which the paper pools as its in-distribution group. On that group, accuracy increases from 83.9% to 86.1%. On the pooled IC03, SP, and CT evaluation images, called out-of-distribution in this experiment, accuracy moves from 85.1% to 83.8%. On all benchmark images together, it increases from 84.1% to 85.6%.
The group results qualify the pooled improvement. Real examples from a set of collections help substantially on the held-out images from those collections in this experiment. On the other collections, which provide no real training images for the adaptation, the same update is accompanied by a decrease. The authors therefore interpret real-data adaptation in terms of how closely its examples resemble the intended test distribution. The overall score and the separate group scores capture different aspects of that result.
COCO-Text provides an additional test with complex, low-resolution scenes, special characters, and heavy noise or occlusion. The authors find lower overall accuracy there, while the relative ordering of the combinations is largely preserved in the resource comparisons. Fine-tuning on the COCO-Text training split raises average COCO-Text accuracy across the 24 combinations from 42.4% to 58.2%. The authors attribute the substantial improvement to the distinctive distribution of COCO-Text. Together with the mixed outcomes of fine-tuning on the main benchmarks, the result shows why the source of real adaptation data matters.
Limitations
Limits the authors identify
The authors inspect the 644 images that all 24 combinations fail to recognize, representing 7.5% of the 8,539 pooled benchmark images. Shared errors matter because a proposed upgrade can repair some examples while leaving recurring difficulties intact throughout the design grid. The paper identifies six categories of failure. These include calligraphic lettering, vertical text, special characters, heavy occlusion, low resolution, and noisy labels. Some categories concern the visual representation, some concern the way the sequence is processed, and one concerns whether the test answer is reliable.
Highly stylized lettering can disguise features that the recognizer learned from more familiar fonts. The authors discuss brand and storefront writing as cases where the shape of a character may vary substantially. They suggest more general visual features or regularization as possible directions. A regularizer would try to reduce dependence on incidental patterns in the training imagery. Both suggestions are responses to the failure analysis. The paper does not test whether either one would resolve the calligraphic cases it identifies.
Vertical text exposes a structural constraint in a pipeline that turns successive horizontal feature columns into a reading sequence. Rectification helps with some changes in geometry, but the authors still identify vertical writing as a recurring failure. They note that some earlier approaches make use of vertical information and describe support for vertical text as an open problem. Their analysis places this limitation alongside the gains for curved and perspective crops. Improvement on those benchmark cases leaves vertical order as a distinct challenge.
For heavily occluded words, the authors suggest exploring stronger ways to exploit linguistic context. For low-resolution crops, they mention image pyramids and super-resolution as directions that could make relevant evidence easier to use. These are hypotheses prompted by errors. An image pyramid would expose representations at different image scales, and super-resolution would aim to improve the usable detail in a low-resolution input. The experiments establish that some occluded and low-resolution cases defeat the tested components. They leave the effectiveness of the suggested remedies for later experiments.
The alphanumeric evaluation policy also shapes the task. The authors note that systems trained without special characters can misinterpret a visible symbol as a letter or digit. In their additional training comparison, including special characters improves IIIT word accuracy from 87.9% to 90.3%. The result gives evidence for that intervention on IIIT. It also shows how a symbol outside the main scoring vocabulary can matter to the final transcription of the evaluated characters.
The label review finds errors in all benchmark datasets. The authors report a measured mislabeling rate of 1.3% when special characters are ignored, 6.1% when special characters are considered, and 24.1% when case sensitivity is considered. These figures correspond to different standards for deciding whether a recorded label is correct. A stricter definition makes more discrepancies visible. The benchmark score must therefore be read alongside the labeling policy, especially when judging individual failures that might come from the reference answer itself.
Limits visible in the experimental setup
The comparison covers recognition after a word image has been supplied. An end-to-end scene reader would also have to locate the word, choose its boundaries, and decide which regions to pass to the recognizer. The study includes examples where an existing crop contains irrelevant text, so it shows how recognition can respond to some cropping errors. Its accuracy and timing are still measurements of the crop-to-word task. They cannot establish the accuracy, latency, or reliability of a complete system processing photographs from the start.
The factorial comparison is exhaustive over the authors’ selected modules and implementations. Other encoders, decoders, data recipes, and ways of joining stages fall outside that grid. Even the matched training schedule has a specific interpretation. It makes the reported experiment comparable across architectures, while a schedule tuned separately for each architecture could produce different rankings. The paper’s own data-size curves give a reason to take that possibility seriously, since the tested choices respond differently as available training data increase.
Module averages also depend on the other choices included in the experiment. The average effect of adding a BiLSTM summarizes several settings, each with its own extractor and decoder. It does not give a guaranteed gain for a particular configuration. The frontier comparisons help by showing concrete one-module changes along selected paths, but a frontier itself is defined by the available systems and the chosen measurement conditions. The inferred value of an upgrade can change with hardware, data, and the costs an application counts.
Per-image clock time and trainable parameters capture two different deployment concerns. The paper measures timing in a single common environment. It gives a controlled relative comparison there, with no direct timing result for a different processor or scheduling regime. Parameter count measures stored learned values. Peak runtime memory would also depend on temporary representations and execution details. The RCNN example makes the distinction tangible. Its small parameter count reflects repeated use of weights, while the repeated operations still contribute to elapsed time.
Finally, aggregate word accuracy compresses several kinds of behavior into one rate. It gives credit only for complete matches and weights the pooled images according to how many examples each dataset contributes. The separate benchmark results, subset tests, and failure examples restore some of the detail lost in that aggregate. The qualitative examples are selected to show recognitions that change after a module upgrade. They illustrate mechanisms and failure patterns without estimating how frequently those mechanisms account for the gains. Likewise, the mixed-source experiment establishes a benefit for the tested data mixtures and architecture. It leaves the contribution of any single rendering choice, such as blur or distortion, undetermined.
What came after
The later works cite this study from tasks that give text recognition different roles. The citation relationship establishes that the comparison was part of the relevant literature for those works. Their stated topics show how the task changes when a system moves beyond transcribing a crop, or when the available data change. The particular components or evaluation protocols inherited in each case are unspecified.
ChartQA introduces a benchmark for answering questions about charts with visual and logical reasoning. A textual label on a chart can be evidence for an answer, while the benchmark’s task also requires interpreting the chart and the question. This extends the evaluation problem beyond whether the label was transcribed correctly to whether the system uses the available evidence to reach the requested answer. ChartQA: A Benchmark for Question Answering about Charts with Visual and Logical Reasoning
Chart-to-Text introduces a large-scale benchmark for chart summarization. Its named task is to produce a textual account of a chart. The correctness of words visible in the image is relevant, but a summary also has to express information conveyed by the chart. The two papers consequently put their measurements at different points in the process. Baek and colleagues can attribute transcription differences to a change in the crop recognizer. Chart-to-Text takes the generated account of the chart as the output of interest. Chart-to-Text: A Large-Scale Benchmark for Chart Summarization
The OCR-free Document Understanding Transformer approaches document understanding through a transformer without a separate OCR step, as its title indicates. This changes the location at which the system exposes an output for evaluation. The scene text study compares explicit transcriptions and the modules that produce them. An OCR-free approach puts document understanding at the center of the design. The citation connects work on reading text in images with a later approach that defines success on the document task itself. OCR-free Document Understanding Transformer
LV-ROVER-MLT keeps OCR as the target and addresses low-resource language conditions for Maltese. Its title identifies synthetic fine-tuning and arbitration across multiple recognition streams. The connection is closest to the earlier paper’s investigation of training composition and its separation of the choices that lead to a final transcription. The earlier study measures what happens when the data source or a recognition stage changes within a common setup. LV-ROVER-MLT names both an adaptation strategy and a way to choose among streams in a language-specific setting. The citation alone leaves their exact methodological relationship open. LV-ROVER-MLT: Low-Resource Maltese OCR by Synthetic Fine-Tuning and Multi-Stream Arbitration
Cite
Cite as Jeonghun Baek, Geewook Kim, Junyeop Lee, Sungrae Park, Dongyoon Han, Sangdoo Yun, Seong Joon Oh and Hwalsuk Lee. 2019. What Is Wrong With Scene Text Recognition Model Comparisons? Dataset and Model Analysis. IEEE/CVF International Conference on Computer Vision (ICCV).
@inproceedings{baek2019what,
title = {{What Is Wrong With Scene Text Recognition Model Comparisons? Dataset and Model Analysis}},
author = {Jeonghun Baek, Geewook Kim, Junyeop Lee, Sungrae Park, Dongyoon Han, Sangdoo Yun, Seong Joon Oh and Hwalsuk Lee},
booktitle = {IEEE/CVF International Conference on Computer Vision (ICCV)},
year = {2019},
doi = {10.1109/iccv.2019.00481},
eprint = {1904.01906},
archivePrefix = {arXiv},
url = {https://doi.org/10.1109/iccv.2019.00481}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/baek-2019-what-is-wrong-scene-text/