Conformal Autoregressive Generation: Beam Search with Coverage Guarantees

09/07/2023
by   Nicolas Deutschmann, et al.
0

We introduce two new extensions to the beam search algorithm based on conformal predictions (CP) to produce sets of sequences with theoretical coverage guarantees. The first method is very simple and proposes dynamically-sized subsets of beam search results but, unlike typical CP procedures, has an upper bound on the achievable guarantee depending on a post-hoc calibration measure. Our second algorithm introduces the conformal set prediction procedure as part of the decoding process, producing a variable beam width which adapts to the current uncertainty. While more complex, this procedure can achieve coverage guarantees selected a priori. We provide marginal coverage bounds for each method, and evaluate them empirically on a selection of tasks drawing from natural language processing and chemistry.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/06/2022

Beam Search: Faster and Monotonic

Beam search is a popular satisficing approach to heuristic search proble...
research
06/14/2021

Determinantal Beam Search

Beam search is a go-to strategy for decoding neural sequence models. The...
research
08/25/2023

On the Depth between Beam Search and Exhaustive Search for Text Generation

Beam search and exhaustive search are two extreme ends of text decoding ...
research
11/01/2018

Learning Beam Search Policies via Imitation Learning

Beam search is widely used for approximate decoding in structured predic...
research
02/04/2021

Incremental Beam Manipulation for Natural Language Generation

The performance of natural language generation systems has improved subs...
research
03/29/2022

Split Conformal Prediction for Dependent Data

Split conformal prediction is a popular tool to obtain predictive interv...
research
09/09/2019

A Quantum Search Decoder for Natural Language Processing

Probabilistic language models, e.g. those based on an LSTM, often face t...

Please sign up or login with your details

Forgot password? Click here to reset