Discriminative Nearest Neighbor Few-Shot Intent Detection by Transferring Natural Language Inference
Jian-Guo Zhang, Kazuma Hashimoto, Wenhao Liu, Chien-Sheng Wu, Yao Wan, Philip S. Yu, Richard Socher, Caiming Xiong
Abstract
Intent detection is one of the core components of goal-oriented dialog systems, and detecting out-of-scope (OOS) intents is also a practically important skill. Few-shot learning is attracting much attention to mitigate data scarcity, but OOS detection becomes even more challenging. In this paper, we present a simple yet effective approach, discriminative nearest neighbor classification with deep self-attention. Unlike softmax classifiers, we leverage BERTstyle pairwise encoding to train a binary classifier that estimates the best matched training example for a user input. We propose to boost the discriminative ability by transferring a natural language inference (NLI) model. Our extensive experiments on a large-scale multi-domain intent detection task show that our method achieves more stable and accurate in-domain and OOS detection accuracy than RoBERTa-based classifiers and embeddingbased nearest neighbor approaches. More notably, the NLI transfer enables our 10-shot model to perform competitively with 50-shot or even full-shot classifiers, while we can keep the inference time constant by leveraging a faster embedding retrieval model.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
9 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- New Intent Discovery with Pre-training and Contrastive Learning cites ConvFiT: Conversational Fine-Tuning of Pretrained Language Models
- New Intent Discovery with Pre-training and Contrastive Learning cites ConveRT: Efficient and Accurate Conversational Representations from Transformers
- Learning to Select from Multiple Options cites ConveRT: Efficient and Accurate Conversational Representations from Transformers
- Label Semantic Aware Pre-training for Few-shot Text Classification cites ConveRT: Efficient and Accurate Conversational Representations from Transformers
- ConvFiT: Conversational Fine-Tuning of Pretrained Language Models cites ConveRT: Efficient and Accurate Conversational Representations from Transformers
Cited by top-tier papers9
- New Intent Discovery with Pre-training and Contrastive LearningYuwei Zhang, Haode Zhang, Li-Ming Zhan, Xiao-Ming Wu et al.ACL 2022 · 55 citations
- Label Semantic Aware Pre-training for Few-shot Text ClassificationAaron Mueller, Jason Krone, Salvatore Romeo, Saab Mansour et al.ACL 2022 · 41 citations
- ConvFiT: Conversational Fine-Tuning of Pretrained Language ModelsIvan Vulic, Pei-Hao Su, Samuel Coope, Daniela Gerz et al.EMNLP 2021 · 30 citations
- Learning to Select from Multiple OptionsJiangshu Du, Wenpeng Yin, Congying Xia, Philip S. YuAAAI 2023 · 8 citations
- Liberating Seen Classes: Boosting Few-Shot and Zero-Shot Text Classification via Anchor Generation and Classification ReframingHan Liu, Siyang Zhao, Xiaotong Zhang, Feng Zhang et al.AAAI 2024 · 7 citations
Builds on2
- Learning to Retrieve Reasoning Paths over Wikipedia Graph for Question AnsweringAkari Asai, Kazuma Hashimoto, Hannaneh Hajishirzi, Richard Socher et al.ICLR 2020 · 322 citations
- ConveRT: Efficient and Accurate Conversational Representations from TransformersMatthew Henderson, Iñigo Casanueva, Nikola Mrksic, Pei-Hao Su et al.EMNLP Findings 2020 · 179 citations
Related papers
- Effectiveness of Pre-training for Few-shot Intent ClassificationHaode Zhang, Yuwei Zhang, Li-Ming Zhan, Jiaxin Chen et al.EMNLP Findings 2021 · 40 citations
- QAID: Question Answering Inspired Few-shot Intent DetectionAsaf Yehudai, Matan Vetzler, Yosi Mass, Koren Lazar et al.ICLR 2023 · 1 citation
- APP: Adaptive Prototypical Pseudo-Labeling for Few-shot OOD DetectionPei Wang, Keqing He, Yutao Mou, Xiaoshuai Song et al.EMNLP Findings 2023 · 4 citations
- Simple and Effective Few-Shot Named Entity Recognition with Structured Nearest Neighbor LearningYi Yang, Arzoo KatiyarEMNLP 2020 · 198 citations
- On Collaborating Small and Large Models For Few-shot Intent DetectionPeng Chen, Bang WangEMNLP Findings 2025 · 2 citations
