UniSyn: An End-to-End Unified Model for Text-to-Speech and Singing Voice Synthesis

Yi Lei, Shan Yang, Xinsheng Wang, Qicong Xie, Jixun Yao, Lei Xie, Dan Su

Abstract

Text-to-speech (TTS) and singing voice synthesis (SVS) aim at generating high-quality speaking and singing voice according to textual input and music scores, respectively. Unifying TTS and SVS into a single system is crucial to the applications requiring both of them. Existing methods usually suffer from some limitations, which rely on either both singing and speaking data from the same person or cascaded models of multiple tasks. To address these problems, a simplified elegant framework for TTS and SVS, named UniSyn, is proposed in this paper. It is an end-to-end unified model that can make a voice speak and sing with only singing or speaking data from this person. To be specific, a multi-conditional variational autoencoder (MC-VAE), which constructs two independent latent sub-spaces with the speaker- and style-related (i.e. speak or sing) conditions for flexible control, is proposed in UniSyn. Moreover, supervised guided-VAE and timbre perturbation with the Wasserstein distance constraint are leveraged to further disentangle the speaker timbre and style. Experiments conducted on two speakers and two singers demonstrate that UniSyn can generate natural speaking and singing voice without corresponding training data. The proposed approach outperforms the state-of-the-art end-to-end voice generation work, which proves the effectiveness and advantages of UniSyn.

Introduction

Text-to-Speech (TTS) and Singing Voice Synthesis (SVS) are traditionally treated as separate tasks despite sharing the goal of generating human-like audio from abstract inputs. Unifying them is difficult due to input mismatches (musical scores vs. raw text), acoustic divergence between speaking and singing, and the problem of "timbre leakage." Timbre leakage occurs when a model trained on a person who only speaks or only sings fails to generalize to the other domain, often producing a voice that sounds like a hybrid of different individuals. UniSyn addresses these challenges with a "one-model-fits-all" approach that works end-to-end without requiring reference audio at inference time.

Methods

UniSyn is built upon the VITS architecture, enhanced with several novel components to handle dual-task synthesis.

Multi-Conditional VAE (MC-VAE)

The core of UniSyn is the Multi-Conditional Variational Autoencoder (MC-VAE). The latent space is explicitly factorized into two independent sub-spaces: $z_s$ for speaker identity and $z_{rst}$ for remaining information like linguistic content and style (speaking vs. singing).

UniSyn architecture overview: (a) MC-VAE, (b) Guided-VAE, and (c) Timbre perturbation.

Disentanglement Strategies

To ensure these sub-spaces are truly independent, UniSyn employs two key strategies:

  1. Supervised Guided-VAE (GVAE): This uses an adversarial "excitation and inhibition" mechanism. While one part of the network learns to predict speaker or pitch from the latent variables, another part is penalized if it can extract that same information from the "style" sub-space.
  2. Timbre Perturbation: Formant shifting is applied to training audio to artificially alter the perceived vocal tract size. A Wasserstein distance constraint then forces the model to produce consistent style-related latent variables regardless of the timbre shift, teaching the model that style is independent of the specific "instrument."

Unified Inference

At inference time, the model can generate either speech or singing by simply toggling the Style ID and providing the appropriate Speaker ID, even if that speaker has no training data in the target style.

Simplified inference flow for cross-domain synthesis.

Key Insights

  • Disentanglement is Critical: The success of UniSyn lies in separating who is vocalizing from how they are vocalizing. Explicitly penalizing the style latent space for carrying speaker-identifying information effectively solves the timbre leakage problem.
  • Robustness through Augmentation: Formant shifting acts as a powerful regularizer, forcing the model to learn a universal representation of "singing" that can be applied to any speaker's voice.
  • Shared Prosody: Using a shared linguistic backbone and duration predictor for both tasks helps the model generalize better than maintaining separate branches for speech and singing.

Results

UniSyn was evaluated on Mandarin speech and singing corpora, including Opencpop and internal datasets.

  • Cross-Domain Performance: UniSyn significantly outperformed baselines like VITS-unify. For speakers with zero singing training data, UniSyn achieved a naturalness Mean Opinion Score (MOS) of ~3.75, compared to ~3.10 for the baseline.
  • Pitch Accuracy: Objective tests showed UniSyn achieved lower pitch RMSE and higher Pearson correlation for singing synthesis compared to previous models like Learn2Sing.
  • Ablation Studies: Removing GVAE led to a significant drop in naturalness, while removing timbre perturbation caused a sharp decline in speaker similarity during cross-domain tasks, confirming both are essential.

Conclusion

UniSyn demonstrates a successful end-to-end unification of TTS and SVS. Future work includes extending the model to non-tonal languages like English, moving toward fully self-supervised pitch representation, and exploring finer-grained emotional control for more expressive synthesis.

Summary updated

Abstract

Text-to-speech (TTS) and singing voice synthesis (SVS) aim at generating high-quality speaking and singing voice according to textual input and music scores, respectively. Unifying TTS and SVS into a single system is crucial to the applications requiring both of them. Existing methods usually suffer from some limitations, which rely on either both singing and speaking data from the same person or cascaded models of multiple tasks. To address these problems, a simplified elegant framework for TTS and SVS, named UniSyn, is proposed in this paper. It is an end-to-end unified model that can make a voice speak and sing with only singing or speaking data from this person. To be specific, a multi-conditional variational autoencoder (MC-VAE), which constructs two independent latent sub-spaces with the speaker- and style-related (i.e. speak or sing) conditions for flexible control, is proposed in UniSyn. Moreover, supervised guided-VAE and timbre perturbation with the Wasserstein distance constraint are leveraged to further disentangle the speaker timbre and style. Experiments conducted on two speakers and two singers demonstrate that UniSyn can generate natural speaking and singing voice without corresponding training data. The proposed approach outperforms the state-of-the-art end-to-end voice generation work, which proves the effectiveness and advantages of UniSyn.
BibTeX
@inproceedings{lei2023unisyn,
  author = {Yi Lei and Shan Yang and Xinsheng Wang and Qicong Xie and Jixun Yao and Lei Xie and Dan Su},
  title = {{UniSyn: An End-to-End Unified Model for Text-to-Speech and Singing Voice Synthesis}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  url = {https://openreview.net/forum?id=VJXANPpApE},
}
Figure