What is reward shaping and what are its pitfalls?
medium- Reward shaping adds intermediate rewards to guide the agent, e.g., dense proxies instead of only a sparse success signal.
- Done right (potential-based shaping) it preserves the optimal policy.
- Done wrong, it introduces bias and the agent finds shortcuts that maximize the shaped reward without solving the true task — the classic 'reward hacking' problem.
#reward-designPermalink & quiz →