Mixed Text Recognition with Efficient Parameter Fine-Tuning and Transformer
Da Chang, Yu Li
TL;DR
This work tackles mixed-text OCR, where handwritten, printed, and scene text must be recognized with limited computational resources. It introduces DLoRA-TrOCR, a parameter-efficient hybrid text spotting model that applies weight-decomposed DoRA to the image encoder and LoRA to the text decoder, enabling fine-tuning with a fraction of parameters while maintaining high accuracy. Evaluations on IAM, SROIE, STR, and a constructed mixed dataset show strong results, including IAM CER $4.02$, SROIE F1 $94.29$, STR WAR $86.70$, and mixed-dataset WAR $88.07$, demonstrating improved generalization and efficiency over full fine-tuning and other PEFT methods. The findings highlight the value of selectively applying PEFT to encoder and decoder components in Transformer-based OCR, offering practical guidance for deploying large-scale OCR models in multi-scene contexts.
Abstract
With the rapid development of OCR technology, mixed-scene text recognition has become a key technical challenge. Although deep learning models have achieved significant results in specific scenarios, their generality and stability still need improvement, and the high demand for computing resources affects flexibility. To address these issues, this paper proposes DLoRA-TrOCR, a parameter-efficient hybrid text spotting method based on a pre-trained OCR Transformer. By embedding a weight-decomposed DoRA module in the image encoder and a LoRA module in the text decoder, this method can be efficiently fine-tuned on various downstream tasks. Our method requires no more than 0.7\% trainable parameters, not only accelerating the training efficiency but also significantly improving the recognition accuracy and cross-dataset generalization performance of the OCR system in mixed text scenes. Experiments show that our proposed DLoRA-TrOCR outperforms other parameter-efficient fine-tuning methods in recognizing complex scenes with mixed handwritten, printed, and street text, achieving a CER of 4.02 on the IAM dataset, a F1 score of 94.29 on the SROIE dataset, and a WAR of 86.70 on the STR Benchmark, reaching state-of-the-art performance.
