Linear-time Minimum Bayes Risk Decoding with Reference Aggregation

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Vamvas, Jannis, Sennrich, Rico
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910468479647744
author Vamvas, Jannis
Sennrich, Rico
author_facet Vamvas, Jannis
Sennrich, Rico
contents Minimum Bayes Risk (MBR) decoding is a text generation technique that has been shown to improve the quality of machine translations, but is expensive, even if a sampling-based approximation is used. Besides requiring a large number of sampled sequences, it requires the pairwise calculation of a utility metric, which has quadratic complexity. In this paper, we propose to approximate pairwise metric scores with scores calculated against aggregated reference representations. This changes the complexity of utility estimation from $O(n^2)$ to $O(n)$, while empirically preserving most of the quality gains of MBR decoding. We release our source code at https://github.com/ZurichNLP/mbr
format Preprint
id arxiv_https___arxiv_org_abs_2402_04251
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Linear-time Minimum Bayes Risk Decoding with Reference Aggregation
Vamvas, Jannis
Sennrich, Rico
Computation and Language
Minimum Bayes Risk (MBR) decoding is a text generation technique that has been shown to improve the quality of machine translations, but is expensive, even if a sampling-based approximation is used. Besides requiring a large number of sampled sequences, it requires the pairwise calculation of a utility metric, which has quadratic complexity. In this paper, we propose to approximate pairwise metric scores with scores calculated against aggregated reference representations. This changes the complexity of utility estimation from $O(n^2)$ to $O(n)$, while empirically preserving most of the quality gains of MBR decoding. We release our source code at https://github.com/ZurichNLP/mbr
title Linear-time Minimum Bayes Risk Decoding with Reference Aggregation
topic Computation and Language
url https://arxiv.org/abs/2402.04251