Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
41 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Discriminative Nearest Neighbor Few-Shot Intent Detection by Transferring Natural Language Inference (2010.13009v1)

Published 25 Oct 2020 in cs.CL and cs.AI

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 BERT-style 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 embedding-based 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (8)
  1. Jian-Guo Zhang (6 papers)
  2. Kazuma Hashimoto (34 papers)
  3. Wenhao Liu (83 papers)
  4. Chien-Sheng Wu (77 papers)
  5. Yao Wan (70 papers)
  6. Philip S. Yu (592 papers)
  7. Richard Socher (115 papers)
  8. Caiming Xiong (337 papers)
Citations (88)