ProtoInfoMax: Prototypical Networks with Mutual Information Maximization for Out-of-Domain Detection

Iftitahu Ni'mah, Meng Fang, Vlado Menkovski, Mykola Pechenizkiy
8/27/2021
cs.CL

Official code: inimah/protoinfomax (4 stars, Python, MIT, last commit 2022-04-13).

Abstract

The ability to detect Out-of-Domain (OOD) inputs has been a critical requirement in many real-world NLP applications. For example, intent classification in dialogue systems.

Show full abstract

The reason is that the inclusion of unsupported OOD inputs may lead to catastrophic failure of systems. However, it remains an empirical question whether current methods can tackle such problems reliably in a realistic scenario where zero OOD training data is available. In this study, we propose ProtoInfoMax, a new architecture that extends Prototypical Networks to simultaneously process in-domain and OOD sentences via Mutual Information Maximization (InfoMax) objective. Experimental results show that our proposed method can substantially improve performance up to 20% for OOD detection in low resource settings of text classification. We also show that ProtoInfoMax is less prone to typical overconfidence errors of Neural Networks, leading to more reliable prediction results.

View on arXivView PDF

Code Implementations(1)

MIT

Code and Data sets for the EMNLP-2021-Findings Paper "ProtoInfoMax: Prototypical Networks with Mutual Information Maximization for Out-of-Domain Detection"

43Python, Jupyter NotebookAug 28, 20214 years agoMIT
few-shot-text-classificationmutual-informationout-of-domain-detectionregularization-methodszero-shot-classification

Similar Papers

Cite this paper

@article{nimah2021protoinfomax,
  title  = {ProtoInfoMax: Prototypical Networks with Mutual Information Maximization for Out-of-Domain Detection},
  author = {Iftitahu Ni'mah and Meng Fang and Vlado Menkovski and Mykola Pechenizkiy},
  year   = {2021},
  eprint = {2108.12229},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2108.12229}
}

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

Discussion