Exploration of Efficient End-to-End ASR using Discretized Input from Self-Supervised Learning

Xuankai Chang, Brian Yan, Yuya Fujita, Takashi Maekaku, Shinji Watanabe · DOI

Abstract

Modern Automatic Speech Recognition (ASR) systems rely on continuous, high-dimensional features that pose significant challenges for storage, privacy, and computational efficiency. This paper explores a protocol that discretizes speech into a small vocabulary of tokens derived from self-supervised learning (SSL) models. By applying NLP-inspired techniques such as de-duplication and subword modeling, the proposed method achieves a 60% reduction in input sequence length and a 100-fold reduction in storage requirements. Experimental results on the LibriSpeech corpus demonstrate that this approach maintains competitive performance while significantly accelerating training and enhancing data privacy.

1. Introduction

The evolution of ASR has shifted from traditional acoustic modeling to end-to-end (E2E) architectures. These systems typically utilize real-valued features like Mel-filterbanks or embeddings from SSL models. However, these features are resource-intensive. For instance, 1,000 hours of speech can require approximately 100 GB of storage. Furthermore, continuous features often preserve speaker-specific voiceprints, raising privacy concerns. Finally, the quadratic complexity of Transformer-based models makes processing long continuous sequences computationally expensive.

This research investigates the feasibility of treating speech as a discrete sequence, similar to text. By discretizing speech into "acoustic words," we can leverage efficient NLP processing techniques to mitigate the drawbacks of continuous features without sacrificing recognition accuracy.

2. Methodology

The proposed pipeline transforms raw audio into a highly compressed discrete representation through several stages: feature extraction, discretization, and sequence compression.

2.1 Feature Extraction and Discretization

The system utilizes WavLM-Large, a state-of-the-art SSL model, to extract embeddings. The authors specifically target the last layer of the model, as it captures the most linguistic information while discarding redundant speaker-specific details. These embeddings are then clustered using k-means into a discrete vocabulary. While prior research has explored vocabularies as large as 13,500 units, this study identifies 2,000 tokens as the "sweet spot"—providing a strong balance between Phone-Normalized Mutual Information (PNMI) and computational efficiency.

2.2 Sequence Length Reduction

To further optimize the input, two NLP-style techniques are applied to the discrete tokens:

  1. De-duplication (Dedup): Consecutive identical tokens are merged into one, significantly reducing redundancy.
  2. Subword Modeling: The SentencePiece unigram model is applied to the discrete tokens. This groups frequent patterns into "meta-tokens," further shortening the sequence.

Combined, these methods reduce the input sequence length by up to 60% compared to the original SSL feature sequence.

2.3 Model Architecture

The ASR model employs an E-Branchformer encoder and a Transformer decoder. The training process uses a joint CTC/Attention loss function. To ensure robustness, the authors adapted SpecAugment concepts by applying time-masking directly to the embeddings of the discrete tokens.

3. Experimental Results

The system was evaluated on the LibriSpeech 100h and 960h datasets to compare against standard Filterbank (FBank) and continuous SSL baselines.

3.1 Efficiency and Storage

The most striking result is the storage efficiency. By discretizing the input, 1,000 hours of speech data is compressed from 100 GB (raw/SSL features) to less than 1 GB. This allows entire large-scale datasets to be loaded directly into RAM, eliminating I/O bottlenecks during training. Training speed also improved significantly; a discrete-token model on 4x Nvidia V100 GPUs required only 23 minutes per epoch—roughly half the time of a standard FBank-based system.

3.2 Recognition Accuracy

On the LibriSpeech 100h set, the 2,000-token system achieved a Word Error Rate (WER) of 5.9% (clean) and 12.8% (other), significantly outperforming standard FBank features (8.3% / 22.2%). On the full 960h dataset, the system reached 3.1% (clean) and 6.9% (other) WER. While this slightly trails the FBank baseline (2.6% / 6.2%), the authors argue that the trade-off is justified by the massive gains in speed and storage.

4. Discussion and Privacy

The discretization process acts as a natural privacy filter. Because the discretization process (especially using the last layer of WavLM) discards much of the speaker's unique vocal characteristics, it serves as a privacy-preserving mechanism. This makes it harder to reconstruct the original voiceprint while retaining the linguistic content necessary for accurate ASR.

5. Conclusion

This paper demonstrates that discretizing speech into a small vocabulary of SSL-derived tokens is a viable path toward efficient and private ASR. While a small accuracy gap remains compared to the most advanced continuous SSL systems, the benefits in storage, training speed, and sequence length reduction are substantial. Future work will focus on closing the performance gap through advanced discretization techniques beyond k-means and exploring multi-stream ensembling.

Summary updated

BibTeX
@inproceedings{chang2023exploration,
  author = {Xuankai Chang and Brian Yan and Yuya Fujita and Takashi Maekaku and Shinji Watanabe},
  title = {{Exploration of Efficient End-to-End ASR using Discretized Input from Self-Supervised Learning}},
  booktitle = {Interspeech},
  year = {2023},
  doi = {10.21437/interspeech.2023-2051},
}
Figure