Skip to the content.

Hossam Elsafty

About me

I am a Data Scientist at Fraunhofer IAIS and a PhD researcher at the Applied Machine Learning Lab (AML Lab) at the University of Bonn. My work sits where research meets industry: alongside my PhD, I work on industrial machine learning projects, taking models from an idea to systems that run reliably on real-world data.

My research centres on low-resource languages, and Arabic in particular. Arabic is one of the five most spoken languages in the world, yet it remains underserved by today’s language models: its many dialects differ sharply from Modern Standard Arabic, diacritics are usually left out of written text, and its script is still hard to read reliably from scanned and photographed documents. I build the datasets, models and evaluations needed to close these gaps.

A recurring theme in my work is making training work under real constraints. I optimise how models are trained for the amount and quality of data available, diagnose and fix training problems, and use knowledge distillation to turn large models into compact ones that are cheaper to deploy. I also design fine-tuning pipelines that adapt foundation models to a specific problem, from data preparation to evaluation.

More recently, I have been building agentic systems and researching how LLM-based agents plan, use tools and solve multi-step tasks, while continuing to work on OCR and multimodal models that bring text and vision together.

Research Interests

Selected recent work

Knowing When to Abstain

Generalizing Abstention for Noise-Robust Learning in Medical Image Segmentation

MIDL 2026

We extend abstention, letting a model set aside samples it cannot learn from reliably, to medical image segmentation, so that training stays robust when the annotations are noisy.

[Paper]

Arabic OCR in the Age of Multimodal Models

A Comprehensive Comparative Evaluation

IEEE BigData 2025

We compare OCR systems and multimodal models on reading Arabic text, to see where each approach works well and where Arabic script still causes problems.

[Paper]

ArDia

Improving Arabic Dialectal Language Classification Using a Novel Dataset

ICWSM 2025

We introduce ArDia, a new dataset for classifying Arabic dialects, and use it to improve how well models tell the dialects apart.

[Paper]

Contact Details

If you want to get in contact, write an Email to hossam.elsafty[at]iais.fraunhofer.de. For thesis or course enquiries, you can also reach the lab at amllab[at]bit.uni-bonn.de.