Elamur Research⌕
☰
home / papers / 2023 / Diacritic Recognition Performance in Arabic ASR

Diacritic Recognition Performance in Arabic ASR

Summary

Arabic writing usually leaves out diacritics, the marks for short vowels, consonant doubling and case endings. Most speech corpora are therefore transcribed without them, and modern ASR systems seldom output them. Earlier work concluded that diacritized training transcripts make ASR worse, but it only reported overall error rates. It never checked how well the diacritics themselves were recognized compared with adding them afterwards using a text-only diacritizer.

The authors fine-tune Whisper (medium) and Wav2Vec XLS-R on ClArTTS, a roughly 10-hour single-speaker classical Arabic corpus with full manual diacritics. They compare three transcript conditions: UD (undiacritized, with diacritics restored after recognition by Shakkelha or D2), MD (manually diacritized) and AD (automatically diacritized). Diacritic quality is measured separately from base recognition through two metrics, coverage and precision.

Diacritics predicted by the ASR model beat text-based post-processing, most clearly when training used manual diacritics. Automatic diacritics gave mixed or equal results, and the cost in base WER/CER was small. This suggests the audio signal carries vowel evidence that text-only restoration cannot use.

Key points

  • Data: ClArTTS has about 10 h of training audio (9500 segments) and a 1 h test set (205 segments). The Arabic Speech Corpus test set (100 utterances) serves as out-of-domain data for diacritic evaluation only.
  • Without fine-tuning, Whisper-medium is nearly diacritic-free:
    • on ClArTTS: WER 16.7%, CER 4.8%, diacritic coverage 1.9%;
    • on ASC: WER 53.4% and coverage 1.0%.
  • Metrics:
    • WER/CER are reported both with and without diacritics.
    • Coverage is the number of diacritic marks per alphabetic character.
    • Precision is computed on matching words and is reported with and without case endings.
  • The text diacritizers (Shakkelha, D2) are trained on Tashkeela. Retraining them on the ClArTTS transcripts made them worse, and their accuracy dropped noticeably even when given gold speech transcripts as input.
  • MD fine-tuning gave the best diacritization, including on the out-of-domain ASC set. The underlying WER/CER rose only slightly.

Interesting ideas

  • I1. Split a combined error into separate parts: base recognition error ignoring the extra layer, how often the layer is emitted (coverage), and how correct it is when emitted (precision). — For Mova (tokens): Score morphological features and lemmas with separate coverage and precision on correctly tokenized words, so tokenizer mistakes do not hide tagger quality.
  • I2. When the prediction or the reference lacks a mark, the case counts only toward coverage, never as a precision error, so omissions are not penalized twice. — For Mova (learn): Evaluation of witness parsers could separate abstentions from wrong answers in the same way, making silver-data agreement scores easier to interpret.
  • I3. Predicting an annotation inside the model that sees the richer input works better than restoring it later with a pipeline step that sees only the reduced output. — For Mova (tree): Predict UD features or enhanced relations jointly in gparse rather than with a post-hoc rule pass, while keeping each prediction traceable to explain it.
  • I4. Training on manual, automatic and absent labels as three controlled conditions shows directly what silver labels cost compared with gold ones. — For Mova (learn): Run the same three-way comparison (gold treebank, silver agreed parses, no extra layer) before trusting LLM-teacher or witness-produced data.
  • I5. Feeding a text tool gold input from a new domain shows how much of its error is domain shift rather than upstream noise. — For Mova (answer): Give the fable and word-problem readers gold UD trees to separate parser errors from reasoning errors.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

Fields: Linguistics & languages

Topics: Speech & spoken language · Semitic languages

Cite

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.21437/interspeech.2023-2344 · arXiv 2302.14022

@misc{aldarmaki2023diacritic,
  title = {{Diacritic Recognition Performance in Arabic ASR}},
  author = {Aldarmaki, Hanan and Ghannam, Ahmad},
  year = {2023},
  doi = {10.21437/interspeech.2023-2344},
  eprint = {2302.14022},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.21437/interspeech.2023-2344}
}

