Geo-aware Arabic dialect identification: a case study of the Ha’il Region Dialect in Saudi Arabia
Arabic dialect identification (ADI) on social media is challenging due to code-switching, orthographic variation, class imbalance, and fuzzy linguistic borders. We propose a simple, modular recipe that (i) preserves dialectal cues during preprocessing, (ii) fuses subword and character information, (iii) encodes geographic structure directly in the supervision signal via a country adjacency graph, and (iv) calibrates posteriors with selective prediction. Concretely, we replace one-hot targets with geo-aware soft labels and train with a KL objective; add a lightweight character CNN; apply temperature scaling; and report selective accuracy at a development-set-tuned threshold. On NADI (country level), geo-aware training improves Macro-F1 and accuracy over cross-entropy and reduces miscalibration, with further gains from the character channel and the best ECE after temperature scaling. Geo-aware supervision is consistently superior to uniform label smoothing at the same smoothing mass, confirming that geographic structure —not mere regularization—drives the gains. In cross-domain transfer (train on NADI, test on MADAR \(\rightarrow \) country), geo-aware supervision substantially outperforms cross-entropy and is markedly more stable across seeds, while character-level cues are less transferable when using cross-lingual tokenizers. Finally, we instantiate the same recipe at a finer granularity through an empirical case study of the Ha’il region dialect in Saudi Arabia, based on a newly collected and manually annotated social media corpus ( \(N{=}17{,}000\) tweets; Cohen’s \(\kappa {=}0.74\) ), and show how explicit geographic priors and calibrated uncertainty can support regional-level analyses even under limited labeled data. Overall, explicit geographic priors improve both average performance and reliability, providing a practical baseline for robust ADI beyond the training domain.
Authors
- Younés Bahou (ORCID: https://orcid.org/0000-0001-6669-0655)
- Sarra Elgharbi (ORCID: https://orcid.org/0000-0001-8285-3135)
- Seifeddine Mechti (ORCID: https://orcid.org/0000-0001-5666-092X)
- Rawia Ahmed
Institutions
- University of Ha'il (SA)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-11-27
- DOI
- https://doi.org/10.1038/s41598-026-81219-0
- Primary Topic
- Natural Language Processing Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00