RefLAM: A Reference-Grounded Line Annotation Pipeline for Historical Arabic Manuscripts
Not on the map. Why?
Abstract (arXiv)
Existing approaches to building line-level Arabic handwritten-text-recognition (HTR) training data either rely on fully manual annotation, which does not scale, or on automatic OCR-to-reference alignment methods not yet extended to multi-script, two-zone (main-plus-margin) manuscript layouts with a provable correctness guarantee. We present RefLAM (Reference-grounded Line Annotation for Manuscripts), a pipeline converting manuscript page images and clean transcriptions into validated, line-level ground truth without sacrificing human oversight. RefLAM couples a deep-learning page-segmentation model with a multimodal large language model (MLLM) for structured OCR and a diacritic-agnostic fuzzy alignment engine that grounds each OCR line in a contiguous span of the reference text, with a character-level confidence score in [0,100]. A perfect score is provably equivalent to character-for-character identity of the normalised strings (the Confidence-100 rule), verified with no counterexample across the released corpus. A reviewer can thus trust a perfect score, confirming most lines at a glance rather than retyping them, so annotation becomes triaged, with attention concentrated on uncertain alignments. Across 7 fully page-validated books we measured a 75× throughput gain over manual annotation (3,000 vs. 40 lines/hr); applying the same guarantee to 7 further books, we retained 16,533 confidence-100 main-text lines within one week, excluding sub-100 lines rather than manually correcting them. Using RefLAM, we release AraMS-28k: 14 historical Arabic manuscript books, 3,043 pages, and 27,971 main-text and 629 margin-line annotations with bounding boxes, layout labels, and insertion anchors for 191 margin entries (30.4%). We also finetune Muharaf-pretrained baselines (including HATFormer) on AraMS-28k and report CER results confirming its practical utility for downstream HTR training.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 4 of its 20 references that are in the map. First posted on arXiv 25 Aug 2026.
Builds on
4 of 20 references.
References · 4
- 2024Muharaf: Manuscripts of Handwritten Arabic Dataset for Cursive Text Recognitioncited by 13
- 2024HATFormer: Historic Handwritten Arabic Text Recognition with Transformerscited by 9
- 2024Reference-Based Post-OCR Processing with LLM for Precise Diacritic Text in Historical Document Recognitioncited by 6
- 2021Digital Editions as Distant Supervision for Layout Analysis of Printed Bookscited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026When Do VLMs Help Arabic Manuscript OCR? A Cross-Dataset Study
- 2025SARD: A Large-Scale Synthetic Arabic OCR Dataset for Book-Style Text Recognition
- 2025QARI-OCR: High-Fidelity Arabic Text Recognition through Multimodal Large Language Model Adaptation
- 2025Baseer: A Vision-Language Model for Arabic Document-to-Markdown OCR
- 2025KITAB-Bench: A Comprehensive Multi-Domain Benchmark for Arabic OCR and Document Understanding
- 2026AtlasOCR: Building the First Open-Source Darija OCR Model with Vision Language Models
- 2024Qalam : A Multimodal LLM for Arabic Optical Character and Handwriting Recognition
- 2026A Free Lunch? Adapting PP-OCRv6 for Historical Text Recognition