Manuscript Offprint
arXiv:2610.23079X-MDD: LLM-Based Mispronunciation Detection and Diagnosis for Unseen Languages with Canonical References
Abstract
Mispronunciation detection and diagnosis (MDD) provides phone-level feedback to language learners, but extending it to new languages typically requires collecting and annotating learner speech for each target language. This repeated annotation effort is costly and limits the language coverage of pronunciation feedback. We study whether MDD capabilities learned from annotated learner speech can be applied to languages unseen during MDD training when canonical pronunciation references are available. Our multilingual LLM-based model, X-MDD, uses canonical speech and phones as references to predict the phone sequence actually produced by a learner. It incorporates in-context demonstrations for inference-time adaptation and is further optimized with group relative policy optimization (GRPO) using detection F1 and phone error rate. We further analyze how canonical inputs affect prediction and find that (1) canonical speech and phones jointly contribute to actual-phone prediction, and (2) conflicting speech evidence reduces the tendency to copy canonical phones. Trained only on Mandarin and English, X-MDD achieves a detection F1 of 38.07 on Arabic Qur'anic recitation, compared with 44.14 for a supervised challenge baseline trained on Arabic. It also achieves F1 scores of 78.68 and 58.78 on Mandarin and English, respectively, demonstrating effective multilingual MDD within a single model.
1 Introduction
Computer-assisted pronunciation training (CAPT) provides second-language (L2) learners with automated feedback on their pronunciation (Hu et al., 2014; Leung et al., 2019; Li et al., 2016b; Lin and Wang, 2022). Two common tasks in CAPT are automatic pronunciation assessment (APA) and mispronunciation detection and diagnosis (MDD). APA assigns pronunciation scores (Yan and Chen, 2024; Pei et al., 2024; Do et al., 2023), whereas MDD identifies which phones were mispronounced and what the learner produced instead (Leung et al., 2019; Feng et al., 2020; Zhang et al., 2022; Wang et al., 2022). For example, an MDD system can indicate that the intended phone /n/ was realized as /l/. By locating errors and identifying their actual realizations, MDD provides specific feedback that learners can use to improve their pronunciation (Ehsani and Knodt, 1998).
Extending this feedback across languages remains challenging. Existing MDD systems typically rely on annotated learner speech from the target language (Peng et al., 2021; Wang et al., 2024b; Yang et al., 2026). Consequently, extending an MDD system to a new language often requires collecting and annotating another learner-speech corpus. Producing these annotations is labor-intensive because annotators must identify the phones actually pronounced, including non-native realizations influenced by the learner's first language (Liu et al., 2023). This repeated effort limits the language coverage of pronunciation feedback. Multilingual modeling offers a way to share supervision across languages, but supporting several training languages does not by itself establish whether the learned diagnostic capability can transfer to a language unseen during MDD training. We therefore ask whether diagnostic capabilities learned from annotated learner speech in source languages can be applied to a new language without target-language MDD training, given its canonical pronunciation references.
Recent progress in multilingual automatic speech recognition (ASR) suggests a route to such transfer. Recent speech models can leverage audio-text demonstrations through in-context learning (ICL) to adapt to new speakers and language varieties without parameter updates (Wang et al., 2024a; Roll et al., 2025). Recent multilingual
Corresponding authors.
ASR work further demonstrates recognition of new languages using a number of contextual examples (Keren et al., 2025). These findings motivate using demonstrations to transfer pronunciation diagnosis to unseen languages.
LLMs have also been applied to MDD, using learner speech and canonical phone sequences to predict the phones actually pronounced (Wu et al., 2024, 2025). However, these results do not yet establish whether such diagnostic capabilities can transfer to a language unseen during MDD training when its canonical pronunciation is available. Two issues require attention. First, the amount and language coverage of annotated learner speech are much smaller than those of multilingual ASR data, so learning to exploit demonstrations for MDD must rely on limited task supervision. Second, canonical information must support recognition while preserving sensitivity to pronunciation errors. Canonical phones specify the intended sequence, but unfamiliar phone symbols may not provide sufficient information about their acoustic realization. At the same time, explicit canonical priors can bias predictions toward the intended pronunciation, leading to lower recall (Geng et al., 2026). This creates a need for both acoustic grounding of canonical phones and training objectives that explicitly reward accurate error detection and diagnosis.
To address these issues, we introduce X-MDD, a multilingual LLM-based MDD framework that uses canonical speech and phones as references. Given learner speech, synthesized canonical speech, and the canonical phones, the model autoregressively predicts the learner's actual phones. Canonical speech provides an acoustic realization of the intended pronunciation. During supervised fine-tuning, we include in-context demonstrations so that the model learns to use examples of actual pronunciation. We further optimize the model using group relative policy optimization (GRPO) (Shao et al., 2024) with a reward based on detection F1 and phone error rate (PER), aligning training with both mispronunciation detection and accurate phone recognition.
We train X-MDD on Mandarin and English and evaluate its transfer to Arabic Qur'anic recitation using QuranMB.v2 (Kheir et al., 2026). With canonical references and 128 in-context demonstrations, the model achieves a detection F1 of 38.07 on Arabic, compared with 44.14 for the supervised official challenge baseline (Kheir et al., 2026). GRPO further improves MDD performance over supervised fine-tuning across all three languages.
Our contributions are threefold:
• MDD for languages unseen during training. We investigate whether diagnostic capabilities learned from source languages can be applied to a new language without target-language MDD training, given its canonical pronunciation references and in-context demonstrations for adaptation.
• MDD with acoustic and phonetic references. We introduce X-MDD, a multilingual LLM-based framework that combines canonical speech and phones in-context prompting and GRPO for actual phone recognition and mispronunciation detection.
• Demonstration of unseen-language transfer. We demonstrate transfer to Arabic without Arabic MDD model training and analyze how canonical references, in-context prompting, and GRPO shape the model’s diagnostic behavior.
2.1 Mispronunciation Detection and Diagnosis
Early MDD systems extended speech recognition to explicitly model common L2 pronunciation errors using extended recognition networks (ERN) (Harrison et al., 2009; Qian et al., 2010). Later approaches incorporated multiple sources of pronunciation information, including acoustic, graphemic, and phonemic features (Li et al., 2016a). More recent end-to-end systems directly predict phone sequences without precomputed phone-level alignments (Leung et al., 2019; Peng et al., 2021; Wu et al., 2021; Wang et al., 2024b). Canonical text and phones have also been incorporated as linguistic priors (Feng et al., 2020; Ye et al., 2022; Korzekwa et al., 2021), and discriminative objectives have been developed to directly optimize detection F1 (Yan et al., 2022). Extending MDD across languages, L1-MultiMDD (Kheir et al., 2024) jointly models multiple target languages while incorporating learners' native-language backgrounds. Although it evaluates transfer to additional learner corpora, the target languages remain represented during MDD training. Our work investigates MDD for a target language excluded from MDD training, given its canonical pronunciation references.
2.2 LLM-Based Mispronunciation Detection and Diagnosis
Recent work has formulated MDD as phone-sequence generation with LLMs. ATP-LLM (Wu et al., 2024) combines learner speech representations with canonical phone and text sequences to predict the phones actually pronounced. PP-ATP (Wu et al., 2025) extends this formulation by augmenting the textual prompt with potential pronunciations, including common mispronunciations. Related studies explore multimodal LLMs for pronunciation scoring at different granularities (Fu et al., 2024; Wang et al., 2025; Ahn and Nam, 2025). These studies primarily evaluate supervised adaptation within individual target languages. In contrast, X-MDD combines canonical speech and phones with in-context demonstrations for unseen-language MDD.
2.3 Multilingual ASR and Phone Recognition
In-context learning offers a way to adapt speech recognition through examples supplied at inference. (Wang et al., 2024a) show that Whisper can use labeled speech examples to adapt to new speakers and language varieties. (Roll et al., 2025) further demonstrate the value of same-speaker examples for in-context adaptation with Phi-4 Multimodal. At the language level, Omnilingual ASR (Keren et al., 2025) supports adaptation to unseen languages from a set of speech-text demonstrations. These findings motivate our use of in-context prompting for pronunciation diagnosis in a new language, where canonical pronunciation references are also available.
Multilingual phone recognition has also explored transfer to unseen languages. Allophant (Glocker et al., 2023) and (Magoshi et al., 2025) use articulatory attributes to support phone recognition in unseen languages. ZIPA (Zhu et al., 2025) and PhoneticXEUS (Bharadwaj et al., 2026) develop International Phonetic Alphabet (IPA)-based phone recognizers using Connectionist Temporal Classification (CTC) or transducer objectives, with evaluations covering unseen languages and pronunciation variation. Our work instead studies MDD for languages excluded from MDD training, where the predicted phones must reveal deviations from an utterance's canonical pronunciation. We retain each dataset's phone notation and encode its symbols with the LLM's existing Byte Pair Encoding (BPE) tokenizer, without explicitly converting the annotations to a shared IPA inventory.
3 Method
3.1 Model Overview
As shown in Figure 1, X-MDD comprises an audio transformer (AuT), an audio projector, and an LLM decoder, all initialized from Qwen3-ASR-1.7B (Shi et al., 2026). For each query, a text-to-speech (TTS) system synthesizes canonical speech using the canonical phone sequence and the learner's speech as the reference for voice cloning. The model receives these three inputs together with optional in-context demonstrations . Each demonstration is a tuple , where denotes the learner's actual phone sequence. The canonical and learner speech share the same AuT and projector, yielding for . Phone sequences are serialized as space-separated symbols and encoded with the backbone's BPE tokenizer. The canonical phone embeddings are .
The decoder input combines the task instructions, demonstrations, and query inputs into a single embedding sequence:
where encodes the task instructions and concatenates the demonstration embeddings, and is empty when . Each canonical speech, canonical phone, and learner speech segment is preceded by a learnable boundary token. The boundary token embeddings are omitted from Eq. 1 for clarity. Given E, the decoder autoregressively generates the BPE token sequence , with the target defined as , where denotes the target actual phones. The generated tokens are detokenized into the actual predicted phone sequence , which is aligned with to obtain the detection and diagnosis results.
3.2 Training
Supervised fine-tuning. We fine-tune all parameters of the MDD model except the three Conv2D layers at the input of the AuT, which remain frozen. Given the target BPE token sequence and the input embeddings ,
https://huggingface.co/Qwen/Qwen3-ASR-1.7B

