Intent classification using pre-trained language agnostic embeddings for low resource languages

Hemant Yadav, Akshat Gupta, Sai Krishna Rallabandi, Alan W. Black, Rajiv Ratn Shah

Introduction

Building Spoken Language Understanding (SLU) systems—the technology that enables voice assistants to interpret user intent—typically relies on a two-step pipeline: Automatic Speech Recognition (ASR) followed by Natural Language Understanding (NLU). However, high-quality ASR training requires thousands of hours of labeled audio, a resource unavailable for the majority of the world's 7,000+ languages. This "ASR bottleneck" necessitates alternative approaches.

One such approach is "word-free" SLU, which identifies intent directly from phonetic sequences. Traditional phonetic methods often use discrete phone labels (e.g., "p", "t", "k"), which discard significant acoustic nuance. This paper proposes a method using "Allo embeddings"—dense, language-agnostic phonetic representations—to bypass ASR while retaining rich acoustic information.

Methodology

The proposed architecture utilizes a pre-trained universal phone recognizer, Allosaurus, as a feature extractor. The researchers compared three embedding types:

  1. Phone (E1): Standard discrete phone labels mapped to a learnable embedding layer.
  2. Panphone (E2): Fixed 26-dimensional vectors representing articulatory features (e.g., voicing, tongue height).
  3. Allo (E3): The 640-dimensional output from the final layer of Allosaurus, providing a dense, continuous representation.

The classification backbone is a 1D Dilated Convolutional Neural Network (CNN). Dilated convolutions allow the model to expand its receptive field—capturing a wider temporal context (up to 41 frames)—without the resolution loss associated with down-sampling. This is hypothesized to be critical for learning from limited data.

Architecture of the proposed SLU system featuring Dilated CNN layers and Allo embeddings.

Experimental Setup

The model was evaluated across three languages representing different resource levels:

  • English (High Resource): Fluent Speech Commands dataset (~30,000 utterances, 31 intents).
  • Sinhala (Medium Resource): Banking domain (~7,600 utterances, 6 intents).
  • Tamil (Low Resource): Banking domain (400 utterances, 6 intents).

Results and Discussion

The Context Compensation Effect

A key finding is the "Context Compensation Effect," particularly visible in low-resource scenarios. In the Tamil dataset, increasing the context size via dilated convolutions led to substantial accuracy gains. When training data is scarce, a wider temporal window helps the model identify more reliable acoustic patterns.

Impact of context size on accuracy for the Tamil language across different embedding types.

Performance Benchmarks

The proposed method established new state-of-the-art (SOTA) benchmarks for Indic languages:

  • Tamil: Achieved 97.25% accuracy, a 7% absolute improvement over previous phone-based SOTA.
  • Sinhala: Achieved 97.05% accuracy, surpassing the previous SOTA of 96.33%.
  • English: Remained competitive at 92.99%, though slightly behind massive end-to-end ASR-based systems.

When utilizing the largest context windows, Allo embeddings reached peak accuracies of 99.42% for Sinhala and 98.50% for Tamil.

Dense vs. Discrete Representations

Allo embeddings consistently outperformed discrete phone labels. As continuous vectors from a pre-trained model, they carry latent acoustic knowledge that enhances generalization, especially in languages with minimal training examples. Furthermore, 1D CNNs proved more robust than Transformers for these small datasets, showing less tendency to overfit.

Conclusion

This work demonstrates that dense, language-agnostic embeddings combined with dilated CNNs provide a powerful framework for SLU in low-resource environments. While Allo embeddings are highly effective, their performance still correlates with data volume and saturates over time. Future research will explore extending this phonetic approach to slot identification and optimizing performance for even smaller context windows in extremely data-constrained settings.

Summary updated

BibTeX
@inproceedings{yadav2022intent,
  author = {Hemant Yadav and Akshat Gupta and Sai Krishna Rallabandi and Alan W. Black and Rajiv Ratn Shah},
  title = {{Intent classification using pre-trained language agnostic embeddings for low resource languages}},
  booktitle = {Interspeech},
  year = {2022},
  doi = {10.21437/interspeech.2022-10873},
}
Figure