Skip to content
Review

RefLAM: A Reference-Grounded Line Annotation Pipeline for Historical Arabic Manuscripts

Aug 2026 · 1 citation · ⚡ 1 influential · 20 references
Computer Science

TL;DR

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, is presented, with CER results confirming its practical utility for downstream HTR training.

Abstract

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$\times$ 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.

View source

Similar papers

Review Aug 2026

AraMS-28k: The Largest Publicly Released Line-Level Dataset of Historical Arabic Manuscripts with Margin and Insertion-Anchor Annotations

We introduce AraMS-28k, the largest publicly released line-level dataset of genuine historical Arabic manuscripts, comprising 14 books, 3,043 pages, and 28,600 annotated text lines (27,971 main-text, 629 margin). Thirteen books are hand-copied manuscripts spanning three script traditions -- Naskh, Ruq'ah, and Maghrebi...

Mohamed Guechaoui, Mohamed Diaa Zellagui, Souleyman Chaib et al. · 1 citation · ⚡1
Open access 2026

A Confidence-Aware Hybrid OCR and Visual Retrieval Framework for Arabic Document Images

The paper will suggest and mathematically model a confidence-aware hybrid retrieval system in Arabic document images with the use of keyword queries, and presents Arabic-oriented framework, reproducible evaluation protocol, measured auxiliary evidence and the identification of the dedicated Arabic retrieval benchmark t...

A. S. Ibrahim · 0 citations
Review Open access Sep 2026

AI-ASSISTED PIPELINE FOR SEMI-AUTOMATIC CONSTRUCTION OF HTR CORPORA FROM HISTORICAL DOCUMENTS

This paper presents an improved software application for the semi-automatic annotation of handwritten words from historical documents using a CRNN deep learning model. The proposed approach integrates an artificial intelligence module directly into the annotation process, automatically generating a preliminary transcri...

A. Ivasechko, Khrystyna Lipianina-Honcharenko · 0 citations
Open access Aug 2026

Advancing Arabic Text Detection: A CNN-Heuristic and EfficientNet-B1-Based Framework

This work proposes a two-step method for Arabic Text Detection (ATD), aiming to improve accuracy without overly complex pipelines, and starts with a set of heuristic rules to pre-select candidate regions that confirm the robustness of the approach, particularly in cluttered visual environments.

A. Amrouche · 0 citations
Review Aug 2026

Beyond Recognition: Compact Multi-Domain Arabic Manuscript HTR with Candidate-Selection Analysis and Evidence-Preserving Review

Historical Arabic manuscript transcription is not only a recognition problem. A usable scholarly system must cope with shifting hands and layouts, preserve uncertain readings, distinguish visual evidence from linguistic plausibility, and record the researcher's final decision. We present Phoenix, a 4.99-million-paramet...

A. Ali, M. Abdulhadi, A. Safaa et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.