Importance sampling loss
A policy-gradient loss that corrects for the gap between the model that generated the samples and the model being updated.
Samples come from a snapshot of the policy. By the time the gradient is applied, the weights may have moved. Importance sampling reweights each token by the ratio of new to old probability.
It is Tinker’s built-in default for environment RL.
In the compiled loop
The verifiable-outcome loop calls forward_backward with loss_fn="importance_sampling".
Build it: Verifiable outcome · Specialized Tool Agents · Inkling 2 Mini
Sources
Tinker docs: Importance sampling