Summary
The paper proposes a character level image retrieval open source OCR architecture EffOCR (efficient OCR), using a contrastively trained vision encoder. The goal is to move away from sequence-to-sequence models requiring huge amounts of training data and compute, to basics of OCR - by localizing characters and recognizing them. Given a generic similarity function can be trained in a contrastive learning architecture, it also scales well to any unknown script or a script with limited annotations. SupCon loss function is used with hard negative mining to further enhance the results. EffOCR toggles between word vs character embedding similarity based on a hyperparameter tuned on validation set.
EffOCR results are shown across two datasets- Japanese historical image datasets and LoCCA. EffOCR provides 0.6% and 0.7% CER for horizontal and vertical Japanese tables respectively 80x better than the next best method evaluated. For English, Google Cloud Vision (GCV) provides better CER. For Greek dataset, however, EffOCR beats GCV by 1.8% in CER.
Strengths
Reducing OCR back to its roots of recognizing characters has been the goal of OCR community since ages. One of the most fundamental approaches in this area is using contrastive learning. The paper has the heart in the right place for choosing the right goal and solution. Localizing characters, however, is very challenging. Latin printed script and Japanese are good examples of the scripts to showcase this as it avoids the character localization problem found in many other scripts (like Arabic, Indic and nearly all handwriting scripts).
Table 1 presents a good overview of the results while Figure 4 illustrates the strength of the approach against very limited training dataset, ousting training-heavy approaches.
It also breaks down the cost of processing a page in GCV vs EffOCR, underscoring EffOCR's low cost to obtain better accuracy.
Weaknesses
The paper has quite a few weaknesses in various areas:
1. Overall presentation: The paper should start with a better lay of the land - state-of-the-art literature, especially in contrastive learning space. It should present the known, recent algorithms that have tried similar approaches. Later, it should go much deeper in the technicalities of the proposed approach - what is the architecture, why is it novel, what advantages does it provide, etc. In dataset section, examples of dataset imagery should be provided with clear presentation of how much text was used for training (in #s) vs testing. In evaluation section, ablation studies is recommended with limitations of the current approach.
It is also suggested to reduce the length of statements to make them more concise and directed.
2. The paper presents one of the many architectures to reduce overall compute from sequence-to-sequence models and presents a well-known fundamental technique in OCR - using contrastive learning. Why is this approach different/novel - should be stated.
3. The datasets used (Japanese historical image datasets and LoCCA) have limited descriptions.
4. The paper compares a specialized model against generic models like GCV, Baidu and Tesseract that have been tuned to work across many scripts and languages. Comparing a specialized model on specific datasets with a pre-trained off-the-shelf network designed for a wide-range of problems is incorrect.
5. Hence, the 80x improvement shown in results is not because the presented approach is novel, but because a) comparative approaches weren't chosen b) specialized models are compared against generic off-the-shelf models.
Questions
1. The paper provides no info on how character localization is performed, which is an essential part of the bigger picture. How do those errors affect the CER? What are typical errors seen in character localization? How do they compare against Japanese and English?
2. Please compare other contrastive learning approaches in OCR with EffOCR, train all of them from scratch and compare them on a larger pool of intended datasets (for all approaches). That would be an apple-to-apple comparison to help evaluate the proposed approach and to understand its limitations and strengths.
Confidence
5: You are absolutely certain about your assessment. You are very familiar with the related work and checked the math/other details carefully.