Abstract
Self-supervised speech models like wav2vec 2.0 and HuBERT utilize quantization modules to transform continuous acoustic signals into discrete units. This paper investigates whether these discrete representations are language-specific or universal. By employing Spoken Language Identification (SLID) as a probing task across 16 Indo-European languages, we demonstrate that these units are largely language-universal. Language identity is primarily encoded in the sequential patterns (phonotactics) of these units rather than the units themselves. Furthermore, we find that discretization acts as an information bottleneck, and language-specific information emerges in the middle layers of the transformer architecture.
Introduction
The emergence of self-supervised learning (SSL) has allowed for the training of powerful speech models on vast amounts of unlabeled data. A defining feature of state-of-the-art models is the quantization of audio into a "pseudo-vocabulary" of discrete units. While effective for downstream tasks, the linguistic nature of these units remains unclear. Do they represent language-specific phonemes or universal sub-phonetic building blocks? Understanding this is vital for cross-lingual transfer and insights into human language acquisition.
Methodology
To probe the nature of these representations, we use Spoken Language Identification (SLID). If discrete units were language-specific, a simple "bag-of-units" approach should identify the language. If they are universal, identification would require modeling the sequences (phonotactics).
Models and Classifiers
We compared two primary architectures:
- wav2vec 2.0 (W2V2): A monolingual English model.
- XLSR-53 (XLSR): A multilingual model pre-trained on 53 languages.
We evaluated three types of classifiers:
- Discrete Classifiers: Naive Bayes (bag-of-units) and LSTM (sequential).
- Continuous Classifiers: Linear classifiers (LC) and LSTMs operating on raw transformer layer outputs.
- Skyline: Fine-tuned versions of the base models to provide a performance upper bound.
Experimental Setup
The study utilized a balanced subset of the Common Voice corpus, covering 16 Indo-European languages across diverse subgroups (Romance, Germanic, Slavic, Celtic, Hellenic, and Indo-Iranian). Each language was represented by approximately 6.75 hours of training data.
Results and Discussion
Our experiments reveal several key insights into how SSL models represent language.
Universality of Discrete Units
Analysis showed that the set of activated discrete units is nearly identical across all 16 languages. There are no "language-specific" units; rather, the models use a global inventory of sounds to describe every language.
Phonotactics as the Driver of Identity
As shown in the performance metrics, classifiers that ignore unit order (Naive Bayes) perform poorly. However, when an LSTM is used to model the sequence of units, accuracy increases significantly. This suggests that language identity is encoded in the rules governing sound sequences (phonotactics) rather than the sounds themselves.
The Discretization Bottleneck
Continuous representations consistently outperformed discrete ones. This indicates that the quantization process strips away subtle acoustic cues that are useful for language discrimination. Interestingly, the monolingual W2V2 model outperformed the multilingual XLSR model on discrete sequences, likely because XLSR's pre-training encourages a more language-agnostic representation space where language-specific differences are smoothed out.
Conclusion
Discrete units in self-supervised speech models are largely language-universal building blocks. The identity of a language resides not in the sounds themselves, but in their structural arrangement. While discretization simplifies the representation, it also acts as an information bottleneck. Future research should expand this analysis to more typologically diverse language families to confirm the universality of these findings.
Summary updated