Skip to content
#small language model Open access

Synthetic Data-Driven Transformer OCR for Kurdish Sorani via Dynamic Line Generation and Script-Aware Normalization

Sep 2026 · Algorithms · 0 citations · 13 references
Handwritten Text Recognition Techniques

Abstract

OCR for low-resource languages is still held back by the same small number of issues: too little labeled image-text data, too few benchmarks, and thin language-specific tooling. Kurdish Sorani is a particularly awkward case. It is written in a modified Arabic script, runs right to left, and has orthographic habits that standard Arabic OCR engines handle poorly. This paper describes a transformer OCR system for Sorani trained almost entirely on synthetic data, meaning line images rendered on the fly from a text corpus rather than manually transcribed scans. The pipeline has three parts: corpus-driven line synthesis, a deterministic script-aware normalization step based on character-level transliteration, and a TrOCR encoder–decoder recognizer. Text lines are rendered with randomly sampled fonts and sizes, then passed through stochastic augmentation to mimic realistic distortions. The system is evaluated twice. On an in-distribution synthetic set of 200 rendered lines, the best model reaches a character error rate of 0.0434, a word error rate of 0.1246, and 64.0% exact matches. More importantly, on a real-world test set of 19 scanned Kurdish documents (467 lines, 28,468 characters) processed end-to-end through detection and recognition, it reaches a character error rate of 0.0305 and a word error rate of 0.1770, beating both Arabic and Kurdish Tesseract baselines and an existing Kurdish TrOCR model while being considerably smaller than the latter. A controlled ablation, in which eight variants are trained under one shared budget and scored on identical images, then isolates what each design choice contributes. The label space is the largest design effect, and the reason is concrete: the decoder’s pre-trained tokenizer has no representation for seven common Sorani graphemes, which cover 14.7% of the corpus and place a floor under any model trained on native-script labels. Corpus size dominates overall and behaves as a threshold, font diversity helps with diminishing returns, and stochastic augmentation buys robustness at a small cost in in-distribution accuracy. Aligning detected lines against the transcribed ones further shows that line detection contributes under 1% of the reported character error on this material. The broader point, at least for Sorani, is that the synthetic training data and the label space in which the model predicts have to be designed together: a compact recognizer built that way outperforms a substantially larger released Kurdish model on genuine document images.

Read PDF

Similar papers

#small language model Dataset Open access Oct 2026

Socratic guiding questions in synthetic arithmetic data: matched LoRA runs (revision v2)

Supporting data, adapters, predictions and code for the article *Low-Cost LoRA Fine-Tuning of Small Language Models for Multi-Step Arithmetic Reasoning* by Jake O'Grady, Asena Isik Gürhan, Chee Fong Ting and Effirul Ramlan (University of Galway). We generated 20,000 GSM8K-derived arithmetic problems with step-by-step s...

O'Grady, Jake, Gürhan, Asena Isik, Chee, Fong Ting et al. · 465 citations
#computer vision Open access Jun 2016

Software Development in Startup Companies: The Greenfield Startup Model

The results are packaged in the Greenfield Startup Model (GSM), which explains the priority of startups to release the product as quickly as possible, and the need to shorten time-to-market, by speeding up the development through low-precision engineering activities.

Carmine Giardino, Nicolò Paternoster, M. Unterkalmsteiner et al. · 178 citations · ⚡14
#computer vision Open access Oct 2016

Software Startups - A Research Agenda

Software startup companies develop innovative, software-intensive products within limited timeframes and with few resources, searching for sustainable and scalable business models.

M. Unterkalmsteiner, P. Abrahamsson, Xiaofeng Wang et al. · 157 citations · ⚡17
#machine learning Review Open access Oct 2016

“Failures” to be celebrated: an analysis of major pivots of software startups

This study conducts a case survey study based on the secondary data of the major pivots happened in 49 software startups, and demonstrates that customer need pivot is the most common among all pivot types.

Sohaib Shahid Bajwa, Xiaofeng Wang, Anh Nguyen-Duc et al. · 127 citations · ⚡15
#computer vision Review Open access May 2015

A survey study on major technical barriers affecting the decision to adopt cloud services

The comparison of adopter and non-adopter sample reveals three potential adoption inhibitor, security, data privacy, and portability, which underlines the importance of the technical and security perspectives for research investigating the adoption of technology.

Nattakarn Phaphoom, Xiaofeng Wang, S. Samuel et al. · 111 citations · ⚡8
#computer vision Open access Feb 2018

Lean Internal Startups for Software Product Innovation in Large Companies: Enablers and Inhibitors

This study investigates how Lean internal startup facilitates software product innovation in large companies and identifies its enablers and inhibitors, and shows the potential of the method-in-action framework to investigate the Lean startup approach in non-startup context.

Henry Edison, Nina M. Smørsgård, Xiaofeng Wang et al. · 78 citations · ⚡6

Related blog posts

Microsoft Research Blog Oct 12, 2026

Simulating student learning for better AI tutoring

StudentSim is a research system for evaluating and improving AI tutoring tools before they are tested with learners. It models how individuals may engage with tutors, giving feedback to improve tutor performance across subjects like chess, writing, and mathematics. The post Simulating student learning for better AI tutoring appeared first on Microsoft Research.

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