Efficient domain-adaptation of Whisper on resource constrained devices

Dionysios Koulouris, Ilias MaglogiannisarXiv 2026

TL;DR

Generic speech recognition models stumble over technical jargon, while massive cloud-tuned models compromise privacy and require constant internet connectivity. This paper introduces an optimization pipeline that adapts OpenAI's Whisper model to specialized domains—like medicine and aviation—and shrinks it to run completely offline on everyday mobile hardware. The result is cloud-level transcription accuracy in the palm of your hand, with sub-second latency and zero data leaving the device.

What Problem Does This Paper Address?

Modern Automatic Speech Recognition (ASR) models like Whisper are fantastic at everyday conversation. However, they carry a strong internal bias toward general language. When faced with rare technical terms—say, a complex drug name or noisy Air Traffic Control (ATC) radio chatter—the model often overrides what it actually hears and hallucinates a phonetically similar, everyday word instead.

In high-stakes fields, misinterpreting a single syllable can be catastrophic. Usually, fixing this requires massive, domain-tuned models running on expensive cloud servers. But sending sensitive medical dictations or confidential government discussions to the cloud is a non-starter for privacy, security, and offline availability. Meanwhile, shrinking generic models to fit on portable "edge" devices usually tanks their accuracy on specialized vocabulary. How do we get specialized, cloud-grade accuracy onto a resource-constrained device without an internet connection?

Methods

Instead of retraining Whisper from scratch, the authors designed a three-phase pipeline that marries parameter-efficient fine-tuning with clever hardware splitting.

Figure 1: The pipeline consists of three phases, the training phase, the compilation phase and the inference phase. The training phase retrieves the foundational model and the datasets, performs processing and LoRA before outputting a domain-adapted model. This model is inserted to the compilation phase, where it is compiled to device-optimized executable. The inference phase is executed offline, on the edge device. The audio input in addition with contextual token prompts is passed through acoustic pre-processing and encoding, post-processing conditioning and quantized decoding. The final domain-adapted text output is extracted.
  1. Training (Standard PEFT): On a high-performance GPU, they apply Low-Rank Adaptation (LoRA)—a technique that freezes the base model and injects tiny, trainable weight matrices ($r=32, \alpha=64$) into Whisper's attention layers. Once trained on domain jargon, these weights are fused back into the base model.
  2. Bifurcation & Compilation (The Clever Twist): To fit onto portable hardware (benchmarked on an Apple Silicon SoC), the unified model is split in two. The compute-heavy audio encoder is compiled to run specifically on dedicated, low-power Neural Processing Units (NPUs). Meanwhile, the memory-hungry autoregressive decoder undergoes low-bit quantization (via GGML) to slash its memory footprint, running on the standard CPU/GPU.
  3. Conditioned Edge Inference: Offline on the device, incoming audio is standardized to 16kHz Mel-spectrograms. Crucially, before decoding begins, the system injects structured contextual token prompts—acting like a strict filter that nudges the decoder's probabilities toward expected domain vocabulary and away from generic chit-chat.

Datasets

No new benchmarks were introduced; instead, the authors evaluated four existing HuggingFace datasets chosen to stress-test jargon, noise, and multilingual retention:

  • Air Traffic Control (ATC) (1,000 English samples): Heavy radio static, compression, and rigid aviation phraseology.
  • Medical Intent (500 English samples from MultiMed): Complex pharmacological and anatomical terms requiring exact spelling.
  • Greek Parliament (1,000 Greek samples): Formal political speech to test non-English adaptation.
  • German Speech (200 German samples from MultiMed): General conversational audio used as a control benchmark to check if specialization breaks everyday multilingual speech.

Key Insights and Ideas

  • Rigid templates yield the biggest wins: The pipeline shines brightest in highly structured environments like ATC. Whereas baseline Whisper hears radio static and outputs conversational gibberish, the adapted model locks onto legally mandated aviation phraseology.
  • Better accuracy can actually speed up inference: Counterintuitively, adding adaptation didn't slow the device down—in two datasets, it ran faster. Why? Autoregressive decoders generate text token-by-token; when baseline Whisper gets confused by jargon, it often spirals into prolonged, multi-word hallucinations. Biasing it toward the right vernacular stops it from rambling.
  • Plug-and-play versatility: Because LoRA adapter weights are tiny and modular, a single device can store multiple domain "brains" simultaneously and swap between medical, aviation, or translation modes on the fly.

Key Results

Across all specialized domains, the fine-tuned edge models dramatically outperformed the zero-shot baseline Whisper model on the same device:

Figure 3: BLEU score comparison. Higher values indicate superior n-gram structural fluency.
  • Crushing Error Rates: In the noisy ATC dataset, Word Error Rate (WER) plummeted from 77.66% to 15.87%, and Character Error Rate (CER) dropped by 74.40 percentage points (from 83.02% down to 8.62%). Medical Intent WER dropped by over 10 percentage points (31.35% to 21.08%).
  • Structural Fluency & Meaning: ATC BLEU scores (measuring phrase-level accuracy) leaped from a broken 2.11 to 77.22, while Semantic Cosine Similarity jumped from 0.51 to 0.92.
  • Minimal Forgetting: On the German conversational control set, WER regressed by a statistically negligible +0.34% (11.16% to 11.50%), while CER and BLEU actually improved slightly.
  • Real-Time Speed: Average on-device inference stayed under one second per sample across all datasets (ranging from 0.747s to 0.962s).

Limitations and Future Work

Running neural networks locally isn't free. Empirical testing showed battery drain of roughly 10% per 500 transcriptions, alongside potential thermal throttling depending on ambient temperatures. Additionally, cold-starting the pipeline takes up to a minute to load the adapted model into system memory.

For future work, the authors propose quantifying exact energy costs (joules-per-transcription), pushing compression further with INT4/INT8 quantized training for even smaller micro-devices, and building an acoustic detector that dynamically hot-swaps LoRA adapters in real time based on the user's environment.

Summary updated

BibTeX
@misc{koulouris2026efficient,
  author = {Dionysios Koulouris and Ilias Maglogiannis},
  title = {{Efficient domain-adaptation of Whisper on resource constrained devices}},
  year = {2026},
  eprint = {2611.36405},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.36405},
}
Figure