Beyond Sparse Rewards: Enhancing Reinforcement Learning with Language Model Critique in Text Generation
Meng Cao, Lei Shu, Lei Yu, Yun Zhu, Nevan Wichers, Yinxiao Liu, Lei Meng
TL;DR
This work introduces RELC, a reinforcement learning framework for text generation that uses a critic language model to emit dense, intermediate intrinsic rewards at token or span granularity, addressing reward sparsity in environment signals. By coupling a policy LM with a frozen critic LM and training with PPO, RELC integrates intrinsic and extrinsic rewards to guide generation across sentiment control, detoxification, and summarization. Across three tasks, RELC demonstrates improved sample efficiency and superior or competitive performance against strong baselines, as validated by automatic metrics and human evaluations. The approach offers a practical path to more efficient and controllable language model RL, while acknowledging limitations related to critic size and potential API-related delays.
Abstract
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.
