mlsanityData to 14 Oct 2026

HATFormer: Historic Handwritten Arabic Text Recognition with Transformers

arXiv 2410.02179 ↗First posted 3 Oct 2024cs.CV cs.CL cs.LGcited by 9

Not on the map. Why?

Abstract (arXiv)

Arabic handwritten text recognition (HTR) is challenging, especially for historical texts, due to diverse writing styles and the intrinsic features of Arabic script. Additionally, Arabic handwriting datasets are smaller compared to English ones, making it difficult to train generalizable Arabic HTR models. To address these challenges, we propose HATFormer, a transformer-based encoder-decoder architecture that builds on a state-of-the-art English HTR model. By leveraging the transformer's attention mechanism, HATFormer captures spatial contextual information to address the intrinsic challenges of Arabic script through differentiating cursive characters, decomposing visual representations, and identifying diacritics. Our customization to historical handwritten Arabic includes an image processor for effective ViT information preprocessing, a text tokenizer for compact Arabic text representation, and a training pipeline that accounts for a limited amount of historic Arabic handwriting data. HATFormer achieves a character error rate (CER) of 8.6% on the largest public historical handwritten Arabic dataset, with a 51% improvement over the best baseline in the literature. HATFormer also attains a comparable CER of 4.2% on the largest private non-historical dataset. Our work demonstrates the feasibility of adapting an English HTR method to a low-resource language with complex, language-specific challenges, contributing to advancements in document digitization, information retrieval, and cultural preservation.

Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 19 of its 57 references that are in the map. First posted on arXiv 3 Oct 2024.

Builds on

19 of 57 references.

References · 19

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,548
  6. 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,375
  7. 2013Speech Recognition with Deep Recurrent Neural Networkscited by 669
  8. 2015An End-to-End Trainable Neural Network for Image-based Sequence Recognition and Its Application to Scene Text Recognitioncited by 520
  9. 2022Pix2Struct: Screenshot Parsing as Pretraining for Visual Language Understandingcited by 366
  10. 2021TrOCR: Transformer-based Optical Character Recognition with Pre-trained Modelscited by 279
  11. 2020On the Stability of Fine-tuning BERT: Misconceptions, Explanations, and Strong Baselinescited by 255
  12. 2023Patch n' Pack: NaViT, a Vision Transformer for any Aspect Ratio and Resolutioncited by 229
7 more
  1. 2019Decoupled Attention Network for Text Recognitioncited by 102
  2. 2019Visualizing and Understanding the Effectiveness of BERTcited by 67
  3. 2019Evaluating Sequence-to-Sequence Models for Handwritten Text Recognitioncited by 58
  4. 2023DTrOCR: Decoder-only Transformer for Optical Character Recognitioncited by 40
  5. 2024Muharaf: Manuscripts of Handwritten Arabic Dataset for Cursive Text Recognitioncited by 13
  6. 2023A Transformer-based Approach for Arabic Offline Handwritten Text Recognitioncited by 9
  7. 2024Representing Online Handwriting for Recognition in Large Vision-Language Modelscited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 9.

9 papers.