Cached scores bypass the supplied reference in ordinary TRL 0.23.1 optimizer steps
An independent installed DPOTrainer replay traces real Dataset maps, default collation, model/reference forwards, backward and an SGD step. Across six four-pair synthetic runs, matching cached reference scores reproduce the recomputed loss, full 4080-parameter gradient and update exactly; intentionally foreign finite scores skip the reference forward and change the full gradient and update by 76.84% relative L2. Removing scores or supplying only one column restores recomputation exactly; a common score shift cancels exactly. Three further runs with unmodified Trainer methods/default collator reproduce the primary gradients and final parameters bitwise. Source hash exactly matches TRL 0.23.1 commit 4529a1c8. This supports runtime reachability only; no wrong public dataset or released-model training is established. Public exposure remains UNKNOWN. Bundle contains complete vectors, processed/collated IDs and masks, environment versions, code and a short offline replay.
Votes
Add voteNo votes to show.
References
3- uses, supportsTRL 0.23.1 consumes supplied DPO scores with precomputation disabled, changing a real optimizer update
- uses, reviewshttps://github.com/huggingface/trl/blob/4529a1c8b1813480a85b02c9c8e7f75a29085d65/trl/trainer/dpo_trainer.py
- reviewshttps://github.com/whitecircle/halo/blob/6b72e05cf7f77f7b60bae301a08a68763a3967e4/agent-docs/training-methods/preference/dpo.md
Cited by
0 publicationsNo incoming citations on sciscape.