Skip to main content
Back

UniVoice Beats Singing Specialists While Matching Speech-Only AI at 329M Params

UniVoice uses factorized conditioning and a learned null melody token to let a single 0.3B model match dedicated TTS quality while crushing prior unified singing baselines

Pro

Paper, Full Access
  • One model, two modalities: UniVoice is a 0.3B model that generates both natural speech and controllable singing from a single DiT backbone.
  • The core fix: Factorized conditioning separates content, melody, and timbre signals so speech and singing gradients never compete over shared melody parameters.
  • Null melody token: For speech, a learned null token replaces MIDI melody input, proven to approximate the mathematically optimal melody-marginalized generation.
  • Speech quality matches specialists: 5.26% phoneme error rate, on par with F5-TTS (5.21%) and CosyVoice3 (5.30%) despite using far less speech data.
  • Singing quality crushes prior unified models: 16.22% singing PER vs. Vevo1.5's 45.07%, while also beating dedicated singing model Soul-X-Singer (26.22%).
  • New benchmark released: UniSinging-Eval covers 900 samples across 12 musical styles; inference code and model weights to be open-sourced.

Building a single model that can both speak and sing sounds straightforward until you look at what each task actually needs. Speech synthesis wants freedom: the model should infer natural rhythm and intonation from language context alone. Singing synthesis wants control: the model must follow an explicit melody, hitting specific pitches at specific times. Naively training one model on both tasks forces these two demands to fight over the same parameters, and quality on both sides suffers. UniVoice, a new paper from Giant Network and the Shanghai Conservatory of Music, proposes a clean architectural fix for this conflict.

The gradient war nobody talks about

The root problem is what the authors call a representation conflict. When a single melody encoder is shared across speech and singing training, the two tasks push its parameters in opposite directions. Speech examples send gradients saying "melody is irrelevant, output a constant"; singing examples send gradients saying "encode these MIDI notes faithfully." These gradient directions are negatively correlated, meaning each task actively degrades the other's melody representation. The authors prove this formally and show the magnitude of the eliminated conflict is proportional to the negative inner product of those opposing gradients.

Comparison of TTS and UniVoice generation paradigms showing how naive combination leads to conflicting conditioning

Factorize, don't fight

UniVoice is a unified speech and singing voice generation framework based on conditional flow matching that factorizes the condition into content, melody, and timbre, encoded by modality-appropriate encoders and consumed by a shared Diffusion Transformer (DiT) backbone. The key insight is to separate the conditioning signals so they never compete:

  • Content: Phoneme sequences processed by a ConvNeXt encoder, shared across both modalities using a unified IPA phoneme system.
  • Melody: For singing, a Conformer encoder converts MIDI note sequences into frame-level melodic embeddings. For speech, the melody slot is filled by a learned null token that signals "infer prosody from context."
  • Timbre: A 3-10 second reference audio clip is encoded by the same VAE used for target audio, enabling zero-shot voice cloning without speaker embeddings or fine-tuning.
  • Task token: A learnable embedding injected into every transformer layer via AdaLN (adaptive layer normalization), acting as a soft mode switch between speech and singing.

The null melody token is more than a placeholder. For speech, the melody condition is replaced with a learned null melody token, allowing the model to infer prosody from linguistic and acoustic context, preserving explicit melody control for singing while avoiding the need to impose melody constraints on speech. The authors prove that at convergence, this learned token approximates the mathematically ideal solution: marginalizing over all possible melody realizations. A fixed zero vector cannot do this because it may not align with the melody encoder's internal bias; the learned token absorbs that bias through its free parameters.

UniVoice architecture showing factorized conditioning with content, melody, and timbre encoders feeding into a shared DiT backbone

How it actually runs

The backbone is a 329M-parameter DiT adapted from the Wan-DiT video generation architecture, chosen deliberately so UniVoice's audio module can slot directly into audio-visual generation pipelines without architectural changes. It uses FlashAttention-2 and RoPE positional encodings for efficient long-context modeling, operating on Song Bloom VAE latents at 25 Hz. At inference, an Euler ODE solver runs for 32 steps with axis-selective classifier-free guidance: text guidance at strength 5.0 for strong linguistic adherence, melody and timbre guidance at 1.0.

