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

Hexin Liu, Leibny Paola Garcia, Andy W. H. Khong, Suzy J Styles, Sanjeev Khudanpur · DOI

Abstract

We propose a novel model to hierarchically incorporate phoneme and phonotactic information for language identification (LID) without requiring phoneme annotations for training. In this model, named PHO-LID, a self-supervised phoneme segmentation task and a LID task share a convolutional neural network (CNN) module, which encodes both language identity and sequential phonemic information in the input speech to generate an intermediate sequence of phonotactic embeddings. These embeddings are then fed into transformer encoder layers for utterance-level LID. We evaluate it on AP17-OLR data and the MLS14 set of NIST LRE 2017, and show that the PHO-LID model with multi-task optimization exhibits the highest LID performance among all models, achieving over 40% relative improvement in terms of average cost on AP17-OLR data compared to a CNN-Trans model optimized only for LID.

Introduction

Identifying a language from a short audio clip (Language Identification, or LID) typically relies on two types of cues: acoustic-phonetic (the physical properties of the sounds) and phonotactic (the rules governing which sounds can follow others). While acoustic models are easy to train on raw audio, phonotactic models usually require a "phone recognizer" to turn audio into a sequence of speech units. Building these recognizers is a bottleneck: they require massive amounts of human-annotated data (transcripts), which are expensive and time-consuming to produce for many of the world's languages. The PHO-LID model bridges this gap by capturing phonotactic information without needing a single phoneme label.

Methods

The PHO-LID architecture, referred to as CNN-Trans, combines Convolutional Neural Networks (CNNs) with Transformers. The core innovation lies in its multi-task training approach:

  1. Self-Supervised Phoneme Segmentation: The CNN module is trained using Noise-Contrastive Estimation (NCE). The model learns to predict if two adjacent frames of audio belong to the same sound or if a "boundary" (a change in spectral properties) has occurred. This allows the model to discover the underlying structure of speech units automatically.
  2. Phonotactic Embeddings: The output of the CNN is aggregated into short-duration segments (about 400ms). These segments are designed to cover at least two phonemes, mimicking the "n-gram" approach used in traditional linguistics to capture sound sequences.
  3. Transformer Encoder: These segment-level embeddings are fed into a Transformer, which analyzes the entire utterance to determine the language.
  4. Multi-Task Learning: The model is trained on two goals simultaneously: identifying the language and correctly identifying phoneme boundaries. This joint optimization ensures the features learned are useful for both tasks.
The PHO-LID architecture featuring shared CNN modules for LID and phoneme segmentation tasks.

Evaluation and Results

The researchers evaluated PHO-LID on two major benchmarks: AP17-OLR (10 mostly East Asian languages) and NIST LRE 2017 (MLS14 subset) (14 languages including challenging clusters like Arabic dialects). The model utilizes wav2vec 2.0 (XLSR-53) representations as input features.

Key Performance Metrics

On the AP17-OLR dataset, the PHO-LID model demonstrated significant gains. Specifically, the PHO-LID-MUL-3 variant achieved an accuracy of 98.13% and a $C_{avg}$ of 0.0058. This represents a 40.82% relative improvement in average cost compared to a standard CNN-Transformer baseline optimized only for LID.

Performance comparison on the AP17-OLR dataset across various models and features.

On the NIST LRE 2017 data, the model remained effective across different speech durations, showing particularly strong gains on 30-second clips where phonotactic patterns are more apparent. Visualized confusion matrices further imply that the proposed method achieves higher performance on languages within the same cluster compared to the baseline CNN-Trans model.

Discussion

The success of PHO-LID highlights that explicit phoneme labels are not strictly necessary for high-performance LID. By learning where sounds change through self-supervision, the model gains sufficient structural information to improve classification, especially for closely related languages. The multi-task learning framework acts as a regularizer, forcing the CNN to pay attention to the phonetic structure of the speech.

Future work may address current limitations, such as the sensitivity of the self-supervised task to negative sample selection and the use of fixed-length segments. Implementing variable-length segments based on predicted phoneme boundaries could further refine the model's phonotactic representations.

Summary updated

BibTeX
@inproceedings{liu2022pho,
  author = {Hexin Liu and Leibny Paola Garcia 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