References

15 references, 5 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. T. Zerrouki and A. Balla, “Tashkeela: Novel corpus of arabic vocalized texts, data for auto-diacritization systems,” Data in brief, vol. 11, pp. 147–151, 2017. find
  2. A. Fadel, I. Tuffaha, M. Al-Ayyoub et al., “Arabic text diacritization using deep neural networks,” in 2019 2nd international conference on computer applications & information security (IC-CAIS). IEEE, 2019, pp. 1–7. find our card
  3. N. Halabi, “Modern standard arabic phonetics for speech synthesis,” Ph.D. dissertation, University of Southampton, 2016. find
  4. H. Bouamor, W. Zaghouani, M. Diab, O. Obeid, K. Oflazer, M. Ghoneim, and A. Hawwari, “A pilot study on arabic multi-genre corpus diacritization,” in Proceedings of the Second Workshop on Arabic Natural Language Processing, 2015, pp. 80–88. find
  5. S. Esmail, K. Bar, and N. Dershowitz, “How much does lookahead matter for disambiguation? partial arabic diacritization case study,” Computational Linguistics, vol. 48, no. 4, pp. 1103–1123, 2022. find our card
  6. T. Al Hanai and J. R. Glass, “Lexical modeling for arabic asr: a systematic approach.” in INTERSPEECH, 2014, pp. 2605–2609. find
  7. I. McGraw, I. Badr, and J. R. Glass, “Learning lexicons from speech using a pronunciation mixture model,” IEEE Transactions on Audio, Speech, and Language Processing, vol. 21, no. 2, pp. 357–366, 2012. find
  8. S. Abed, M. Alshayeji, and S. Sultan, “Diacritics effect on arabic speech recognition,” Arabian Journal for Science and Engineering, vol. 44, pp. 9043–9056, 2019. find
  9. H. A. Alsayadi, A. A. Abdelhamid, I. Hegazy, and Z. T. Fayed, “Arabic speech recognition using end-to-end deep learning,” IET Signal Processing, vol. 15, no. 8, pp. 521–534, 2021. find
  10. ——, “Non-diacritized arabic speech recognition based on cnn-lstm and attention-based models,” Journal of Intelligent & Fuzzy Systems, vol. 41, no. 6, pp. 6207–6219, 2021. find
  11. A. Babu, C. Wang, A. Tjandra, K. Lakhotia, Q. Xu, N. Goyal, K. Singh, P. von Platen, Y. Saraf, J. Pino et al., “Xls-r: Self-supervised cross-lingual speech representation learning at scale,” arXiv preprint arXiv:2111.09296, 2021. ↗ our card
  12. A. Radford, J. W. Kim, T. Xu, G. Brockman, C. McLeavey, and I. Sutskever, “Robust speech recognition via large-scale weak supervision,” arXiv preprint arXiv:2212.04356, 2022. ↗ our card
  13. A. Fadel, I. Tuffaha, M. Al-Ayyoub et al., “Neural arabic text diacritization: State of the art results and a novel approach for machine translation,” in Proceedings of the 6th Workshop on Asian Translation, 2019, pp. 215–225. find our card
  14. B. AlKhamissi, M. ElNokrashy, and M. Gabr, “Deep diacritization: Efficient hierarchical recurrence for improved arabic diacritization,” in Proceedings of the Fifth Arabic Natural Language Processing Workshop, 2020, pp. 38–48. find
  15. A. Graves, S. Fernández, F. Gomez, and J. Schmidhuber, “Connectionist temporal classification: labelling unsegmented sequence data with recurrent neural networks,” in Proceedings of the 23rd international conference on Machine learning, 2006, pp. 369–376. find

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/aldarmaki-2023-diacritic-recognition-performance-arabic-asr/