Skip to main content
QUICK REVIEW

[Paper Review] An Investigation of Few-Shot Learning in Spoken Term Classification

Yangbin Chen, Tom Ko|arXiv (Cornell University)|Dec 26, 2018
Domain Adaptation and Few-Shot LearningComputer Science28 references9 citations
TL;DR

This paper proposes an extended MAML framework for few-shot spoken term classification, where a mix of new (N) and fixed (M) classes—such as silence and unknown—improves generalization. By incorporating prior knowledge of fixed classes during meta-training, the method achieves 69.48% accuracy on 10-shot commands classification, outperforming both conventional supervised learning and original MAML.

ABSTRACT

In this paper, we investigate the feasibility of applying few-shot learning algorithms to a speech task. We formulate a user-defined scenario of spoken term classification as a few-shot learning problem. In most few-shot learning studies, it is assumed that all the N classes are new in a N-way problem. We suggest that this assumption can be relaxed and define a N+M-way problem where N and M are the number of new classes and fixed classes respectively. We propose a modification to the Model-Agnostic Meta-Learning (MAML) algorithm to solve the problem. Experiments on the Google Speech Commands dataset show that our approach outperforms the conventional supervised learning approach and the original MAML.

Motivation & Objective

  • To investigate the feasibility of applying few-shot learning to speech tasks, specifically spoken term classification.
  • To address the limitation of existing few-shot learning methods that assume all classes are new, by introducing a realistic N+M-way, K-shot problem setting.
  • To improve model generalization in user-defined spoken term classification by incorporating prior knowledge of fixed classes (e.g., silence, unknown) during meta-learning.
  • To evaluate how closely a few-shot user-defined system can approach the performance of a predefined system with abundant training data.

Proposed method

  • Formulate spoken term classification as an N+M-way, K-shot few-shot learning problem, where N new classes are user-defined and M fixed classes (e.g., silence, unknown) are known in advance.
  • Modify the Model-Agnostic Meta-Learning (MAML) algorithm to jointly optimize for both new and fixed classes during meta-training, using a shared model initialization.
  • Use a convolutional neural network (CNN) with 4 residual blocks (each with 3×3 convolutions, ReLU, and batch normalization) to extract features from 1-second 16kHz audio clips.
  • Extract 40-dimensional Mel-Frequency Cepstral Coefficients (MFCCs) with 30ms frame length and 10ms frame shift for input representation.
  • Train the model using a meta-learning loop: sample tasks from a distribution over tasks, perform one-step gradient update on support sets, and optimize the initial parameters using query set loss.
  • Apply a modified MAML loss that includes both new and fixed class predictions during meta-update, enabling the model to adapt quickly to new keywords while preserving knowledge of fixed classes.

Experimental results

Research questions

  • RQ1Can few-shot learning via meta-learning be effectively applied to spoken term classification, a low-resource speech task?
  • RQ2How does the inclusion of fixed classes (e.g., silence, unknown) during meta-training affect model performance in few-shot spoken term classification?
  • RQ3To what extent can a few-shot user-defined spoken term classification system approach the performance of a predefined system with abundant training data?
  • RQ4Does the proposed extended MAML framework outperform conventional supervised fine-tuning and standard MAML in few-shot settings?

Key findings

  • The proposed extended MAML approach achieves 69.48% accuracy on 10-shot commands classification, significantly outperforming the original MAML (57.34%) and supervised learning (25.60%).
  • On 10-shot digits classification, the extended MAML reaches 69.48% accuracy, compared to 65.18% for original MAML and 28.07% for supervised learning.
  • The performance gap between the few-shot system and a predefined system (with ~3000 examples per class) remains substantial, with the few-shot system reaching 78.48% accuracy compared to the predefined system’s 91%.
  • The model trained with fixed classes (silence, unknown) during meta-learning generalizes better than models that treat all classes as new, demonstrating the benefit of prior knowledge.
  • The improvement over original MAML is attributed to the use of fixed-class knowledge, which stabilizes meta-optimization and improves adaptation to new keywords.
  • Performance on commands classification is consistently lower than on digits classification, indicating that keyword complexity and phonetic diversity affect few-shot learning performance.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.