arXiv:2502.05434cs.LG2025-02被引 4

用信息导向采样提升人类反馈强化学习的样本效率

Sample-Efficient Reinforcement Learning from Human Feedback via Information-Directed Sampling

  • 基于信息理论设计新算法,通过最大化价值与信息增益之和来引导探索
  • 在高维状态空间下实现近似最优的贝叶斯后悔上界,理论证明高效性
  • 适用于大模型训练,也为标准强化学习提供可复用的高效设计范式

我们从理论角度研究强化学习中的人类反馈(RLHF)问题,这是训练大语言模型的关键挑战。提出基于信息导向采样(IDS)的新算法,通过最大化价值函数与互信息项之和,激励对未知环境的探索(量化为从人类反馈中获得的信息量)。为应对大规模状态空间并提升样本效率,构建简化代理环境,引入新型距离度量(ℓ_g-距离),使算法达到贝叶斯后悔上界 $O(H^{3/2} oot{3}{ ext{log}(K(ε))} T)$,其中 $H$ 为每回合长度,$T$ 为回合数,$K(ε)$ 与环境覆盖数相关。在表格设置下,该上界为 $ ilde{O}(H^2 oot{3}{SAT})$,$S$ 和 $A$ 分别为状态与动作数。进一步提出近似-IDS算法,在计算效率上更优且保持相近样本效率。该设计原则不仅适用于RLHF,也适用于标准强化学习框架。本工作凸显了信息理论在强化学习及大模型训练中的价值。

原文摘要 · Abstract (English)

We study the problem of reinforcement learning from human feedback (RLHF), a critical problem in training large language models, from a theoretical perspective. Our main contribution is the design of novel sample-efficient RLHF algorithms based on information-directed sampling (IDS), an online decision-making principle inspired by information theory. Our algorithms maximize the sum of the value function and a mutual information term that encourages exploration of the unknown environment (which quantifies the information gained about the environment through observed human feedback data). To tackle the challenge of large state spaces and improve sample efficiency, we construct a simplified \emph{surrogate environment} and introduce a novel distance measure (named the \emph{$\ell_g$-distance}), enabling our IDS-based algorithm to achieve a Bayesian regret upper bound of order $O(H^{\frac{3}{2}}\sqrt{\log(K(ε)) T})$, where $H$ is the episode length, $T$ is the number of episode and $K(ε)$ is related to the covering number of the environment. Specializing to the tabular settings, this regret bound is of order $\tilde{O}(H^2\sqrt{SAT})$, where $S$ and $A$ are the numbers of states and actions. Finally, we propose an Approximate-IDS algorithm that is computationally more efficient while maintaining nearly the same sample efficiency. The design principle of this approximate algorithm is not only effective in RLHF settings but also applicable to the standard RL framework. Moreover, our work showcases the value of information theory in reinforcement learning and in the training of large language models.

强化学习人类反馈信息理论样本效率

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。