Figure 1: Overview of X-MDD, built on Qwen3-ASR-1.7B. Canonical speech is synthesized from canonical phones, using learner speech as the reference for voice cloning. Conditioned on these three inputs and optional in-context demonstrations, the model generates the learner's actual phone sequence for MDD.
we minimize the negative log-likelihood:
where denotes the conditional token distribution parameterized by the MDD model. The loss is computed only over the query response.
Reinforcement learning. Starting from the SFT model, we further optimize mispronunciation detection and phone recognition using group relative policy optimization (GRPO) (Shao et al., 2024). Let denote the current autoregressive policy parameterized by . We sample G token sequences from a snapshot of the current policy, , using ancestral sampling with temperature . Each sample is detokenized for reward computation. The reward combines utterance-level detection F1 and phone error rate (PER):
where balances the two reward terms. We normalize the rewards within each group to obtain the advantage , where and are the mean and standard deviation of the group rewards, and is a small positive constant for numerical stability. The advantage is shared by all tokens of sample .
We update the policy using a length-normalized surrogate loss with a Kullback–Leibler (KL) penalty toward the frozen SFT reference model :
(4)
where controls the strength of KL regularization. The per-token KL estimator is defined as:
(5)
Each sampled group is used for a single policy update. The current and sampling policies coincide at gradient evaluation, making clipping inactive; Eq. 4 therefore omits the minimum and clipping operations, following (Shao et al., 2024). The sampling-policy probabilities and advantages are treated as constants during differentiation, while the current policy probabilities remain differentiable with respect to .
3.3 In-Context Learning via Prompting
In-context prompting allows X-MDD to condition its predictions on annotated examples. During training, each sample consists of a query containing canonical speech, canonical phones, and learner speech, together with N demonstrations sampled from other utterances of the same-speaker.
At inference, all test speakers are unseen during training. For Mandarin, we construct a support set S of 150 annotated utterances from the corresponding test speaker. For English and Arabic, where same-speaker support data are unavailable, we follow (Wang et al., 2024a) and use k-nearest neighbors (KNN) to retrieve demonstrations from native-speaker support sets: SpeechOcean762 (Zhang et al., 2021) for English and Iqra_Extra_IS26 for Arabic. The Iqra_Extra_IS26 is used only at inference and not for model training.
The prompt follows the dialogue format of Qwen3-ASR. The task block, demonstrations , and query are included in a single user turn. The task block specifies the target language, the query speaker's accent, and the task description. Each demonstration contains canonical speech, canonical phones, and learner speech, followed by the annotated actual phones after . Demonstrations are enclosed by and . These boundary tokens have learnable embeddings. All demonstration speech is encoded by the same AuT and projector used for the query. The query contains only the three inputs, with its actual phones predicted in the subsequent assistant turn. The assistant response begins with the Qwen3-ASR language prefix, after which the decoder generates autoregressively using greedy decoding until is emitted. The generated tokens are detokenized to obtain . Further details are provided in Appendix C.1.
4 Experimental Setup
4.1 Datasets
Training data. For Mandarin, we combine native speech from AISHELL-3 (Shi et al., 2020) with human-annotated Sichuan-, Singaporean-from MagicHub and LATIC (Zhang, 2021). For English, we combine native speech from TIMIT (Garofolo et al., 1993) with non-native speech from SpeechOcean762 (Zhang et al., 2021) (Mandarin L1) and L2-ARCTIC (Zhao et al., 2018) (six L1 backgrounds). Further details on the datasets are provided in Appendix B. We use Pinyin initials and tonal finals for Mandarin and the stress-free 39-phone CMU inventory for English.
Evaluation data. The Mandarin evaluation set contains 900 utterances from six speakers: four with accents represented in training (Sichuan, Singaporean, and Russian) and two with held-out accents (Korean and Chadian). Following (Peng et al., 2021), we hold out one L2-ARCTIC speaker per L1 background for English evaluation, yielding 900 utterances from 6 speakers. For Arabic, we use the official QuranMB.v2 test set from the IqraEval 2026 challenge. Further details on the datasets are provided in Appendix B.
4.2 Implementation Details
Canonical speech synthesis. For Mandarin and English, we synthesize canonical speech using CosyVoice3 (Du et al., 2025) (Fun-CosyVoice3-0.5B) , with the corresponding learner recording as the voice-cloning reference. For Arabic, we use SILMA TTS , a pretrained Arabic–English TTS model.
Training and inference. We initialize the MDD backbone from Qwen3-ASR-1.7B and train on two NVIDIA L40S GPUs. SFT uses AdamW (Loshchilov and Hutter, 2019) with learning rates of for the LLM and projector and for the AuT. We train for 7,000 steps on mixed Mandarin and English data with uniform sampling and an effective batch size of 48. The AuT is frozen for the first 1,000 steps, while its input Conv2D layers remain frozen throughout training. The SFT checkpoint with the highest mean Mandarin/English development MDD F1 initializes GRPO, which runs for 300 steps on utterances with annotated errors. GRPO uses hypotheses per prompt, a learning rate of , , , and . SFT uniformly samples the number of demonstrations from 0 to 4, while GRPO uniformly samples it from 1 to 2. The inference evaluates settings with up to 128 demonstrations. Arabic decoding is restricted to the IqraEval phone symbols occurring in the QuranMB test set, with further details provided in Appendix C.1.
4.3 Evaluation Metrics
We evaluate phone recognition using phone error rate (PER), mispronunciation detection and diagnose using precision, recall, F1, and diagnostic error rate (DER). DER measures the proportion of correctly detected mispronunciations that are incorrectly diagnosed. Higher precision, recall, and
https://huggingface.co/datasets/IqraEval/Iqra_Extra_IS26
https://huggingface.co/FunAudioLLM/Fun-CosyVoice3-0.5B-2512
https://magichub.com/datasets/
https://huggingface.co/silma-ai/silma-tts
Table 1: MDD performance on Mandarin (ZH) and English (EN). All values are percentages; P and R denote detection precision and recall. For PER, F1, and DER, the best and second-best results across all models are shown in bold and underline, respectively.
| Model | Mandarin (ZH) | English (EN) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| PER↓ | P↑ | R↑ | F1↑ | DER↓ | PER↓ | P↑ | R↑ | F1↑ | DER↓ | |
| Monolingual baselines | ||||||||||
| w2v-CTC (Peng et al., 2021) | 23.04 | 74.17 | 78.58 | 76.31 | 40.39 | 15.97 | 55.19 | 48.15 | 51.43 | 27.82 |
| Pitch-aware RNN-T (Wang et al., 2024b) | 28.08 | 68.33 | 37.98 | 48.83 | 49.20 | 16.56 | 51.63 | 49.25 | 50.41 | 29.98 |
| ATP-LLM (Wu et al., 2024) | 20.53 | 82.37 | 69.23 | 75.23 | 35.36 | 14.20 | 63.67 | 20.42 | 30.92 | 21.23 |
| WHU-IASP (Yang et al., 2026) | 23.00 | 73.51 | 78.59 | 75.97 | 39.21 | 14.96 | 55.42 | 52.75 | 54.05 | 27.85 |
| Multilingual baseline | ||||||||||
| L1-MultiMDD (Kheir et al., 2024) | 28.38 | 67.59 | 36.89 | 47.73 | 56.45 | 20.02 | 41.57 | 49.76 | 45.30 | 38.70 |
| Our models | ||||||||||
| X-MDD (monolingual) | 18.65 | 83.15 | 63.97 | 72.31 | 28.65 | 13.29 | 58.85 | 53.25 | 55.91 | 20.50 |
| X-MDD (multilingual) | 17.79 | 82.24 | 75.41 | 78.68 | 31.55 | 12.87 | 60.04 | 57.57 | 58.78 | 19.71 |
F1 indicate better performance, as do lower PER and DER. Detailed definitions and formulas are provided in Appendix C.3.
5 Experimental Results
5.1 Comparison with Baselines
Table 1 compares X-MDD with existing monolingual and multilingual MDD systems on Mandarin and English. Our monolingual variant improves PER and DER over the monolingual baselines on both languages. Multilingual X-MDD achieves the best PER and F1 on both languages and the best DER on English. Relative to monolingual training, it improves F1 by 6.37 and 2.87 percentage points on Mandarin and English, respectively, while reducing PER.
5.2 Ablation Study on Seen Languages
Table 2 examines the effects of canonical references, ICL, and GRPO on the seen languages. Canonical references alone (base) do not consistently improve detection: canonical phones reduce F1 on both ZH and EN, while canonical speech yields comparable performance to the no-reference setting. In contrast, GRPO consistently improves F1 across all canonical reference settings, with particularly large gains when canonical speech and phones are combined. ICL provides smaller and less consistent improvements, but further improves GRPO in several settings. For EN, combining canonical speech and phones with ICL and GRPO achieves the highest F1, while also maintaining relatively low PER and DER. For ZH, the no-reference model with ICL and GRPO achieves the highest F1 of 80.35, although canonical speech and phones with GRPO reaches a comparable 79.34.
Table 2: Effects of canonical references, ICL, and GRPO on seen languages (%). Base excludes ICL and GRPO; ICL uses four test-time demonstrations. Bold/underline mark the best/second-best F1 within each block and language.
| Setting | ZH | EN | ||||
|---|---|---|---|---|---|---|
| PER↓ | F1↑ | DER↓ | PER↓ | F1↑ | DER↓ | |
| No canonical reference | ||||||
| Base | 17.75 | 79.49 | 31.67 | 15.64 | 54.89 | 25.39 |
| + ICL | 17.86 | 80.21 | 32.38 | 15.39 | 55.10 | 24.93 |
| + GRPO | 18.53 | 79.42 | 32.94 | 16.69 | 54.14 | 25.62 |
| + ICL + GRPO | 18.32 | 80.35 | 32.98 | 16.60 | 55.82 | 24.26 |
| Canonical phones | ||||||
| Base | 17.95 | 74.67 | 30.65 | 12.02 | 53.35 | 18.10 |
| + ICL | 20.01 | 61.75 | 25.51 | 11.90 | 54.00 | 18.05 |
| + GRPO | 18.58 | 78.03 | 33.56 | 14.27 | 56.49 | 20.60 |
| + ICL + GRPO | 18.94 | 74.64 | 31.52 | 12.89 | 56.53 | 20.15 |
| Canonical speech | ||||||
| Base | 17.17 | 77.28 | 29.66 | 14.71 | 54.29 | 21.62 |
| + ICL | 17.63 | 76.20 | 30.75 | 14.51 | 54.06 | 22.41 |
| + GRPO | 17.99 | 78.26 | 32.18 | 16.36 | 54.78 | 23.14 |
| + ICL + GRPO | 18.12 | 77.29 | 31.61 | 15.80 | 55.18 | 23.80 |
| Canonical speech + phones | ||||||
| Base | 18.21 | 73.91 | 30.45 | 11.99 | 54.47 | 17.83 |
| + ICL | 17.68 | 75.87 | 30.24 | 11.64 | 54.75 | 16.86 |
| + GRPO | 18.99 | 79.34 | 34.16 | 12.91 | 58.25 | 20.36 |
| + ICL + GRPO | 17.66 | 79.00 | 31.32 | 12.86 | 58.88 | 19.47 |
| Canonical speech + text | ||||||
| Base | 17.69 | 76.35 | 30.83 | 14.06 | 53.99 | 21.39 |
| + ICL | 17.39 | 77.35 | 30.74 | 13.97 | 53.92 | 22.16 |
| + GRPO | 17.74 | 78.85 | 31.62 | 15.20 | 56.75 | 21.78 |
| + ICL + GRPO | 17.89 | 79.12 | 32.35 | 15.43 | 55.53 | 22.46 |
5.3 Transfer to an Unseen Language
Table 3 evaluates transfer to Arabic, which is excluded from MDD training. Canonical phones are critical in this setting: models without them exhibit very high PER, even with ICL and GRPO. Combining canonical speech and phones yields the
Table 3: Results on unseen Arabic (%). Base excludes ICL and GRPO; ICL uses 128 test-time demonstrations. Bold/underline mark the best/second-best results for each metric, excluding the Arabic-trained baseline (*).
| Setting | PER↓ | F1↑ | DER↓ |
|---|---|---|---|
| IqraEval baseline* | 16.15 | 44.14 | 38.8 |
| No canonical reference | |||
| Base | 606.10 | 12.72 | 92.51 |
| + ICL + GRPO | 84.64 | 18.80 | 58.93 |
| Canonical phones | |||
| Base | 10.46 | 17.40 | 46.11 |
| + ICL + GRPO | 10.47 | 25.06 | 41.58 |
| Canonical speech | |||
| Base | 462.54 | 12.55 | 93.08 |
| + ICL + GRPO | 94.38 | 17.82 | 66.80 |
| Canonical speech + phones | |||
| Base | 10.15 | 23.88 | 50.98 |
| + ICL + GRPO | 7.75 | 38.07 | 40.33 |
| Canonical speech + text | |||
| Base | 409.68 | 13.47 | 88.04 |
| + ICL + GRPO | 95.49 | 18.58 | 66.55 |
Table 4: Effect of the number of ICL demonstrations (N) on Arabic MDD. Metrics are percentages; P/R denote precision/recall. Bold/underline mark the best/second-best results, including ties.
| N | PER↓ | P↑ | R↑ | F1↑ | DER↓ |
|---|---|---|---|---|---|
| 0 | 10.29 | 38.39 | 32.54 | 35.22 | 44.55 |
| 2 | 9.43 | 36.30 | 32.15 | 34.10 | 43.51 |
| 8 | 8.45 | 40.85 | 32.54 | 36.22 | 42.53 |
| 32 | 8.14 | 45.92 | 31.52 | 37.38 | 38.88 |
| 64 | 7.38 | 49.68 | 30.09 | 37.48 | 37.86 |
| 128 | 7.75 | 49.74 | 30.84 | 38.07 | 40.33 |
strongest results, with ICL and GRPO further improving all three metrics. With 128 inference-time demonstrations, this configuration achieves 38.07 F1, compared with 44.14 for the challenge baseline trained on Arabic, showing that diagnostic capabilities learned from Mandarin and English can transfer to Arabic when canonical references and labeled demonstrations are available. Table 4 further examines demonstration count. More demonstrations generally improve F1 through higher precision, accompanied by slightly lower recall, although the gains are not monotonic. F1 peaks with 128 demonstrations, whereas PER and DER are lowest with 64. A qualitative example of this trend is provided in Case 2 of Appendix E.
5.4 Reliance on Canonical References
Attention patterns. Figure 2 shows that canonical phones receive over half of the attention al- located to the three inputs in layers 19–28. The layer-5 maps in Figure 3 reveal a near-diagonal pattern, with attention broadly following the canonical sequence as generation progresses. Both speech inputs also receive localized attention, including near the highlighted mispronunciations. Together, these patterns suggest that canonical phones and canonical speech jointly contribute to actual phone prediction.

