Skip to main content
QUICK REVIEW

[Paper Review] PP-OCRv3: More Attempts for the Improvement of Ultra Lightweight OCR System

Chenxia Li, Weiwei Liu|arXiv (Cornell University)|Jun 7, 2022
Handwritten Text Recognition TechniquesComputer Science69 citations
TL;DR

PP-OCRv3 is an ultra-lightweight OCR system that extends PP-OCRv2 with nine new improvements (three for detection, six for recognition), achieving about a 5% higher Hmean at similar inference cost and faster GPU performance.

ABSTRACT

Optical character recognition (OCR) technology has been widely used in various scenes, as shown in Figure 1. Designing a practical OCR system is still a meaningful but challenging task. In previous work, considering the efficiency and accuracy, we proposed a practical ultra lightweight OCR system (PP-OCR), and an optimized version PP-OCRv2. In order to further improve the performance of PP-OCRv2, a more robust OCR system PP-OCRv3 is proposed in this paper. PP-OCRv3 upgrades the text detection model and text recognition model in 9 aspects based on PP-OCRv2. For text detector, we introduce a PAN module with large receptive field named LK-PAN, a FPN module with residual attention mechanism named RSE-FPN, and DML distillation strategy. For text recognizer, the base model is replaced from CRNN to SVTR, and we introduce lightweight text recognition network SVTR LCNet, guided training of CTC by attention, data augmentation strategy TextConAug, better pre-trained model by self-supervised TextRotNet, UDML, and UIM to accelerate the model and improve the effect. Experiments on real data show that the hmean of PP-OCRv3 is 5% higher than PP-OCRv2 under comparable inference speed. All the above mentioned models are open-sourced and the code is available in the GitHub repository PaddleOCR which is powered by PaddlePaddle.

Motivation & Objective

  • Improve robustness and accuracy of ultra lightweight OCR (PP-OCR) without increasing prediction cost.
  • Enhance text detection with a stronger teacher-student distillation framework and better feature representations.
  • Strengthen text recognition with a transformer-based lightweight backbone and training strategies that preserve efficiency.
  • Provide an open-source, hardware-friendly OCR solution suitable for mobile and edge devices.

Proposed method

  • Adopt Collaborative Mutual Learning (CML) distillation for text detection with a stronger teacher (LK-PAN + DML) and a lighter student (RSE-FPN).
  • Introduce LK-PAN (Large Kernel PAN) to enlarge receptive field in text detection.
  • Use RSE-FPN (Residual SE FPN) to improve feature representation in the student detector.
  • Replace CRNN with SVTR-LCNet (SVTR-based lightweight recognizer) and optimize it for efficiency.
  • Apply Guided Training of CTC by Attention (GTC) to fuse attention guidance into CTC without extra inference cost.
  • Develop TextConAug to enrich context via batch-wise image concatenation inspired by ConCLR.
  • Pre-train with TextRotNet to improve convergence and initialization.
  • Employ U-DML (Unified Deep Mutual Learning) to jointly supervise multiple recognizer branches.
  • Use UIM (Unlabeled Images Mining) to pseudo-label unlabeled data for continued improvement.
  • Compress and accelerate the model with tiny variants (PP-OCRv3 tiny) while maintaining performance.

Experimental results

Research questions

  • RQ1Does PP-OCRv3 achieve higher end-to-end OCR performance (Hmean) than PP-OCRv2 at comparable prediction cost?
  • RQ2How do the proposed detector improvements (LK-PAN, RSE-FPN, DML) affect detection accuracy and speed?
  • RQ3How does SVTR-LCNet with the outlined recognition strategies compare to the previous recognizer in accuracy and speed?
  • RQ4What is the impact of training strategies (GTC, TextConAug, TextRotNet, U-DML, UIM) on recognition accuracy without increasing inference cost?

Key findings

  • PP-OCRv3 improves end-to-end Hmean by about 5% over PP-OCRv2 at the same inference cost on CPU/GPU settings.
  • Detector ablations show LK-PAN increases Hmean from 83.5% to 85.0% with a moderate speed increase; DML further boosts to 86.0% in the teacher setup.
  • Student detector with RSE-FPN achieves 84.5% Hmean with minimal speed penalty, and CML distillation combined with the teacher yields 85.4% for the student variant.
  • SVTR-LCNet achieves competitive recognition accuracy with a notable speedup over SVTR-Tiny and shows improvements when combined with GTC, TextConAug, TextRotNet, U-DML, and UIM.
  • Overall, PP-OCRv3 attains 62.9% Hmean for end-to-end OCR with a smaller model footprint (compared to PP-OCRv2’s 57.6% Hmean) and up to 22% faster GPU inference vs PP-OCRv2.
  • Compared to previous PP-OCR systems, PP-OCRv3 delivers 5.3% higher Hmean at the same cost and 22% faster T4 GPU inference.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.