Are Pretrained Transformers Robust in Intent Classification? A Missing Ingredient in Evaluation of Out-of-Scope Intent Detection

Jianguo Zhang, Kazuma Hashimoto, Yao Wan, Zhiwei Liu, Ye Liu +2 more
6/8/2021
cs.CLcs.AI
transformer-attention

Official code: jianguoz/Few-Shot-Intent-Detection (159 stars, Python, last commit 2023-07-19).

Abstract

Pre-trained Transformer-based models were reported to be robust in intent classification. In this work, we first point out the importance of in-domain out-of-scope detection in few-shot intent recognition tasks and then illustrate the vulnerability of pre-trained Transformer-based models against samples that are in-domain but out-of-scope (ID-OOS).

Show full abstract

We construct two new datasets, and empirically show that pre-trained models do not perform well on both ID-OOS examples and general out-of-scope examples, especially on fine-grained few-shot intent detection tasks. To figure out how the models mistakenly classify ID-OOS intents as in-scope intents, we further conduct analysis on confidence scores and the overlapping keywords, as well as point out several prospective directions for future work. Resources are available on https://github.com/jianguoz/Few-Shot-Intent-Detection.

View on arXivView PDF

Code Implementations(1)

Few-Shot-Intent-Detection includes popular challenging intent detection datasets with/without OOS queries and state-of-the-art baselines and results.

15928PythonJun 3, 20213 years ago
datasetsfew-shotintent-classificationintent-detectionlibary

Similar Papers

Cite this paper

@article{zhang2021pretrained,
  title  = {Are Pretrained Transformers Robust in Intent Classification? A Missing Ingredient in Evaluation of Out-of-Scope Intent Detection},
  author = {Jianguo Zhang and Kazuma Hashimoto and Yao Wan and Zhiwei Liu and Ye Liu and Caiming Xiong and Philip S. Yu},
  year   = {2021},
  eprint = {2106.04564},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.04564}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2106.04564.svg)](https://codeofpaper.com/paper/2106.04564)

Discussion