Figure 2: Mean attention shares across the three inputs on the Arabic test set. Shading marks layers 19–28, where canonical phones receive over 50%. The vertical guide marks layer 5 (Figure 3).

Figure 3: Layer-5 decoder attention of X-MDD for three Arabic utterances. Insets magnify the gray-boxed regions, with red boxes highlighting mispronounced output phones and red x-axis labels marking their canonical counterparts. Input segments are horizontally rescaled, with a separate color scale for each utterance.
Canonical-phone corruption. We randomly replace 20% of canonical phones while keeping both speech inputs unchanged. Each replacement differs from both the original canonical phone and the annotated actual phone. For example, consider canonical phones and actual phones . Corrupting the originally cor-
20% canonical phones replaced
(speech unchanged)

Figure 4: Canonical phone intervention across three languages, showing how often the model follows the replaced phone at correctly pronounced and mispronounced positions. Error bars indicate 95% confidence intervals.
rect second position yields , whereas corrupting the originally mispronounced first position yields . The canonical and learner speech agree at the former position but differ at the latter; neither recording is modified. We measure how often the model outputs the replacement phone, grouping positions by their original pronunciation status. As shown in Figure 4, the model follows replacement phones more often at originally correct positions across all three languages. This is consistent with a stronger canonical-phone prior when canonical and actual pronunciation agree, and reduced reliance on that prior at mispronounced positions. In other words, conflicting speech evidence reduces the tendency to copy canonical phones. A qualitative example of this trend is provided in Case 3 of Appendix E.
5.5 Effects of GRPO on Phone Predictions
Figure 5 traces phone predictions through decoder layers 18–28 using the logit lens on Arabic substitution errors under teacher forcing. Here, substitution errors refer to positions where the annotated actual phone differs from the canonical phone. In later layers, GRPO increases actual phone predictions and reduces canonical phone predictions, alongside a modest increase in other phone predictions. At layer 28, the actual phone share rises from 16.0% under SFT to 24.4% after GRPO. Figure 6 further examines the SFT ranks of actual phones at positions newly corrected by GRPO. Most were already ranked second by SFT, whereas lower-ranked phones account for few of these corrections. To

Figure 5: Logit-lens outcomes on Arabic substitution errors under teacher forcing. At layer 28, the actual-phone share increases from 16.0% (SFT) to 24.4% (GRPO), a gain of 8.5 percentage points.

