arXiv:2611.05744cs.LGNov 2026

Manuscript Offprint

arXiv:2611.05744

Text-Only Domain Adaptation for Low-Resource Medical ASR: Shallow Fusion and Density Ratio Rescoring for Hausa

Oche David Ankeli, Hassan Adelani Luqman, Theodora Ngozi Egbunike, Joshua Gottschalk, Bonaventure F. P. Dossou

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

Abstract

Automatic speech recognition (ASR) systems often struggle with specialised medical vocabulary, especially in low-resource languages where domain-specific speech data are scarce. We investigate text-only domain adaptation for Hausa medical ASR using the fixed MMS-1B-FL102 acoustic model and two decoding-time language-model fusion methods: Shallow Fusion (SF) and the Density Ratio Approach (DRA). A 4-gram KenLM trained on 19,421 Hausa health sentences serves as the medical target model, while a 75,372-sentence general-domain model provides the source prior for DRA. Evaluation uses 250 recordings of 25 physician-reviewed prompts from 10 speakers across six northern Nigerian states. Under prompt-disjoint five-fold cross-validation, SF and DRA reduce WER from 29.56% to 23.55% and 23.33%, respectively. Both significantly outperform greedy decoding (p<0.001p < 0.001), while their difference is not significant (p=0.423p = 0.423). However, general-LM-only SF achieves 23.96% WER, indicating that the medical LM's additional improvement over a general LM is modest. Medical Term Error Rate also improves under fusion, but does not establish a distinct medical-domain advantage. These findings demonstrate that lightweight, text-only language-model fusion can improve Hausa medical ASR without additional domain-specific speech collection.

Index Terms— low-resource ASR, Hausa, medical domain adaptation, shallow fusion, density ratio, African languages, MMS

1 Introduction

Healthcare delivery across northern Nigeria – home to a large Hausa-speaking population – frequently relies on verbal communication for patient consultations, medication instructions, and clinical documentation. Automatic speech recognition capable of accurately transcribing medical Hausa speech would have direct and meaningful impact: support-

ing clinical documentation, telehealth, and patient education in resource-constrained healthcare settings where literacy in written Hausa is not universal.

Hausa is one of Africa's most widely spoken languages, with an estimated 94 million first- and second-language speakers across Nigeria, Niger, Ghana, Sudan, and other parts of West Africa [1]. Despite growing interest in Hausa natural language processing, reflected in the growing availability of Hausa language resources and benchmarks, including HausaNLP [2], Mozilla Common Voice [3], and FLEURS [4], we are not aware of prior published work specifically addressing medical-domain ASR for Hausa.

The central bottleneck is audio data scarcity. Collecting paired audio-transcript data in specialised medical domains is expensive, logistically complex, and frequently infeasible. Fine-tuning acoustic models on domain-specific audio – the standard approach for high-resource languages – is not a viable option when such recordings do not exist at scale. This motivates a practical question: can domain adaptation for medical ASR be achieved using only text?

We answer affirmatively. We propose a text-only domain adaptation framework combining two language-model fusion strategies – Shallow Fusion (SF) and the Density Ratio Approach (DRA) [5] – with the MMS-1B-FL102 multilingual acoustic model [6]. We position our approach in contrast to the emerging use of large language models (LLMs) for ASR post-processing [7]. While LLM-based correction can improve transcription quality by exploiting broader linguistic context, text-only post-processing operates after acoustic decoding and therefore cannot directly recover information absent from the ASR output. Moreover, reliance on large generative models introduces substantially greater computational and deployment requirements than our lightweight decoding-time approach: our KenLM-based fusion relies on a compact 16.76 MB model.

We evaluate with sentence-prompt-level 5-fold cross-validation: language-model and decoding hyperparameters are selected only on each fold's tuning prompts and frozen before decoding that fold's held-out prompts, and the five held-out sets are pooled into 250 out-of-fold (OOF) predictions, so no evaluation prompt is used for tuning in the fold in which it is evaluated.

*Corresponding author: ocheankeli99@gmail.com Code: https://github.com/Tripp808/hausa-medical-asr Trained models: https://huggingface.co/OcheAnkeli/hausa-medical-asr

The contributions of this work are:

  • A text-only domain adaptation framework for Hausa medical ASR using SF and DRA, achieving 20.3% and 21.1% relative WER reductions, respectively, over an unadapted multilingual baseline, under sentence-level 5-fold cross-validation.

  • A medical-domain Hausa language model, consisting of a 4-gram KenLM trained on 19,421 sentences from the BBC Hausa and Deutsche Welle Hausa health sections, and a general-domain 75,372-sentence source language model enabling density-ratio correction of the acoustic model's language prior.

  • A purpose-built Hausa medical speech evaluation dataset of 250 utterances: 25 prompts independently reviewed by two medical doctors, each recorded by 10 speakers across six northern Nigerian states.

  • Medical Term Error Rate (MTER), a domain-specific metric for evaluating recognition of medical vocabulary, over a 66-term lexicon spanning six clinical categories, reported together with its construction caveats.

  • A domain contrast analysis and a cross-validated significance testing protocol (cluster bootstrap over sentence prompts) that together support the reported gains within the stated limits.

All trained language models and code are released publicly to support reproducibility and future benchmarking.

References (21)