Skip to main content
QUICK REVIEW

[Paper Review] Semi-Supervised Few-Shot Intent Classification and Slot Filling

Samyadeep Basu, Karine lp Kiun Chong|arXiv (Cornell University)|Sep 17, 2021
Topic ModelingComputer Science21 references7 citations
TL;DR

This paper proposes a semi-supervised few-shot learning framework for intent classification (IC) and slot filling (SF) by integrating contrastive learning and data augmentation into a prototypical network meta-learning pipeline. It demonstrates that combining contrastive losses with data augmentation—especially a novel slot-list-based method—significantly improves few-shot IC performance, outperforming state-of-the-art models on SNIPS and ATIS benchmarks.

ABSTRACT

Intent classification (IC) and slot filling (SF) are two fundamental tasks in modern Natural Language Understanding (NLU) systems. Collecting and annotating large amounts of data to train deep learning models for such systems is not scalable. This problem can be addressed by learning from few examples using fast supervised meta-learning techniques such as prototypical networks. In this work, we systematically investigate how contrastive learning and unsupervised data augmentation methods can benefit these existing supervised meta-learning pipelines for jointly modelled IC/SF tasks. Through extensive experiments across standard IC/SF benchmarks (SNIPS and ATIS), we show that our proposed semi-supervised approaches outperform standard supervised meta-learning methods: contrastive losses in conjunction with prototypical networks consistently outperform the existing state-of-the-art for both IC and SF tasks, while data augmentation strategies primarily improve few-shot IC by a significant margin.

Motivation & Objective

  • Address the challenge of low-resource NLU by improving few-shot intent classification (IC) and slot filling (SF) with limited labeled data.
  • Investigate how unsupervised contrastive learning and data augmentation can regularize and enhance meta-learning in few-shot IC/SF.
  • Develop and evaluate novel data augmentation strategies tailored for IC/SF tasks, such as slot-list value generation.
  • Systematically compare the impact of augmentation and contrastive learning at different stages of the meta-learning pipeline (support vs. query, meta-train vs. meta-test).
  • Establish a strong semi-supervised benchmark for few-shot IC/SF that combines multiple regularization techniques effectively.

Proposed method

  • Adopt a prototypical network-based meta-learning framework with a RoBERTa encoder fine-tuned during meta-training, replacing fixed backbones used in prior work.
  • Introduce contrastive learning as a regularizer by minimizing contrastive loss on both support and query sets during meta-training, improving prototype generalization.
  • Propose a novel data augmentation strategy—slot-list values—generating synthetic utterances by replacing slot values with dictionary-based alternatives.
  • Apply established NLP augmentation techniques such as backtranslation and EDA (Easy Data Augmentation) to generate perturbed training examples.
  • Train with joint loss functions combining prototypical loss and contrastive losses for both IC and SF heads, enabling end-to-end optimization.
  • Use dynamic episode sampling with random intent class splits across 5 seeds to ensure robust evaluation and avoid bias from manual class selection.

Experimental results

Research questions

  • RQ1Can contrastive learning serve as an effective regularizer in few-shot IC/SF meta-learning, improving generalization to unseen classes?
  • RQ2How do different data augmentation strategies—especially slot-list values, backtranslation, and EDA—affect few-shot IC and SF performance?
  • RQ3Does the timing and location of data augmentation (during meta-training vs. meta-testing) significantly impact model performance?
  • RQ4Can combining contrastive learning with data augmentation yield superior results compared to using either technique alone?
  • RQ5Why do data augmentation techniques show stronger gains in IC than in SF, and what role does syntactic information play in mitigating this gap?

Key findings

  • Contrastive learning with both support and query features during meta-training improves few-shot IC accuracy by up to 2.5 percentage points on SNIPS (Kmax=20) and 2.1 points on ATIS (Kmax=20), outperforming the baseline and prior SOTA.
  • The combination of contrastive learning and slot-list-based data augmentation achieves the highest IC accuracy (92.1% on SNIPS, Kmax=20) and SF F1 (74.8%) across all settings.
  • EDA augmentation yields up to a 4% absolute gain in IC accuracy on SNIPS when applied during both meta-training and meta-testing, particularly effective at Kmax=20.
  • Backtranslation improves IC performance on SNIPS at Kmax=100 but shows limited gains on ATIS, indicating domain-specific effectiveness.
  • Data augmentation has minimal impact on SF F1 scores, suggesting that slot-level perturbations do not provide sufficient signal for low-shot slot classification.
  • Adding syntactic information to the model yields only marginal improvements in SF, likely due to the low shot per slot class in episodic sampling.

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.