Don’t throw away your value model! Generating more preferable text with Value-Guided Monte-Carlo Tree Search decoding logo

Don’t throw away your value model! Generating more preferable text with Value-Guided Monte-Carlo Tree Search decoding

Free

Value-guided MCTS decoding for more preferable text generation

FreeFree tier
Inputs: textOutputs: text
Type
Open Source

About Don’t throw away your value model! Generating more preferable text with Value-Guided Monte-Carlo Tree Search decoding

PPO-MCTS is a value-guided decoding algorithm that integrates the value network from Proximal Policy Optimization (PPO) with Monte-Carlo Tree Search (MCTS) during inference-time text generation. It reuses the value network—a byproduct of PPO training—to evaluate partial output sequences, reducing the mismatch between training and test scoring. Evaluated on four text generation tasks, PPO-MCTS significantly improves the preferability of generated text compared to using only the PPO policy, demonstrating the potential of search algorithms on top of aligned language models.

Key Features

Integrates PPO value network with MCTS during inference
Reduces scoring mismatch between training and test for partial outputs
Improves preferability of generated text over standard PPO decoding
Leverages existing PPO components without discarding value model

Pros & Cons

Pros
  • Enhances text preferability with minimal additional training
  • Reuses readily available value network from PPO
  • Demonstrates promise of search algorithms on aligned LMs
Cons
  • Requires a PPO-trained model with a value network
  • MCTS adds computational overhead during inference

Best For

Text generation tasks requiring high-quality, preferable outputImproving alignment of language models beyond PPO fine-tuningInference-time optimization for controlled text generation

FAQ

What is PPO-MCTS?
PPO-MCTS is a decoding algorithm that combines the value network from Proximal Policy Optimization (PPO) with Monte-Carlo Tree Search (MCTS) to generate more preferable text during inference.
How does PPO-MCTS improve text generation?
It uses the value network to evaluate partial output sequences during MCTS, reducing the mismatch between training and test scoring, leading to higher preferability compared to standard PPO decoding.
Does PPO-MCTS require additional training?
No, it reuses the value network that is a byproduct of PPO training, so no extra training is needed—only inference-time search.
On what tasks was PPO-MCTS evaluated?
The algorithm was evaluated on four text generation tasks, demonstrating significant improvements in the preferability of generated text.