Rescoring Sequence-to-Sequence Models for Text Line Recognition with CTC-Prefixes
Not on the map. Why?
Abstract (arXiv)
In contrast to Connectionist Temporal Classification (CTC) approaches, Sequence-To-Sequence (S2S) models for Handwritten Text Recognition (HTR) suffer from errors such as skipped or repeated words which often occur at the end of a sequence. In this paper, to combine the best of both approaches, we propose to use the CTC-Prefix-Score during S2S decoding. Hereby, during beam search, paths that are invalid according to the CTC confidence matrix are penalised. Our network architecture is composed of a Convolutional Neural Network (CNN) as visual backbone, bidirectional Long-Short-Term-Memory-Cells (LSTMs) as encoder, and a decoder which is a Transformer with inserted mutual attention layers. The CTC confidences are computed on the encoder while the Transformer is only used for character-wise S2S decoding. We evaluate this setup on three HTR data sets: IAM, Rimes, and StAZH. On IAM, we achieve a competitive Character Error Rate (CER) of 2.95% when pretraining our model on synthetic data and including a character-based language model for contemporary English. Compared to other state-of-the-art approaches, our model requires about 10-20 times less parameters. Access our shared implementations via this link to GitHub: https://github.com/Planet-AI-GmbH/tfaip-hybrid-ctc-s2s.
Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Builds on 7 of its 16 references that are in the map. First posted on arXiv 12 Oct 2021.
Builds on
7 of 16 references.
References · 7
- 2014Sequence to Sequence Learning with Neural Networkscited by 2,986
- 2021TrOCR: Transformer-based Optical Character Recognition with Pre-trained Modelscited by 279
- 2020Pay Attention to What You Read: Non-recurrent Handwritten Text-Line Recognitioncited by 71
- 2019Evaluating Sequence-to-Sequence Models for Handwritten Text Recognitioncited by 58
- 2020Handwritten Optical Character Recognition (OCR): A Comprehensive Systematic Literature Review (SLR)cited by 56
- 2021Rethinking Text Line Recognition Modelscited by 45
- 2020ESPnet-se: end-to-end speech enhancement and separation toolkit designed for asr integrationcited by 22
Built on by
Citing papers per year: 2022: 2; 2023: 4; 2024: 5; 2025: 3; 2026: 4.
18 papers.
Sort:
By area:
- 2022The LAM Dataset: A Novel Benchmark for Line-Level Handwritten Text Recognitioncited by 17
- 2022Boosting Modern and Historical Handwritten Text Recognition with Deformable Convolutionscited by 14
- 2023How to Choose Pretrained Handwriting Recognition Models for Single Writer Fine-Tuningcited by 13
- 2025Handwritten Text Recognition: A Surveycited by 12
- 2024On the Generalization of Handwritten Text Recognition Modelscited by 10
- 2024DANIEL: A fast Document Attention Network for Information Extraction and Labelling of handwritten documentscited by 9
- 2023Improving Handwritten OCR with Training Samples Generated by Glyph Conditional Denoising Diffusion Probabilistic Modelcited by 8
- 2024Qalam : A Multimodal LLM for Arabic Optical Character and Handwriting Recognitioncited by 7
- 2024Nuremberg Letterbooks: A Multi-Transcriptional Dataset of Early 15th Century Manuscripts for Document Analysiscited by 2
- 2025Quo Vadis Handwritten Text Generation for Handwritten Text Recognition?cited by 2
- 2023A Study of Augmentation Methods for Handwritten Stenography Recognitioncited by 1
- 2023Combining OCR Models for Reading Early Modern Printed Bookscited by 1
6 more
- 2024Spatial Context-based Self-Supervised Learning for Handwritten Text Recognitioncited by 1
- 2026DRetHTR: Linear-Time Decoder-Only Retentive Network for Handwritten Text Recognitioncited by 1
- 2026A Text Recognition Dataset from Sahidic Coptic Ancient Manuscriptscited by 1
- 2025Application of deep learning approaches for medieval historical documents transcriptioncited by 0
- 2026Zero-Shot Synthetic-to-Real Handwritten Text Recognition via Task Analogiescited by 0
- 2026Handwritten Text Recognition Lives in the High-Pixel Variance Subspacecited by 0
- 2026Handwritten Text Recognition Lives in the High-Pixel Variance Subspace28 Sep 2026
- 2026A Text Recognition Dataset from Sahidic Coptic Ancient Manuscripts14 Jun 2026
- 2026Zero-Shot Synthetic-to-Real Handwritten Text Recognition via Task Analogies8 Apr 2026
- 2026DRetHTR: Linear-Time Decoder-Only Retentive Network for Handwritten Text Recognition19 Feb 2026
- 2025Application of deep learning approaches for medieval historical documents transcription21 Dec 2025
- 2025Quo Vadis Handwritten Text Generation for Handwritten Text Recognition?13 Aug 2025
- 2025Handwritten Text Recognition: A Survey12 Feb 2025
- 2024On the Generalization of Handwritten Text Recognition Models26 Nov 2024
- 2024Nuremberg Letterbooks: A Multi-Transcriptional Dataset of Early 15th Century Manuscripts for Document Analysis11 Nov 2024
- 2024Qalam : A Multimodal LLM for Arabic Optical Character and Handwriting Recognition18 Jul 2024
- 2024DANIEL: A fast Document Attention Network for Information Extraction and Labelling of handwritten documents12 Jul 2024
- 2024Spatial Context-based Self-Supervised Learning for Handwritten Text Recognition17 Apr 2024
6 more
- 2023Improving Handwritten OCR with Training Samples Generated by Glyph Conditional Denoising Diffusion Probabilistic Model31 May 2023
- 2023Combining OCR Models for Reading Early Modern Printed Books11 May 2023
- 2023How to Choose Pretrained Handwriting Recognition Models for Single Writer Fine-Tuning4 May 2023
- 2023A Study of Augmentation Methods for Handwritten Stenography Recognition5 Mar 2023
- 2022Boosting Modern and Historical Handwritten Text Recognition with Deformable Convolutions17 Aug 2022
- 2022The LAM Dataset: A Novel Benchmark for Line-Level Handwritten Text Recognition16 Aug 2022
- 2022The LAM Dataset: A Novel Benchmark for Line-Level Handwritten Text Recognitioncited by 17
- 2022Boosting Modern and Historical Handwritten Text Recognition with Deformable Convolutionscited by 14
- 2023How to Choose Pretrained Handwriting Recognition Models for Single Writer Fine-Tuningcited by 13
- 2025Handwritten Text Recognition: A Surveycited by 12
- 2024On the Generalization of Handwritten Text Recognition Modelscited by 10
- 2024DANIEL: A fast Document Attention Network for Information Extraction and Labelling of handwritten documentscited by 9
- 2024Qalam : A Multimodal LLM for Arabic Optical Character and Handwriting Recognitioncited by 7
- 2024Nuremberg Letterbooks: A Multi-Transcriptional Dataset of Early 15th Century Manuscripts for Document Analysiscited by 2
- 2025Quo Vadis Handwritten Text Generation for Handwritten Text Recognition?cited by 2
- 2023A Study of Augmentation Methods for Handwritten Stenography Recognitioncited by 1
- 2023Combining OCR Models for Reading Early Modern Printed Bookscited by 1
- 2024Spatial Context-based Self-Supervised Learning for Handwritten Text Recognitioncited by 1
12 most cited of 17 All 17 (JSON)
- 2026Handwritten Text Recognition Lives in the High-Pixel Variance Subspace28 Sep 2026
- 2026A Text Recognition Dataset from Sahidic Coptic Ancient Manuscripts14 Jun 2026
- 2026Zero-Shot Synthetic-to-Real Handwritten Text Recognition via Task Analogies8 Apr 2026
- 2026DRetHTR: Linear-Time Decoder-Only Retentive Network for Handwritten Text Recognition19 Feb 2026
- 2025Application of deep learning approaches for medieval historical documents transcription21 Dec 2025
- 2025Quo Vadis Handwritten Text Generation for Handwritten Text Recognition?13 Aug 2025
- 2025Handwritten Text Recognition: A Survey12 Feb 2025
- 2024On the Generalization of Handwritten Text Recognition Models26 Nov 2024
- 2024Nuremberg Letterbooks: A Multi-Transcriptional Dataset of Early 15th Century Manuscripts for Document Analysis11 Nov 2024
- 2024Qalam : A Multimodal LLM for Arabic Optical Character and Handwriting Recognition18 Jul 2024
- 2024DANIEL: A fast Document Attention Network for Information Extraction and Labelling of handwritten documents12 Jul 2024
- 2024Spatial Context-based Self-Supervised Learning for Handwritten Text Recognition17 Apr 2024
12 newest of 17 All 17 (JSON)