๐ค AI Summary
Handwritten Text Recognition (HTR) faces three key challenges: data scarcity, high variability in handwriting styles, and difficulty modeling complex diacritical marksโlimiting generalization and increasing reliance on synthetic data. To address these, we propose HTR-ConvText: a novel architecture featuring a ConvText hybrid encoder that jointly captures local convolutional features and global textual context, substantially compressing sequence length and improving inference efficiency. We introduce a text-auxiliary module to enhance Connectionist Temporal Classification (CTC) decoding, reducing dependency on synthetic training data. The backbone integrates position-encoded MobileViT with residual CNNs in a hierarchical design, augmented by a text-context injection mechanism. Evaluated on IAM, READ2016, LAM, and HANDS-VNOnDB, HTR-ConvText achieves state-of-the-art performance under low-data and high-style-diversity settings, demonstrating superior generalization and robustness across diverse handwriting domains.
๐ Abstract
Handwritten Text Recognition remains challenging due to the limited data, high writing style variance, and scripts with complex diacritics. Existing approaches, though partially address these issues, often struggle to generalize without massive synthetic data. To address these challenges, we propose HTR-ConvText, a model designed to capture fine-grained, stroke-level local features while preserving global contextual dependencies. In the feature extraction stage, we integrate a residual Convolutional Neural Network backbone with a MobileViT with Positional Encoding block. This enables the model to both capture structural patterns and learn subtle writing details. We then introduce the ConvText encoder, a hybrid architecture combining global context and local features within a hierarchical structure that reduces sequence length for improved efficiency. Additionally, an auxiliary module injects textual context to mitigate the weakness of Connectionist Temporal Classification. Evaluations on IAM, READ2016, LAM and HANDS-VNOnDB demonstrate that our approach achieves improved performance and better generalization compared to existing methods, especially in scenarios with limited training samples and high handwriting diversity.