Introduction
Traditional multilingual text-to-speech (TTS) systems typically rely on fixed Language IDs—unique labels or one-hot vectors assigned to each language during training. While straightforward, this approach faces significant limitations. First, it creates an "unseen language" barrier: models cannot generate speech in languages not explicitly included in the training set without full retraining. Second, it lacks nuance, treating complex languages as monolithic categories rather than capturing their rich phonetic and prosodic variations.
To address these challenges, this research proposes a novel framework that extracts linguistic features directly from audio. By moving beyond rigid IDs, the system achieves better generalization and enables high-quality synthesis in low-resource languages with minimal fine-tuning.
Methodology
The proposed architecture is built upon VITS, an end-to-end TTS model. The core innovation is the Audio-Based Language Encoder, which replaces the standard Language ID lookup table.
The encoder pipeline consists of several key stages:
- Feature Extraction: A pretrained ECAPA-TDNN encoder extracts initial representations from input audio.
- Projection Layer: A 1D convolutional layer refines these features into a specific language embedding ($h_{lang}$).
- Speaker Adversarial Training (SAT): To ensure the embedding captures linguistic information rather than speaker-specific traits (timbre), a Gradient Reversal Layer (R) is employed. A classifier attempts to identify the speaker from the embedding, while the model is trained to maximize this classifier's error, effectively "scrubbing" speaker identity from the linguistic representation.
The model undergoes a two-stage training process: pretraining on a large multilingual corpus, followed by fine-tuning on a target low-resource language while keeping the language-extracting components frozen to preserve broad linguistic knowledge.
Experimental Setup
The model was pretrained on nine languages: Korean (AI Hub), German (HUI-Audio-Corpus), Hindi (LIMMITS24), and six languages from the M-AILABS dataset (Spanish, French, Italian, Russian, Polish, and Ukrainian). To evaluate low-resource performance, English (LJSpeech) was used as a "target" language, with training data restricted to just 10 minutes and 1 hour to simulate scarcity.
Results and Analysis
The proposed method consistently outperformed baseline Language ID models in both subjective and objective evaluations.
Multilingual Performance
During pretraining, the model achieved lower Character Error Rates (CER) across all nine languages. For instance, German CER improved from 4.99% in the baseline to 3.75%.
Low-Resource Efficiency
In the 10-minute data scenario, the proposed model achieved a CER of 2.14% and a Mean Opinion Score (MOS) of 3.97, significantly surpassing the standard VITS baseline (3.88% CER, 2.69 MOS). This suggests the model effectively leverages its pretrained linguistic knowledge to synthesize high-quality speech from very little data.
Visualizing Language Disentanglement
The effectiveness of the projection layer and SAT was confirmed via 2D PCA visualizations of the embeddings.
Without the projection layer, embeddings were disorganized and heavily influenced by speaker gender. With the proposed method, the embeddings formed distinct, clean clusters based solely on the language, demonstrating successful disentanglement of linguistic and speaker features.
Conclusion
This work demonstrates that audio-based linguistic feature extraction, combined with adversarial training, provides a robust alternative to traditional Language IDs. The system not only improves multilingual synthesis but also enables rapid adaptation to low-resource languages. Future research will focus on testing the model on truly endangered languages and exploring unsupervised methods for language embedding extraction to further reduce reliance on labeled data.
Summary updated