Example-Driven Intent Prediction with Observers

Shikib Mehri, Mihail Eric
10/17/2020
cs.CLcs.AI

Official code: alexa/dialoglue (289 stars, Python, Apache-2.0, last commit 2023-07-06).

Abstract

A key challenge of dialog systems research is to effectively and efficiently adapt to new domains. A scalable paradigm for adaptation necessitates the development of generalizable models that perform well in few-shot settings.

Show full abstract

In this paper, we focus on the intent classification problem which aims to identify user intents given utterances addressed to the dialog system. We propose two approaches for improving the generalizability of utterance classification models: (1) observers and (2) example-driven training. Prior work has shown that BERT-like models tend to attribute a significant amount of attention to the [CLS] token, which we hypothesize results in diluted representations. Observers are tokens that are not attended to, and are an alternative to the [CLS] token as a semantic representation of utterances. Example-driven training learns to classify utterances by comparing to examples, thereby using the underlying encoder as a sentence similarity model. These methods are complementary; improving the representation through observers allows the example-driven model to better measure sentence similarities. When combined, the proposed methods attain state-of-the-art results on three intent prediction datasets (\textsc{banking77}, \textsc{clinc150}, \textsc{hwu64}) in both the full data and few-shot (10 examples per intent) settings. Furthermore, we demonstrate that the proposed approach can transfer to new intents and across datasets without any additional training.

View on arXivView PDF

Code Implementations(1)

alexa/dialoglueOfficial100%
Apache-2.0

DialoGLUE: A Natural Language Understanding Benchmark for Task-Oriented Dialogue

28924Python, ShellSep 10, 20203 years agoApache-2.0
deep-learningmachinelearningnatural-language-processingnatural-language-understanding

Similar Papers

Cite this paper

@article{mehri2020exampledriven,
  title  = {Example-Driven Intent Prediction with Observers},
  author = {Shikib Mehri and Mihail Eric},
  year   = {2020},
  eprint = {2010.08684},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.08684}
}

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/2010.08684.svg)](https://codeofpaper.com/paper/2010.08684)

Discussion