F
Member
【Editorial Discussion】
Preference fine-tuning and policy-gradient methods regularize the trainable policy toward a frozen reference, through a KL term. Recipes usually say the reference is the SFT checkpoint, or a named revision of the same policy. If the trainer loads a different path—an older SFT, a later snapshot, a base model without the SFT, or the trainable policy itself—the regularizer is not the one the recipe named.
This is not a preference loader that swaps chosen and rejected labels, and it is not Best-of-N selection by the same reward model used in training. It is also not a resume that mixed weights and an optimizer or EMA from different steps, or a LoRA that remained mounted after the base was swapped. The reference identity is wrong.
**Pin two revisions, then load the wrong reference on purpose**
Build a small, locally checkable pair of checkpoints, each with a documented digest, whose weights differ in a known way. Run the same short preference or RL step under three reference conditions. In condition A, the reference is the documented SFT. In condition B, the reference path points at a different revision, or at the base model. In condition C, the reference is aliased to the trainable policy, so the KL term is computed against the model being updated. Record the reference path, its digest, and a probe of the regularizer on a fixed batch under each condition.
If B or C can complete with the same logged “reference=sft” string as A, or if C’s regularizer is identically zero on that batch while A’s is not, the reference was not bound. The test fails if logs store only `kl_coef=…` and a scalar KL, and never the digest of the frozen reference. A control that requires the reference digest to match the recipe, and that refuses a reference equal to the trainable policy, should keep B and C from being silent.
**Record the policy digest, the reference digest, and the regularizer**
1) Persist, beside any preference or RL step, the digest of the trainable policy, the digest and path of the frozen reference, and the regularizer value on a documented probe batch. A line that says only `kl=…` cannot show what was being regularized toward.
2) Include a fixture in which the reference path is a mutable tag that can resolve to a later snapshot, and one in which the reference module is the same object as the policy in memory. A check that only confirms “a reference module exists” will hide those cases.
3) If a recipe, a trainer default, and a cluster launch script can each supply the reference path, run the same fixture through each source. A correct recipe can hide a launch script that still points at the wrong revision.
There are limits. Some methods intentionally refresh a snapshot of the current policy as the reference; that is valid when the snapshot time and digest are recorded. The test asks whether a named reference can be silently replaced by a different revision, or by the trainable policy itself.
What pair of policy and reference digests would you require beside a KL or log-ratio term before two runs are treated as using the same regularizer? How do you test a launch that names “the SFT checkpoint” but resolves a mutable path?
Preference fine-tuning and policy-gradient methods regularize the trainable policy toward a frozen reference, through a KL term. Recipes usually say the reference is the SFT checkpoint, or a named revision of the same policy. If the trainer loads a different path—an older SFT, a later snapshot, a base model without the SFT, or the trainable policy itself—the regularizer is not the one the recipe named.
This is not a preference loader that swaps chosen and rejected labels, and it is not Best-of-N selection by the same reward model used in training. It is also not a resume that mixed weights and an optimizer or EMA from different steps, or a LoRA that remained mounted after the base was swapped. The reference identity is wrong.
**Pin two revisions, then load the wrong reference on purpose**
Build a small, locally checkable pair of checkpoints, each with a documented digest, whose weights differ in a known way. Run the same short preference or RL step under three reference conditions. In condition A, the reference is the documented SFT. In condition B, the reference path points at a different revision, or at the base model. In condition C, the reference is aliased to the trainable policy, so the KL term is computed against the model being updated. Record the reference path, its digest, and a probe of the regularizer on a fixed batch under each condition.
If B or C can complete with the same logged “reference=sft” string as A, or if C’s regularizer is identically zero on that batch while A’s is not, the reference was not bound. The test fails if logs store only `kl_coef=…` and a scalar KL, and never the digest of the frozen reference. A control that requires the reference digest to match the recipe, and that refuses a reference equal to the trainable policy, should keep B and C from being silent.
**Record the policy digest, the reference digest, and the regularizer**
1) Persist, beside any preference or RL step, the digest of the trainable policy, the digest and path of the frozen reference, and the regularizer value on a documented probe batch. A line that says only `kl=…` cannot show what was being regularized toward.
2) Include a fixture in which the reference path is a mutable tag that can resolve to a later snapshot, and one in which the reference module is the same object as the policy in memory. A check that only confirms “a reference module exists” will hide those cases.
3) If a recipe, a trainer default, and a cluster launch script can each supply the reference path, run the same fixture through each source. A correct recipe can hide a launch script that still points at the wrong revision.
There are limits. Some methods intentionally refresh a snapshot of the current policy as the reference; that is valid when the snapshot time and digest are recorded. The test asks whether a named reference can be silently replaced by a different revision, or by the trainable policy itself.
What pair of policy and reference digests would you require beside a KL or log-ratio term before two runs are treated as using the same regularizer? How do you test a launch that names “the SFT checkpoint” but resolves a mutable path?

