[Paper Review] SpeechBERT: An Audio-and-text Jointly Learned Language Model for End-to-end Spoken Question Answering
This paper proposes SpeechBERT, a joint audio-and-text pre-trained language model for end-to-end spoken question answering (SQA), which learns contextualized embeddings directly from raw audio and text, outperforming cascade ASR-TQA systems—especially on questions with ASR errors in answer spans—by capturing semantic information before transcription errors occur.
While various end-to-end models for spoken language understanding tasks have been explored recently, this paper is probably the first known attempt to challenge the very difficult task of end-to-end spoken question answering (SQA). Learning from the very successful BERT model for various text processing tasks, here we proposed an audio-and-text jointly learned SpeechBERT model. This model outperformed the conventional approach of cascading ASR with the following text question answering (TQA) model on datasets including ASR errors in answer spans, because the end-to-end model was shown to be able to extract information out of audio data before ASR produced errors. When ensembling the proposed end-to-end model with the cascade architecture, even better performance was achieved. In addition to the potential of end-to-end SQA, the SpeechBERT can also be considered for many other spoken language understanding tasks just as BERT for many text processing tasks.
Motivation & Objective
- Address the challenge of ASR errors corrupting answer spans in spoken question answering (SQA), which limits cascade ASR+TQA systems.
- Develop a unified end-to-end model that bypasses ASR by jointly learning audio and text representations for SQA.
- Enable the model to extract semantic and phonetic information directly from audio signals before transcription, improving robustness to ASR errors.
- Demonstrate that end-to-end SQA with joint audio-text pre-training can achieve performance comparable to or better than cascade architectures, especially on error-prone cases.
- Explore the potential of SpeechBERT as a general-purpose tool for other spoken language understanding tasks, analogous to BERT for text.
Proposed method
- Pre-train a joint audio-text model using masked audio and text modeling (MLM) on large-scale audio and text datasets, similar to BERT’s pre-training objective.
- Use forced alignment with an off-the-shelf ASR system to segment audio into word-level units (audio words) using ground-truth transcripts, enabling alignment with text tokens.
- Train the model to predict masked audio segments and corresponding text tokens simultaneously, learning shared semantic representations across modalities.
- Fine-tune the pre-trained SpeechBERT on the SQuAD-style spoken question answering dataset using end-to-end training with span prediction head.
- Ensemble the end-to-end SpeechBERT model with a cascade ASR+TQA model to combine complementary knowledge and improve overall performance.
- Evaluate performance using frame-level F1 and answer span selection (AOS) metrics, particularly on SQuAD-lost (with ASR errors) and Spoken SQuAD (correctly recognized spans).
Experimental results
Research questions
- RQ1Can an end-to-end audio-and-text joint model outperform the standard cascade ASR+text question answering pipeline in spoken question answering?
- RQ2To what extent can an end-to-end model recover from ASR errors in answer spans by learning semantics directly from audio signals?
- RQ3How does the performance of the end-to-end model compare to cascade models across varying levels of ASR word error rate (WER)?
- RQ4Does pre-training with masked audio and text modeling improve downstream SQA performance compared to direct fine-tuning?
- RQ5Can ensembling the end-to-end model with a cascade model yield better results than either component alone?
Key findings
- The end-to-end SpeechBERT model outperformed the cascade ASR+TQA system on the Spoken SQuAD dataset, particularly on the SQuAD-lost subset where answer spans were incorrectly recognized by ASR.
- On the SQuAD-lost subset, the end-to-end model achieved significantly higher frame-level F1 than the cascade model, demonstrating its ability to learn semantics directly from audio before ASR errors occur.
- When ensembled with the cascade model, SpeechBERT achieved state-of-the-art performance on Spoken SQuAD, outperforming both individual components (row (h) in Table 1).
- The performance gap between the end-to-end model and cascade model widened at higher WER (above 40%), confirming that the end-to-end model is more robust to ASR errors.
- Ablation studies showed that pre-training with masked audio and text modeling (MLM) was critical—removing it caused a significant performance drop (row (f) vs (e) in Table 1).
- Improvements were observed when using better word boundaries (from ground-truth transcripts) instead of ASR-generated ones, indicating that segmentation quality limits current performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.