TL;DR
Researchers have developed a "surgical" method to adapt lightweight, English-centric speech recognition models for morphologically complex languages like Bengali. By swapping out the model's original tokenizer for a native-script one—a process called Tokenizer Transplantation—they reduced sequence lengths by over 85%, preventing the model from "collapsing" during transcription while maintaining lightning-fast performance on edge devices.
What Problem Does This Paper Address?
Automatic Speech Recognition (ASR) has seen massive leaps recently, but most state-of-the-art models are "heavyweights" (like Whisper) that are too slow for mobile or edge devices. Conversely, lightweight models like Moonshine are optimized for English and struggle with non-Latin, morphologically rich languages like Bengali.
The authors identify a specific culprit: High Token Fertility. Because Moonshine uses a byte-level tokenizer designed for English, a single Bengali word is often fragmented into a long chain of 9 or 10 tokens. For the model’s decoder, this is like trying to write a sentence while being forced to spell every single syllable perfectly; the further it goes, the more likely it is to make a mistake that spirals into "autoregressive collapse," where the model produces gibberish or fails to finish the sentence.
Methods
The authors propose a three-phase Tokenizer Transplantation pipeline to adapt the Moonshine-Base model (61.5M parameters) without the need for expensive pre-training from scratch:
- Phase 1: Acoustic Fine-Tuning: The model is trained for 21 epochs on Bengali audio. This allows the encoder to learn Bengali phonetics while keeping the original (inefficient) English tokenizer.
- Phase 2: Surgical Transplantation: The authors "surgically" remove the English-centric tokenizer and replace it with the BanglaBERT WordPiece tokenizer. They resize the embedding matrix to fit the new vocabulary and manually map special tokens (like
[CLS]toBOS) to ensure the architecture remains compatible. - Phase 3: Two-Stage Recovery Optimization: Since the new decoder embeddings start as random noise, the authors use a two-step training process to stabilize them. They first use an aggressive learning rate to align the new text embeddings with the already-trained acoustic encoder, followed by a stabilization phase with a lower learning rate to refine grammatical accuracy.
Datasets
The primary dataset used is Lipi-Ghor-882, a massive 882-hour multi-speaker Bengali corpus curated from diverse open-source media. For evaluation, they used a 5% held-out test set (approx. 5,931 utterances) and compared their results against benchmarks from the DL Sprint 4.0 Bengali ASR competition.
Key Insights and Ideas
- Decoupling is Key: The paper shows that acoustic representation learning (the encoder) can be decoupled from language modeling (the decoder/tokenizer). You can teach a model what Bengali sounds like before you teach it the most efficient way to write it.
- Fertility Matters: "Token fertility" (the ratio of tokens to words) dropped from 9.16 to 1.30. By making the representation more compact, the model has a much shorter "path" to travel during inference, which fundamentally solves the stability issues seen in smaller models.
- Efficiency without Sacrifice: The "transplanted" model achieved better accuracy than models 10x its size (like Meta’s MMS 1B) and matched the performance of much larger Whisper variants while being significantly faster.
Key Results
- Accuracy: The proposed model achieved a Word Error Rate (WER) of 21.54% and a Character Error Rate (CER) of 10.79%. The CER was notably the lowest among all tested architectures, including much larger models.
- Stability: By reducing the sequence length by 85.8%, the authors entirely mitigated the "catastrophic autoregressive collapse" that plagued the baseline model.
- Speed: The model achieved a Real-Time Factor (RTF) of 0.0053. In practical terms, it can process an hour of audio in about 19 seconds on consumer-grade hardware (RTX 4070), making it 3.5x faster than highly optimized Whisper deployments.
- Parameter Efficiency: The 61.5M parameter model performed on par with the ~769M parameter Faster Whisper Medium model.
Limitations and Future Work
While the paper provides a "scalable blueprint" for cross-script adaptation, some areas remain for exploration:
- Generalization: The study focuses specifically on Bengali. While the authors suggest this is a blueprint for other low-resource or morphologically rich languages, they haven't yet demonstrated the transplantation on other scripts (e.g., Arabic or Hindi).
- Hardware Constraints: The recovery phase requires specific optimization (like ScheduleFree AdamW) to prevent "transplant rejection" (catastrophic forgetting). This suggests the fine-tuning process is delicate and might require careful hyperparameter tuning for different base architectures.
- Inference Trade-off: Interestingly, the authors note that while transplantation saves the model's accuracy, it slightly increases processing time compared to the (failed) baseline because the model is now actually performing accurate, step-by-step autoregressive generation rather than collapsing early.
Summary updated