解决大模型强化学习中对简单指令的偏好问题
Mitigating Exploration Bias in RL for Multi-Instruction Following

- 先用轻量级方法激活难指令,再基于稀缺性设计奖励函数
- 在三个基准上显著超越基线,提升多指令遵循能力
- 适合研究大模型指令跟随与强化学习融合的开发者
强化学习已成为提升大语言模型指令遵循能力的重要范式。然而,当训练数据中一个提示包含多个指令时,现有训练方法会表现出对简单指令的探索偏差。这一偏差源于两点:一是策略模型初始时难以满足难指令,导致难以触发有效探索;二是传统强化学习通常采用累积奖励(即完成指令数),平等对待所有指令,使模型倾向于选择容易的指令以获取相同奖励。为此,我们提出两个度量探索偏差的指标,并设计两阶段框架缓解该问题:1)行为引导(Behavioral Bootstrapping),在强化学习前通过轻量拒绝采样微调激活难指令;2)稀缺性感知奖励(Scarcity-Aware Rewards),根据指令的实证稀缺性分配奖励。实验表明,所提指标与模型性能高度相关,且方法显著释放了强化学习的潜力:最佳模型在三个可验证的多指令遵循基准上均显著优于基线。代码已开源。
原文摘要 · Abstract (English)
RL has emerged as a powerful paradigm for enhancing the instruction following capabilities of LLMs. While existing training recipes achieve substantial gains, we find that they suffer from exploration bias towards easy instructions when the training data has multiple instructions in a prompt. This bias is caused by two main reasons: 1) the policy model's initial ability to satisfy hard instructions is too low to trigger successful exploration during RL training, so the optimization is biased towards easy instructions; and 2) canonical RL training recipes typically employ a cumulative reward (the number of instructions fulfilled), treating all instructions equally, which biases the policy model towards fulfilling easy instructions to obtain the same amount of reward. To address these issues, we first propose two metrics to measure the exploration bias in instruction following and then introduce a two-stage framework to alleviate it: 1) Behavioral Bootstrapping, a lightweight rejection sampling fine-tuning stage before RL to activate hard instructions; and 2) Scarcity-Aware Rewards, a new RL reward function that assigns rewards to instructions based on their empirical scarcity. Experiments show that the proposed metrics are highly correlated with model performance, and our methods unleash the potential of RL training: our best models outperform the baselines by a significant margin across three verifiable instruction following benchmarks. We release codes at https://github.com/mianzhang/MulIF.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。