Hafs2Vec: A System for the IqraEval Arabic and Qur'anic Phoneme-level Pronunciation Assessment
Paper · 2025 · Ahmed Ibrahim
Summary
Hafs2Vec is an entry to the Iqra'Eval 2025 shared task, which asks systems to find mispronounced phonemes in Modern Standard Arabic and Qur'anic speech. The author starts from a mismatch between two kinds of data. Learner recordings contain realistic mistakes but vary in acoustic quality. Professional recitations are clean but contain no errors.
To get the benefits of both, the official ~79 h Iqra'Eval training set was pooled with ~94 h of verses from 28 professional reciters. Standard MSA phonemizers ignore Tajweed, so the reciter audio was labelled by a custom phonemizer that applies Tajweed articulation rules and maps its output onto the official phoneme set. A fine-tuned wav2vec2-xls-r-1b with greedy decoding reached 46.50% F1 and 79.20% recall on QuranMB. That is close to the winning system (47.26% F1) and far above the baseline (28.64%).
The work shows that clean reference audio with rule-generated labels can strengthen error detection. The resulting system favours recall, which suits learner feedback.
Key points
- Data: reciter verses come from EveryAyah and the Qur'anic Universal Library, kept only if 10 s or shorter (~54k utterances). The Iqra'Eval set (~74k utterances) is CommonVoice Arabic plus Qur'anic material. The phonemizer handles Idgham, Iqlab, Ikhfaa and Qalqala.
- Training: 15 epochs, effective batch size 352, AdamW, learning rate 3e-5, warm-up ratio 0.1. The 1B xls-r model beat its 300M variant by ~1.3 absolute PER and also beat HuBERT and WavLM models of similar size.
- Dev PER, with substitutions as the most common error type:
- Iqra'Eval overall: 7.69%
- Qur'anic subset: 3.88%
- MSA subset: 9.50%
- held-out professional reciters: 1.55%
- Test (QuranMB): Hafs2Vec had the lowest false acceptance rate of the compared systems (20.80%) and a TAR of 88.40%. Its precision (32.92%) was below the winner's (37.13%). Across 1,643 test utterances, Tajweed phonemes almost never appeared wrongly in the output.
- Error analysis:
- Vowels cause ~63% of misrecognitions, with a category PER of 11.08%.
- Shaddah phonemes are rare but error-prone (category PER 8.45%). The rarest, "EE" and "HH", occur only 90 and 94 times in training.
Interesting ideas
- I1. The model is trained on a mix of clean, error-free reference data and noisy, error-rich learner data, then checked for one specific risk: features from the clean domain leaking into predictions for the other domain.
- I2. When a corpus has no annotation, a context-sensitive, rule-based labeller produces the labels and then maps them onto the target label inventory with a few pre- and post-processing rules.
- I3. Errors are reported per category in two ways: the error rate inside the category and the category's share of the total error. This separates frequent-but-easy classes from rare-but-hard ones.
- I4. Since near-identical vowel variants dominate confusions, the paper proposes collapsing them into fewer, broader classes. It also suggests oversampling, balanced batches or a weighted loss for rare classes.
- I5. The author argues for separate dev sets per style, accepting a small loss in one domain for a large gain in another.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (learn): Silver training data could mix edited prose with messy learner text, and a negative-control test could check that edited-text constructions are not hallucinated in plain inputs.
- I2 (tree): The same pattern fits deterministic converters that turn other treebank dialects into Mova's UD flavour, which would cheaply enlarge training data.
- I3 (tree): Parser errors could be broken down by relation family with both numbers, showing whether rare relations or common ones deserve the next effort.
- I4 (tokens): Reporting tagger accuracy at both fine and coarse tag levels, and oversampling sentences with rare morphological features, could show which distinctions the tagger truly cannot learn.
- I5 (answer): Fables, school tests and maths problems should each have their own evaluation set, so a gain in one genre does not hide a regression in another.
Institutions
Fields, topics and concepts
📚 Shelves 7The field of science this work belongs to (OpenAlex fields).Computer Science · 16,667 worksArtificial Intelligence · 16,194 worksArts and Humanities · 16,039 worksLanguage and Linguistics · 15,891 worksPsychology · 1,552 worksExperimental and Cognitive Psychology · 870 worksSignal Processing · 452 works
🧭 Topics 1Research subjects and languages the work is about.Semitic languages · 2,908 works
Cite
Cite as Ahmed Ibrahim. 2025. Hafs2Vec: A System for the IqraEval Arabic and Qur'anic Phoneme-level Pronunciation Assessment. Proceedings of The Third Arabic Natural Language Processing Conference: Shared Tasks.
@inproceedings{ibrahim2025hafs2vec,
title = {{Hafs2Vec: A System for the IqraEval Arabic and Qur'anic Phoneme-level Pronunciation Assessment}},
author = {Ahmed Ibrahim},
booktitle = {Proceedings of The Third Arabic Natural Language Processing Conference: Shared Tasks},
year = {2025},
doi = {10.18653/v1/2025.arabicnlp-sharedtasks.62},
url = {https://doi.org/10.18653/v1/2025.arabicnlp-sharedtasks.62}
}References
- Anonymous. 2010. Everyayah dataset. https://everyayah.com/. Online. ↗
- Rosana Ardila, Megan Branson, Kelly Davis, Michael Henretty, Michael Kohler, Josh Meyer, Reuben Morais, Lindsay Saunders, Francis M. Tyers, and Gregor Weber. 2020. Common voice: A massively-multilingual speech corpus. Preprint, arXiv:1912.06670. ↗
- Arun Babu, Changhan Wang, Andros Tjandra, Kushal Lakhotia, Qiantong Xu, Naman Goyal, Kritika Singh, Patrick von Platen, Yatharth Saraf, Juan Pino, Alexei Baevski, Alexis Conneau, and Michael Auli. 2021. XLS-R: self-supervised cross-lingual speech representation learning at scale. CoRR, abs/2111.09296. ↗
- Sanyuan Chen, Chengyi Wang, Zhengyang Chen, Yu Wu, Shujie Liu, Zhuo Chen, Jinyu Li, Naoyuki Kanda, Takuya Yoshioka, Xiong Xiao, Jian Wu, Long Zhou, Shuo Ren, Yanmin Qian, Yao Qian, Jian Wu, Michael Zeng, Xiangzhan Yu, and Furu Wei. 2022. Wavlm: Large-scale self-supervised pre-training for full stack speech processing. IEEE Journal of Selected Topics in Signal Processing, 16(6):1505–1518. ↗
- Nawar Halabi and Mike Wald. 2016. Phonetic inventory for an Arabic speech corpus. In Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC’16), pages 734–738, Portorož, Slovenia. European Language Resources Association (ELRA).
- Wei-Ning Hsu, Benjamin Bolte, Yao-Hung Hubert Tsai, Kushal Lakhotia, Ruslan Salakhutdinov, and Abdelrahman Mohamed. 2021. Hubert: Self-supervised speech representation learning by masked prediction of hidden units. Preprint, arXiv:2106.07447. ↗
- Ahmed Ibrahim. 2025. Quranic phonemizer. https://github.com/Hetchy/Quranic-Phonemizer. ↗
- Yassine El Kheir, Omnia Ibrahim, Amit Meghanani, Nada Almarwani, Hawau Olamide Toyin, Sadeen Alharbi, Modar Alfadly, Lamya Alkanhal, Ibrahim Selim, Shehab Elbatal, Salima Mdhaffar, Thomas Hain, Yasser Hifny, Mostafa Shahin, and Ahmed Ali. 2025. Towards a unified benchmark for arabic pronunciation assessment: Quranic recitation as case study. Preprint, arXiv:2506.07722. ↗
- Erfan Loweimi, Andrea Carmantini, Peter Bell, Steve Renals, and Zoran Cvetkovic. 2023. Phonetic error analysis beyond phone error rate. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 31:3346–3361. ↗
- Tarteel. 2025. Quranic universal library (qul) — recitations and segments data. https://qul.tarteel.ai/ resources/recitation. ↗
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/ibrahim-2025-hafs2vec-system-iqraeval-arabic-qur/