Rank of actual phone under SFT
Figure 6: SFT ranks of actual phones newly corrected by GRPO under teacher forcing. Solid/light bars denote new CD/TA, normalized within each language and group. The 2nd bin includes rank-1 entries from the original grouping.
gether, these results suggest that GRPO primarily promotes actual phones that are already highly ranked by SFT. A qualitative example is provided in Case 1 of Appendix E.
6 Conclusion
We presented X-MDD, a framework for transferring MDD to languages unseen during MDD training using canonical speech and phone references. Trained on Mandarin and English, it transfers to Arabic with canonical references and inference-time demonstrations. Our analyses show that canonical phones and speech jointly contribute to phone prediction. The model relies more on canonical phones at correctly pronounced positions, while conflicting speech evidence reduces this tendency. GRPO further promotes actual phones already highly ranked by SFT. Together, these results characterize how canonical references and learner speech influence prediction. Low recall and limited diagnosis accuracy on Arabic remain key challenges. Future work will evaluate transfer across more unseen languages and learner populations.
7 Limitations
Evaluation on unseen languages is limited to Arabic, primarily due to the limited availability of publicly available MDD datasets. Furthermore, some accent-specific test sets contain only one speaker, making it difficult to disentangle accent-related differences from individual speaker characteristics and draw reliable conclusions about performance across accents. Although our results demonstrate the potential for generalization to an unseen language, broader evaluation across languages, accents, and learner populations is needed to establish the robustness and generalizability of the proposed framework. Future work could address these limitations by developing and releasing multilingual MDD evaluation datasets with greater speaker diversity and more balanced accent coverage, particularly for low-resource languages. Such efforts could facilitate more comprehensive evaluation of multilingual MDD systems and support more inclusive and accessible language learning.
References
Taekyung Ahn and Hosung Nam. 2025. English pronunciation evaluation without complex joint training: Lora fine-tuned speech multimodal llm. arXiv preprint arXiv:2509.02915.
Shikhar Bharadwaj, Chin-Jou Li, Kwanghee Choi, Eunjung Yeo, William Chen, Shinji Watanabe, and David R Mortensen. 2026. An empirical recipe for universal phone recognition. arXiv preprint arXiv:2603.29042.
Heejin Do, Yunsu Kim, and Gary Geunbae Lee. 2023. Hierarchical pronunciation assessment with multi-aspect attention. In ICASSP 2023 - 2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5.
Zhihao Du, Changfeng Gao, Yuxuan Wang, Fan Yu, Tianyu Zhao, Hao Wang, Xiang Lv, Hui Wang, Xian Shi, Keyu An, et al. 2025. Cosyvoice 3: Towards in-the-wild speech generation via scaling-up and post-training. arXiv preprint arXiv:2505.17589.
Farzad Ehsani and Eva Knodt. 1998. Speech technology in computer-aided language learning: Strengths and limitations of a new call paradigm. Language Learning & Technology, 2.
Yiqing Feng, Guanyu Fu, Qingcai Chen, and Kai Chen. 2020. Sed-mdd: Towards sentence dependent end-to-end mispronunciation detection and diagnosis. In ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 3492–3496. IEEE.
Kaiqi Fu, Linkai Peng, Nan Yang, and Shuran Zhou. 2024. Pronunciation assessment with multi-modal large language models. CoRR, abs/2407.09209.
John S. Garofolo, Lori F. Lamel, William M. Fisher, Jonathan G. Fiscus, David S. Pallett, and Nancy L. Dahlgren. 1993. DARPA TIMIT Acoustic-Phonetic Continuous Speech Corpus CD-ROM.
Haopeng Geng, Longfei Yang, Xi Chen, Haitong Sun, Daisuke Saito, and Nobuaki Minematsu. 2026. Beyond acoustic sparsity and linguistic bias: A prompt-free paradigm for mispronunciation detection and diagnosis. arXiv preprint arXiv:2604.22133.
Kevin Glocker, Aaricia Herygers, and Munir Georges. 2023. Allophant: Cross-lingual phoneme recognition with articulatory attributes. In 24th Annual Conference of the International Speech Communication Association, Interspeech 2023, Dublin, Ireland, August 20-24, 2023, pages 2258–2262. ISCA.
Alissa M. Harrison, Wai-Kit Lo, Xiaojun Qian, and Helen Meng. 2009. Implementation of an extended recognition network for mispronunciation detection and diagnosis in computer-assisted pronunciation training. In ISCA International Workshop on Speech and Language Technology in Education, SLaTE 2009, Warwickshire, England, UK, September 3-5, 2009, pages 45–48. ISCA.
Wenping Hu, Yao Qian, and Frank K. Soong. 2014. A dnn-based acoustic modeling of tonal language and its application to mandarin pronunciation training. In 2014 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 3206–3210.
Tuong Tu Huu, Viet Thanh Pham, Thi Thu Trang Nguyen, and Thai Lai Dao. 2023. Mispronunciation detection and diagnosis model for tonal language, applied to Vietnamese. In Proc. INTERSPEECH 2023, pages 1014–1018.
Gil Keren, Artyom Kozhevnikov, Yen Meng, Christophe Ropers, Matthew Setzler, Skyler Wang, Ife Adebara, Michael Auli, Can Balioglu, et al. 2025. Omnilingual asr: Open-source multilingual speech recognition for 1600+ languages. arXiv preprint arXiv:2511.09690.
Yassine El Kheir, Ahmed Ali, Ahmed Ali, Ahmed Ali, Ahmed Ali, Ahmed Ali, Ahmed Ali, and Ahmed Ali. 2026. IQRA 2026: Interspeech Challenge on Automatic Assessment Pronunciation for Modern Standard Arabic (MSA). In Interspeech 2026, pages 1001–1005.
Yassine El Kheir, Shammur Absar Chowdhury, and Ahmed Ali. 2024. L1-aware multilingual mispronunciation detection framework. In IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP 2024, pages 12752–12756. IEEE.
Daniel Korzekwa, Jaime Lorenzo-Trueba, Szymon Zaporowski, Shira Calamaro, Thomas Drugman, and Bozena Kostek. 2021. Mispronunciation detection in non-native (L2) english with uncertainty modeling. In IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP 2021, Toronto, ON, Canada, June 6-11, 2021, pages 7738–7742. IEEE.
Ann Lee, Nancy F. Chen, and James R. Glass. 2016. Personalized mispronunciation detection and diagnosis based on unsupervised error pattern discovery. In 2016 IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP 2016, Shanghai, China, March 20-25, 2016, pages 6145–6149. IEEE.
Wai-Kim Leung, Xunying Liu, and Helen Meng. 2019. Cnn-rnn-ctc based end-to-end mispronunciation detection and diagnosis. In ICASSP 2019-2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 8132–8136. IEEE.
Kun Li, Xiaojun Qian, and Helen Meng. 2016a. Mispronunciation detection and diagnosis in 12 english speech using multidistribution deep neural networks. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 25(1):193–207.
Wei Li, Sabato Marco Siniscalchi, Nancy F. Chen, and Chin-Hui Lee. 2016b. Improving non-native mispronunciation detection and enriching diagnostic feedback with dnn-based speech attribute modeling. In 2016 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 6135–6139.
Binghuai Lin and Liyuan Wang. 2022. Phoneme mispronunciation detection by jointly learning to align. In ICASSP 2022 - 2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 6822–6826.
Wei Liu, Kaiqi Fu, Xiaohai Tian, Shuju Shi, Wei Li, Zejun Ma, and Tan Lee. 2023. Leveraging phone-level linguistic-acoustic similarity for utterance-level pronunciation scoring. In ICASSP 2023-2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5. IEEE.
Ilya Loshchilov and Frank Hutter. 2019. Decoupled weight decay regularization. In 7th International Conference on Learning Representations, ICLR 2019, New Orleans, LA, USA, May 6-9, 2019. OpenReview.net.
Ryo Magoshi, Shinsuke Sakai, Jaeyoung Lee, and Tatsuya Kawahara. 2025. Multi-lingual and Zero-Shot Speech Recognition by Incorporating Classification of Language-Independent Articulatory Features. In Interspeech 2025, pages 91–95.
Hao-Chen Pei, Hao Fang, Xin Luo, and Xin-Shun Xu. 2024. Gradformer: A framework for multi-aspect multi-granularity pronunciation assessment. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 32:554–563.
Linkai Peng, Kaiqi Fu, Binghuai Lin, Dengfeng Ke, and Jinsong Zhan. 2021. A Study on Fine-Tuning wav2vec2.0 Model for the Task of Mispronunciation Detection and Diagnosis. In Interspeech 2021, pages 4448–4452.
Xiaojun Qian, Frank K Soong, and Helen M Meng. 2010. Discriminative acoustic model for improving mispronunciation detection and diagnosis in computer-aided pronunciation training (capt). In Interspeech, pages 757–760.
Nathan Roll, Calbert Graham, Yuka Tatsumi, Kim Tien Nguyen, Meghan Sumner, and Dan Jurafsky. 2025. In-context learning boosts speech recognition via human-like adaptation to speakers and language varieties. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 4412–4426.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, YK Li, Yang Wu, et al. 2024. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300.
Xian Shi, Xiong Wang, Zhifang Guo, Yongqi Wang, Pei Zhang, Xinyu Zhang, Zishan Guo, Hongkun Hao, Yu Xi, Baosong Yang, et al. 2026. Qwen3-asr technical report. arXiv preprint arXiv:2601.21337.
Yao Shi, Hui Bu, Xin Xu, Shaoji Zhang, and Ming Li. 2020. Aishell-3: A multi-speaker mandarin tts corpus and the baselines. arXiv preprint arXiv:2010.11567.
Huu Tuong Tu, Ha Viet Khanh, Tran Tien Dat, Vu Huan, Thien Van Luong, Nguyen Tien Cuong, and Nguyen Thi Thu Trang. 2026. Mispronunciation detection and diagnosis without model training: A retrieval-based approach. In ICASSP 2026-2026 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 16312–16316. IEEE.
Hsin-Wei Wang, Bi-Cheng Yan, Hsuan-Sheng Chiu, Yung-Chang Hsu, and Berlin Chen. 2022. Exploring non-autoregressive end-to-end neural modeling for english mispronunciation detection and diagnosis. In ICASSP 2022 - 2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 6817–6821.
Ke Wang, Wenning Wei, Yan Deng, Lei He, and Sheng Zhao. 2025. Fine-tuning large multimodal models for automatic pronunciation assessment. arXiv preprint arXiv:2509.15701.
Siyin Wang, Chao-Han Yang, Ji Wu, and Chao Zhang. 2024a. Can whisper perform speech-based in-context learning? In ICASSP 2024-2024 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 13421–13425. IEEE.
Xintong Wang, Mingqian Shi, and Ye Wang. 2024b. Pitch-aware rnn-t for mandarin chinese mispronunciation detection and diagnosis. In Interspeech 2024, pages 292–296.
Xintong Wang, Junchuan Zhao, and Ye Wang. 2026. Joycent: Multi-accent tts via disentangled accent modeling and layer-specific conditioning. Preprint, arXiv:2606.16417.
Minglin Wu, Kun Li, Wai-Kim Leung, and Helen Meng. 2021. Transformer based end-to-end mispronunciation detection and diagnosis. In 22nd Annual Conference of the International Speech Communication Association, Interspeech 2021, Brno, Czechia, August 30 - September 3, 2021, pages 3954–3958. ISCA.
Minglin Wu, Jing Xu, Xueyuan Chen, and Helen Meng. 2025. Integrating potential pronunciations for enhanced mispronunciation detection and diagnosis ability in llms. In ICASSP 2025-2025 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 1–5. IEEE.
Minglin Wu, Jing Xu, Xixin Wu, and Helen Meng. 2024. Prompting Large Language Models with Mispronunciation Detection and Diagnosis Abilities. In Interspeech 2024, pages 2990–2994.
Yanlu Xie, Huihang Zhong, Xuhui Lan, and Wenwei Dong. 2026. Mispronunciation detection and diagnosis based on large language models. Computer Speech & Language, page 101942.
Bi-Cheng Yan and Berlin Chen. 2021. End-to-end mispronunciation detection and diagnosis from raw waveforms. In 2021 29th European Signal Processing Conference (EUSIPCO), pages 61–65. IEEE.
Bi-Cheng Yan and Berlin Chen. 2024. An effective hierarchical graph attention network modeling approach for pronunciation assessment. IEEE/ACM Transactions on Audio, Speech, and Language Processing, 32:3974–3985.
Bi-Cheng Yan, Hsin-Wei Wang, Shao-Wei Fan Jiang, Fu-An Chao, and Berlin Chen. 2022. Maximum f1-score training for end-to-end mispronunciation detection and diagnosis of 12 english speech. In 2022 IEEE International Conference on Multimedia and Expo (ICME), pages 1–5. IEEE.
Jing Yang, Shuqing Zhang, Yongyi Deng, Pan Li, Ting Dang, Gongping Huang, Jingdong Chen, and Jacob Benesty. 2026. A fusion-aware two-stage framework for mispronunciation detection and diagnosis in low-resource modern standard arabic. arXiv preprint arXiv:2606.24086.
Wenxuan Ye, Shaoguang Mao, Frank K. Soong, Wenshan Wu, Yan Xia, Jonathan Tien, and Zhiyong Wu. 2022. An approach to mispronunciation detection and diagnosis with acoustic, phonetic and linguistic (APL) embeddings. In IEEE International Conference on Acoustics, Speech and Signal Processing, ICASSP 2022, Virtual and Singapore, 23-27 May 2022, pages 6827–6831. IEEE.
Junbo Zhang, Zhiwen Zhang, Yongqing Wang, Zhiyong Yan, Qiong Song, Yukai Huang, Ke Li, Daniel Povey,
and Yujun Wang. 2021. speechocean762: An open-source non-native english speech corpus for pronunciation assessment. arXiv preprint arXiv:2104.01378.
Xiao Zhang. 2021. Latic: A non-native pre-labelled mandarin chinese validation corpus for automatic speech scoring and evaluation task. In IEEE Dataport. IEEE Dataport.
Zhan Zhang, Yuehai Wang, and Jianyi Yang. 2022. Masked acoustic unit for mispronunciation detection and correction. In ICASSP 2022 - 2022 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 6832–6836.
Guanlong Zhao, Sinem Sonsaat, Alif Silpachai, Ivana Lucic, Evgeny Chukharev-Hudilainen, John Levis, and Ricardo Gutierrez-Osuna. 2018. L2-ARCTIC: A non-native english speech corpus. In 19th Annual Conference of the International Speech Communication Association, Interspeech 2018, Hyderabad, India, September 2-6, 2018, pages 2783–2787. ISCA.
Junchuan Zhao, Minh Duc Vu, Bowen Zhang, and Ye Wang. 2026a. Anyband: Unified multi-bandwidth speech extension via frequency-aware in-context spectral infilling. Preprint, arXiv:2608.00572.
Junchuan Zhao, Xintong Wang, and Ye Wang. 2025. Prosody-adaptable audio codecs for zero-shot voice conversion via in-context learning. In 26th Annual Conference of the International Speech Communication Association, Interspeech 2025, Rotterdam, The Netherlands, 17-21 August 2025. ISCA.
Junchuan Zhao, Wei Zeng, Tianle Lyu, and Ye Wang. 2026b. Comelsinger: Discrete token-based zero-shot singing synthesis with structured melody control and guidance. IEEE Transactions on Audio, Speech and Language Processing.
Jian Zhu, Farhan Samir, Eleanor Chodroff, and David R. Mortensen. 2025. ZIPA: A family of efficient models for multilingual phone recognition. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), ACL 2025, Vienna, Austria, July 27 - August 1, 2025, pages 19568–19585. Association for Computational Linguistics.
A Comparison with Related Work
Table 5 compares X-MDD with representative MDD systems. Most existing systems, such as ERN (Lee et al., 2016), VietMDD (Huu et al., 2023), and ATP-LLM (Wu et al., 2024), use canonical phones as input. Recognition-based CTC systems, such as CNN-RNN-CTC (Leung et al., 2019) and w2v-CTC (Peng et al., 2021), instead directly predict the phones pronounced from learner speech. In contrast, canonical speech has not been explicitly studied as an input for MDD. Recent LLM-based
Table 5: Comparison with representative MDD systems. CP and CS denote canonical phones and canonical speech, respectively. √: demonstrated; △: supported but not evaluated; ×: not supported.
| Method | CP Input | CS Input | Multilingual |
|---|---|---|---|
| ERN (Lee et al., 2016) | ✓ | × | △ |
| CNN-RNN-CTC (Leung et al., 2019) | × | × | △ |
| w2v-CTC (Peng et al., 2021) | × | × | △ |
| VietMDD (Huu et al., 2023) | ✓ | × | △ |
| L1-MultiMDD (Kheir et al., 2024) | ✓ | × | ✓ |
| Pitch-Aware RNN-T (Wang et al., 2024b) | △ | × | △ |
| ATP-LLM (Wu et al., 2024) | ✓ | △ | △ |
| PER-MDD (Tu et al., 2026) | ✓ | × | △ |
| LLM-MDD (Xie et al., 2026) | ✓ | △ | △ |
| X-MDD (ours) | ✓ | ✓ | ✓ |
systems, such as ATP-LLM (Wu et al., 2024) and LLM-MDD (Xie et al., 2026), could be extended to incorporate canonical speech, but this setting has not been evaluated.
Most existing MDD systems, such as Viet-MDD (Huu et al., 2023), Pitch-Aware RNN-T (Wang et al., 2024b), and PER-MDD (Tu et al., 2026), are designed for individual languages. L1-MultiMDD (Kheir et al., 2024) is a notable exception that jointly models multiple languages within a unified MDD system. X-MDD uses both canonical phone and speech references in a multilingual model and further evaluates transfer to a language excluded from MDD training.
B Datasets
Table 6 summarizes the open-source datasets used for Mandarin, English, and Arabic. For Mandarin and English, we combine native and non-native speech for training. The Mandarin training data include native speech from AISHELL-3 (Shi et al., 2020) and MagicHub-Sichuan , and non-native speech from MagicHub-Singapore , and LATIC (Zhang, 2021). The English training data include native speech from TIMIT (Garofolo et al., 1993) and non-native speech from SpeechOcean762 (Zhang et al., 2021) and L2-ARCTIC (Zhao et al., 2018). All test speakers are unseen during training. For Mandarin, the Korean and Chadian accents are also unseen during training, as each contains only one speaker in the dataset and is therefore reserved for testing. Arabic is used only for unseen-language evaluation, and no Arabic data are used for training. For valida- tion, we randomly select 500 utterances from the Mandarin training data and 500 from the English training data. For the Mandarin learner datasets, we randomly sample 300 or 150 utterances as the test set to match the size of the English test sets, and use the remaining utterances from the same speakers as the support set for same-speaker demonstrations.
C Experimental Details
C.1 Implementation Details
Audio inputs. All input audio is resampled to 16 kHz. We use the Qwen3-ASR feature extractor to compute 128-dimensional log-Mel filterbanks with a 25 ms window and a 10 ms hop size.
Text tokens. For Mandarin, the input text is converted to tone-marked Pinyin using G2PW for polyphone disambiguation. Each syllable is then decomposed into an initial and a tone-marked final, with tones 1–5, where tone 5 denotes the neutral tone. Zero-initial syllables are assigned an explicit placeholder based on the first letter of the final (aa, ee, ii, oo, uu, or vv), so that every syllable is represented as an initial–final pair. For English, we use the stress-free 39-phone CMU phone set. For Arabic, we use the official IqraEval phone annotations. We then tokenize the phone sequences using the original Qwen3 BPE tokenizer. Following the Qwen3-ASR output format, the model generates the predicted phone sequence after the language tag and <asr_text> token. An example of the model input and output is shown below.
MagicHub-Sichuan: https://magichub.com/datasets/sichuan-dialect-scripted-speech-corpus-daily-use-sentence/
https://magichub.com/datasets/singaporean-chinese-conversational-speech-corpus/
G2PW: https://github.com/GitYCC/g2pW
Table 6: Dataset statistics by language and accent. Each cell reports Train | Test; Error denotes the percentage of mispronounced phones in the test set. Accents marked with are unseen during training.
| Accent | Utterances | Speakers | Hours | Error (%) | |||
|---|---|---|---|---|---|---|---|
| Panel A: Mandarin | |||||||
| AISHELL-3 | 60,768 | 0 | 169 | 0 | 60.54 | 0.00 | - |
| Sichuan | 4,564 | 300 | 8 | 2 | 5.16 | 0.27 | 38.03 |
| Singaporean | 2,882 | 150 | 3 | 1 | 2.11 | 0.09 | 8.83 |
| Russian | 560 | 150 | 1 | 1 | 0.87 | 0.24 | 22.21 |
| Korean | 0 | 150 | 0 | 1 | 0.00 | 0.25 | 10.15 |
| Chadian | 0 | 150 | 0 | 1 | 0.00 | 0.31 | 25.18 |
| Total | 68,774 | 900 | 181 | 6 | 68.68 | 1.16 | 27.06 |
| Panel B: English | |||||||
| TIMIT | 6,300 | 0 | 630 | 0 | 5.38 | 0.00 | - |
| Mandarin (SpeechOcean762) | 4,998 | 0 | 250 | 0 | 5.57 | 0.00 | - |
| Mandarin (L2-Arctic) | 450 | 150 | 3 | 1 | 0.49 | 0.15 | 15.98 |
| Arabic | 449 | 150 | 3 | 1 | 0.46 | 0.14 | 9.08 |
| Korean | 450 | 150 | 3 | 1 | 0.44 | 0.15 | 9.69 |
| Vietnamese | 450 | 150 | 3 | 1 | 0.47 | 0.17 | 23.82 |
| Spanish | 450 | 150 | 3 | 1 | 0.53 | 0.13 | 16.10 |
| Hindi | 450 | 150 | 3 | 1 | 0.39 | 0.14 | 11.22 |
| Total | 13,997 | 900 | 898 | 6 | 13.73 | 0.88 | 14.35 |
| Panel C: Arabic | |||||||
| QuranMB.v2 | 0 | 1,643 | 0 | 18 | 0.00 | 1.92 | 6.73 | |||
X-MDD input and output format
Input
<|im_start>|user <|task>|language: English; accent: Arabic task: Predict the learner's actual phone sequence.
Optional demonstrations (N in total) <|demo_start>| <|canonical_speech>| [audio features] <|canonical_phone>| [canonical phones] <|learner_speech>| [audio features] <|actual_phone>| [annotated actual phones] <|demo_end>| ...
Query <|canonical_speech>| [audio features] <|canonical_phone>| W IH L W IY EH V ER F AO R G EH T IH T <|learner_speech>| [audio features] <|im_end>| <|im_start>|assistant
Output target
language English<asr_text> W IH L W IY EH V AH F AO R G EH T EH T <|im_end>|
Gray text denotes annotations or placeholders; audio features represent projected speech features.
KNN-based Demonstrations. Since the English and Arabic test sets do not provide additional same-speaker utterances for constructing support sets, we retrieve demonstrations from SpeechOcean762 and Iqra_Extra_IS26, respectively. We extract an x-vector for each utterance using WavLM . Audio is resampled to 16 kHz, converted to mono, and truncated to the first 10 s, and each embedding is -normalized. Each test speaker is represented by the -normalized mean of the embeddings of their test utterances. Pool utterances are ranked by cosine similarity to the test speaker, and those with an actual phone sequence identical to that of the query are excluded. For each retrieved speech sample, we use it as the learner speech and synthesize its corresponding canonical speech for the demonstration.
TTS-based Demonstrations. We conduct experiments by replacing the canonical and learner speech in the demonstrations at inference time as shown in Table 12. We next describe the construction of the TTS-based demonstrations in detail. For Mandarin, English and Arabic, we construct a TTS dataset with the same number of utterances as the training set. Each real utterance produces one synthetic counterpart in which 50% of the canonical phone positions are retained and the remaining positions are corrupted. The corruption type is sampled from substitution, deletion and insertion according to their empirical frequencies in the real training an-
https://huggingface.co/microsoft/wavlm-base-plus-sv notations. For substitutions, the replacement phone is sampled from the empirical confusion distribution conditioned on the canonical phone, while inserted phones are sampled from the observed insertion distribution. All distributions are estimated from the corresponding training split only.
For Mandarin, initials and finals are grouped into syllable-level units, and the sampled phone errors are rendered as Chinese characters using empirical character-syllable mappings. For English, words without selected errors remain in their orthographic form, whereas affected words are represented by CosyVoice3 phone tokens, with substitutions, deletions and insertions applied directly at the selected phone positions. Both Mandarin and English examples are synthesized using Fun-CosyVoice3-0.5B . For Arabic, the sampled phone errors are rendered as diacritized Arabic text and synthesized using SILMA TTS. The modified text is accepted only when its Arabic G2P output matches the intended corrupted phone sequence; otherwise, the error pattern is resampled. For all three languages, synthesis is conditioned on a reference recording from the selected speaker. This preserves the selected speaker's timbre while realizing the pronunciation specified by the synthesis text. All synthesized speech is generated at 24 kHz and resampled to 16 kHz before being passed to the AuT.
C.2 Baseline Models
We compare X-MDD with four monolingual MDD systems and one multilingual MDD system, all trained on the same training data for a fair comparison:
• w2v-CTC (Peng et al., 2021) formulates MDD as CTC-based phone recognition, where the recognized phone sequence is compared with the canonical sequence to detect pronunciation errors. We use the best-performing multilingual configuration with wav2vec 2.0 XLSR-53 and jointly fine-tune the encoder and CTC head.
• Pitch-aware RNN-T (Wang et al., 2024b) incorporates F0 information into a HuBERT-based stateless RNN-T to improve tonal-phone recognition. We follow the best-performing configuration with a 40-ms F0 hop size and jointly fine-tune HuBERT with the RNN-T model.
• ATP-LLM (Wu et al., 2024) conditions LLaMA 2-7B on learner speech, canonical phones, and text to generate the actual phone sequence. Speech is encoded by a wav2vec 2.0 Base encoder and projected into the LLM embedding space, with an auxiliary CTC objective and LoRA adaptation. We use the best-performing configuration with LoRA rank R = 32.
• WHU-IASP (Yang et al., 2026) uses wav2vec 2.0 XLS-R-300M in a two-stage CTC framework. It combines hypotheses from multiple checkpoints through a confusion network and language-model rescoring for MDD.
• L1-MultiMDD (Kheir et al., 2024) jointly performs multilingual MDD using speech, canonical phones, and learner L1 information. It uses wav2vec 2.0 XLSR-53 as the acoustic encoder and predicts phones over a unified multilingual phone set. We follow the best-performing sequential training setup reported in the original work.
C.3 Evaluation Metrics
Following previous work (Qian et al., 2010; Yan and Chen, 2021), we evaluate both mispronunciation detection and diagnosis. As shown in Table 7, true acceptance (TA) indicates that the pronunciation is correct and the model successfully predicts it as correct, while false rejection (FR) indicates that a correct pronunciation is incorrectly predicted as a mispronunciation. False acceptance (FA) indicates that a mispronunciation is incorrectly predicted as correct. True rejection (TR) indicates that a mispronunciation is correctly detected, and is further categorized as a correct diagnosis (CD) when the predicted phone matches the actual phone, or a diagnosis error (DE) when the predicted phone differs from the actual phone. Precision, recall, and F1 are computed as:
https://huggingface.co/FunAudioLLM/Fun-CosyVoice3-0.5B-2512
Table 7: MDD confusion matrix. True rejections (TR) comprise correct diagnoses (CD) and diagnosis errors (DE).
| Reference | Prediction | |
|---|---|---|
| Correct | Incorrect | |
| Correct | TA | FR |
| Incorrect | FA | TR = CD + DE |
Diagnostic error rate (DER) is computed as:
We additionally report phone error rate (PER) for actual phone recognition:
where S, D, and I denote the numbers of phone substitutions, deletions, and insertions, respectively, and N is the number of phones in the reference actual-phone sequence.
D Supplementary Results
D.1 Additional Results on Seen Languages
In this section, we provide additional experimental results to complement the findings presented in Section 5.2. As shown in Table 8, we report detection precision and recall, along with results for both two- and four-shot ICL on the seen languages. The precision–recall results provide a more detailed view of the effects of canonical references. Canonical phones generally increase precision but reduce recall before GRPO, indicating a stronger tendency to favor the canonical pronunciation. This effect is particularly pronounced on ZH, where adding four-shot ICL to canonical phones increases precision from 85.48 to 85.16 while reducing recall from 66.28 to 48.43. GRPO substantially recovers recall across canonical-reference settings, often at the cost of lower precision. For example, with canonical speech and phones, GRPO increases recall from 65.46 to 79.97 on ZH and from 45.92 to 56.10 on EN. These results further show that the F1 improvements from GRPO are primarily associated with improved detection recall.
Increasing the number of demonstrations from two to four has a relatively small and inconsistent effect. For most settings, two- and four-shot ICL yield similar F1 scores, and neither consistently dominates across ZH and EN. For example, with canonical speech and phones plus GRPO, F1 changes from 78.68 to 79.00 on ZH and from 58.78 to 58.88 on EN when increasing N from 2 to 4. This suggests that most of the benefit of test-time demonstrations is already obtained with a small number of examples, while additional demonstrations provide only marginal gains on the seen languages.
D.2 Additional Results on Unseen Languages
Ablation study. We further evaluate MDD performance on unseen Arabic by reporting detection precision and recall and separately examining the effects of ICL and GRPO, as shown in Table 9. The precision–recall results further clarify the different roles of the canonical references. Without canonical phones, the models exhibit very high recall but extremely low precision and PER can become degenerate, indicating substantial over-detection. Canonical phones provide an important phonetic reference, greatly improving precision and stabilizing phone prediction, although at the cost of lower recall. Canonical speech alone does not resolve this problem, but becomes beneficial when combined with canonical phones, yielding a better precision–recall balance and stronger overall performance. The separate ICL and GRPO results further show that, with both canonical references, ICL mainly improves precision and PER while slightly reducing recall, whereas GRPO substantially improves recall as well as precision. Their combination achieves the strongest detection performance. Overall, these results suggest that canonical phones provide the essential symbolic reference for unseen-language transfer, while canonical speech provides additional acoustic evidence, with ICL and GRPO further refining the resulting predictions.
Effect of constrained decoding. Table 10 examines whether the Arabic results depend on restricting the decoder to the target phone inventory. OOV is the percentage of predicted phone symbols, pooled over all test utterances, that do not belong to the Arabic phone inventory (all phones in the QuranMB.v2 canonical and actual phone sequences). Removing this constraint has only a minor effect on performance. In particular, with canonical speech and phones, unconstrained decoding achieves comparable PER and slightly higher F1, while only of the outputs are out-of-inventory symbols. A similar pattern is observed with canonical phones alone, although the OOV rate is slightly higher. Constrained decoding
Table 8: Full ablation results on Mandarin (ZH) and English (EN), with test-time demonstrations. All values are percentages; P/R denote detection precision/recall. Bold/underline mark the best/second-best results within each group and language, including ties.
| Setting | N | Mandarin (ZH) | English (EN) | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PER↓ | P↑ | R↑ | F1↑ | DER↓ | PER↓ | P↑ | R↑ | F1↑ | DER↓ | ||
| No canonical reference (learner speech only) | |||||||||||
| Base | 0 | 17.75 | 81.85 | 77.25 | 79.49 | 31.67 | 15.64 | 51.08 | 59.31 | 54.89 | 25.39 |
| + ICL | 2 | 17.88 | 81.78 | 78.54 | 80.12 | 32.53 | 15.48 | 51.50 | 59.03 | 55.01 | 25.04 |
| 4 | 17.86 | 81.97 | 78.54 | 80.21 | 32.38 | 15.39 | 51.60 | 59.11 | 55.10 | 24.93 | |
| + GRPO | 0 | 18.53 | 80.22 | 78.64 | 79.42 | 32.94 | 16.69 | 48.69 | 60.96 | 54.14 | 25.62 |
| + ICL + GRPO | 2 | 18.49 | 79.66 | 80.76 | 80.21 | 33.14 | 16.58 | 48.71 | 66.01 | 56.06 | 23.77 |
| 4 | 18.32 | 79.95 | 80.75 | 80.35 | 32.98 | 16.60 | 48.67 | 65.43 | 55.82 | 24.26 | |
| Canonical phones | |||||||||||
| Base | 0 | 17.95 | 85.48 | 66.28 | 74.67 | 30.65 | 12.02 | 67.17 | 44.25 | 53.35 | 18.10 |
| + ICL | 2 | 19.84 | 85.33 | 49.88 | 62.96 | 26.86 | 11.89 | 67.22 | 46.02 | 54.64 | 18.12 |
| 4 | 20.01 | 85.16 | 48.43 | 61.75 | 25.51 | 11.90 | 67.30 | 45.08 | 54.00 | 18.05 | |
| + GRPO | 0 | 18.58 | 81.17 | 75.13 | 78.03 | 33.56 | 14.27 | 54.18 | 59.01 | 56.49 | 20.60 |
| + ICL + GRPO | 2 | 18.79 | 81.65 | 69.84 | 75.29 | 31.96 | 13.02 | 60.06 | 53.70 | 56.70 | 20.99 |
| 4 | 18.94 | 81.26 | 69.02 | 74.64 | 31.52 | 12.89 | 60.68 | 52.92 | 56.53 | 20.15 | |
| Canonical speech | |||||||||||
| Base | 0 | 17.17 | 85.18 | 70.72 | 77.28 | 29.66 | 14.71 | 53.54 | 55.07 | 54.29 | 21.62 |
| + ICL | 2 | 17.54 | 85.76 | 69.00 | 76.47 | 30.72 | 14.40 | 54.52 | 54.44 | 54.48 | 22.24 |
| 4 | 17.63 | 85.54 | 68.70 | 76.20 | 30.75 | 14.51 | 53.98 | 54.13 | 54.06 | 22.41 | |
| + GRPO | 0 | 17.99 | 82.40 | 74.52 | 78.26 | 32.18 | 16.36 | 49.45 | 61.38 | 54.78 | 23.14 |
| + ICL + GRPO | 2 | 18.12 | 82.80 | 73.19 | 77.70 | 32.19 | 15.86 | 50.47 | 59.74 | 54.72 | 23.65 |
| 4 | 18.12 | 82.98 | 72.33 | 77.29 | 31.61 | 15.80 | 50.78 | 60.42 | 55.18 | 23.80 | |
| Canonical speech + phones | |||||||||||
| Base | 0 | 18.21 | 84.86 | 65.46 | 73.91 | 30.45 | 11.99 | 66.92 | 45.92 | 54.47 | 17.83 |
| + ICL | 2 | 17.64 | 85.37 | 67.36 | 75.31 | 29.48 | 11.64 | 68.87 | 45.51 | 54.81 | 16.88 |
| 4 | 17.68 | 85.34 | 68.29 | 75.87 | 30.24 | 11.64 | 68.58 | 45.56 | 54.75 | 16.86 | |
| + GRPO | 0 | 18.99 | 78.72 | 79.97 | 79.34 | 34.16 | 12.91 | 60.57 | 56.10 | 58.25 | 20.36 |
| + ICL + GRPO | 2 | 17.79 | 82.24 | 75.41 | 78.68 | 31.55 | 12.87 | 60.04 | 57.57 | 58.78 | 19.71 |
| 4 | 17.66 | 82.46 | 75.82 | 79.00 | 31.32 | 12.86 | 60.21 | 57.62 | 58.88 | 19.47 | |
| Canonical speech + text | |||||||||||
| Base | 0 | 17.69 | 85.00 | 69.30 | 76.35 | 30.83 | 14.06 | 55.75 | 52.34 | 53.99 | 21.39 |
| + ICL | 2 | 17.54 | 85.38 | 70.44 | 77.19 | 30.95 | 14.03 | 55.99 | 52.11 | 53.98 | 22.16 |
| 4 | 17.39 | 85.70 | 70.49 | 77.35 | 30.74 | 13.97 | 56.12 | 51.88 | 53.92 | 22.16 | |
| + GRPO | 0 | 17.74 | 82.69 | 75.35 | 78.85 | 31.62 | 15.20 | 52.10 | 62.32 | 56.75 | 21.78 |
| + ICL + GRPO | 2 | 17.92 | 82.54 | 76.12 | 79.20 | 32.32 | 15.59 | 51.07 | 60.70 | 55.47 | 22.31 |
| 4 | 17.89 | 82.89 | 75.68 | 79.12 | 32.35 | 15.43 | 51.47 | 60.30 | 55.53 | 22.46 | |
slightly improves precision and DER, whereas unconstrained decoding yields slightly higher recall. Overall, the small differences between the two settings indicate that the unseen-language results are not primarily driven by the decoding constraint, as unconstrained decoding already produces almost exclusively valid target-language phones.
D.3 Additional Analysis of Canonical Priors
Layer-wise attention patterns. We provide additional attention visualizations for layers 15 and 27, as shown in Figure 7. A clear layer-wise transition emerges across the three examples. At layer 5, the decoder attends substantially to canonical speech, with localized and near-diagonal patterns indicating alignment between the generated phones and the canonical acoustic input. As the decoder becomes deeper, attention to canonical speech decreases, while canonical phones receive increasingly attention. By layer 27, attention is concentrated primarily on canonical phones, consistent with the aggregate trend in Figure 2. Learner speech continues to receive localized attention across layers, including around mispronounced positions. These patterns suggest that canonical speech is primarily integrated in earlier layers, while deeper layers increasingly rely on the canonical phone sequence as a phonetic reference for actual phone prediction.
Table 9: Full ablation results on unseen Arabic with test-time demonstrations. All metrics are percentages; P/R denote detection precision/recall. Bold/underline mark the best/second-best results, excluding the Arabic-trained baseline (*) and rows with PER .
| Canonical references | Setting | N | PER↓ | P↑ | R↑ | F1↑ | DER↓ |
|---|---|---|---|---|---|---|---|
| IqraEval baseline* | - | 16.15 | 30.39 | 77.07 | 44.14 | 38.80 | |
| None(learner speech only) | Base | 0 | 606.10 | 6.82 | 94.33 | 12.72 | 92.51 |
| + ICL | 128 | 143.33 | 9.89 | 77.21 | 17.54 | 62.77 | |
| + GRPO | 0 | 371.74 | 7.27 | 88.91 | 13.44 | 87.29 | |
| + ICL + GRPO | 128 | 84.64 | 10.76 | 74.29 | 18.80 | 58.93 | |
| Phones | Base | 0 | 10.47 | 20.84 | 14.94 | 17.40 | 46.11 |
| + ICL | 128 | 10.19 | 23.73 | 15.93 | 19.06 | 39.51 | |
| + GRPO | 0 | 9.94 | 28.50 | 27.05 | 27.75 | 43.88 | |
| + ICL + GRPO | 128 | 10.47 | 27.50 | 23.02 | 25.06 | 41.58 | |
| Speech | Base | 0 | 462.54 | 6.73 | 92.22 | 12.55 | 93.08 |
| + ICL | 128 | 156.84 | 9.35 | 76.38 | 16.66 | 70.95 | |
| + GRPO | 0 | 118.44 | 8.97 | 73.46 | 15.99 | 72.11 | |
| + ICL + GRPO | 128 | 94.38 | 10.10 | 75.54 | 17.82 | 66.80 | |
| Speech + phones | Base | 0 | 10.15 | 34.54 | 18.25 | 23.88 | 50.98 |
| + ICL | 128 | 7.63 | 40.72 | 17.15 | 24.13 | 46.26 | |
| + GRPO | 0 | 7.77 | 48.24 | 29.76 | 36.81 | 44.99 | |
| + ICL + GRPO | 128 | 7.75 | 49.74 | 30.84 | 38.07 | 40.33 | |
| Speech + text | Base | 0 | 409.68 | 7.33 | 83.78 | 13.47 | 88.04 |
| + ICL | 128 | 123.51 | 9.83 | 65.91 | 17.11 | 66.06 | |
| + GRPO | 0 | 110.81 | 9.52 | 70.03 | 16.76 | 72.70 | |
| + ICL + GRPO | 128 | 95.49 | 10.70 | 70.62 | 18.58 | 66.55 |
Table 10: Phone-constrained decoding on Arabic with ICL + GRPO and N = 128 demonstrations. All values are percentages; OOV denotes out-of-inventory symbols. Bold marks the better PER, F1, and DER within each group.
| Decoding | PER↓ | P↑ | R↑ | F1↑ | DER↓ | OOV↓ |
|---|---|---|---|---|---|---|
| Canonical phones | ||||||
| Constrained | 10.47 | 27.50 | 23.02 | 25.06 | 41.58 | - |
| Unconstrained | 10.96 | 25.68 | 23.98 | 24.80 | 43.78 | 1.02 |
| Canonical speech + phones | ||||||
| Constrained | 7.75 | 49.74 | 30.84 | 38.07 | 40.33 | - |
| Unconstrained | 7.82 | 49.62 | 31.49 | 38.53 | 42.05 | 0.12 |
Together with the attention-share analysis, this provides further evidence that canonical speech and canonical phones contribute at different stages of the decoder rather than through a single shared attention pattern.
Canonical phone corruption ratios. In this section, we present additional results of the canonical phone intervention with replacement ratios of 10%, 50%, and 70%, as shown in Figure 8. Across all intervention ratios and all three languages, the model consistently copies replacement phones more often at originally correct positions than at mispro- nounced positions. This pattern therefore remains stable across substantially different levels of canonical phone corruption and is not specific to the 20% setting used in the main analysis. Although the absolute copying rates vary with the intervention ratio, the gap between correctly pronounced and mispronounced positions persists throughout. These results further support the finding that the model relies more strongly on canonical phones when canonical and learner speech agree, whereas conflicting speech evidence at mispronounced positions reduces this tendency. More broadly, acoustic context has also been exploited to guide speech reconstruction (Zhao et al., 2026a), highlighting the value of contextual acoustic information.
D.4 Additional Analysis of In-Context Learning
Effect of demonstration language. Table 11 examines whether ICL depends on the language of the test-time demonstrations. Same-language demonstrations generally provide the strongest detection performance, but the sensitivity to demonstration language differs across query languages. Mandarin is relatively insensitive to this choice, with similar F1 across same-language, mixed-language, and
Layer 5
Layer 15
Layer 27

