Abstract
Wav-BERT is a novel framework designed to boost Automatic Speech Recognition (ASR) for low-resource languages by elegantly fusing acoustic (wav2vec 2.0) and linguistic (BERT) pre-trained models. By using specialized attention modules to bridge the gap between sound and text, it achieves state-of-the-art performance on challenging datasets like IARPA BABEL and AISHELL-1.
Introduction
Modern ASR systems are data-hungry. While they perform brilliantly for high-resource languages like English or Mandarin, they struggle with low-resource languages (e.g., Swahili or Tamil) where transcribed audio is scarce. Researchers often try to solve this by combining pre-trained acoustic models (which understand sound) with language models (which understand grammar and meaning).
However, two major hurdles remain: representation discrepancy and embedding inconsistency. Acoustic models focus on local, short-term audio frames, while language models capture long-term semantic relationships in text. Previous attempts often simply replaced BERT’s text embedding layer with acoustic features, leading to catastrophic forgetting, where the model "unlearns" its linguistic knowledge because the new input format is too different from what it saw during pre-training.
Proposed Architecture
The authors introduce Wav-BERT, an end-to-end trainable framework that treats wav2vec 2.0 and BERT as cooperative encoders rather than a simple sequence. Unlike traditional rescoring or cascade methods, Wav-BERT integrates these components more deeply at multiple levels to create a tighter bond between sound and meaning.
Key Modules
Key innovations in the Wav-BERT architecture include:
- Embedding Attention Module (EAM): Instead of a hard replacement of BERT's embeddings, EAM uses a gated attention mechanism. It incorporates acoustic information into the word embeddings, allowing BERT to "see" the audio context without losing its original linguistic grounding.
- Representation Aggregation Module (RAM): This is a "plug-in" module at the top of the architecture. It uses Gated Cross-Modal Attention to fuse the final outputs of both the acoustic and linguistic encoders. It essentially allows the model to dynamically decide how much to trust the audio vs. the text context for the final prediction.
- Sampling with Decay: During training, the model is fed a mix of ground-truth transcripts and "noisy" transcripts predicted by the acoustic model. The ratio shifts over time, helping the model learn to correct errors it might encounter during real-world inference.
Experimental Results
The model was evaluated on two primary benchmarks: IARPA BABEL (Vietnamese, Swahili, and Tamil) and AISHELL-1 (Mandarin). Wav-BERT consistently outperformed baselines across the board:
- IARPA BABEL: It achieved a significant reduction in Character Error Rate (CER). For Swahili, it reached a CER of 14.8%, outperforming standard wav2vec 2.0 (15.5%) and previous hybrid models like w2v-cif-bert (21.5%).
- AISHELL-1: It achieved a SOTA CER of 3.8% on the test set. This is particularly impressive as it beat "BERT rescoring" (4.5%), a common but computationally expensive technique where BERT is used to double-check the audio model's top guesses.
Discussion and Conclusion
The success of Wav-BERT stems from multi-level fusion. By integrating information at both the embedding level (bottom) and the representation level (top), the model creates a much tighter bond between sound and meaning. The use of gated weights in both RAM and EAM acts as a safety valve, preventing acoustic features from overwhelming linguistic features and mitigating catastrophic forgetting.
While Wav-BERT is a heavyweight (380M to 600M parameters), its end-to-end nature makes it more efficient for inference than multi-pass rescoring methods. Future work could involve incorporating other types of knowledge, such as visual cues, and testing on even more diverse phonetic structures to further validate the framework's universality.
Summary updated