Training Large Language Models for Reasoning Through Reverse Curriculum Reinforcement Learning

Abstract

In this paper, we propose R$^3$: Learning Reasoning through Reverse Curriculum Reinforcement Learning (RL), a novel method that employs only outcome supervision to achieve the benefits of process supervision for large language models. The core challenge in applying RL to complex reasoning is to identify a sequence of actions that result in positive rewards and provide appropriate supervision for optimization. Outcome supervision provides sparse rewards for final results without identifying error locations, whereas process supervision offers step-wise rewards but requires extensive manual annotation. R$^3$ overcomes these limitations by learning from correct demonstrations. Specifically, R$^3$ progressively slides the start state of reasoning from a demonstration’s end to its beginning, facilitating easier model exploration at all stages. Thus, R$^3$ establishes a step-wise curriculum, allowing outcome supervision to offer step-level signals and precisely pinpoint errors. Using Llama2-7B, our method surpasses RL baseline on eight reasoning tasks by $4.1$ points on average. Notably, in program-based reasoning, 7B-scale models perform comparably to larger models or closed-source models with our R$^3$.

Cite

Text

Xi et al. "Training Large Language Models for Reasoning Through Reverse Curriculum Reinforcement Learning." International Conference on Machine Learning, 2024.

Markdown

[Xi et al. "Training Large Language Models for Reasoning Through Reverse Curriculum Reinforcement Learning." International Conference on Machine Learning, 2024.](https://mlanthology.org/icml/2024/xi2024icml-training/)

BibTeX

@inproceedings{xi2024icml-training,
  title     = {{Training Large Language Models for Reasoning Through Reverse Curriculum Reinforcement Learning}},
  author    = {Xi, Zhiheng and Chen, Wenxiang and Hong, Boyang and Jin, Senjie and Zheng, Rui and He, Wei and Ding, Yiwen and Liu, Shichun and Guo, Xin and Wang, Junzhe and Guo, Honglin and Shen, Wei and Fan, Xiaoran and Zhou, Yuhao and Dou, Shihan and Wang, Xiao and Zhang, Xinbo and Sun, Peng and Gui, Tao and Zhang, Qi and Huang, Xuanjing},
  booktitle = {International Conference on Machine Learning},
  year      = {2024},
  pages     = {54030-54048},
  volume    = {235},
  url       = {https://mlanthology.org/icml/2024/xi2024icml-training/}
}