PoEM 框架:不用重跑 RL 也能预测新奖励函数的训练结果
PoEM: Predicting RL Outcomes from Existing Policies
做 RL 后训练的朋友可以看看这篇:换了奖励函数不用重跑训练,用现有模型就能近似出新策略,论文还给了理论证明。
基础模型通常用强化学习针对特定奖励做后训练,每次奖励模型变化都要从头训练一次。论文提出 PoEM 框架,利用已在一组奖励上后训练的模型来预测新奖励函数的 RL 结果。核心发现是:若新奖励是现有奖励的线性组合,新策略在 log 空间也近似为现有 log 策略的线性组合;即使奖励非线性相关,log 策略通常也张成一个近似低秩子空间。该方法只需在样本上计算奖励或基础策略的输出即可估计组合权重,无需额外 RL 训练。作者在合成和真实奖励、文本与图像两种模态上验证了有效性。
PoEM: Predicting RL Outcomes from Existing Policies
Foundation models are post-trained with reinforcement learning (RL) to maximize specific rewards, such as human alignment, correctness, or instruction following. This post-training process is computationally intensive, sometimes unstable, and has to be run from scratch every time the reward model changes or when we want to combine multiple rewards. We hence ask: given a new reward function, is it possible to predict the RL outcomes without actually running RL on it? We answer this in the affirmative by introducing PoEM, a framework to predict the outputs of RL on a new reward function using a set of models already post-trained on other rewards. First, we show that if the new reward function can be written as a linear combination of existing ones, then the new policy in log-space can be written as a linear combination of the existing log-policies. Surprisingly, even in cases where the rewards are not linearly connected, we observe that often log-policies from RL training span an approximately low-rank subspace across rewards. To our benefit, the weighting coefficients for this combination can be estimated using only the reward or basis policy outputs on the samples. We turn these observations into an algorithm that takes post-trained models and a new reward function, and approximates the target RL policy without actually running any additional RL training. We experimentally validate our approach across synthetic and real rewards, spanning both text and image modalities.