Glossary · Reinforcement learning
Reference state initialisation
Also called RSI, reference state initialization, mid-motion starts, mid-walk starts
Starting some training episodes partway through a reference motion, in its pose and speed, so the policy practises every part of it and not only the beginning.
A policy learns from the situations it actually reaches. If every episode starts at the beginning of a movement, the policy sees the end of the movement only once it is already good at the start. A backflip learnt this way never gets to practise the landing, because it never gets that far.
Reference state initialisation fixes this by starting episodes at a random point in the reference motion: the body is placed in the reference’s pose at , with the reference’s joint velocities, and the episode carries on from there:
Every part of the movement then gets practised from the first iteration. The idea was made popular by DeepMimic (Peng et al. 2018), together with early termination when the character falls.
The starts aren’t always physically comfortable: the reference may not be a state a real body could hold, so some of these episodes end in a fall straight away. They are a small cost for the coverage.
In this project
When the fighter learnt to walk, 30 % of the episodes with a walking target started partway through a step ( from 0.05 to 0.95), in the walk reference’s pose and speed. Together with feed-forward on the servos, it took steps from 4–26 % of the planned distance to 56–92 %. Training falls rose from about 0.5 % to about 2 %, mostly from starts in the middle of a pivot (see Footwork).