Rainproof: An Umbrella To Shield Text Generators From Out-Of-Distribution Data

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Darrin, Maxime, Piantanida, Pablo, Colombo, Pierre
Natura: Preprint
Pubblicazione: 2022
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911786855301120
author Darrin, Maxime
Piantanida, Pablo
Colombo, Pierre
author_facet Darrin, Maxime
Piantanida, Pablo
Colombo, Pierre
contents Implementing effective control mechanisms to ensure the proper functioning and security of deployed NLP models, from translation to chatbots, is essential. A key ingredient to ensure safe system behaviour is Out-Of-Distribution (OOD) detection, which aims to detect whether an input sample is statistically far from the training distribution. Although OOD detection is a widely covered topic in classification tasks, most methods rely on hidden features output by the encoder. In this work, we focus on leveraging soft-probabilities in a black-box framework, i.e. we can access the soft-predictions but not the internal states of the model. Our contributions include: (i) RAINPROOF a Relative informAItioN Projection OOD detection framework; and (ii) a more operational evaluation setting for OOD detection. Surprisingly, we find that OOD detection is not necessarily aligned with task-specific measures. The OOD detector may filter out samples well processed by the model and keep samples that are not, leading to weaker performance. Our results show that RAINPROOF provides OOD detection methods more aligned with task-specific performance metrics than traditional OOD detectors.
format Preprint
id arxiv_https___arxiv_org_abs_2212_09171
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Rainproof: An Umbrella To Shield Text Generators From Out-Of-Distribution Data
Darrin, Maxime
Piantanida, Pablo
Colombo, Pierre
Computation and Language
Implementing effective control mechanisms to ensure the proper functioning and security of deployed NLP models, from translation to chatbots, is essential. A key ingredient to ensure safe system behaviour is Out-Of-Distribution (OOD) detection, which aims to detect whether an input sample is statistically far from the training distribution. Although OOD detection is a widely covered topic in classification tasks, most methods rely on hidden features output by the encoder. In this work, we focus on leveraging soft-probabilities in a black-box framework, i.e. we can access the soft-predictions but not the internal states of the model. Our contributions include: (i) RAINPROOF a Relative informAItioN Projection OOD detection framework; and (ii) a more operational evaluation setting for OOD detection. Surprisingly, we find that OOD detection is not necessarily aligned with task-specific measures. The OOD detector may filter out samples well processed by the model and keep samples that are not, leading to weaker performance. Our results show that RAINPROOF provides OOD detection methods more aligned with task-specific performance metrics than traditional OOD detectors.
title Rainproof: An Umbrella To Shield Text Generators From Out-Of-Distribution Data
topic Computation and Language
url https://arxiv.org/abs/2212.09171