Analyze why designing a good reward function for helicopter trajectories is difficult.
Question: Using the helicopter example, explain why it is not easy to design good reward functions, and discuss the tradeoffs a reward function must balance.
Sample answer: Designing a good reward function is difficult because a single score R(T) must simultaneously capture many competing factors: whether the helicopter crashed, how bumpy the landing was, whether it landed at the exact desired spot, and how rough the ride was for passengers. These factors must be traded off against each other, and it is not obvious how to weight them numerically. Because the reward function is chosen by hand, the designer must anticipate all the ways a trajectory could be more or less desirable, which is inherently hard to get right.
Key points:
- A single score R(T) must capture multiple competing factors
- Factors include crash risk, landing smoothness, landing location, and ride roughness
- The reward function is typically chosen by hand
- Balancing tradeoffs among these factors is inherently difficult
Rubric: Full credit for explaining that multiple competing desiderata must be traded off in one score, that the function is hand-designed, and that this makes it hard to specify correctly; partial credit for mentioning only one factor.
0
1
References
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Machine Learning Yearning (Deeplearning.ai)
Tags
Data Science
Foundations of Large Language Models Course
Computing Sciences
Machine Learning
Deep Learning
Supervised Learning
Dive into Deep Learning @ D2L
Machine Learning Strategy
Machine Learning Yearning @ DeepLearning.AI
Related
In the helicopter reinforcement learning example, what does the reward function R(T) primarily measure?
True or False: A trajectory ending in a helicopter crash could be assigned a reward like R(T) = -1,000.
A safe landing trajectory T might result in a _____ R(T), with the exact value depending on landing smoothness.
Match each trajectory outcome in the helicopter example to its typical reward value.
Order the steps for designing and using a reward function in the helicopter RL example.
Analyze why designing a good reward function for helicopter trajectories is difficult.
Diagnose why a helicopter RL agent keeps producing unsafe landings despite high average reward.
Name two desiderata besides crash avoidance that a helicopter reward function must trade off.
Who typically chooses the reward function R(.) in the helicopter reinforcement learning example?
True or False: The reward function only needs to account for whether the helicopter crashes, ignoring passenger comfort.