Figure 7: Decoder attention at layers 5, 15, and 27 (columns) for three Arabic utterances (rows). Insets enlarge matched regions across layers. Red boxes highlight mispronounced positions, and red ticks mark their canonical phones. Input segments are horizontally rescaled, with a separate color scale for each panel.
Table 11: Demonstration-language ablation with inference-only ICL (N = 4), using demonstrations from other speakers. Same/other refer to the query language; Other 1/2 denote EN/AR for ZH, ZH/AR for EN, and ZH/EN for AR. Mixed-language sampling is uniform subject to the stated counts. All metrics are percentages; bold/underline mark the best/second-best PER, F1, and DER within each query language.
| Demonstrations | Mandarin (ZH) | English (EN) | Arabic (AR) | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PER↓ | P↑ | R↑ | F1↑ | DER↓ | PER↓ | P↑ | R↑ | F1↑ | DER↓ | PER↓ | P↑ | R↑ | F1↑ | DER↓ | |
| Same language | 17.56 | 82.36 | 76.29 | 79.21 | 31.23 | 12.97 | 59.81 | 57.62 | 58.69 | 20.13 | 8.61 | 37.55 | 30.81 | 33.85 | 43.08 |
| 3 same + 1 other | 17.55 | 82.37 | 75.85 | 78.98 | 30.88 | 13.01 | 59.67 | 55.67 | 57.60 | 19.75 | 8.82 | 36.53 | 31.17 | 33.63 | 43.73 |
| 2 same + 2 other | 17.61 | 82.70 | 75.36 | 78.86 | 31.37 | 12.85 | 60.72 | 54.74 | 57.58 | 20.18 | 10.38 | 34.47 | 31.37 | 32.85 | 44.87 |
| 1 same + 3 other | 17.45 | 83.11 | 75.13 | 78.92 | 31.15 | 12.87 | 60.72 | 52.51 | 56.32 | 19.92 | 10.45 | 34.21 | 32.63 | 33.40 | 42.05 |
| All-language mix | 17.56 | 82.76 | 75.11 | 78.75 | 31.18 | 12.78 | 60.94 | 52.67 | 56.50 | 19.29 | 10.67 | 33.70 | 31.70 | 32.67 | 44.59 |
| Other-language mix | 17.47 | 83.17 | 74.97 | 78.86 | 31.20 | 12.71 | 62.10 | 49.48 | 55.08 | 19.66 | 11.47 | 33.70 | 33.46 | 33.58 | 43.94 |
| Other language 1 | 17.66 | 82.40 | 75.92 | 79.03 | 31.72 | 13.03 | 61.11 | 46.93 | 53.09 | 21.92 | 10.83 | 34.17 | 30.15 | 32.03 | 45.90 |
| Other language 2 | 17.46 | 83.99 | 73.02 | 78.12 | 30.97 | 12.48 | 63.71 | 47.16 | 54.20 | 20.15 | 11.97 | 30.09 | 34.27 | 32.04 | 43.34 |
even other-language demonstrations. In contrast, English benefits more clearly from same-language demonstrations, with F1 generally decreasing as they are replaced by demonstrations from other languages. Arabic shows a similar preference for same-language demonstrations, although mixed-and other-language demonstrations remain compet- itive in F1, indicating that useful contextual information can still transfer across languages. Overall, these results suggest that ICL is not purely language-specific: cross-lingual demonstrations can provide useful context, but same-language examples are generally more effective, particularly for English and Arabic.
10% replaced
50% replaced
70% replaced



