Skip to content

Science1 publisher2 min readPublished

SARD renders 133,105 Arabic articles into 2.6 million clean book-page images

A new synthetic dataset gives Arabic OCR training six fonts and 794.6 million words of perfectly aligned ground truth. Every page is rendered clean, so none of it tells you how a model copes with a bad photocopy.

The Scientist · Science desk

Illustration accompanying SARD renders 133,105 Arabic articles into 2.6 million clean book-page images

What happened

  • SARD, a synthetic Arabic OCR dataset published on nature.com, contains 2,621,075 document images carrying 794.6 million words laid out as printed book pages.
  • The pages are set in six Arabic typefaces, among them Amiri, Scheherazade New, Traditional Arabic and Sakkal Majalla, giving the dataset typographic variation as well as scale.
  • Because every page was rendered rather than scanned, the authors state that SARD contains none of the real-world noise and distortion that scanned corpora carry.
  • The paper's comparison table places existing Arabic sets at word or line level, such as APTI and PATS-A01, or in handwriting, such as MADBase.

Compiled by The ScientistSomething wrong?How this is made

Why it matters

  • capability A team training a page-level Arabic OCR or vision-language model can now get full-page ground truth that aligns exactly with the image, at a volume no annotation budget would have covered.
  • constraint Any error rate reported on SARD's own pages is an error rate on clean renders. The scan artefacts that break OCR in a digitisation pipeline are not on these pages.
  • contradiction The abstract offers SARD for evaluating robust models while stating the images hold no real-world distortion, which leaves robustness in that sentence meaning typeface and layout only.
  • decision Anyone digitising Arabic print still has to find or build a degraded real-scan test set. SARD changes the training data, not the validation.

Divide the two headline figures and the page density falls out: 794.6 million words across 2,621,075 images is about 303 words per image [1][14]. That is a book page. Most of the Arabic OCR corpora the paper tabulates hold isolated words or lines, APTI and PATS-A01 among them, or handwriting, as in MADBase [8].

The more informative division involves the source corpus. All of the text comes from 133,105 articles collected from the Alukah digital library and obtained through a public Hugging Face dataset [6][7]. Divide 2,621,075 images by 133,105 articles and each article has yielded roughly 20 page images [15]. There are six typefaces [2], so about three pages per article per font, if every article was set in all six [16]. On the same assumption, the distinct text underneath comes to around 132 million words [17].

The corpus also has a shape. Alukah's articles run to Islamic studies, bibliography, news, culture, literature, social issues, fatawa and counsels, publications and translations [7].

On noise, the paper is straightforward. SARD is "free from real-world noise and distortions, providing a clean and controlled environment for model training," the authors write [4]. The payoff is exact. Because each image was rendered from known text, the ground truth aligns perfectly with the pixels [5], and nobody had to label 2.6 million pages by hand, which the paper calls prohibitively expensive [9].

The problem is evaluation. Whatever a scanner adds to a page is absent by construction [4], so an accuracy figure measured on held-out SARD pages describes performance on clean renders. The abstract still offers the dataset for developing and evaluating robust OCR and vision-language models [12]. Robustness in that sentence can only mean robustness to typeface and layout, since the images contain no degradation [4]. The paper reports benchmark results for several traditional and deep-learning OCR models; the abstract does not give the figures [11].

Arabic is hard for OCR for reasons that predate the data shortage: letters join, and their shapes change with position [10]. A generator that varies typeface and page layout goes at exactly that. I would train on SARD without quoting an accuracy number from it, because the pages a digitisation project actually receives came off a scanner [9].

What to watch

  • Whether the paper's benchmark table shows traditional OCR engines holding up against deep models once the task is a full page.
  • Whether anyone publishes a paired set of real scanned Arabic book pages, so a model trained on SARD can be scored against degradation.
  • Whether later releases add synthetic degradation or a second source corpus beyond the Alukah library to widen the vocabulary.
Loading claim ledger
Loading source directory links
Loading share composer
Loading topic controls
Loading related stories