Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Revisit Few-shot Intent Classification with PLMs: Direct Fine-tuning vs. Continual Pre-training

About

We consider the task of few-shot intent detection, which involves training a deep learning model to classify utterances based on their underlying intents using only a small amount of labeled data. The current approach to address this problem is through continual pre-training, i.e., fine-tuning pre-trained language models (PLMs) on external resources (e.g., conversational corpora, public intent detection datasets, or natural language understanding datasets) before using them as utterance encoders for training an intent classifier. In this paper, we show that continual pre-training may not be essential, since the overfitting problem of PLMs on this task may not be as serious as expected. Specifically, we find that directly fine-tuning PLMs on only a handful of labeled examples already yields decent results compared to methods that employ continual pre-training, and the performance gap diminishes rapidly as the number of labeled data increases. To maximize the utilization of the limited available data, we propose a context augmentation method and leverage sequential self-distillation to boost performance. Comprehensive experiments on real-world benchmarks show that given only two or more labeled samples per class, direct fine-tuning outperforms many strong baselines that utilize external data sources for continual pre-training. The code can be found at https://github.com/hdzhang-code/DFTPlus.

Haode Zhang, Haowen Liang, Liming Zhan, Albert Y.S. Lam, Xiao-Ming Wu• 2023

Related benchmarks

TaskDatasetResultRank
Intent ClassificationHINT3 10-shot
Accuracy71.8
23
Intent ClassificationMCID 10-shot
Accuracy84.8
23
Intent ClassificationHINT3 5-shot
Accuracy63.61
23
Intent ClassificationBANKING77 10-shot
Accuracy86.14
20
Intent ClassificationHWU64 10-shot
Accuracy86.21
20
Intent ClassificationBANKING77 5-shot (test)
Accuracy72.9
20
Intent ClassificationBANKING77 10-shot (test)
Accuracy82.66
12
Intent ClassificationMCID 5-shot (test)
Accuracy0.7943
12
Intent ClassificationHWU64 5-shot (test)
Accuracy77.73
12
Intent ClassificationHWU64 10-shot (test)
Accuracy83.45
12
Showing 10 of 13 rows

Other info

Code

Follow for update