TL;DR
Habibi is the first open-source, unified text-to-speech (TTS) framework for Arabic that successfully synthesizes over 12 regional dialects without requiring text diacritization. By utilizing a linguistically-informed curriculum learning strategy that transitions from Modern Standard Arabic (MSA) to regional dialects, Habibi achieves zero-shot speech synthesis that matches specialized models and directly competes with leading commercial systems like ElevenLabs.
What Problem Does This Paper Address?
Arabic is a pluricentric language spoken by over 400 million people across more than 30 distinct regional varieties. While Modern Standard Arabic (MSA) serves as the official written and formal standard, daily communication happens almost exclusively in regional dialects (e.g., Egyptian, Levantine, Gulf, Moroccan), which exhibit massive lexical and phonological differences.
Building an open-source, multi-dialect Arabic TTS system has traditionally faced three major roadblocks:
- Phonological Divergence: The massive pronunciation gaps between dialects make unified modeling incredibly difficult.
- Data Scarcity: High-quality, synthesis-grade speech data for dialects is virtually non-existent. Most available open-source data comes from Automatic Speech Recognition (ASR) corpora, which are plagued by background noise and low sampling rates.
- Lack of Diacritics: Written Arabic typically omits diacritics (vowel markings), meaning a TTS model must implicitly infer short vowels and dialect-specific pronunciations directly from raw text.
Furthermore, the community has lacked a standardized multi-dialect evaluation benchmark, making it impossible to reliably measure progress in Arabic speech synthesis.
Methods
The authors built Habibi on top of F5-TTS, an open-source, non-autoregressive flow-matching framework that operates directly on mel spectrograms and raw text character sequences. To overcome the challenges of multi-dialect modeling, they introduced two key strategies:
- Linguistically-Informed Curriculum Learning: Instead of training on highly variable dialect data from scratch, the authors implemented a two-stage training pipeline. The model is first initialized from a Chinese-English base model and fine-tuned exclusively on MSA. Because MSA possesses regular phonological and grammatical patterns, it acts as a stable linguistic bridge. Once the model masters foundational Arabic articulation, it is introduced to dialectal data.
- Dialect-Aware Supervised Fine-Tuning (SFT): The text input sequence is augmented with special regional identifier tokens (e.g.,
<SAU>for Saudi,<EGY>for Egyptian). This explicitly helps the model internalize and separate dialect-specific phonological patterns during training, though the model remains robust even if these tokens are omitted at inference time. - Data Curation Pipeline: To turn noisy ASR data into TTS-grade data, they designed a multi-step filtering pipeline based on speaking rate (Characters Per Second) to eliminate bad text-audio alignments, combined with audio source-separation models to denoise low-signal-to-noise ratio (SNR) clips.
Datasets
The authors compiled and cleaned a massive training dataset and established a new evaluation standard:
- Training Data: They repurposed several open-source ASR datasets (including MASC, MGB-2/3/5, SADA, FLEURS, and the Omnilingual ASR Corpus) alongside public datasets like UAE-100K and DarijaTTS. The final curated dataset scales up to 1,857.3 hours of speech across 879,339 utterances.
- The Habibi Benchmark: The paper introduces the first standardized multi-dialect Arabic zero-shot TTS benchmark. It consists of over 11,000 utterances across 7 major subsets (MSA, Saudi, Emirati, Algerian, Iraqi, Egyptian, and Moroccan) with manually verified and filtered transcripts.
Key Insights and Ideas
- MSA is a Vital Structural Anchor: The ablation studies revealed that skipping the MSA training stage and fine-tuning directly on dialectal data causes a severe drop in performance. MSA provides a necessary phonetic foundation that makes cross-dialect transfer possible.
- Unified Models Match Specialized Ones: Historically, researchers built separate, specialized models for individual dialects. Habibi proves that a single unified model can generalize across the entire Arabic dialectal spectrum, matching or even outperforming specialized models—especially in speaker similarity.
- The Naturalness vs. Fidelity Trade-Off: Commercial systems like ElevenLabs often prioritize absolute audio smoothness and naturalness, sometimes at the expense of speaker similarity (cloning accuracy). Habibi demonstrates that a flow-matching architecture can maintain exceptionally high speaker cloning fidelity while remaining highly competitive in naturalness.
Key Results
The authors evaluated Habibi against ElevenLabs' commercial Eleven v3 (alpha) using both automatic metrics (WavLM for speaker similarity, UTMOS for naturalness) and extensive human evaluations (Mean Opinion Scores for dialect accuracy, speaker similarity, and naturalness).
- Superior Speaker Similarity: In human evaluations (SMOS), Habibi-Unified outperformed ElevenLabs across all seven dialects, often by a substantial margin (e.g., scoring 4.10 vs. 2.48 on Algerian Arabic).
- Competitive Dialect Accuracy: Habibi achieved higher Dialect Pronunciation Accuracy (DMOS) than ElevenLabs on MSA, UAE, Algerian, and Iraqi subsets.
- Robust Intelligibility: Automatic Word Error Rate (WER) evaluations showed that Habibi-Unified achieved lower or comparable error rates to ElevenLabs across the majority of tested dialects.
Limitations and Future Work
- ASR Evaluation Bottleneck: Evaluating dialectal speech synthesis remains heavily bottlenecked by the quality of current Arabic ASR systems. Even ground-truth audio from certain dialects (like Moroccan Darija or Algerian) yields high baseline WERs, making automatic intelligibility tracking noisy.
- Data Quality Dominance: While expanding data quantity helps, the authors noted that data cleanliness and quality remain the dominant factors for high-fidelity synthesis. Noisy data, even when denoised, can still degrade performance.
- Future Work: The authors plan to explore scaling up clean dialectal data collection, optimizing tokenization strategies to better handle code-switching (mixing dialects or languages), and refining the underlying flow-matching architecture to close the remaining naturalness gap with commercial systems.
Summary updated