Glossary · Reinforcement learning
Gaussian kernel
Also called Gaussian reward, Gaussian term, radial basis function, exp(-error²)
A bell-shaped score, 1 when an error is zero and falling smoothly towards 0 as it grows; a common way to turn an error into a reward.
Many reward terms start as an error: how far a joint is from its target, how many degrees the trunk leans too far. A Gaussian kernel turns an error into a reward between 0 and 1:
At the reward is 1. At it is about 0.61, at about 0.14, and far away it is nearly 0. The width says what counts as “close”: errors well under are hardly punished, errors of a few get almost nothing.
Compared with a plain penalty like , a Gaussian is bounded: one huge error can’t swamp every other term in the reward, and a policy that is already close gets a smooth slope towards perfect. It is the usual shape for tracking a reference motion (DeepMimic’s terms are Gaussians of pose, velocity and end-effector errors).
A term can also be one-sided: the error counts only in one direction, and the other direction is free.
In this project
The rear knee’s upright term is one-sided: is how far the chest or pelvis leans back past the reference after the hit (leaning forward of it is free), with and weight 1.5, paid every step. It is what took the knee’s lean back from about 10° to about 1° in kneeR4.