Why Measurement Comes First 为什么测量必须先行 なぜ測定が最初なのか

Three fields have hit the same wall, each in its own vocabulary.

In RLHF, the wall is that a reward model’s benchmark accuracy fails to predict the policy it trains. My first study varied a reward model’s accuracy together with its number of training steps, and found an interior optimum: past a point, the more accurate reward model trained the worse policy. The best reward model and the most accurate one also differed in the distribution of their rewards and in the KL divergence of the policies they trained. The field’s own evaluation line has since documented the same disconnect at scale: RewardBench 2 concedes that accuracy is necessary but not sufficient, and Frick et al. report a negative correlation between benchmark score and downstream RLHF performance among the top models. The recognized mechanism is reward overoptimization, Goodhart’s law in RL clothing (Gao, Schulman and Hilton, ICML 2023). Best-of-N selection is a different regime where static scores still work; policy optimization is where they break.

In control, the wall is that the one theorem everyone relies on stops at the reward. Ng, Harada and Russell (1999) proved potential-based reward shaping leaves the optimal policy invariant, and that the guarantee is necessary and sufficient there. The action channel has no such theorem, and this is still the live frontier (Forbes et al., ICML 2025). Practice shows the cost: a correction learned on the action is either kept at deployment, as residual policy learning keeps it on a fixed base, or removed without a guarantee. My second study co-trains a gated shaping term on the action output and measures its absorption into the base policy directly: a trainable base absorbs the term when its own output layer can reproduce it exactly, the gate rises and then falls on its own, and removing the term afterward costs almost nothing, so withdrawal is measured rather than hoped for.

In cooperative LLM systems, the wall is one shared outcome and no way to split it. This is the oldest name in the field: the credit-assignment problem, coined by Minsky in 1961. Inside a single differentiable model, backpropagation answers it. Between the models of a training system, no gradient flows, and one standard workaround, removing a piece and re-running, is structurally biased: removal changes what every downstream piece that reads it receives, and more samples do not shrink that bias. My third study shows that in a team of LLM agents the workaround is unnecessary when everything a downstream agent reads is written into the trace, because then the trace is the state. This holds by construction when the agents read only the trace; only hidden state that the trace does not record lies outside it. At any decision point, one message can be substituted and the run continued to its reward while everything before it stays fixed; this is counterfactual continuation. Per-decision credit becomes exact in identification, with only sampling variance left.

One wall, three vocabularies. But why must the fix be measurement from inside the run, rather than better benchmarks outside it? Because the field’s own evidence shows the effect is regime-dependent. The same reward model produces different downstream results under different training regimes: on-policy against off-policy, policy optimization against best-of-N. A static benchmark cannot predict an effect that depends on a regime the benchmark does not know. This is not a preference for one methodology over another. It is what regime-dependence forces.

There is a second principle underneath, and it decides what counts as a contribution at all. A training-time piece can help in two ways: it can build capability into the model’s weights, or it can prop up the system for as long as it stays attached. The traditions that got this right made withdrawal part of the concept. Instructional scaffolding (Wood, Bruner and Ross, 1976) defines the tutor’s support as something that withers away as competence grows. Distillation (Hinton, Vinyals and Dean, 2015) measures success on the small model running alone at deployment. Much of the current field runs the other way: test-time compute keeps verifiers and search attached at inference, renting capability per query. Both are legitimate products. They are different products, and only a withdrawal test tells you which one you actually built: capability in the weights, or capability in the ensemble.

Put the two principles together and the order of the whole program falls out. You cannot train the pieces of an environment on their contribution until you can compute each piece’s contribution; you cannot compute it from outside the run, because the effect is regime-dependent; and you cannot call it a contribution at all until it survives the piece’s removal. Measurement is not the modest part of the plan. It is the ground floor, and the companion note describes the floors above it.

三个领域撞上了同一堵墙,各说各的语言。

在 RLHF 里,这堵墙是:reward model 的 benchmark 准确率无法预测它训练出的 policy。我的第一项研究同时改变 reward model 的准确率与它的训练步数,发现了一个内部最优点:过了某个点,更准确的 reward model 训练出更差的 policy。表现最好的 reward model 与最准的那个,在给出的奖励分布上、在所训 policy 的 KL 散度上,也都不一样。领域自己的评估路线此后在更大尺度上记录了同样的脱节:RewardBench 2 承认准确率是必要而不充分的,Frick 等人报告 benchmark 高分与下游 RLHF 表现在头部模型中呈负相关。公认的机制是 reward overoptimization,穿着 RL 外衣的 Goodhart 定律(Gao、Schulman 与 Hilton,ICML 2023)。Best-of-N 选择是另一种体制,静态分数在那里仍然管用;崩坏发生在 policy optimization 里。

