Gradient-Guided Reward Optimization for Inference-time Alignment
Original note, sentence-aligned / 原创笔记逐句对照。Not a full-paper translation / 不是论文全文翻译。
Spend search where the model is uncertain
在模型不确定处使用搜索
GGRO monitors next-token entropy and intervenes only when it exceeds a threshold.
GGRO 监测下一词熵,仅在超过阈值时干预。
It uses gradients from a reward model to propose a nudging token, regenerates a segment, and retains the best-scoring refinement.
它利用奖励模型梯度提出提示性词元,重新生成片段,并保留得分最高的修订。
This combines a decision about where to intervene with a proposal mechanism for how to intervene.
这将何处干预的决策与如何干预的提议机制结合起来。
High entropy means uncertainty under the base model, not necessarily harmfulness or an incorrect answer.
高熵意味着基础模型不确定,不一定意味着有害或答错。
Confident failures can therefore escape the trigger, and benign ambiguous continuations can trigger it.
因此,高置信失败可能绕过触发器,正常但含糊的续写也可能触发它。
Gradients propose; rewards select
梯度提出候选,奖励进行选择
The paper represents tokens as one-hot coordinates and differentiates the reward through that representation.
论文将词元表示为 one-hot 坐标,并对这一表示求奖励梯度。
The selected token seeds a new autoregressive segment rather than replacing every token with a continuous optimized vector.
所选词元作为新自回归片段的起点,而不是将每个词元替换成连续优化向量。
Up to S refinements are generated and scored before selecting a segment.
在选择片段前,最多生成并评分 S 个修订。
The displayed Equation 4 uses exp(−∇R · (1 − onehot)), despite describing higher reward as the target.
展示的式 4 使用 exp(−∇R · (1 − onehot)),但文字又将更高奖励描述为目标。
A direct first-order reward ascent would normally use the opposite sign for a replacement-coordinate score.
对替换坐标分数直接进行一阶奖励上升,通常会使用相反符号。
This sign convention needs verification in the implementation; the teaching demo therefore illustrates the proposal-and-rerank workflow without claiming the displayed gradient sign is resolved.
这一符号约定需要在实现中核实;因此教学演示展示提出候选和重排序流程,不声称已解决所展示梯度的符号问题。
Quantitative evidence
定量证据
For the 8B configuration in Table 1, HEx-PHI attack success falls from 54.0 ± 1.6% for the base model to 26.2 ± 0.8% for GGRO.
表 1 的 8B 配置中,HEx-PHI 攻击成功率从基础模型的 54.0 ± 1.6% 降至 GGRO 的 26.2 ± 0.8%。
Best-of-64 gives 34.3 ± 1.4%, so the absolute difference from GGRO is 8.1 percentage points.
Best-of-64 为 34.3 ± 1.4%,因此与 GGRO 的绝对差为 8.1 个百分点。
This arithmetic differs from the paper's nearby 8.7-point description, which should not be repeated without qualification.
这一算术与论文附近文字所称的 8.7 个百分点不同,不应不加限定地重复后者。
XSTest benign refusal is 3.6% for GGRO versus 0.4% for Best-of-64, making the safety tradeoff visible.
GGRO 的 XSTest 正常请求拒绝率为 3.6%,Best-of-64 为 0.4%,体现了安全权衡。
MMLU-Pro accuracy is 54.0 ± 0.7% for GGRO versus 44.1 ± 1.5% for the base model.
GGRO 的 MMLU-Pro 准确率为 54.0 ± 0.7%,基础模型为 44.1 ± 1.5%。
The smaller 3B configuration shows smaller gains, so capacity and reward-model quality matter.
较小的 3B 配置提升更少,因此模型容量与奖励模型质量很重要。
Compute and limitations
计算与局限
For 100 MMLU-Pro samples, Table 4 reports 366.7 minutes for GGRO versus 1293.3 minutes for Best-of-64.
对 100 个 MMLU-Pro 样本,表 4 报告 GGRO 用时 366.7 分钟,Best-of-64 为 1293.3 分钟。
On HH-RLHF the same comparison reverses to 252.2 versus 200.7 minutes.
在 HH-RLHF 上,这一比较反转为 252.2 对 200.7 分钟。
The method is therefore not uniformly faster, and it requires backward access to a reward model.
因此,方法并非始终更快,而且需要对奖励模型进行反向传播。
Improved reward distributions do not alone prove improved human utility or immunity to reward hacking.
奖励分布改善本身不能证明人类效用改善,也不能证明免疫奖励投机。
A faithful reproduction should compare matched compute budgets, independent judges, entropy thresholds, and gradient sign conventions.
忠实复现应比较相同计算预算、独立评判器、熵阈值及梯度符号约定。
The arXiv version inspected grants distribution rights only; this page is an original bilingual note, not a full-paper translation.
所检查 arXiv 版本仅授予分发权;本页是原创双语笔记,不是论文全文翻译。