Skip to main content
QUICK REVIEW

[Paper Review] SLAM: A Unified Encoder for Speech and Language Modeling via Speech-Text Joint Pre-Training

Ankur Bapna, Yu-An Chung|arXiv (Cornell University)|Oct 20, 2021
Topic ModelingComputer Science60 references50 citations
TL;DR

SLAM trains a single encoder to jointly pre-train on both speech and text using self-supervised and alignment losses, aiming to improve speech translation while examining cross-modal interference and capacity limits.

ABSTRACT

Unsupervised pre-training is now the predominant approach for both text and speech understanding. Self-attention models pre-trained on large amounts of unannotated data have been hugely successful when fine-tuned on downstream tasks from a variety of domains and languages. This paper takes the universality of unsupervised language pre-training one step further, by unifying speech and text pre-training within a single model. We build a single encoder with the BERT objective on unlabeled text together with the w2v-BERT objective on unlabeled speech. To further align our model representations across modalities, we leverage alignment losses, specifically Translation Language Modeling (TLM) and Speech Text Matching (STM) that make use of supervised speech-text recognition data. We demonstrate that incorporating both speech and text data during pre-training can significantly improve downstream quality on CoVoST~2 speech translation, by around 1 BLEU compared to single-modality pre-trained models, while retaining close to SotA performance on LibriSpeech and SpeechStew ASR tasks. On four GLUE tasks and text-normalization, we observe evidence of capacity limitations and interference between the two modalities, leading to degraded performance compared to an equivalent text-only model, while still being competitive with BERT. Through extensive empirical analysis we also demonstrate the importance of the choice of objective function for speech pre-training, and the beneficial effect of adding additional supervised signals on the quality of the learned representations.

Motivation & Objective

  • Motivate universal self-supervised pre-training across modalities (speech and text).
  • Investigate whether a single encoder can learn strong representations for both modalities.
  • Evaluate the impact of alignment losses (TLM and STM) on cross-modal transfer and downstream tasks.
  • Characterize interference and capacity limits when modeling two high-resource modalities jointly.
  • Provide design guidelines and empirical insights for multimodal pre-training.

Proposed method

  • Propose a single Conformer-based architecture with a speech encoder, a text encoder, and a shared multimodal encoder.
  • Pre-train with four objectives: SpanBERT (text MLM), w2v-BERT (speech), Translation Language Modeling (TLM) on paired data, and Speech-Text Matching (STM) on paired/non-paired data.
  • Employ multi-stage pre-training: first self-supervised on unpaired data, then add alignment losses with both unpaired and paired data.
  • Use aggressive masking for paired data to encourage cross-modal feature learning.
  • Fine-tune for downstream tasks including speech translation (CoVoST 2), ASR (LibriSpeech, SpeechStew), and GLUE tasks; analyze capacity and interference.

Experimental results

Research questions

  • RQ1Can a single encoder learn effective representations for both speech and text when pre-trained jointly?
  • RQ2Do alignment losses (TLM and STM) improve cross-modal alignment and downstream performance versus self-supervised learning alone?
  • RQ3What are the benefits and limitations (interference, capacity) of multimodal pre-training on speech translation, ASR, and text understanding tasks?

Key findings

  • Joint SLAM pre-training yields improvements on CoVoST 2 speech translation (~1 BLEU) over single-modality pre-training.
  • SLAM achieves competitive performance on LibriSpeech ASR and SpeechStew ASR tasks compared to state-of-the-art mono-modal models.
  • In GLUE tasks and text normalization, cross-modal interference reduces performance relative to text-only models, indicating capacity limits when modeling two high-resource modalities.
  • Alignment losses (TLM and STM) improve cross-modal representation alignment and can bridge much of the performance gap caused by interference.
  • Continuing pre-training on speech data after joint multimodal pre-training yields additional gains for speech translation, demonstrating cross-modal transfer benefits.
  • Text-only performance remains competitive with early BERT-grade baselines, highlighting capacity constraints of a unified model.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.