Figure 8: Rates of copying replacement phones at intervention ratios of 10%, 50%, and 70%, grouped by original pronunciation status. Both speech inputs remain unchanged. Error bars indicate 95% confidence intervals.
Same speaker better
Other speakers better
F1 improvement

PER reduction

DER reduction

Gain from same-speaker demonstrations (percentage points)
Figure 9: Effect of same-speaker versus other-speaker demonstrations on Mandarin, English, and Arabic. We report , , and , so that positive consistently indicates better performance with same-speaker demonstrations. All differences are in percentage points (pp).
Table 12: Real versus synthetic demonstrations for inference-only ICL with X-MDD (). Real demonstrations come from the query speaker. Synthetic demonstrations use synthesized canonical and learner speech: CosyVoice error augmentation for ZH/EN and Iqra_TTS for AR. All metrics are percentages; mark the best/second-best PER, F1, and DER within each language, including ties.
| Demonstrations | Mandarin (ZH) | English (EN) | Arabic (AR) | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PER↓ | P↑ | R↑ | F1↑ | DER↓ | PER↓ | P↑ | R↑ | F1↑ | DER↓ | PER↓ | P↑ | R↑ | F1↑ | DER↓ | |
| 4 real | 17.72 | 82.36 | 75.40 | 78.72 | 31.18 | 12.82 | 60.42 | 57.44 | 58.89 | 19.75 | 9.12 | 38.13 | 32.18 | 34.90 | 43.84 |
| 3 real + 1 synthetic | 17.57 | 82.57 | 75.55 | 78.90 | 30.91 | 12.79 | 60.43 | 56.20 | 58.24 | 19.20 | 9.27 | 37.76 | 32.96 | 35.20 | 43.62 |
| 2 real + 2 synthetic | 17.66 | 82.34 | 75.46 | 78.75 | 31.17 | 12.87 | 60.38 | 54.49 | 57.28 | 19.53 | 10.08 | 35.81 | 33.82 | 34.79 | 43.30 |
| 1 real + 3 synthetic | 17.57 | 82.69 | 75.28 | 78.81 | 31.02 | 12.96 | 60.33 | 52.62 | 56.21 | 20.32 | 10.28 | 35.58 | 34.48 | 35.02 | 43.77 |
| 4 synthetic | 17.76 | 82.59 | 74.28 | 78.22 | 31.19 | 13.03 | 60.10 | 51.00 | 55.17 | 20.27 | 9.67 | 34.99 | 35.25 | 35.12 | 43.15 |
Effect of synthetic demonstrations. Table 12 examines whether synthetic speech can replace real test-time demonstrations. The effect is strongly language-dependent. For Mandarin, replacing real demonstrations with synthetic ones has only a minor effect, with performance remaining stable across different real–synthetic mixtures. English is more sensitive to synthetic demonstrations: as the proportion of synthetic examples increases, recall and F1 generally decrease, while precision remains relatively stable. In contrast, Arabic maintains comparable F1 even with fully synthetic demonstrations. Increasing the proportion of synthetic Arabic examples tends to decrease precision but increase recall, resulting in a relatively stable F1. Overall, synthetic demonstrations can provide useful in-context information and reduce the dependence on real speaker examples, but their effectiveness varies across languages and synthesis settings.
Effect of speaker matching. Figure 9 compares same- and other-speaker demonstrations sampled directly from the test sets, without similarity-based retrieval. Same-speaker demonstrations are sampled from utterances that do not overlap with the query utterance. Same-speaker demonstrations generally perform better across the three languages, as indicated by positive gains for most metrics. They consistently improve F1, with the largest gain on Mandarin, and also reduce PER for Mandarin and English. DER is reduced for English and Arabic, while Mandarin is the only case where same-speaker demonstrations slightly increase DER. Overall, the predominance of improvements across languages and metrics suggests that matching the demonstration speaker to the query speaker provides useful information for ICL.
While same-speaker demonstrations generally improve performance, it remains unclear whether these gains arise from shared speaker timbre or pronunciation-related characteristics. Future work could leverage disentangled speech representations (Zhao et al., 2025; Wang et al., 2026; Zhao et al., 2026b) to investigate the respective contributions of these factors to speech-based ICL for MDD.
E Qualitative Case Studies
We furture provides qualitative examples of the behaviors identified in our earlier analyses. In Figure 11 (Case 1), GRPO recovers false acceptances by predicting the actual phone instead of copying the canonical phone. Figure 11 (Case 2) illustrates the benefit of additional in-context demonstrations, where the prediction becomes correct as more demonstrations are provided. Figure 12 (Case 3) illustrates the complementary role of canonical speech: errors missed with canonical phones alone are correctly recovered when canonical speech is included. These examples provide concrete illustrations of the effects observed in the quantitative analyses.
F Manual Annotation of Actual Phones
We manually annotated three datasets, LATIC, MagicHub-Sichuan, and MagicHub-Singapore, to obtain actual phone labels. Three native Mandarin speakers were recruited as annotators. To ensure annotation quality and consistency, we developed automated scripts following (Zhao et al., 2018) to identify and correct annotation errors and resolve ambiguities in the labels.
Case 1: Detecting a missed substitution with GRPO
| Arabic (unseen) | ||
|---|---|---|
| Reference and target | Phones | Target contrast |
| Canonical phones | ... r a y b a f ii h i | |
| Actual phones (target) | ... r a y b u f ii h i | a→u substitution |
| Model outputs | Outcome | |
| Base | ... r a y b a f ii h i | False acceptance |
| ICL () | ... r a y b a f ii h i | False acceptance |
| ICL + GRPO () | ... r a y b u f ii h i | Substitution detected |
Observation. ICL + GRPO recovers the substitution missed by Base and ICL.
English (seen)
| Reference and target | Phones | Target contrast |
|---|---|---|
| Canonical phones | ... IY B R AY B ER IY F R | |
| Actual phones (target) | ... IY B R AY V ER IY F R | B→V substitution |
| Model outputs | Outcome | |
| Base | ... IY B R AY B ER IY F R | False acceptance |
| ICL () | ... IY B R AY B ER IY F R | False acceptance |
| ICL + GRPO () | ... IY B R AY V ER IY F R | Substitution detected |
Observation. ICL + GRPO recovers the substitution missed by Base and ICL.
Blue: matches target
Orange: differs from target
N: demonstrations
Figure 10: Qualitative examples of substitutions recovered by GRPO on unseen Arabic and seen English. Base and ICL falsely accept the canonical phone, whereas ICL + GRPO predicts the annotated actual phone and correctly detects the substitution. Blue indicates phones matching the target, and orange indicates phones differing from the target.
Case 2: Correct prediction with more demonstrations
| Arabic (unseen) | ||
|---|---|---|
| Reference and target | Phones | Target contrast |
| Canonical phones | w a < i nn a ll | |
| Actual phones (target) | w a < i nn a ll | Matches canonical |
| Model outputs | Outcome | |
| GRPO () | w a i n n a ll | Sequence mismatch |
| ICL + GRPO () | w a i n n a ll | Sequence mismatch |
| ICL + GRPO () | w a < i nn a ll | Matches target |
| ICL + GRPO () | w a < i nn a ll | Matches target |
| ICL + GRPO () | w a < i nn a ll | Matches target |
Observation. The target is recovered at , and 128.
| English (seen) | ||
|---|---|---|
| Reference and target | Phones | Target contrast |
| Canonical phones | ... AH N AA N DH AH S P ER | |
| Actual phones (target) | ... AH N AA N DH AH S P ER | Matches canonical |
| Model outputs | Outcome | |
| GRPO () | ... AH N AA N D AH S P ER | Sequence mismatch |
| ICL + GRPO () | ... AH N AA N Z AH S P ER | Sequence mismatch |
| ICL + GRPO () | ... AH N AA N DH AH S P ER | Matches target |
Observation. At , the correctly pronounced DH is no longer rejected. English is evaluated up to .
Blue: matches target Orange: differs from target N: demonstrations
Figure 11: Qualitative examples of prediction errors corrected by increasing the number of demonstrations on unseen Arabic and seen English. With more demonstrations, the model recovers the annotated actual phone sequence, which matches the canonical pronunciation in both examples.
Case 3: Recovering a substitution with canonical speech
| Arabic (unseen) | ||
|---|---|---|
| Reference and target | Phones | Target contrast |
| Canonical phones | r i z q A n aa q AA l a | |
| Actual phones (target) | r i s q A n aa q AA l a | z→s substitution |
| Model outputs by canonical input | Outcome | |
| Canonical phones only () | r i z q A n aa q AA l a | False acceptance |
| Canonical speech + phones () | r i s q A n aa q AA l a | Substitution detected |
| Observation. Adding canonical speech recovers the actual s. | ||
| English (seen) | ||
| Reference and target | Phones | Target contrast |
| Canonical phones | IH T W AH Z AH K Y UH ... | |
| Actual phones (target) | IH T W AH S AH K Y UH ... | Z→S substitution |
| Model outputs by canonical input | Outcome | |
| Canonical phones only () | IH T W AH Z AH K Y UH ... | False acceptance |
| Canonical speech + phones () | IH T W AH S AH K Y UH ... | Substitution detected |
| Observation. Adding canonical speech recovers the actual S. | ||
| Blue: matches target Orange: differs from target : demonstrations | ||
Figure 12: Qualitative examples of substitutions recovered by adding canonical speech on unseen Arabic and seen English. With canonical phones alone, the model falsely accepts the canonical pronunciation, whereas adding canonical speech recovers the annotated actual phone and correctly detects the substitution.