VinePPO: Refining Credit Assignment in RL Training of LLMs

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Kazemnejad, Amirhossein, Aghajohari, Milad, Portelance, Eva, Sordoni, Alessandro, Reddy, Siva, Courville, Aaron, Roux, Nicolas Le
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866908392048558080
author Kazemnejad, Amirhossein
Aghajohari, Milad
Portelance, Eva
Sordoni, Alessandro
Reddy, Siva
Courville, Aaron
Roux, Nicolas Le
author_facet Kazemnejad, Amirhossein
Aghajohari, Milad
Portelance, Eva
Sordoni, Alessandro
Reddy, Siva
Courville, Aaron
Roux, Nicolas Le
contents Large language models (LLMs) are increasingly applied to complex reasoning tasks that require executing several complex steps before receiving any reward. Properly assigning credit to these steps is essential for enhancing model performance. Proximal Policy Optimization (PPO), a common reinforcement learning (RL) algorithm used for LLM finetuning, employs value networks to tackle credit assignment. However, recent approaches achieve strong results without it, raising questions about the efficacy of value networks in practice. In this work, we systematically evaluate the efficacy of value networks and reveal their significant shortcomings in reasoning-heavy LLM tasks, showing that they often produce poor estimate of expected return and barely outperform a random baseline when comparing alternative steps. This motivates our key question: Can improved credit assignment enhance RL training for LLMs? To address this, we propose VinePPO, a straightforward approach that leverages the flexibility of language environments to compute unbiased Monte Carlo-based estimates. Our method consistently outperforms PPO and other baselines across MATH and GSM8K datasets in less wall-clock time (up to 3.0x). Crucially, it achieves higher test accuracy for a given training accuracy, capturing more generalization signal per sample. These results emphasize the importance of accurate credit assignment in RL training of LLM.
format Preprint
id arxiv_https___arxiv_org_abs_2410_01679
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle VinePPO: Refining Credit Assignment in RL Training of LLMs
Kazemnejad, Amirhossein
Aghajohari, Milad
Portelance, Eva
Sordoni, Alessandro
Reddy, Siva
Courville, Aaron
Roux, Nicolas Le
Machine Learning
Computation and Language
Large language models (LLMs) are increasingly applied to complex reasoning tasks that require executing several complex steps before receiving any reward. Properly assigning credit to these steps is essential for enhancing model performance. Proximal Policy Optimization (PPO), a common reinforcement learning (RL) algorithm used for LLM finetuning, employs value networks to tackle credit assignment. However, recent approaches achieve strong results without it, raising questions about the efficacy of value networks in practice. In this work, we systematically evaluate the efficacy of value networks and reveal their significant shortcomings in reasoning-heavy LLM tasks, showing that they often produce poor estimate of expected return and barely outperform a random baseline when comparing alternative steps. This motivates our key question: Can improved credit assignment enhance RL training for LLMs? To address this, we propose VinePPO, a straightforward approach that leverages the flexibility of language environments to compute unbiased Monte Carlo-based estimates. Our method consistently outperforms PPO and other baselines across MATH and GSM8K datasets in less wall-clock time (up to 3.0x). Crucially, it achieves higher test accuracy for a given training accuracy, capturing more generalization signal per sample. These results emphasize the importance of accurate credit assignment in RL training of LLM.
title VinePPO: Refining Credit Assignment in RL Training of LLMs
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2410.01679