We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.CL

Change to browse by:

cs

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo

Computer Science > Computation and Language

Title: Out-of-Distribution Detection and Selective Generation for Conditional Language Models

Abstract: Machine learning algorithms typically assume independent and identically distributed samples in training and at test time. Much work has shown that high-performing ML classifiers can degrade significantly and provide overly-confident, wrong classification predictions, particularly for out-of-distribution (OOD) inputs. Conditional language models (CLMs) are predominantly trained to classify the next token in an output sequence, and may suffer even worse degradation on OOD inputs as the prediction is done auto-regressively over many steps. Furthermore, the space of potential low-quality outputs is larger as arbitrary text can be generated and it is important to know when to trust the generated output. We present a highly accurate and lightweight OOD detection method for CLMs, and demonstrate its effectiveness on abstractive summarization and translation. We also show how our method can be used under the common and realistic setting of distribution shift for selective generation (analogous to selective prediction for classification) of high-quality outputs, while automatically abstaining from low-quality ones, enabling safer deployment of generative language models.
Comments: Published in ICLR 2023
Subjects: Computation and Language (cs.CL)
Cite as: arXiv:2209.15558 [cs.CL]
  (or arXiv:2209.15558v2 [cs.CL] for this version)

Submission history

From: Peter J Liu [view email]
[v1] Fri, 30 Sep 2022 16:17:11 GMT (2518kb,D)
[v2] Tue, 7 Mar 2023 22:05:28 GMT (11499kb,D)

Link back to: arXiv, form interface, contact.