在模型不确定处使用搜索
GGRO 监测下一词熵,仅在超过阈值时干预。
它利用奖励模型梯度提出提示性词元,重新生成片段,并保留得分最高的修订。
这将何处干预的决策与如何干预的提议机制结合起来。
高熵意味着基础模型不确定,不一定意味着有害或答错。
因此,高置信失败可能绕过触发器,正常但含糊的续写也可能触发它。
Paper Notes
原创笔记逐句中英对照Sentence-aligned original note
合成教学数值,不是论文实验结果。默认静止;所有步骤均可在下方静态说明中阅读。Synthetic teaching values, not paper results. Nothing plays automatically; all steps remain available in the static explanation.
GGRO 监测下一词熵,仅在超过阈值时干预。GGRO monitors next-token entropy and intervenes only when it exceeds a threshold.
Hankun Lin, Ruqi Zhang
Original reading note; cited methods and evidence, not an experimental reproduction. · 2606.09635v1
GGRO 监测下一词熵,仅在超过阈值时干预。
它利用奖励模型梯度提出提示性词元,重新生成片段,并保留得分最高的修订。
这将何处干预的决策与如何干预的提议机制结合起来。
高熵意味着基础模型不确定,不一定意味着有害或答错。
因此,高置信失败可能绕过触发器,正常但含糊的续写也可能触发它。
论文将词元表示为 one-hot 坐标,并对这一表示求奖励梯度。
所选词元作为新自回归片段的起点,而不是将每个词元替换成连续优化向量。
在选择片段前,最多生成并评分 S 个修订。
展示的式 4 使用 exp(−∇R · (1 − onehot)),但文字又将更高奖励描述为目标。
对替换坐标分数直接进行一阶奖励上升,通常会使用相反符号。
这一符号约定需要在实现中核实;因此教学演示展示提出候选和重排序流程,不声称已解决所展示梯度的符号问题。
表 1 的 8B 配置中,HEx-PHI 攻击成功率从基础模型的 54.0 ± 1.6% 降至 GGRO 的 26.2 ± 0.8%。
Best-of-64 为 34.3 ± 1.4%,因此与 GGRO 的绝对差为 8.1 个百分点。
这一算术与论文附近文字所称的 8.7 个百分点不同,不应不加限定地重复后者。
GGRO 的 XSTest 正常请求拒绝率为 3.6%,Best-of-64 为 0.4%,体现了安全权衡。
GGRO 的 MMLU-Pro 准确率为 54.0 ± 0.7%,基础模型为 44.1 ± 1.5%。
较小的 3B 配置提升更少,因此模型容量与奖励模型质量很重要。
对 100 个 MMLU-Pro 样本,表 4 报告 GGRO 用时 366.7 分钟,Best-of-64 为 1293.3 分钟。
在 HH-RLHF 上,这一比较反转为 252.2 对 200.7 分钟。
因此,方法并非始终更快,而且需要对奖励模型进行反向传播。
奖励分布改善本身不能证明人类效用改善,也不能证明免疫奖励投机。
忠实复现应比较相同计算预算、独立评判器、熵阈值及梯度符号约定。
所检查 arXiv 版本仅授予分发权;本页是原创双语笔记,不是论文全文翻译。
本原创笔记覆盖上文讨论的方法和选定实验证据,不是论文全文翻译;本次未运行模型复现实验。来源许可:https://arxiv.org/licenses/nonexclusive-distrib/1.0/
原文所列作者或相关代码链接:https://github.com/lhk2004/GGRO; https://github.com/haizelabs/llama3-jailbreak
原图与数据来自原论文。解释与比较属于阅读笔记。版本和图表编号随正文标明。
Hankun Lin, Ruqi Zhang
Original reading note; cited methods and evidence, not an experimental reproduction. · 2606.09635v1
GGRO monitors next-token entropy and intervenes only when it exceeds a threshold.
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.
The paper represents tokens as one-hot coordinates and differentiates the reward through that representation.
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.
The displayed Equation 4 uses exp(−∇R · (1 − onehot)), despite describing higher reward as the target.
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.
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.
Best-of-64 gives 34.3 ± 1.4%, so the absolute difference from GGRO is 8.1 percentage points.
This arithmetic differs from the paper's nearby 8.7-point description, which should not be repeated without qualification.
XSTest benign refusal is 3.6% for GGRO versus 0.4% for Best-of-64, making the safety tradeoff visible.
MMLU-Pro accuracy is 54.0 ± 0.7% for GGRO versus 44.1 ± 1.5% for the base model.
The smaller 3B configuration shows smaller gains, so capacity and reward-model quality matter.
For 100 MMLU-Pro samples, Table 4 reports 366.7 minutes for GGRO versus 1293.3 minutes for Best-of-64.
On HH-RLHF the same comparison reverses to 252.2 versus 200.7 minutes.
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.
This original note covers the method and selected experimental evidence discussed above. It is not a full-paper translation. No model experiments were run for this note. Source license: https://arxiv.org/licenses/nonexclusive-distrib/1.0/
Author-code links in the source: https://github.com/lhk2004/GGRO; https://github.com/haizelabs/llama3-jailbreak
Original figures and data come from the cited paper. Explanations and comparisons are reading notes. Source versions and figure labels appear beside the material.