Generating Diverse and High-Quality Texts by Minimum Bayes Risk Decoding

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Jinnai, Yuu, Honda, Ukyo, Morimura, Tetsuro, Zhang, Peinan
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866909221912576000
author Jinnai, Yuu
Honda, Ukyo
Morimura, Tetsuro
Zhang, Peinan
author_facet Jinnai, Yuu
Honda, Ukyo
Morimura, Tetsuro
Zhang, Peinan
contents One of the most important challenges in text generation systems is to produce outputs that are not only correct but also diverse. Recently, Minimum Bayes-Risk (MBR) decoding has gained prominence for generating sentences of the highest quality among the decoding algorithms. However, existing algorithms proposed for generating diverse outputs are predominantly based on beam search or random sampling, thus their output quality is capped by these underlying methods. In this paper, we investigate an alternative approach -- we develop diversity-promoting decoding algorithms by enforcing diversity objectives to MBR decoding. We propose two variants of MBR, Diverse MBR (DMBR) and $k$-medoids MBR (KMBR), methods to generate a set of sentences with high quality and diversity. We evaluate DMBR and KMBR on a variety of directed text generation tasks using encoder-decoder models and a large language model with prompting. The experimental results show that the proposed method achieves a better trade-off than the diverse beam search and sampling algorithms.
format Preprint
id arxiv_https___arxiv_org_abs_2401_05054
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Generating Diverse and High-Quality Texts by Minimum Bayes Risk Decoding
Jinnai, Yuu
Honda, Ukyo
Morimura, Tetsuro
Zhang, Peinan
Computation and Language
Artificial Intelligence
One of the most important challenges in text generation systems is to produce outputs that are not only correct but also diverse. Recently, Minimum Bayes-Risk (MBR) decoding has gained prominence for generating sentences of the highest quality among the decoding algorithms. However, existing algorithms proposed for generating diverse outputs are predominantly based on beam search or random sampling, thus their output quality is capped by these underlying methods. In this paper, we investigate an alternative approach -- we develop diversity-promoting decoding algorithms by enforcing diversity objectives to MBR decoding. We propose two variants of MBR, Diverse MBR (DMBR) and $k$-medoids MBR (KMBR), methods to generate a set of sentences with high quality and diversity. We evaluate DMBR and KMBR on a variety of directed text generation tasks using encoder-decoder models and a large language model with prompting. The experimental results show that the proposed method achieves a better trade-off than the diverse beam search and sampling algorithms.
title Generating Diverse and High-Quality Texts by Minimum Bayes Risk Decoding
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2401.05054