Skip to content

Secrets of RLHF in Large Language Models Part I: PPOSecrets of RLHF in Large Language Models Part I: PPO

arXiv· arXiv:2307.04964· Rui Zheng, Shihan Dou, Songyang Gao, Yuan Hua, Wei Shen, Binghai Wang, Yan Liu, Senjie Jin, Qin Liu, Yuhao Zhou, Limao Xiong, Lu Chen, Zhiheng Xi, Nuo Xu, Wenbin Lai, Minghao Zhu, Cheng Chang, Zhangyue Yin, Rongxiang Weng, Wensen Cheng, Haoran Huang, Tianxiang Sun, Hang Yan, Tao Gui, Qi Zhang, Xipeng Qiu, Xuanjing Huang·Indexed by this site · 26 days ago· Originally publishedAlignment

Translation in progress — untranslated text is omitted.

AI summary

The researchers dissect the RLHF framework and re-evaluate the internal mechanisms of the PPO algorithm, exploring how the parts that make up PPO affect the training of the policy agent, pointing out that policy constraints are a key factor in the effective implementation of PPO, and on this basis propose an improved version, PPO-max, to improve the stability of policy model training. The paper points out that the challenges of reward design, environment interaction and agent training, together with the high cost of trial and error for large language models, make stable training of RLHF still a difficult problem. Based on the main results, the authors compare and analyze the capabilities of the RLHF model with the SFT model and ChatGPT. In response to the obstacles that the lack of open-source implementations poses to LLM alignment research, the authors state that they will release a technical report, the reward model and the PPO code.

Read originalarxiv.org