Inference Time Alignment with Reward-Guided Tree Search

Chia-Yu Hung, Navonil Majumder, Ambuj Mehrish, Soujanya Poria
6/21/2024
3 citations
cs.CL

Official code: declare-lab/darwin (3 stars, Python, last commit 2025-01-24).

Abstract

Inference-time computation methods enhance the performance of Large Language Models (LLMs) by leveraging additional computational resources to achieve superior results. Common techniques, such as Best-of-N sampling, Majority Voting, and variants of tree-search algorithms have proven to be effective in boosting the performance of LLMs.

Show full abstract

These approaches strategically trade increased computational resources for improved model responses. In this work, we proposed DARWIN, an inference-time alignment method that leverages the guidance of a reward model to achieve alignment through a reward-guided tree search. Empirical evidences indicates that our method outperforms other inference-time alignment methods such as Best-of-N and ARGS on two widely accepted alignment benchmarks AlpacaEval 2 and MT-Bench. Furthermore, we show that our inference-time approach achieves performance comparable to preference-tuned models on both benchmarks, highlighting the effectiveness of trading inference-time compute for enhanced performance during inference. We have released our codes at https://github.com/declare-lab/darwin.

View on arXivView PDF

Code Implementations(1)

declare-lab/darwinOfficial100%
30Python, Jupyter NotebookJan 24, 20251 years ago

Similar Papers

Cite this paper

@article{hung2024inference,
  title  = {Inference Time Alignment with Reward-Guided Tree Search},
  author = {Chia-Yu Hung and Navonil Majumder and Ambuj Mehrish and Soujanya Poria},
  year   = {2024},
  eprint = {2406.15193},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.15193v5}
}

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/2406.15193.svg)](https://codeofpaper.com/paper/2406.15193)

Discussion