MixSpeech is a data augmentation method for speech recognition that feeds the model a weighted sum of the acoustic features of two utterances and trains it to recognize both transcripts. The features can be mel spectrograms, MFCCs, and so on. It was proposed by Meng et al. in 2021 (ICASSP 2021).
It builds on Mixup, a method widely used in image classification. Mixup mixes inputs and labels in the same proportion, but in speech recognition the label is a "sequence of text," so it cannot be mixed as is.
- The two transcripts usually differ in length, so they cannot be added together.
- A transcript is a sequence of discrete symbols (tokens), which cannot be added.
- Adding them in an embedding space would teach the model to output a "blended sentence" of the two, which departs from the actual goal of recognizing one sentence from one utterance.
MixSpeech therefore leaves the transcripts unmixed and instead mixes the losses computed against each of the two transcripts, using the same weight as for the input.
Here, and are the acoustic features and transcript of the -th example, and is the speech recognition loss. The features are added frame by frame (a frame is a short slice of time).
For example, with (right side of the figure at the top), the loss for producing the 5-token transcript from the mixed audio gets a weight of 0.7, and the loss for producing the 3-token transcript gets 0.3. Think of it as practice in listening to a recording of two people talking at once: catching mainly what the louder speaker says, while also picking up the quieter one.

