PHO-LID: A Unified Model Incorporating Acoustic-Phonetic and Phonotactic Information for Language Identification

Hexin Liu, Leibny Paola García-Perera, Andy W. H. Khong, Suzy J. Styles, Sanjeev Khudanpur

Introduction

Language Identification (LID) is the task of automatically determining the language spoken in an audio clip. Traditionally, LID systems rely on two distinct types of cues: low-level acoustic-phonetic features (spectral characteristics) and high-level phonotactic features (the sequencing of phonemes). While acoustic models are easily trained on unlabeled data, phonotactic models typically require extensive human-annotated transcriptions to learn phoneme units, making them difficult to scale for low-resource languages.

PHO-LID (Phonetic-Phonotactic LID) addresses this challenge by introducing a "CNN-Trans" architecture that learns phonotactic structures in a self-supervised manner. By combining self-supervised phoneme segmentation with a Transformer-based classifier, the model achieves state-of-the-art performance without requiring manual transcriptions.

Methodology

The PHO-LID model utilizes a multi-task learning framework consisting of a shared backbone and two specialized branches.

The PHO-LID architecture featuring a shared CNN backbone with dual branches for LID and self-supervised phoneme segmentation.

Shared Backbone and Input Features

The model processes speech representations derived from wav2vec 2.0 (XLSR-53), which provides a robust foundation pre-trained on 56,000 hours of multilingual speech. These features are fed into a shared Convolutional Neural Network (CNN) module.

Phoneme Segmentation Branch

This branch employs Noise-Contrastive Estimation (NCE) to identify phoneme boundaries without explicit labels. It operates on the principle that adjacent audio frames are likely part of the same phonetic unit, while distant frames are not. By minimizing the NCE loss, the CNN learns to encode "boundary-aware" features that capture the rhythmic fingerprint of the language.

LID Branch

The features from the CNN are aggregated into "phonotactic embeddings" representing short segments (approximately 400ms). These embeddings are then processed by a Transformer encoder, which captures global, long-term dependencies across the entire utterance to predict the language.

Experimental Setup

The model was evaluated on two major benchmarks:

  • AP17-OLR: 10 Oriental languages.
  • NIST LRE 2017 (MLS14 subset): 14 languages, including challenging clusters like Arabic and Iberian dialects.

Results and Discussion

PHO-LID demonstrates significant improvements over standard end-to-end LID models. On the AP17-OLR dataset, the model achieved a 40.82% relative improvement in average cost ($C_{avg}$) and an Equal Error Rate (EER) of 0.63%.

Visual Validation of Phoneme Segmentation

A key insight of this work is that the model does not need to know the identity of specific phonemes to utilize phonotactic information; it only needs to identify where sounds change.

Visualization showing the alignment between predicted phoneme boundaries (top) and spectral changes in the audio spectrogram (bottom).

As shown in the visualization above, the predicted boundaries align closely with actual spectral transitions in the spectrogram. This confirms that the self-supervised branch successfully captures phonetic structure.

Robustness and Dialect Discrimination

The model is particularly effective at distinguishing closely related languages within the same family. By capturing subtle differences in sound sequencing, it reduces confusion between similar dialects (e.g., Arabic variants). Additionally, the model maintains consistent performance across varying utterance lengths (3s, 10s, and 30s), proving the effectiveness of the phonotactic embeddings even for short speech segments.

Conclusion

PHO-LID represents a significant step forward in language identification by bridging the gap between acoustic and phonotactic modeling through self-supervision. By eliminating the need for manual labels while capturing high-level sequential patterns, the model provides a scalable and high-performance solution for multilingual speech processing. Future research will focus on optimizing the NCE hyperparameter balance and exploring more advanced segment-level aggregation techniques.

Summary updated

BibTeX
@inproceedings{liu2022pho,
  author = {Hexin Liu and Leibny Paola García-Perera and Andy W. H. Khong and Suzy J. Styles and Sanjeev Khudanpur},
  title = {{PHO-LID: A Unified Model Incorporating Acoustic-Phonetic and Phonotactic Information for Language Identification}},
  booktitle = {Interspeech},
  year = {2022},
  doi = {10.21437/interspeech.2022-354},
}
Figure