Miipher: A Robust Speech Restoration Model Integrating Self-Supervised Speech and Text Representations

Yuma Koizumi, Heiga Zen, Shigeki Karita, Yifan Ding, Kohei Yatabe, Nobuyuki Morioka, Yu Zhang, Wei Han, Ankur Bapna, Michiel Bacchiani

Introduction

The development of high-fidelity text-to-speech (TTS) systems has historically been bottlenecked by the availability of clean, studio-recorded data. While the internet offers a vast repository of speech data through platforms like Common Voice and LibriVox, this "in-the-wild" audio is frequently marred by background noise, reverberation, and low-quality compression. Miipher addresses this challenge by introducing a robust speech restoration (SR) framework that transforms degraded audio into studio-quality speech, effectively turning the massive scale of web-based audio into a viable resource for training generative models.

The Problem: Beyond Simple Noise

Traditional speech restoration methods often struggle with two primary types of degradation found in real-world recordings:

  1. Phoneme Masking: Environmental noise or heavy reverberation can overlap with speech signals, making it impossible to distinguish specific phonemes from the background.
  2. Phoneme Deletion: Lossy codecs and low sample rates can physically remove frequency components. If a model relies solely on the audio signal, these deleted components represent unrecoverable information.

To overcome these hurdles, a restoration model must do more than just filter noise; it must be capable of reconstructing missing linguistic information.

Methodology: Restoration as Inpainting

Miipher departs from standard SR pipelines that operate on log-mel spectrograms, which are often too fragile for heavy degradation. Instead, the model utilizes a sophisticated architecture centered on three pillars:

1. SSL Feature Domain Cleaning

Miipher operates in the feature space of w2v-BERT, a self-supervised learning (SSL) model. Because w2v-BERT is pre-trained on vast amounts of diverse, often degraded speech for automatic speech recognition (ASR), its representations are inherently more robust to acoustic nuisances than raw spectral features. Cleaning occurs in this latent space, providing a more stable foundation for reconstruction.

2. Linguistic Conditioning via PnG-BERT

To solve the "deleted phoneme" problem, Miipher treats restoration as a text-conditioned inpainting task. By using PnG-BERT to extract linguistic features from the text transcript, the model gains a strong prior of what should be spoken. If a codec destroys a specific sound (e.g., the "s" in a word), the linguistic embedding guides the model to re-insert that sound accurately.

3. DF-Conformer and Iterative Refinement

The core of the feature cleaner is a Conformer-based architecture (DF-Conformer) that uses cross-attention to fuse audio features, text embeddings, and speaker identities. The model employs iterative refinement, passing the features through the cleaning process twice with shared parameters to ensure high-fidelity convergence. Finally, a modified WaveFit vocoder converts these cleaned w2v-BERT features back into a 24 kHz time-domain waveform.

Experimental Setup and Results

The model was trained on a proprietary dataset of 2,680 hours of noisy/clean speech pairs, including diverse English accents. To test its real-world utility, researchers applied Miipher to large-scale web datasets: Common Voice (685 hours) and LibriVox (13,270 hours).

Subjective and Linguistic Quality

In Mean Opinion Score (MOS) evaluations, Miipher-restored speech achieved a score of 4.54, nearly matching the studio-quality reference of 4.69 and significantly outperforming the noisy input (3.28). Furthermore, the inclusion of text conditioning reduced the Word Error Rate (WER) from 16.4% to 13.5%, confirming that linguistic priors help preserve the integrity of the spoken content.

Downstream TTS Performance

The ultimate test for Miipher was whether its restored audio could train a high-quality TTS model. A TTS system trained on LibriVox data restored by Miipher achieved MOS scores between 4.05 and 4.38. This performance is comparable to a baseline TTS model trained on the gold-standard LJSpeech dataset (4.36), proving that Miipher-restored data is clean enough for professional-grade generative modeling.

Conclusion and Future Work

Miipher demonstrates that by combining self-supervised speech representations with linguistic priors, we can bridge the gap between low-quality web data and high-quality generative requirements. This "restoration as inpainting" paradigm effectively turns the entire internet into a potential recording studio. Future iterations of Miipher aim to remove the dependency on ground-truth transcripts by using ASR-generated text, expand to multilingual support, and increase output sampling rates to 44.1 kHz or higher for even greater fidelity.

Summary updated

BibTeX
@inproceedings{koizumi2023miipher,
  author = {Yuma Koizumi and Heiga Zen and Shigeki Karita and Yifan Ding and Kohei Yatabe and Nobuyuki Morioka and Yu Zhang and Wei Han and Ankur Bapna and Michiel Bacchiani},
  title = {{Miipher: A Robust Speech Restoration Model Integrating Self-Supervised Speech and Text Representations}},
  booktitle = {WASPAA},
  year = {2023},
  doi = {10.1109/waspaa58266.2023.10248089},
}
Figure