Human-like Linguistic Biases in Neural Speech Models: Phonetic Categorization and Phonotactic Constraints in Wav2Vec2.0

Marianne de Heer Kloots, Willem H. Zuidema

Abstract

Recent research demonstrates that Wav2Vec2.0, a prominent self-supervised speech model, exhibits human-like phonotactic biases by utilizing language-specific rules to resolve phonetic ambiguity. These biases emerge primarily in the middle Transformer layers and are present even in models without explicit speech-to-text training. This suggests that self-supervised learning alone allows models to internalize complex linguistic constraints similar to human speech perception.

Introduction

Human speech perception is not merely a bottom-up process of acoustic analysis. We actively use linguistic knowledge to resolve ambiguity—a phenomenon known as phonotactic constraint. For instance, in English, the cluster "/sl/" is permissible while "/sr/" is not. Consequently, an ambiguous sound between "l" and "r" following an "s" is typically perceived as "l". This study investigates whether state-of-the-art neural speech models like Wav2Vec2.0 develop similar internal mechanisms for phonetic categorization or if they rely on simple pattern memorization.

Methodology

The researchers employed a controlled experimental design inspired by classic psychoacoustics. They synthesized an 11-step "morphing" continuum between [lI] ("lih") and [rI] ("rih"). These ambiguous stimuli were placed in three contexts:

  1. /t/: Permitting /r/ (e.g., trih) but not /l/.
  2. /s/: Permitting /l/ (e.g., slih) but not /r/.
  3. /v/: A neutral control context.

To analyze the model's internal state, four techniques were used: measuring final output probabilities, calculating embedding similarities (cosine distance to unambiguous references), training probing classifiers, and utilizing "CTC-lens" to project intermediate layer representations into the character space.

Key Results and Insights

Emergent Contextual Adaptation

Wav2Vec2.0 demonstrates a clear shift in its internal representation based on phonetic context. In the neutral /v/ context, the model's preference typically switches at the continuum's midpoint. However, in the /t/ context, the switch to 'R' occurs significantly earlier (around step 4), whereas in the /s/ context, the preference for 'L' persists longer (until step 6). This behavior qualitatively mirrors human psychometric curves.

Phonotactic bias in Wav2Vec2.0. The model's categorization of ambiguous sounds shifts depending on the preceding consonant context (/t/ vs /s/), particularly evident in the forced choice at layer T12.

Layer-wise Evolution of Bias

The phonotactic bias is not an inherent property of the initial acoustic processing (CNN layers). Instead, it begins to emerge around the 4th Transformer layer and stabilizes through the subsequent layers. Interestingly, this bias is present in models that have undergone only self-supervised pretraining, without ever seeing a transcript. While finetuning for Automatic Speech Recognition (ASR) amplifies the effect, the underlying linguistic trait is learned during pretraining.

Emergence of linguistic bias across model layers. The difference in 'R' scores between contexts peaks in middle Transformer layers for both pretrained and finetuned models, while being absent in models trained on non-speech scenes.

Discussion and Future Work

The findings suggest that self-supervised learning is a powerful enough paradigm for models to acquire sophisticated phonological constraints. However, this study was limited to the /l/ vs /r/ contrast in specific English clusters. Future research should explore a broader range of phonotactic rules and investigate higher-level linguistic biases, such as lexical (word-level) or syntactic (sentence-level) constraints. Additionally, cross-linguistic studies are necessary to confirm that these models are learning language-specific rules rather than universal acoustic properties.

Summary updated

BibTeX
@inproceedings{kloots2024human,
  author = {Marianne de Heer Kloots and Willem H. Zuidema},
  title = {{Human-like Linguistic Biases in Neural Speech Models: Phonetic Categorization and Phonotactic Constraints in Wav2Vec2.0}},
  booktitle = {Interspeech},
  year = {2024},
  doi = {10.21437/interspeech.2024-2490},
}
Figure