Few-Shot Intent Detection via Contrastive Pre-Training and Fine-Tuning
About
In this work, we focus on a more challenging few-shot intent detection scenario where many intents are fine-grained and semantically similar. We present a simple yet effective few-shot intent detection schema via contrastive pre-training and fine-tuning. Specifically, we first conduct self-supervised contrastive pre-training on collected intent datasets, which implicitly learns to discriminate semantically similar utterances without using any labels. We then perform few-shot intent detection together with supervised contrastive learning, which explicitly pulls utterances from the same intent closer and pushes utterances across different intents farther. Experimental results show that our proposed method achieves state-of-the-art performance on three challenging intent detection datasets under 5-shot and 10-shot settings.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Intent Classification | HINT3 5-shot | Accuracy61.63 | 23 | |
| Intent Classification | HINT3 10-shot | Accuracy69.85 | 23 | |
| Intent Classification | MCID 10-shot | Accuracy83.04 | 23 | |
| Intent Classification | BANKING77 5-shot (test) | Accuracy70.96 | 20 | |
| Intent Classification | BANKING77 10-shot | Accuracy78.57 | 20 | |
| Intent Classification | HWU64 10-shot | Accuracy79.46 | 20 | |
| Intent Detection | HWU 10-shot (test) | Accuracy87.13 | 16 | |
| Intent Detection | CLINC 10-shot (test) | Accuracy94.18 | 16 | |
| Intent Detection | BANKING 10-shot (test) | Accuracy87.2 | 16 | |
| Intent Detection | HWU 5-shot (test) | Accuracy0.8203 | 12 |