Logo image
Reward-Guided Tree Search for Inference Time Alignment of Large Language Models
Conference proceeding

Reward-Guided Tree Search for Inference Time Alignment of Large Language Models

Chia-Yu Hung, Navonil Majumder, Ambuj Mehrish and Soujanya Poria
PROCEEDINGS OF THE 2025 CONFERENCE OF THE NATIONS OF THE AMERICAS CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: HUMAN LANGUAGE TECHNOLOGIES, VOL 1: LONG PAPERS, pp.12575-12593
01/01/2025

Abstract

Computer Science Computer Science, Artificial Intelligence Computer Science, Interdisciplinary Applications Linguistics Science & Technology Social Sciences Technology
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. 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 indicate 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.

Metrics

1 Record Views

Details

Logo image