Beyond Sparse Rewards: Enhancing Reinforcement Learning with Language Model Critique in Text Generation

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Cao, Meng, Shu, Lei, Yu, Lei, Zhu, Yun, Wichers, Nevan, Liu, Yinxiao, Meng, Lei
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910335648137216
author Cao, Meng
Shu, Lei
Yu, Lei
Zhu, Yun
Wichers, Nevan
Liu, Yinxiao
Meng, Lei
author_facet Cao, Meng
Shu, Lei
Yu, Lei
Zhu, Yun
Wichers, Nevan
Liu, Yinxiao
Meng, Lei
contents Reinforcement learning (RL) can align language models with non-differentiable reward signals, such as human preferences. However, a major challenge arises from the sparsity of these reward signals - typically, there is only a single reward for an entire output. This sparsity of rewards can lead to inefficient and unstable learning. To address this challenge, our paper introduces an novel framework that utilizes the critique capability of Large Language Models (LLMs) to produce intermediate-step rewards during RL training. Our method involves coupling a policy model with a critic language model, which is responsible for providing comprehensive feedback of each part of the output. This feedback is then translated into token or span-level rewards that can be used to guide the RL training process. We investigate this approach under two different settings: one where the policy model is smaller and is paired with a more powerful critic model, and another where a single language model fulfills both roles. We assess our approach on three text generation tasks: sentiment control, language model detoxification, and summarization. Experimental results show that incorporating artificial intrinsic rewards significantly improve both sample efficiency and the overall performance of the policy model, supported by both automatic and human evaluation.
format Preprint
id arxiv_https___arxiv_org_abs_2401_07382
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Beyond Sparse Rewards: Enhancing Reinforcement Learning with Language Model Critique in Text Generation
Cao, Meng
Shu, Lei
Yu, Lei
Zhu, Yun
Wichers, Nevan
Liu, Yinxiao
Meng, Lei
Computation and Language
Artificial Intelligence
Reinforcement learning (RL) can align language models with non-differentiable reward signals, such as human preferences. However, a major challenge arises from the sparsity of these reward signals - typically, there is only a single reward for an entire output. This sparsity of rewards can lead to inefficient and unstable learning. To address this challenge, our paper introduces an novel framework that utilizes the critique capability of Large Language Models (LLMs) to produce intermediate-step rewards during RL training. Our method involves coupling a policy model with a critic language model, which is responsible for providing comprehensive feedback of each part of the output. This feedback is then translated into token or span-level rewards that can be used to guide the RL training process. We investigate this approach under two different settings: one where the policy model is smaller and is paired with a more powerful critic model, and another where a single language model fulfills both roles. We assess our approach on three text generation tasks: sentiment control, language model detoxification, and summarization. Experimental results show that incorporating artificial intrinsic rewards significantly improve both sample efficiency and the overall performance of the policy model, supported by both automatic and human evaluation.
title Beyond Sparse Rewards: Enhancing Reinforcement Learning with Language Model Critique in Text Generation
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2401.07382