paper-with-me

홈 › Papers

Regularized Best-of-N Sampling with Minimum Bayes Risk Objective for Language Model Alignment

2024-04-01 · Yuu Jinnai, Tetsuro Morimura, Kaito Ariu, Kenshi Abe

Best-of-N (BoN) sampling with a reward model has been shown to be an effective strategy for aligning Large Language Models (LLMs) to human preferences at the time of decoding. BoN sampling is susceptible to a problem known as reward hacking when the accuracy of the reward model is not high enough due to the quality or the quantity of the preference dataset. Because the reward model is an imperfect proxy for the true objective, over-optimizing its value can compromise its performance on the true objective. In this research, we propose MBR-BoN, a variant of BoN that aims to mitigate reward hacking at inference time by incorporating the Minimum Bayes Risk (MBR) objective as a proximity regularization term. We show empirically and analytically that the MBR objective quantifies the proximity of the response to the reference policy, serving as a proximity regularizer. We evaluate MBR-BoN on the AlpacaFarm and Anthropic's hh-rlhf datasets and show that it outperforms both BoN sampling and MBR decoding. We also evaluate MBR-BoN to generate a pairwise preference learning dataset for Direct Preference Optimization (DPO). Empirical results show that models trained on a dataset generated with MBR-BoN outperform those with vanilla BoN. Our code is available at https://github.com/CyberAgentAILab/regularized-bon

📄 PDF Abstract BibTeX arXiv:2404.01054

Code (1)

CyberAgentAILab/regularized-bon 공식 구현 pytorch

Tasks

Language ModelingLanguage Modelling

Methods 이 논문이 사용한 방법론

DPO 설명 없음
Proximity Regularization 설명 없음

Similar Papers 제목 키워드 기반

RMBR: A Regularized Minimum Bayes Risk Reranking Framework for Machine Translation

2022-03-01 · Yidan Zhang, Yu Wan, Dayiheng Liu, Baosong Yang 외

Beam search is the most widely used decoding method for neural machine translation (NMT). In practice, the top-1 candidate with the highest log-probability among the n candidates is selected as the preferred one. However…

Machine TranslationNMTRerankingTranslation

Epsilon Sampling Rocks: Investigating Sampling Strategies for Minimum Bayes Risk Decoding for Machine Translation

2023-05-17 · Markus Freitag, Behrooz Ghorbani, Patrick Fernandes

Recent advances in machine translation (MT) have shown that Minimum Bayes Risk (MBR) decoding can be a powerful alternative to beam search decoding, especially when combined with neural-based utility functions. However, …

Machine Translation

Lattice-Free Sequence Discriminative Training for Phoneme-Based Neural Transducers

2022-12-07 · Zijian Yang, Wei Zhou, Ralf Schlüter, Hermann Ney

Recently, RNN-Transducers have achieved remarkable results on various automatic speech recognition tasks. However, lattice-free sequence discriminative training methods, which obtain superior performance in hybrid models…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)speech-recognitionSpeech Recognition

Information-Theoretic Analysis of Minimax Excess Risk

2022-02-15 · Hassan Hafez-Kolahi, Behrad Moniri, Shohreh Kasaei

Two main concepts studied in machine learning theory are generalization gap (difference between train and test error) and excess risk (difference between test error and the minimum possible error). While information-theo…

Learning Theory

Minimum Excess Risk in Bayesian Learning

2020-12-29 · Aolin Xu, Maxim Raginsky

We analyze the best achievable performance of Bayesian learning under generative models by defining and upper-bounding the minimum excess risk (MER): the gap between the minimum expected loss attainable by learning from …

Binary Classificationparameter estimation