在控制领域,这堵墙是:所有人依赖的那条定理止步于 reward。Ng、Harada 与 Russell(1999)证明了基于势函数的 reward shaping 保持最优 policy 不变,而且这一保证在那里是充要的。action channel 没有这样的定理,这至今仍是活跃前沿(Forbes 等,ICML 2025)。实践显示了代价:在 action 上学到的修正,要么部署时一直留着(residual policy learning 就把它留在固定的 base 上),要么在没有保证的情况下拿掉。我的第二项研究在 action 输出上联合训练一个门控 shaping 项,并直接测量它向 base policy 的吸收:base 可训练、且自己的输出层能精确复现这一项时,就会把它吸收;门先升起、再自行回落,之后拿掉这一项几乎不花代价。撤除因此是被测量的,而不是被寄望的。

在协作式 LLM 系统里,这堵墙是:一个共享的结果,没有办法拆分。这是这个领域里最老的名字:credit-assignment 问题,Minsky 于 1961 年命名。在单个可微模型内部,反向传播回答了它。在训练系统的模型与模型之间,没有梯度流动,而一种标准的变通办法(把一个部件拿掉重跑)带着结构性偏差:移除改变了所有读到它的下游部件收到的东西,样本再多也消不掉这份偏差。我的第三项研究表明,在 LLM agent 团队里,只要下游 agent 读到的一切都写进了记录(trace),这个变通就不必要,因为此时记录就是状态。团队中的 agent 只读记录时,这一点由构造保证;只有记录之外的隐藏状态不在保证之内。在任何一个决策点,都可以换掉一条消息、真实续跑到拿到奖励为止,此前的一切保持原样,这就是反事实续跑(counterfactual continuation)。per-decision credit 由此在识别意义上精确,只剩采样方差。

同一堵墙,三种语言。但为什么修法必须是”在训练过程内部测量”,而不是”在外面造更好的基准”?因为领域自己的证据显示效果是体制依赖的。同一个 reward model 在不同训练体制下给出不同的下游结果:on-policy 对 off-policy,policy optimization 对 best-of-N。静态基准无法预测一个依赖于它并不知道的体制的效果。这不是方法论口味,这是体制依赖性强加的结论。

底下还有第二条原理,它决定什么才算贡献。一个训练期部件可以用两种方式帮忙:把能力写进模型的权重,或者只要自己一直挂着就把系统撑住。把这件事做对的传统,都把撤除写进了概念本身。教学脚手架(Wood、Bruner 与 Ross,1976)把辅导者的支持定义为随学习者胜任而逐渐消退之物。蒸馏(Hinton、Vinyals 与 Dean,2015)用部署时独自运行的小模型来衡量成功。而当下领域的很大一部分在往反方向走:test-time compute 把 verifier 和搜索永久挂在推理上,按次租用能力。两者都是正当的产品,但它们是不同的产品;只有撤除测试能告诉你造出来的是哪一个:能力在权重里,还是能力在系统里。

把两条原理放在一起,整个纲领的顺序就自己掉出来了。在能计算每个部件的贡献之前,你没法按贡献去训练环境的部件;你没法在训练之外计算它,因为效果依赖体制;而在它经受住部件撤除之前,你根本不能称它为贡献。测量不是计划里谦虚的那部分。它是地基。姊妹篇描述地基之上的楼层。

三つの分野が同じ壁にぶつかりました。それぞれ自分の言葉で。

RLHF では、壁はこうです。reward model の benchmark 精度は、それが訓練する policy を予測できません。私の最初の研究は、reward model の精度とその訓練ステップ数をあわせて変え、内側に最適点があることを見つけました。ある点を越えると、より正確な reward model がより悪い policy を訓練したのです。最も良い結果を出した reward model と最も正確な reward model は、与える報酬の分布でも、訓練した policy の KL ダイバージェンスでも異なっていました。分野自身の評価の系譜も、その後この断絶をより大きなスケールで記録しています。RewardBench 2 は精度が必要条件ではあるが十分条件ではないと認め、Frick らは benchmark 上位のモデルにおいてスコアと下流の RLHF 性能が負の相関を示すと報告しました。認められているメカニズムは reward overoptimization、RL の衣をまとった Goodhart の法則です(Gao、Schulman、Hilton、ICML 2023)。Best-of-N による選択は別の体制であり、静的なスコアはそこではまだ機能します。壊れるのは policy optimization の中です。

