Truncated importance weights \(\rho = \min(\bar\rho, \pi/\mu)\) and \(c = \min(\bar c, \pi/\mu)\) applied to an n-step return.
Usage
morie_impala_vtrace(
rewards,
values,
behavior_logp,
target_logp,
gamma = 0.99,
rho_bar = 1,
c_bar = 1,
bootstrap_value = 0
)Details
The two clips are not interchangeable and confusing them is the
standard mistake. rho_bar determines WHAT is learned – the
fixed point lies somewhere between the behaviour and target policies,
at the behaviour policy when rho_bar is small and the target
policy as it grows. c_bar determines HOW FAST the trace decays
and does not move the fixed point at all.
