DRA-HTR: Disentangling Representation and Adaptation for Handwritten Text Recognition
Gayan H. Pathirage, Florent Imbert, Denis Coquenet, Elisa H. Barney Smith
Abstract
Handwritten text recognition (HTR), particularly when applied to historical documents, remains challenging due to the scarcity of annotated data and the substantial domain shifts caused by variations in handwriting styles, document degradation, acquisition conditions, and linguistic characteristics. While large amounts of unlabeled target-domain data are often available, effectively exploiting them requires adaptation strategies tailored to the specific requirements of HTR. We propose DRA-HTR, an unsupervised generative domain adaptation pipeline specifically designed for HTR and built upon the DRANet framework. The proposed approach combines source-domain pretraining, unsupervised adaptation to the visual characteristics of the target domain, relying on the generation of target-style source samples for task-specific training. We further investigate the integration of post-HTR correction to complement visual adaptation with language adaptation, relying on large language models, which we introduce as DRAL-HTR. The proposed framework is evaluated across seven HTR datasets spanning four languages, using a single set of hyperparameters for all source-target combinations. The recognition model achieves state-of-the-art performance on four datasets and competitive results on the remaining three. In addition, the proposed DRA-HTR establishes a new state-of-the-art for domain adaptation across all seven datasets and substantially improves overall robustness and training stability compared to the original DRANet framework: it reduces the Character Error Rate (CER) in average by 13.52 percentage points, and the average standard deviation decreases from 7.23 to 1.11 percentage points. Finally, post-HTR correction further reduces the CER by 2.16 percentage points. Code is available at https://github.com/FIorentI/DRA-HTR-Disentangling-Representation-and-Adaptation-for-Handwritten-Text-Recognition.
Create a lesson
Related papers
Domain Adaptation Based Pipeline for Character Classification and Handwritten Text Recognition
Shared title terminologycs.CVFlorent Imbert, Simon Corbillé, Hui Han et al.
AirVT-15k: A Query-Diverse UAV Video-Text Dataset and Query-Adaptive Evidence Alignment Network for Retrieval
Shared title terminologycs.CVXi Chen, Xu Chen, Xiangyang Jia et al.
EvoMem3D: Adaptive-Depth Temporal Representation Memory for Multi-Camera 3D Detection
Shared title terminologycs.CVMoshe Kimhi, Idan Kligvasser, Yotam Intrator et al.
GlyphAtlas: Disentangling Stroke Detail from Layout for Scene Text Synthesis
Shared title terminologycs.CVLuozheng Qin, Changhai Zhou, Yiyi Zhou
STaG: Human-Annotation-Free Unsupervised Domain Adaptation for Text-Based Person Retrieval
Shared title terminologycs.CVJi Yucheng, Bai Yang, Li Yang et al.
V-JEPA-LM: Video-Language Models That Read Dynamics Beyond Static, Text-Aligned Representations
Shared title terminologycs.CVKeuntae Kim, Dongjun Kim, Yong Suk Choi