制御の分野では、壁はこうです。誰もが頼るあの定理は、reward で止まっています。Ng、Harada、Russell(1999)は、ポテンシャルに基づく reward shaping が最適 policy を不変に保つことを証明し、その保証がそこでは必要十分であることを示しました。action channel にはそのような定理がなく、これは今なお活発な最前線です(Forbes ら、ICML 2025)。実践はその代償を示しています。action に対して学習した補正は、デプロイ時にも付けたままにされるか(residual policy learning は固定された base の上にそれを残します)、保証なしに取り外されるかのどちらかです。私の第二の研究は、action 出力の上にゲート付きの shaping 項を共同訓練し、それが base policy に吸収されていく過程を直接測定します。base が訓練可能で、自分の出力層がその項を正確に再現できるとき、base はそれを吸収します。ゲートは一度立ち上がってからひとりでに下がり、その後に項を取り外してもほとんど代償がありません。撤回は、希望ではなく測定の対象になります。

協調的な LLM システムでは、壁はこうです。共有された一つの結果があり、それを分割する方法がない。これはこの分野で最も古い名前を持つ問題です。credit-assignment 問題、Minsky が 1961 年に名付けました。単一の微分可能なモデルの内部では、誤差逆伝播がこれに答えます。訓練システムのモデルとモデルの間には勾配が流れず、標準的な回避策の一つ(部品を一つ外して再実行する)には構造的なバイアスがあります。除去は、それを読む下流のすべての部品が受け取るものを変えてしまい、サンプルを増やしてもこのバイアスは縮みません。私の第三の研究は、LLM agent のチームでは、下流の agent が読むものがすべて記録(trace)に書き込まれていれば、この回避策が不要であることを示します。そのとき記録がそのまま状態になるからです。チームの agent が記録だけを読むなら、これは構成上成り立ちます。保証の外にあるのは、記録されていない隠れた状態だけです。どの決定点でも、一つのメッセージを差し替え、報酬が出るまで実際に走らせ続けることができ、それ以前のすべては固定されたままです。これが反実仮想的な継続(counterfactual continuation)です。per-decision credit はこうして識別の意味で厳密になり、残るのはサンプリングの分散だけです。

同じ壁、三つの言葉。しかし、なぜ直し方が「訓練の内部からの測定」であって「外側のより良いベンチマーク」ではないのでしょうか。分野自身の証拠が、効果は体制依存だと示しているからです。同じ reward model が、異なる訓練体制のもとで異なる下流の結果を生みます。on-policy と off-policy、policy optimization と best-of-N。静的なベンチマークは、自分の知らない体制に依存する効果を予測できません。これは方法論の好みではありません。体制依存性が強いる結論です。

その下にはもう一つの原理があり、それが何を貢献と呼べるかを決めます。訓練時の部品は二つの仕方で役に立てます。能力をモデルの重みの中に築くか、あるいは自分が付いている間だけシステムを支えるか。これを正しく扱ってきた伝統は、撤回を概念そのものに書き込んでいました。教育の足場かけ(Wood、Bruner、Ross、1976)は、指導者の支えを、学習者の力が育つにつれて消えていくものとして定義します。蒸留(Hinton、Vinyals、Dean、2015)は、デプロイ時に単独で動く小さなモデルで成功を測ります。いまの分野の大きな部分は逆方向に走っています。test-time compute は verifier と探索を推論に付けたままにし、能力をクエリごとに借りています。どちらも正当な製品です。しかし別々の製品であり、どちらを作ったのかを教えてくれるのは撤回テストだけです。能力は重みの中にあるのか、アンサンブルの中にあるのか。

二つの原理を合わせると、プログラム全体の順序がひとりでに落ちてきます。各部品の貢献を計算できるようになるまでは、貢献に基づいて環境の部品を訓練することはできません。訓練の外側からは計算できません。効果が体制に依存するからです。そして部品の除去に耐えるまでは、それをそもそも貢献と呼ぶことができません。測定は計画の中の控えめな部分ではありません。土台です。姉妹編が、その上の階を描いています。