SpeechNet: A Universal Modularized Model for Speech Processing Tasks

Yi-Chen Chen, Po-Han Chi, Shu-Wen Yang, Kai-Wei Chang, Jheng-Hao Lin, Sung-Feng Huang, Da-Rong Liu, Chi-Liang Liu, Cheng-Kuang Lee, Hung-yi LeearXiv 2021

TL;DR

This paper introduces SpeechNet, a novel modularized architecture designed to handle a wide range of speech processing tasks (like speech recognition, enhancement, and synthesis) within a single, unified model. By treating all tasks as a "speech/text-to-speech/text" problem, SpeechNet enables multi-task learning, showing that different speech tasks can benefit from shared knowledge, leading to improved performance and a more efficient approach to speech AI.

What Problem Does This Paper Address?

Traditionally, speech processing tasks, such as Automatic Speech Recognition (ASR), Speech Enhancement (SE), Speaker Classification (SC), Text-to-Speech (TTS) synthesis, and Voice Conversion (VC), are tackled by separate, specialized models. This siloed approach means that valuable insights and learned capabilities from one task are not readily transferable to another. The authors identify this as a significant limitation, drawing an analogy to human learning where diverse skills are acquired and integrated. They propose to break down these silos by developing a universal, modularized model that can learn multiple speech tasks simultaneously through multi-task learning (MTL). This aims to leverage shared representations and improve generalization across tasks, a concept that has shown success in NLP and computer vision but has been less explored in the speech domain.

Methods

The core of SpeechNet is its modular design, allowing it to be adapted for various speech tasks. The model is built around six key modules:

  • Prosody Encoder: Extracts prosodic features (like rhythm and intonation) from speech.
  • Speaker Encoder: Captures speaker-specific characteristics.
  • Content Encoder: Extracts the semantic content of the speech.
  • Audio Decoder: Synthesizes speech from encoded representations.
  • Text Encoder: Converts text input into a representation compatible with speech content.
  • Text Decoder: Generates text output from encoded representations.

All speech processing tasks are framed as taking speech or text as input and producing speech or text as output. This unified format allows for flexible combinations of these modules to perform different tasks. For example, ASR uses the speech input to generate text output, while TTS uses text input to generate speech output. The paper also introduces a Prosody Predictor module, particularly for TTS and VC, which estimates target prosody based on content and speaker embeddings, addressing a limitation where input speech prosody might not match target speech prosody during inference.

Datasets

The paper utilizes several standard datasets for its experiments:

  • LibriSpeech: Used for ASR (training on "train-clean-100", evaluation on "test-clean").
  • Nonspeech: Used for SE, augmented with LibriSpeech clean speech.
  • VoxCeleb1: Used for SC (selecting 100 speakers).
  • LibriTTS: Used for TTS.
  • CMU Arctic: Used for VC.

The authors also mention using subword units (BPE) for ASR output and phonemes for TTS input.

Key Insights and Ideas

  • Unified Framework for Speech Tasks: The most significant idea is framing diverse speech tasks (recognition, synthesis, enhancement, etc.) under a single "speech/text-to-speech/text" paradigm, enabling a unified model.
  • Benefits of Multi-Task Learning: The experiments demonstrate that learning multiple speech tasks jointly can improve performance, particularly for ASR, which benefits from information learned from other tasks. This suggests that shared representations are indeed valuable.
  • Modularity is Key: SpeechNet's modular architecture is highlighted as a strength, allowing for easy integration of new modules, tasks, or training approaches in the future.
  • Prosody Predictor for TTS/VC: The introduction of the Prosody Predictor module is crucial for improving TTS and VC by decoupling prosody generation from the input speech, thus overcoming mismatches during inference.

Key Results

  • Multi-Task Learning Benefits: The paper shows that ASR performance (measured by WER) can be improved by jointly training with other tasks like SE, SC, TTS, and VC. For instance, SE is slightly improved by ASR, and SC is improved by TTS.
  • Five-Task Learning Challenges: While multi-task learning shows promise, jointly training all five tasks simultaneously proved challenging. The authors found that specific optimization strategies (AutoLoss and PCGrad) were necessary to learn all tasks, though performance in this scenario was generally worse than single-task learning.
  • Prosody Predictor Effectiveness: Experiments without the Prosody Predictor showed that TTS and VC performance (measured by MSE) could not be decreased, validating the need for this module to handle prosody mismatches.

Limitations and Future Work

  • Optimization Strategies: The paper acknowledges that finding suitable optimization strategies for multi-task learning of speech processing tasks is crucial and suggests SpeechNet can serve as a testbed for developing such strategies.
  • Training Schemes: Future work could explore other training schemes like transfer learning or meta-learning, as well as investigate the impact of different data sizes.
  • Task Expansion: The modular nature of SpeechNet allows for the incorporation of more speech or text processing tasks, opening avenues for research in areas like speech translation or multilingual speech recognition.
  • Five-Task Performance: The current five-task learning setup did not outperform single-task learning, indicating room for improvement in MTL optimization for complex scenarios.

Summary updated

BibTeX
@misc{chen2021speechnet,
  author = {Yi-Chen Chen and Po-Han Chi and Shu-Wen Yang and Kai-Wei Chang and Jheng-Hao Lin and Sung-Feng Huang and Da-Rong Liu and Chi-Liang Liu and Cheng-Kuang Lee and Hung-yi Lee},
  title = {{SpeechNet: A Universal Modularized Model for Speech Processing Tasks}},
  year = {2021},
  eprint = {2105.03070},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2105.03070},
}
Figure