Improving Minimum Bayes Risk Decoding with Multi-Prompt

David Heineman, Yao Dou, Wei Xu
7/22/2024
cs.CL

No official code found. Best implementation: davidheineman/multi-prompt (3 stars, last commit 2025-04-16).

Abstract

While instruction fine-tuned LLMs are effective text generators, sensitivity to prompt construction makes performance unstable and sub-optimal in practice. Relying on a single "best" prompt cannot capture all differing approaches to a generation problem. Using this observation, we propose multi-prompt decoding, where many candidate generations are decoded from a prompt bank at inference-time. To ensemble candidates, we use Minimum Bayes Risk (MBR) decoding, which selects a final output using a trained value metric. We show multi-prompt improves MBR across a comprehensive set of conditional generation tasks, and show this is a result of estimating a more diverse and higher quality candidate space than that of a single prompt. Further experiments confirm multi-prompt improves generation across tasks, models and metrics.

View on arXivView PDF

Code Implementations(1)

Code and data for "Improving Minimum Bayes Risk Decoding with Multi-Prompt" at EMNLP 2024.

30Shell, PythonJun 13, 20241 years ago

Similar Papers

Cite this paper

@article{heineman2024improving,
  title  = {Improving Minimum Bayes Risk Decoding with Multi-Prompt},
  author = {David Heineman and Yao Dou and Wei Xu},
  year   = {2024},
  eprint = {2407.15343},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.15343v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.15343.svg)](https://codeofpaper.com/paper/2407.15343)

Discussion