Abstract
State-of-the-art Spoken Language Identification (LID) systems exhibit significant fragility when encountering "domain shift"—the transition from controlled, clean recordings to noisy, real-world environments. This study explores this challenge using closely related Slavic languages. We demonstrate that while standard deep learning models collapse under domain mismatch, unsupervised adversarial domain adaptation can bridge the gap. By employing a Gradient Reversal Layer to force the extraction of domain-invariant features, we achieve relative accuracy gains of up to 77.7%.
Introduction
Spoken Language Identification (LID) is a critical component of modern speech technology, yet its perceived success is often tied to the homogeneity of training and testing data. When a model trained on high-quality "read speech" (e.g., audiobooks) is deployed on "radio broadcasts" containing background noise and spontaneous speech, performance typically plummets. This problem is exacerbated for closely related languages like Russian and Ukrainian, where models may rely on subtle acoustic "shortcuts" specific to a dataset rather than linguistic features.
Methodology
The researchers utilized a 1D Convolutional Neural Network (CNN) architecture to process 3-second speech utterances. Two types of input features were evaluated: Mel-frequency spectral coefficients (MFSCs) and Mel-frequency cepstral coefficients (MFCCs).
To address domain mismatch, the study implemented Adversarial Domain Confusion. As shown in Figure 1, the architecture was modified to include a domain classifier. A Gradient Reversal Layer (GRL) was inserted between the feature extractor ($G_f$) and the domain classifier ($G_d$). During backpropagation, the GRL negates the gradients from the domain classifier, effectively training the feature extractor to produce representations that are indistinguishable across domains while remaining discriminative for language identification.
Experimental Setup
The study focused on six Slavic languages: Bulgarian, Croatian, Czech, Polish, Russian, and Ukrainian. Two datasets represented the domain shift:
- GlobalPhone Read Speech (GRS): Clean, studio-quality recordings.
- Radio Broadcast Speech (RBS): Real-world recordings with noise, music, and spontaneous speech.
Results and Analysis
The impact of domain shift was severe; moving from GRS to RBS caused accuracy to drop from over 95% to approximately 43%. A key finding was the "Shortcut Trap": for instance, the model initially identified Ukrainian based on unnatural pauses in the GRS dataset rather than linguistic content.
Adversarial adaptation significantly mitigated these issues. The "DA-LID II" model, which applied adaptation to both convolutional and fully connected layers, showed the strongest performance. Figure 2 visualizes this transformation via t-SNE plots. In the non-adapted state, domains are clearly separated (top-left), and language clusters are fragmented. As adaptation progresses through DA-LID I and II, the domains become overlapping (top-right), indicating domain invariance, while language clusters become more distinct and cohesive (bottom-right).
Quantitatively, the Radio $\rightarrow$ Read Speech task saw MFCC-based accuracy jump from 50.97% to 90.56%. Notably, Ukrainian $F_1$ scores improved from 18.6% to 96.0% after adaptation.
Conclusion
Unsupervised adversarial domain adaptation is a powerful tool for robust LID. The study highlights that spectral features (MFSCs) are inherently more robust to domain shift than cepstral features (MFCCs). Furthermore, training on diverse, noisy data (RBS) provides a better foundation for generalization than training on clean data (GRS). Future work will explore explicit noise injection to further enhance feature robustness in extreme domain-mismatch scenarios.
Summary updated