The step-by-step generation flow looks like this:

  1. Text is converted to IPA phonemes and encoded by ConvNeXt into content embeddings.
  2. For singing: MIDI notes are encoded by a Conformer into frame-aligned melody embeddings. For speech: the learned null token is broadcast across all time steps.
  3. A reference audio clip is encoded by the VAE to provide timbre context.
  4. All three conditioning signals are concatenated channel-wise with the noisy latent and projected into the DiT's hidden dimension.
  5. The task token modulates every DiT layer via AdaLN, steering the model toward speech or singing dynamics.
  6. The Euler ODE solver denoises over 32 steps; the VAE decoder converts the output latent to a 48 kHz waveform.

Numbers that matter

Trained on 30k hours of speech and 35k hours of singing data, UniVoice achieves a speech PER (phoneme error rate, a measure of intelligibility) of 5.26%, comparable to dedicated TTS systems such as F5-TTS (5.21%) and CosyVoice3 (5.30%). That is a remarkable result: a model that also sings matches speech-only specialists trained on up to 1 million hours of data, using just 30k hours of speech. On the singing side, the gains are even more striking.

ModelTypeParamsData (speech+singing)Speech PER ↓Singing PER ↓Singing N-MOS ↑
F5-TTSSpeech only0.3B100k + 05.21%----
CosyVoice3Speech only0.5B1000k + 05.30%----
Vevo1.5Unified1B101k + 7k14.10%45.07%2.69
Soul-X-SingerSinging only0.7B0 + 42k--26.22%3.24
UniVoiceUnified0.3B30k + 35k5.26%16.22%3.25

UniVoice's singing PER of 16.22% compares to Vevo1.5's 45.07% and dedicated singing model Soul-X-Singer's 26.22%. It also achieves the highest singing naturalness score (N-MOS 3.25), matching the dedicated singing specialist while also being able to speak. The one honest limitation: speaker similarity (SIM) on speech lags behind speech-only systems, reflecting the trade-off of sharing capacity across modalities.

A new benchmark for a gap nobody filled

Existing singing evaluation benchmarks cover only Pop and Ballad styles, and none test whether a model maintains consistent speaker identity across both speech and singing. The team introduces UniSinging-Eval to address this. The benchmark covers 60 songs spanning 12 diverse musical styles including Pop, Hip-Hop/Rap, Rock, Country, R&B, Jazz, Afrobeats, Bossa Nova, and more, segmented into 900 phrase-level clips totaling 2 hours of audio with aligned MIDI annotations and IPA-transcribed lyrics. The dataset has three difficulty levels: original lyrics, extensively rewritten lyrics with complex vocabulary, and elastic lyrics with word count variation and filler words, specifically designed to stress-test phoneme-melody alignment.

What the ablations reveal

The ablation results are unusually clean. Removing factorized conditioning causes the largest single degradation, pushing speech PER from 5.26% to 12.31% and singing PER from 16.22% to 23.45%. This directly confirms that naive joint training cannot balance the two tasks. Removing the task token, the null melody token, or the melody encoder each causes measurable but smaller drops, and notably, removing the melody encoder barely affects speech while severely hurting singing, confirming the clean separation the factorization achieves.

Where it falls short

The authors are candid about the limitations. The speaker similarity gap versus speech-only systems is real, and the model currently only covers English and Chinese. Mixed vocal styles like rap and spoken singing are not explicitly modeled, and the 32-step ODE inference is slower than few-step methods. The model also requires MIDI note sequences as input for singing, which means users need a MIDI extraction step for any audio-driven workflow.

What this unlocks

The practical value of a single model that speaks and sings with the same voice is significant. Applications include:

  • Music production: Rapidly prototype vocal demos with a consistent artist voice across spoken intros and sung verses.
  • Accessibility: Help users with vocal impairments generate expressive vocal content in both speech and song.
  • Music education: Provide personalized singing demonstrations that match a student's own voice.
  • Audiobook and podcast production: Seamlessly blend narration and musical segments with a unified voice identity.
  • Audio-visual generation: The Wan-DiT backbone alignment means UniVoice's audio module can plug directly into multimodal video generation pipelines.

The real breakthrough here is not just the benchmark numbers. It is the theoretical framework showing why naive joint training fails and providing a principled, lightweight fix that costs nothing in model size. The team will release inference code, model checkpoints, and the UniSinging-Eval test set, with audio samples already available. The factorized conditioning idea is general enough to apply to any generative model that needs to serve multiple modalities with conflicting conditioning semantics, which makes it a design pattern worth watching.