Exploring Speech Recognition, Translation, and Understanding with Discrete Speech Units: A Comparative Study

Xuankai Chang, Brian Yan, Kwanghee Choi, Jee-Weon Jung, Yichen Lu, Soumi Maiti, Roshan S. Sharma, Jiatong Shi, Jinchuan Tian, Shinji Watanabe, Yuya Fujita, Takashi Maekaku, Pengcheng Guo, Yao-Fei Cheng, Pavel Denisov, Kohei Saijo, Hsiu-Hsuan Wang

TL;DR

This paper explores using "discrete speech units" – compressed, tokenized representations of speech – as input for end-to-end speech processing models. They demonstrate that these units offer a compelling trade-off, significantly reducing training time and data size while maintaining competitive performance across Automatic Speech Recognition (ASR), Speech Translation (ST), and Spoken Language Understanding (SLU) tasks.

What Problem Does This Paper Address?

Traditional speech processing models often rely on high-dimensional, continuous features like spectrograms or Mel Frequency Cepstral Coefficients (MFCCs). While effective, these features can be redundant, leading to inefficiencies in sequence modeling, longer training times, and larger data storage requirements. Recent work has explored using discrete speech units derived from self-supervised learning (SSL) models to compress this information. However, a comprehensive study evaluating their effectiveness across a wide range of tasks and frameworks was lacking. This paper aims to fill that gap by systematically investigating the performance and efficiency gains of discrete speech units in end-to-end ASR, ST, and SLU.

Methods

The core of the paper lies in its exploration of discrete speech units as input for end-to-end models, primarily using the ESPnet toolkit. The process involves:

  • Speech Discretization: This is the crucial step where continuous speech features are converted into discrete tokens. The authors favor clustering-based methods (like K-Means on SSL features) over vector quantization, citing their versatility.
  • Data Manipulation: To further compress the discrete sequences, two techniques are employed:
  • De-duplication: Consecutive identical tokens are merged into a single token.
  • Subword Modeling: Similar to text processing, frequent patterns of discrete units are combined into "metatokens."
  • Seq2Seq Modeling: The discrete units are then fed into standard end-to-end sequence-to-sequence architectures, including CTC, Attention-based Encoder-Decoder (AED), and RNN-Transducer.
  • Convolutional Subsampling (Conv-Sub): To mitigate the quadratic complexity of self-attention mechanisms with long input sequences, a convolutional subsampling layer is introduced to reduce the sequence length.
  • SSL Feature Selection: The authors leverage Canonical Correlation Analysis (CCA) to select optimal layers from pre-trained SSL models (like WavLM and HuBERT) for deriving the discrete units, showing this improves performance.

Datasets

The study utilizes a diverse set of datasets to demonstrate the broad applicability of discrete speech units:

  • ASR: AISHELL, CHiME4, Common Voice (FR), Gigaspeech, How2-2000, LibriSpeech-100, LibriSpeech, ML-SUPERB (1h), MuST-C, SPGIspeech, SWBD, TEDLIUM3. This includes read speech, noisy speech, telephony speech, spontaneous speech, and multilingual corpora.
  • Speech Translation (ST): MuST-C (En-De, En-Es, En-Fr).
  • Spoken Language Understanding (SLU): SLURP.

Key Insights and Ideas

  • Efficiency Gains are Significant: Discrete units drastically reduce training time (often by more than 50%) and data storage compared to traditional features like FBank. This is a major practical advantage.
  • Performance is Competitive: While not always outperforming the best SSL features, discrete units consistently achieve performance that is either comparable to or slightly below SSL features, and significantly better than FBank. This suggests they capture essential information without excessive redundancy.
  • Discrete Units as a "Spoken Language": The paper highlights that discrete units can be treated analogously to text tokens, opening doors for unified modeling across speech and text tasks.
  • SSL Feature Choice Matters: The selection of the optimal layer from pre-trained SSL models, guided by CCA, is crucial for maximizing the performance of discrete units.
  • Versatility Across Frameworks: Discrete units show promise across various end-to-end architectures (CTC, AED, RNN-T) and tasks (ASR, ST, SLU).

Key Results

  • ASR Performance: Discrete units generally perform between FBank and SSL features, often closer to SSL. For instance, on LibriSpeech, they achieve WERs around 3.2-5.5%, compared to 5.5-10.2% for FBank and 3.2-5.3% for SSL.
  • Training Time Reduction: Figure 2 illustrates that training time per epoch using discrete units is less than 50% of that using FBank, and significantly faster than online SSL feature extraction.
  • Sequence Length Reduction: Table 2 shows that after de-duplication and subword modeling, the sequence length of discrete units can be reduced to less than half of the original SSL feature sequence.
  • Speech Translation: Discrete units achieve BLEU scores slightly below SSL features but better than FBank. For example, on MuST-C En-De, they achieve 28.6 BLEU, compared to 8.0 for FBank and 29.7 for SSL.
  • Spoken Language Understanding: On the SLURP dataset, discrete units achieved intent classification accuracy of 81.8/80.8%, which was slightly lower than SSL features (84.2/83.3%) but better than FBank (86.9/86.3%).

Limitations and Future Work

  • Suboptimal Layers for SLU: The authors hypothesize that the SSL layer optimal for ASR might not be ideal for SLU, suggesting future work should explore task-specific layer selection.
  • Alternative Discrete Unit Sources: While SSL-based units performed well, the paper notes that other sources like Whisper and neural codec models are emerging. Preliminary results suggest SSL-based units still have an edge, but further exploration is warranted.
  • Discretization Techniques: The paper suggests investigating alternative discretization techniques beyond clustering and VQ.
  • Further Exploration of Settings: The authors intend to continue exploring various settings and configurations to further optimize discrete unit performance.

Summary updated

BibTeX
@inproceedings{chang2024exploring,
  author = {Xuankai Chang and Brian Yan and Kwanghee Choi and Jee-Weon Jung and Yichen Lu and Soumi Maiti and Roshan S. Sharma and Jiatong Shi and Jinchuan Tian and Shinji Watanabe and Yuya Fujita and Takashi Maekaku and Pengcheng Guo and Yao-Fei Cheng and Pavel Denisov and Kohei Saijo and Hsiu-Hsuan Wang},
  title = {{Exploring Speech Recognition, Translation, and Understanding with Discrete Speech Units: A Comparative Study}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  doi = {10.1109/icassp48485.2024.10447929},
}
Figure