ASTRA: Aligning Speech and Text Representations for Asr without Sampling
Neeraj Gaur, Rohan Agrawal, Gary Wang, Parisa Haghani, Andrew Rosenberg, Bhuvana Ramabhadran
TL;DR
ASTRA addresses the challenge of aligning speech and text representations for end-to-end ASR without sampling-based length matching. It introduces a cross-modal consistency objective $L_c$ that is reinterpreted as a weighted RNNT loss $\\widehat{L_c}$, leveraging alignments learned by RNNT to align speech embeddings and text embeddings without explicit duration modeling. The approach uses unpaired speech/text data with BEST-RQ and RNNT objectives and combines RNNT loss with $L_c$ on paired data. On FLEURS, ASTRA matches or surpasses duration-based text-injection baselines while avoiding duration modeling, and ablations highlight the benefits of MAE consistency and SpecAugment. The work enables pure-text pretraining to benefit ASR and suggests easy LM integration and contextual biasing in multimodal ASR.
Abstract
This paper introduces ASTRA, a novel method for improving Automatic Speech Recognition (ASR) through text injection.Unlike prevailing techniques, ASTRA eliminates the need for sampling to match sequence lengths between speech and text modalities. Instead, it leverages the inherent alignments learned within CTC/RNNT models. This approach offers the following two advantages, namely, avoiding potential misalignment between speech and text features that could arise from upsampling and eliminating the need for models to accurately predict duration of sub-word tokens. This novel formulation of modality (length) matching as a weighted RNNT objective matches the performance of the state-of-the-art duration-based methods on the FLEURS benchmark, while opening up other avenues of research in speech processing.
