Real-Time Quranic Recitation Assessment on Mobile Devices Using Streaming Inference and Model Compression

Abdelrahman Ayman Amin Mohamed, Abdullah Haytham Mohamed Salah Hedeya


Abstract
Automatic Quranic recitation assessment requires accurate detection of phonetic and Tajweed-related pronunciation errors while providing low-latency feedback. However, most speech recognition models are designed for offline processing and are too large for deployment on consumer mobile devices.

We present a real-time Quranic recitation assessment system based on a multi-head Wav2Vec2-BERT model trained to jointly predict phonemes and Tajweed Sifat attributes using Connectionist Temporal Classification. To enable streaming inference without retraining, we introduce an Adaptive Eager-Emission framework that combines heuristic output commitment, dynamic context expansion, and overlap recovery, reducing perceived latency while preserving long-range temporal features.

For efficient on-device deployment, we propose a structured compression pipeline based on encoder pruning, recovery fine-tuning, and INT8 quantization with ONNX optimization, reducing a 600M-parameter, 2.4 GB model to a 24.5M-parameter, 36 MB model while maintaining recognition performance.

The streaming framework consistently outperforms static sliding-window approaches across the accuracy–latency trade-off, achieving responsiveness as low as 1.0 s at roughly 2.1% phoneme error rate (PER), or near-offline performance below 1% PER at 6.0 s average chunk latency, while the production streaming configuration maintains 99.45% average Sifat attribute accuracy. On a mid-range Android CPU, the compressed model runs at a real-time factor of 0.225 with a peak memory of about 600 MB.
Anthology ID:
2026.arabicnlp-main.30
Volume:
Proceedings of The Fourth Arabic Natural Language Processing Conference
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Muhammad Abdul-Mageed, Tamer Elsayed, Houda Bouamor, Samhaa El-Beltagy, Hend Al-Khalifa, Ahmed Abdelali, AbdelRahim Elmadany, Abdellah El Mekki, Kareem Darwish, Sakhar Alkhereyf, Hamzah Luqman, Salam Khalifa, Samar Magdy, Zaid Alyafeai, Injy Hamed, Wajdi Zaghouani, Imed Zitouni
Venue:
ArabicNLP
SIG:
SIGARAB
Publisher:
Association for Computational Linguistics
Note:
Pages:
433–443
Language:
URL:
https://aclanthology.org/2026.arabicnlp-main.30/
DOI:
Bibkey:
Cite (ACL):
Abdelrahman Ayman Amin Mohamed and Abdullah Haytham Mohamed Salah Hedeya. 2026. Real-Time Quranic Recitation Assessment on Mobile Devices Using Streaming Inference and Model Compression. In Proceedings of The Fourth Arabic Natural Language Processing Conference, pages 433–443, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
Real-Time Quranic Recitation Assessment on Mobile Devices Using Streaming Inference and Model Compression (Mohamed & Hedeya, ArabicNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.arabicnlp-main.30.pdf