Transfer Learning Based Free-Form Speech Command Classification for Low-Resource Languages

Yohan Karunanayake, Uthayasanker Thayasivam, Surangika RanathungaACL 2019

Abstract

Building robust voice-activated interfaces for low-resource languages (LRLs) is hindered by the lack of extensive transcribed audio corpora. This paper proposes a transfer learning approach that repurposes a pre-trained English DeepSpeech model to extract character probability maps as features for intent classification. By feeding these "acoustic fingerprints" into Convolutional Neural Networks (CNNs), the researchers achieved high accuracy in the banking domain for Sinhala and Tamil, significantly outperforming traditional MFCC-based methods. The approach proves highly data-efficient, reaching over 93% accuracy for Sinhala with limited training samples.

Introduction

The development of modern voice assistants like Alexa or Google Assistant relies on thousands of hours of speech data to train Automatic Speech Recognition (ASR) and Natural Language Understanding (NLU) components. For Low-Resource Languages (LRLs)—those with limited digital presence—this data requirement is a prohibitive barrier. While previous LRL research often focused on simple keyword spotting, handling "free-form" speech is considerably more complex due to natural phrasing, overlapping vocabulary, and varied sentence structures.

Traditional cascaded systems, which convert speech to text before analyzing intent, are prone to failure in LRL contexts because the initial ASR step is often inaccurate. This paper addresses these challenges by introducing a transfer learning methodology that bypasses full ASR transcription in favor of intent classification directly from high-level acoustic features.

Methodology

The core of the proposed method is the use of a pre-trained English DeepSpeech (DS) model as a sophisticated feature extractor.

Feature Extraction

Instead of using the final text output of the English model—which would be irrelevant for Sinhala or Tamil—the researchers extracted the character probability map from the layer immediately preceding the final decoding. This map represents the probability of specific characters occurring at each time step, effectively creating a language-agnostic "acoustic fingerprint." These features are more robust than standard Mel-frequency cepstral coefficients (MFCCs) because the pre-trained model has already learned to filter noise and identify phonetic patterns.

Classifier Architecture

The extracted probability maps are processed by a secondary classifier. The study explored several architectures, including Support Vector Machines (SVM), Feed-Forward Networks (FFN), and both 1D and 2D Convolutional Neural Networks (CNNs).

Architecture of the proposed low-resource intent classifier using transfer learning from DeepSpeech.

The CNN layers are designed to capture spatial-temporal patterns within the probability maps, associating specific acoustic sequences with user intents.

Experimental Setup

The approach was evaluated using two datasets focused on the banking domain, covering six intents such as "Request Account Balance," "Money Deposit," and "Bill Payments."

  • Sinhala Dataset: Consisted of 7.5 hours of audio (7,624 samples) from 215 speakers.
  • Tamil Dataset: A newly collected, extremely low-resource dataset with only 0.5 hours of audio (400 samples) from 40 speakers.

Results and Discussion

The transfer learning (TL) approach demonstrated a substantial performance leap over traditional benchmarks.

Comparison of intent classification accuracy across different models and feature sets.

Performance Analysis

As shown in the results, the combination of Transfer Learning and CNNs provided the best outcomes. For the Sinhala dataset, the TL + 1D CNN model achieved 93.16% accuracy, a massive improvement over the 48.79% achieved by a standard SVM using MFCC features.

For the extremely data-scarce Tamil dataset, the TL + 2D CNN model reached 76.30% accuracy. The researchers noted that 2D CNNs were particularly effective for very small datasets, likely due to their ability to capture local patterns more efficiently. Conversely, 1D CNNs scaled better as more data became available.

Data Efficiency

A key insight from the study is the "saturation point" of the models. For Sinhala, the system reached nearly 80% accuracy with just 1,000 samples. This suggests that the "English-as-a-feature-extractor" strategy is highly efficient for specialized domains, allowing for the creation of functional voice interfaces with a fraction of the data typically required.

Conclusion

This research demonstrates that pre-trained models from high-resource languages can be effectively repurposed for LRLs. By using character probability maps, the system captures discriminative acoustic information that transcends language barriers. Future work will address challenges such as code-mixing (common in Tamil speech) and expanding the methodology to broader, non-specialized domains.

Summary updated

BibTeX
@inproceedings{karunanayake2019transfer,
  author = {Yohan Karunanayake and Uthayasanker Thayasivam and Surangika Ranathunga},
  title = {{Transfer Learning Based Free-Form Speech Command Classification for Low-Resource Languages}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/p19-2040},
}
Figure