arXiv(opens in a new tab)cs.CLSep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.11786

Beyond Word Error Rate: A Switch Aware Evaluation of ASR and Audio Language Models on English Yoruba Code-Switched Speech

Chibuzor Okocha, Christan Earl Grant

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Chibuzor Okocha and Christian Grant

Department of Computer & Information Science & Engineering

University of Florida, Gainesville, FL, USA

{c.okocha, christan}@ufl.edu

Abstract—Automatic speech recognition (ASR) systems and audio language models (audio LMs) now report low error rates on monolingual benchmarks, but their behavior on code-switched speech in low-resource, diacritic-rich languages remains poorly characterized. We present a switch-aware evaluation of eleven modern systems (six ASR models and five audio LMs) on English–Yoruba code-switched speech, using a deterministic 2000-utterance evaluation set and a shared scoring pipeline. Beyond word error rate (WER), we report switch-localized diagnostics: a switch-entry token error rate (SETER), windowed switch-point error rates (SPER@k), language-specific error rates, and a diacritic-insensitive WER. Our central finding is that aggregate WER hides code-switching behavior. The best system by WER (an ASR model) is statistically indistinguishable from a leading audio LM on WER, yet the audio LM is significantly better on every switch-localized metric. Across faithful systems, Yoruba token recognition collapses (error ≥\geq 0.97 for almost all systems) while English tokens are recognized far better, and errors concentrate sharply at switches into Yoruba. Several generative audio LMs fail as exact transcribers, producing translation, verbosity, and prompt leakage that are strongly prompt-dependent. We release manifests, metric implementations, and evaluation scripts to support reproducible, switch-aware benchmarking for African code-switched speech.

Index Terms—code-switching, automatic speech recognition, audio language models, low-resource languages, Yoruba, evaluation metrics

I. INTRODUCTION

Recent ASR systems and audio language models report strong results on widely used monolingual benchmarks. Yet a large fraction of the world's speakers are bilingual and routinely code-switch, alternating between two languages within a single utterance. Code-switching breaks the monolingual assumptions baked into most systems: tokenizers, language priors, and decoding all degrade at language boundaries [1], [2]. This degradation is especially acute when one of the languages is low-resource and orthographically rich, as is the case for many African languages.

Most code-switching ASR research targets Mandarin–English (SEAME, ASCEND) or Arabic–English (ArzEn) [4]–[6]. English–Yoruba is comparatively underexplored, despite Yoruba being spoken by tens of millions and presenting distinctive challenges: dense lexical mixing and a tone orthography that uses sub-dot characters (e, o, s) and tone diacritics. At the same time, evaluation practice has not kept pace with the models. Aggregate WER, the default metric, sums errors over an utterance that is usually dominated by a matrix language; errors at the rarer switch points and embedded-language tokens are diluted [2]. A model can therefore appear strong by WER while failing precisely where code-switching happens.

We take an evaluation-first stance. Rather than proposing a new model, we ask how well current systems actually transcribe English–Yoruba code-switched speech, and whether standard WER explains their behavior. We benchmark eleven systems under a shared, deterministic protocol and complement WER with switch-aware diagnostics that localize errors to switch boundaries, embedded-language tokens, and diacritics.

Our contributions are:

  • A switch-aware benchmark of six ASR systems and five audio LMs on English–Yoruba code-switched speech, with a shared, deterministic 2000-utterance evaluation set and paired statistical testing.

• Evidence that WER and switch-localized metrics rank systems differently: the best ASR model by WER is statistically tied with a leading audio LM that is in turn significantly better at switch boundaries. Across systems, WER rank is essentially uncorrelated with Yoruba token error and only weakly correlated with switch-entry error, so WER is a poor proxy for code-switching fidelity.

  • A characterization of Yoruba recognition collapse and a strong, system-consistent switch-direction asymmetry, together with the effects of switch density, language dominance, and domain.

• An analysis of generative audio LM failure modes (translation, verbosity, prompt leakage), their prompt sensitivity, and an automatic error taxonomy that separates recognition from generation errors without human labels.

• Released manifests, metric implementations, and evaluation scripts for reproducible, switch-aware benchmarking of African code-switched speech.

References (24)