What Is Reward Shaping in Robot Learning?
Reward shaping adds feedback to help a robot learn a task with sparse rewards. For example, a mobile robot may otherwise receive reward only when it reaches the final destination.
The key idea
Reward shaping adds feedback to help a robot learn a task with sparse rewards. For example, a mobile robot may otherwise receive reward only when it reaches the final destination.
A potential assigns a number to each state. Potential based shaping adds discounted next potential minus current potential. With the required discounted task and terminal conditions, this transformation preserves the original optimal policies.
Negative distance to the goal can define a useful potential. Arbitrary bonuses for motion or proximity may change which behavior is best. Check terminal handling and evaluate real task success separately from shaped reward.
What to remember
- Shaping makes progress easier to learn
- F = γ Φ(next) − Φ(current)
- The shaping formula and boundaries matter
Check your understanding
Which potential-based shaping term can preserve the original optimal policies?
Show the explanation
Use discounted next-state potential minus current-state potential, with the required discounted-task and terminal conditions. Arbitrary progress bonuses can instead change the objective.