On the Generalization of Handwritten Text Recognition Models
Not on the map. Why?
Abstract (arXiv)
Recent advances in Handwritten Text Recognition (HTR) have led to significant reductions in transcription errors on standard benchmarks under the i.i.d. assumption, thus focusing on minimizing in-distribution (ID) errors. However, this assumption does not hold in real-world applications, which has motivated HTR research to explore Transfer Learning and Domain Adaptation techniques. In this work, we investigate the unaddressed limitations of HTR models in generalizing to out-of-distribution (OOD) data. We adopt the challenging setting of Domain Generalization, where models are expected to generalize to OOD data without any prior access. To this end, we analyze 336 OOD cases from eight state-of-the-art HTR models across seven widely used datasets, spanning five languages. Additionally, we study how HTR models leverage synthetic data to generalize. We reveal that the most significant factor for generalization lies in the textual divergence between domains, followed by visual divergence. We demonstrate that the error of HTR models in OOD scenarios can be reliably estimated, with discrepancies falling below 10 points in 70% of cases. We identify the underlying limitations of HTR models, laying the foundation for future research to address this challenge.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 60 of its 97 references that are in the map. First posted on arXiv 26 Nov 2024.
Builds on
60 of 97 references.
References · 60
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2023InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuningcited by 2,855
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019ViLBERT: Pretraining Task-Agnostic Visiolinguistic Representations for Vision-and-Language Taskscited by 2,219
- 2019A Comprehensive Survey on Transfer Learningcited by 1,154
- 2023Kosmos-2: Grounding Multimodal Large Language Models to the Worldcited by 1,075
- 2020In Search of Lost Domain Generalizationcited by 1,042
- 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 762
- 2021Domain Generalization: A Surveycited by 760
- 2018Recognition in Terra Incognitacited by 655
38 more
- 2018Deep Visual Domain Adaptation: A Surveycited by 634
- 2018A Survey on Deep Transfer Learningcited by 417
- 2018A Survey of Unsupervised Deep Domain Adaptationcited by 361
- 2020Learning to Learn Single Domain Generalizationcited by 295
- 2021WIT: Wikipedia-based Image Text Dataset for Multimodal Multilingual Machine Learningcited by 285
- 2021TrOCR: Transformer-based Optical Character Recognition with Pre-trained Modelscited by 278
- 2018Improving Unsupervised Defect Segmentation by Applying Structural Similarity to Autoencoderscited by 263
- 2016Joint CTC-Attention based End-to-End Speech Recognition using Multi-task Learningcited by 254
- 2021Accuracy on the Line: On the Strong Correlation Between Out-of-Distribution and In-Distribution Generalizationcited by 248
- 2014Synthetic Data and Artificial Neural Networks for Natural Scene Text Recognitioncited by 214
- 2021Learning to Diversify for Single Domain Generalizationcited by 170
- 2022Domino: Discovering Systematic Errors with Cross-Modal Embeddingscited by 155
- 2021Simpler is Better: Few-shot Semantic Segmentation with Classifier Weight Transformercited by 116
- 2022Agreement-on-the-Line: Predicting the Performance of Neural Networks under Distribution Shiftcited by 94
- 2020Pay Attention to What You Read: Non-recurrent Handwritten Text-Line Recognitioncited by 71
- 2020Sequence-to-Sequence Contrastive Learning for Text Recognitioncited by 70
- 2022DAN: a Segmentation-free Document Attention Network for Handwritten Document Recognitioncited by 62
- 2019Evaluating Sequence-to-Sequence Models for Handwritten Text Recognitioncited by 58
- 2022Assaying Out-Of-Distribution Generalization in Transfer Learningcited by 53
- 2020End-to-end Handwritten Paragraph Text Recognition Using a Vertical Attention Networkcited by 50
- 2021Rethinking Text Line Recognition Modelscited by 45
- 2022Reading and Writing: Discriminative and Generative Modeling for Self-Supervised Text Recognitioncited by 45
- 2023DTrOCR: Decoder-only Transformer for Optical Character Recognitioncited by 40
- 2021Handwriting Transformerscited by 37
- 2020Learn to Augment: Joint Data Augmentation and Network Optimization for Text Recognitioncited by 36
- 2023Handwritten Text Generation from Visual Archetypescited by 32
- 2021MetaHTR: Towards Writer-Adaptive Handwritten Text Recognitioncited by 27
- 2019A Scalable Handwritten Text Recognition Systemcited by 25
- 2024HTR-VT: Handwritten Text Recognition with Vision Transformercited by 24
- 2020Boosting offline handwritten text recognition in historical documents with few labeled linescited by 19
- 2021Rescoring Sequence-to-Sequence Models for Text Line Recognition with CTC-Prefixescited by 18
- 2024VATr++: Choose Your Words Wisely for Handwritten Text Generationcited by 18
- 2020Attention-based Fully Gated CNN-BGRU for Russian Handwritten Textcited by 17
- 2021Text is Text, No Matter What: Unifying Text Recognition using Knowledge Distillationcited by 17
- 2024Best Practices for a Handwritten Text Recognition Systemcited by 17
- 2023How to Choose Pretrained Handwriting Recognition Models for Single Writer Fine-Tuningcited by 13
- 2022AttentionHTR: Handwritten Text Recognition Based on Attention Encoder-Decoder Networkscited by 12
- 2016Generating Synthetic Data for Text Recognitioncited by 11
50 most cited of 60 All 60 (JSON)
Built on by
Citing papers per year: 2025: 1; 2026: 9.
10 papers.
- 2025Handwritten Text Recognition: A Surveycited by 12
- 2026Few-shot Writer Adaptation via Multimodal In-Context Learningcited by 1
- 2026N-gram Injection into Transformers for Dynamic Language Model Adaptation in Handwritten Text Recognitioncited by 0
- 2026Zero-Shot Synthetic-to-Real Handwritten Text Recognition via Task Analogiescited by 0
- 2026Out-of-Length Scene Text Recognition: A Two-Axis Diagnosis and a Training-Free Fixcited by 0
- 2026UniLipi: A Unified Multi-Script OCR for Historical Indic Manuscriptscited by 0
- 2026ExpertHTR: Unified Handwritten Text Recognition with Multi-Task Learning and Sparse Mixture-of-Expertscited by 0
- 2026A Free Lunch? Adapting PP-OCRv6 for Historical Text Recognitioncited by 0
- 2026Handwritten Text Recognition Lives in the High-Pixel Variance Subspacecited by 0
- 2026Exploring In-Context Learning for Handwritten Text Recognitioncited by 0
- 2026Exploring In-Context Learning for Handwritten Text Recognition29 Sep 2026
- 2026Handwritten Text Recognition Lives in the High-Pixel Variance Subspace28 Sep 2026
- 2026A Free Lunch? Adapting PP-OCRv6 for Historical Text Recognition17 Sep 2026
- 2026ExpertHTR: Unified Handwritten Text Recognition with Multi-Task Learning and Sparse Mixture-of-Experts11 Sep 2026
- 2026UniLipi: A Unified Multi-Script OCR for Historical Indic Manuscripts28 Aug 2026
- 2026Out-of-Length Scene Text Recognition: A Two-Axis Diagnosis and a Training-Free Fix25 Jul 2026
- 2026Zero-Shot Synthetic-to-Real Handwritten Text Recognition via Task Analogies8 Apr 2026
- 2026Few-shot Writer Adaptation via Multimodal In-Context Learning31 Mar 2026
- 2026N-gram Injection into Transformers for Dynamic Language Model Adaptation in Handwritten Text Recognition4 Mar 2026
- 2025Handwritten Text Recognition: A Survey12 Feb 2025