We've just added score centering to TRL and it's stable af
TRL adds score centering to stabilize RL training
AIHugging Face's Lewis Tunstall says TRL now includes score centering and calls it stable. The method targets instability in LLM reinforcement learning when training and sampling policies differ, a problem that standard fixes such as importance sampling only work around.
Lewis TunstallVerified on X
@_lewtun
RL with LLMs is very unstable when training and sampling policies differ. Standard fixes (matching numerics, importance sampling) work around the problem. We find the root cause of this instability from first principles and propose a way to directly cancel it. Score Centering is competitive and compatible with existing approaches — while simple to implement! 🧵 [1/6]
Source details
Lewis Tunstall · x.comPublished · added here
Original title: We've just added score centering to TRL and it's stable af
